PERFORCE change 171379 for review
Alexander Motin
mav at FreeBSD.org
Fri Dec 4 14:18:20 UTC 2009
http://p4web.freebsd.org/chv.cgi?CH=171379
Change 171379 by mav at mav_mavtest on 2009/12/04 14:17:55
Fix SATA revision reporting.
Affected files ...
.. //depot/projects/scottl-camlock/src/sys/dev/ata/chipsets/ata-intel.c#14 edit
Differences ...
==== //depot/projects/scottl-camlock/src/sys/dev/ata/chipsets/ata-intel.c#14 (text+ko) ====
@@ -362,7 +362,7 @@
static int
ata_intel_sata_getrev(device_t dev, int target)
{
- struct ata_channel *ch = device_get_softc(device_get_parent(dev));
+ struct ata_channel *ch = device_get_softc(dev);
int devno = (ch->unit << 1) + target;
/* set ATA_SSTATUS register offset */
More information about the p4-projects
mailing list