diff options
author | imp <imp@FreeBSD.org> | 2005-09-22 05:47:04 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-09-22 05:47:04 +0000 |
commit | 7294e3b366fe95541b073bc71d132abe88863121 (patch) | |
tree | 8a004894460085f484c2d554b88229ef082398bc | |
parent | 01dcf6413807d2e7123470057a3db75ee14b481d (diff) | |
download | FreeBSD-src-7294e3b366fe95541b073bc71d132abe88863121.zip FreeBSD-src-7294e3b366fe95541b073bc71d132abe88863121.tar.gz |
Remove broken OLDCARD compat shims.
"PC Card" is the correct spelling. "PC-Card" isn't, per the PCMCIA
standard.
-rw-r--r-- | sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c b/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c index 841a1b3..6c62c39 100644 --- a/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c +++ b/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c @@ -81,7 +81,6 @@ static ng_rcvmsg_t ng_bt3c_rcvmsg; static ng_rcvdata_t ng_bt3c_rcvdata; /* PCMCIA driver methods */ -static int bt3c_pccard_match (device_t); static int bt3c_pccard_probe (device_t); static int bt3c_pccard_attach (device_t); static int bt3c_pccard_detach (device_t); @@ -583,11 +582,11 @@ out: ****************************************************************************/ /* - * PC-Card (PCMCIA) match routine + * PC Card (PCMCIA) probe routine */ static int -bt3c_pccard_match(device_t dev) +bt3c_pccard_probe(device_t dev) { static struct pccard_product const bt3c_pccard_products[] = { PCMCIA_CARD(3COM, 3CRWB609), @@ -607,18 +606,7 @@ bt3c_pccard_match(device_t dev) } /* bt3c_pccacd_match */ /* - * PC-Card (PCMCIA) probe routine - * XXX FIXME - */ - -static int -bt3c_pccard_probe(device_t dev) -{ - return (0); -} /* bt3c_pccacd_probe */ - -/* - * PC-Card (PCMCIA) attach routine + * PC Card (PCMCIA) attach routine */ static int @@ -723,7 +711,7 @@ bad: } /* bt3c_pccacd_attach */ /* - * PC-Card (PCMCIA) detach routine + * PC Card (PCMCIA) detach routine */ static int |