mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 23:28:37 -04:00
Return -100 rather than 0 for pccard probe routines. This allows
other drivers to attach to these cards, if so desired.
This commit is contained in:
parent
c732f30398
commit
cfab163573
1 changed files with 2 additions and 2 deletions
|
|
@ -181,7 +181,7 @@ wi_pccard_match(dev)
|
|||
sizeof(wi_pccard_products[0]), NULL)) != NULL) {
|
||||
if (pp->pp_name != NULL)
|
||||
device_set_desc(dev, pp->pp_name);
|
||||
return (0);
|
||||
return (-100);
|
||||
}
|
||||
return (ENXIO);
|
||||
}
|
||||
|
|
@ -208,7 +208,7 @@ wi_pccard_probe(dev)
|
|||
CSR_WRITE_2(sc, WI_INT_EN, 0);
|
||||
CSR_WRITE_2(sc, WI_EVENT_ACK, 0xFFFF);
|
||||
|
||||
return (0);
|
||||
return (-100);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Reference in a new issue