diff options
author | grehan <grehan@FreeBSD.org> | 2005-11-11 09:36:38 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2005-11-11 09:36:38 +0000 |
commit | 1e312e1197fb6399949da259dfd37b5d126257aa (patch) | |
tree | bdd9e3c20a701170506ee31ecd229d83e0e2ed1a /sys/powerpc | |
parent | 376ec343cb86750e7c3a0a710da638174aa17aca (diff) | |
download | FreeBSD-src-1e312e1197fb6399949da259dfd37b5d126257aa.zip FreeBSD-src-1e312e1197fb6399949da259dfd37b5d126257aa.tar.gz |
ata_generic_hw takes a dev as a parameter, not a channel.
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/psim/ata_iobus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/psim/ata_iobus.c b/sys/powerpc/psim/ata_iobus.c index f01cd97..f9b4a56 100644 --- a/sys/powerpc/psim/ata_iobus.c +++ b/sys/powerpc/psim/ata_iobus.c @@ -242,7 +242,7 @@ ata_iobus_sub_probe(device_t dev) /* Only a single unit per controller thus far */ ch->unit = 0; ch->flags = (ATA_USE_16BIT|ATA_NO_SLAVE); - ata_generic_hw(ch); + ata_generic_hw(dev); return ata_probe(dev); } |