aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTakanori Watanabe <takawata@FreeBSD.org>2002-05-30 18:48:44 +0000
committerTakanori Watanabe <takawata@FreeBSD.org>2002-05-30 18:48:44 +0000
commit154ce585489a513cfcd292a2e3df03f2e4ce0d0a (patch)
treef05141aa5c710e3c9225507f2b785f82aee95aac /sys
parent686bea03e9cfd9def8c44e3b139f1966712eb642 (diff)
downloadsrc-154ce585489a513cfcd292a2e3df03f2e4ce0d0a.tar.gz
src-154ce585489a513cfcd292a2e3df03f2e4ce0d0a.zip
Forget to change lookup function for oldcard side.
Notes
Notes: svn path=/head/; revision=97617
Diffstat (limited to 'sys')
-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 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 }
};