diff options
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 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); } |