svn commit: r197617 - stable/7/sys/dev/ata
Alexander Motin
mav at FreeBSD.org
Tue Sep 29 16:19:49 UTC 2009
Author: mav
Date: Tue Sep 29 16:19:48 2009
New Revision: 197617
URL: http://svn.freebsd.org/changeset/base/197617
Log:
Partial MFC rev. 191568:
Do not hide second channel of ATI IXP700 ATA controller.
While this chip indeed has only one PATA channel, second channel of the
controller is used by two SATA channels working in legacy emulation mode.
Modified:
stable/7/sys/dev/ata/ata-chipset.c
Modified: stable/7/sys/dev/ata/ata-chipset.c
==============================================================================
--- stable/7/sys/dev/ata/ata-chipset.c Tue Sep 29 12:59:31 2009 (r197616)
+++ stable/7/sys/dev/ata/ata-chipset.c Tue Sep 29 16:19:48 2009 (r197617)
@@ -1406,9 +1406,8 @@ ata_ati_chipinit(device_t dev)
if (ata_setup_interrupt(dev))
return ENXIO;
- /* IXP600 & IXP700 only have 1 PATA channel */
- if ((ctlr->chip->chipid == ATA_ATI_IXP600) ||
- (ctlr->chip->chipid == ATA_ATI_IXP700))
+ /* IXP600 only have 1 PATA channel */
+ if (ctlr->chip->chipid == ATA_ATI_IXP600)
ctlr->channels = 1;
ctlr->setmode = ata_ati_setmode;
More information about the svn-src-stable-7
mailing list