aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Grehan <grehan@FreeBSD.org>2005-11-11 09:36:38 +0000
committerPeter Grehan <grehan@FreeBSD.org>2005-11-11 09:36:38 +0000
commitc00f3b9d77376231d6c9f2850b7816664df2b9c9 (patch)
treebdd9e3c20a701170506ee31ecd229d83e0e2ed1a
parent95dc459223360603499138f14b15a9beb440a788 (diff)
downloadsrc-c00f3b9d77376231d6c9f2850b7816664df2b9c9.tar.gz
src-c00f3b9d77376231d6c9f2850b7816664df2b9c9.zip
ata_generic_hw takes a dev as a parameter, not a channel.
Notes
Notes: svn path=/head/; revision=152305
-rw-r--r--sys/powerpc/psim/ata_iobus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/psim/ata_iobus.c b/sys/powerpc/psim/ata_iobus.c
index f01cd978688b..f9b4a56ba361 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);
}