aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-12-21 22:37:54 +0000
committerWarner Losh <imp@FreeBSD.org>2002-12-21 22:37:54 +0000
commitd36644f2d91b676e3a072b3b6647e6fcd92961c1 (patch)
tree1cfa3db8ed7ce84bb3d1da1b6f2d0df971b22f8e
parent35c45e664a2bfa40f6daab8226c87161fffb6491 (diff)
Notes
-rw-r--r--sys/dev/sio/sio_pccard.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/sio/sio_pccard.c b/sys/dev/sio/sio_pccard.c
index 571e822461867..7f9897af6f814 100644
--- a/sys/dev/sio/sio_pccard.c
+++ b/sys/dev/sio/sio_pccard.c
@@ -80,10 +80,12 @@ sio_pccard_match(device_t dev)
if (error != 0)
return (error);
/*
- * If a serial card, we are likely the right driver.
+ * If a serial card, we are likely the right driver. However,
+ * some serial cards are better servered by other drivers, so
+ * allow other drivers to claim it, if they want.
*/
if (fcn == PCCARD_FUNCTION_SERIAL)
- return (0);
+ return (-100);
return(ENXIO);
}