ARG! committed the wrong patch!! I need more sleep :(
This commit is contained in:
parent
71a6a4da18
commit
f609857c68
@ -75,7 +75,7 @@ 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_slot(dev) == pci_get_slot(child) &&
|
||||
if (pci_get_slot(dev) == pci_get_slot(children[i]) &&
|
||||
pci_get_devid(children[i]) == devid &&
|
||||
pci_get_revid(children[i]) >= revid) {
|
||||
free(children, M_TEMP);
|
||||
|
Loading…
Reference in New Issue
Block a user