From cfab163573e2d07ed0ddcef00767673dd7c2df01 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sun, 24 Aug 2003 03:32:47 +0000 Subject: Return -100 rather than 0 for pccard probe routines. This allows other drivers to attach to these cards, if so desired. --- sys/dev/wi/if_wi_pccard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/dev/wi/if_wi_pccard.c b/sys/dev/wi/if_wi_pccard.c index f5fb334437cc6..8c9a7c3553c08 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 -- cgit v1.3