Oops, lost a line in the previous commit.
This commit is contained in:
parent
13ac0cdca3
commit
71a6a4da18
@ -75,7 +75,8 @@ ata_find_dev(device_t dev, u_int32_t devid, u_int32_t revid)
|
||||
return 0;
|
||||
|
||||
for (i = 0; i < nchildren; i++) {
|
||||
if (pci_get_devid(children[i]) == devid &&
|
||||
if (pci_get_slot(dev) == pci_get_slot(child) &&
|
||||
pci_get_devid(children[i]) == devid &&
|
||||
pci_get_revid(children[i]) >= revid) {
|
||||
free(children, M_TEMP);
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user