mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Oops, lost a line in the previous commit.
This commit is contained in:
parent
13ac0cdca3
commit
71a6a4da18
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue