From 154ce585489a513cfcd292a2e3df03f2e4ce0d0a Mon Sep 17 00:00:00 2001 From: Takanori Watanabe <takawata@FreeBSD.org> Date: Thu, 30 May 2002 18:48:44 +0000 Subject: [PATCH] Forget to change lookup function for oldcard side. --- sys/pccard/pccard_nbk.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/pccard/pccard_nbk.c b/sys/pccard/pccard_nbk.c index 255922094e8f..17aa6cacc1e3 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 } };