Remove broken OLDCARD compat shims.

"PC Card" is the correct spelling.  "PC-Card" isn't, per the PCMCIA
standard.
This commit is contained in:
Warner Losh 2005-09-22 05:47:04 +00:00
parent c777c69bdc
commit 55b6280fd1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150456

View File

@ -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 @@ ng_bt3c_rcvdata(hook_p hook, item_p item)
****************************************************************************/
/*
* 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 @@ bt3c_pccard_attach(device_t dev)
} /* bt3c_pccacd_attach */
/*
* PC-Card (PCMCIA) detach routine
* PC Card (PCMCIA) detach routine
*/
static int