summaryrefslogtreecommitdiffstats
path: root/sys/pccard
diff options
context:
space:
mode:
authortakawata <takawata@FreeBSD.org>2002-05-30 18:48:44 +0000
committertakawata <takawata@FreeBSD.org>2002-05-30 18:48:44 +0000
commitb4f860ec9b088aec02e817fd5c4c9f9501357319 (patch)
treef05141aa5c710e3c9225507f2b785f82aee95aac /sys/pccard
parentd56d278a054f8689c5b894a1978f6a44c226ddef (diff)
downloadFreeBSD-src-b4f860ec9b088aec02e817fd5c4c9f9501357319.zip
FreeBSD-src-b4f860ec9b088aec02e817fd5c4c9f9501357319.tar.gz
Forget to change lookup function for oldcard side.
Diffstat (limited to 'sys/pccard')
-rw-r--r--sys/pccard/pccard_nbk.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/pccard/pccard_nbk.c b/sys/pccard/pccard_nbk.c
index 2559220..17aa6ca 100644
--- a/sys/pccard/pccard_nbk.c
+++ b/sys/pccard/pccard_nbk.c
@@ -383,9 +383,10 @@ pccard_deactivate_function(device_t bus, device_t child)
return (0);
}
-const struct pccard_product *
-pccard_product_lookup(device_t dev, const struct pccard_product *tab,
- size_t ent_size, pccard_product_match_fn matchfn)
+static const struct pccard_product *
+pccard_do_product_lookup(device_t bus, device_t dev,
+ const struct pccard_product *tab,
+ size_t ent_size, pccard_product_match_fn matchfn)
{
return (NULL);
}
@@ -424,6 +425,7 @@ static device_method_t pccard_methods[] = {
DEVMETHOD(card_deactivate_function, pccard_deactivate_function),
DEVMETHOD(card_compat_do_probe, pccard_compat_do_probe),
DEVMETHOD(card_compat_do_attach, pccard_compat_do_attach),
+ DEVMETHOD(card_do_product_lookup, pccard_do_product_lookup),
#endif
{ 0, 0 }
};
OpenPOWER on IntegriCloud