ata_generic_hw takes a dev as a parameter, not a channel.

This commit is contained in:
Peter Grehan 2005-11-11 09:36:38 +00:00
parent 95dc459223
commit c00f3b9d77
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152305

View File

@ -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);
}