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:
Warner Losh 2003-08-24 03:32:47 +00:00
parent c732f30398
commit cfab163573

View file

@ -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