ata_generic_hw takes a dev as a parameter, not a channel.
This commit is contained in:
parent
95dc459223
commit
c00f3b9d77
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152305
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user