diff options
author | imp <imp@FreeBSD.org> | 2003-08-24 03:32:47 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-08-24 03:32:47 +0000 |
commit | fd03c93639090053d125e3214ed386717425c7bb (patch) | |
tree | 808940fb8e1303dba4b70fc56a0f05c66a068338 /sys | |
parent | 07a12aae6a522bfd3bcc1a1ed091691667053fe7 (diff) | |
download | FreeBSD-src-fd03c93639090053d125e3214ed386717425c7bb.zip FreeBSD-src-fd03c93639090053d125e3214ed386717425c7bb.tar.gz |
Return -100 rather than 0 for pccard probe routines. This allows
other drivers to attach to these cards, if so desired.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/wi/if_wi_pccard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wi/if_wi_pccard.c b/sys/dev/wi/if_wi_pccard.c index f5fb334..8c9a7c3 100644 --- a/sys/dev/wi/if_wi_pccard.c +++ b/sys/dev/wi/if_wi_pccard.c @@ -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 |