1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Remove more deadwood that never got implemented in NEWCARD, since NEWCARD

went a different direction than was anticipated when these compatibility
shims were added.
This commit is contained in:
Warner Losh 2005-02-15 02:54:53 +00:00
parent 206189067d
commit 77ab642f58
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141936
2 changed files with 0 additions and 31 deletions

View File

@ -93,21 +93,6 @@ METHOD int detach_card {
device_t dev;
}
#
# Activates (and powers up if necessary) the card's nth function
# since each function gets its own device, there is no need to
# to specify a function number
#
METHOD int activate_function {
device_t dev;
device_t child;
}
METHOD int deactivate_function {
device_t dev;
device_t child;
}
#
# Compatibility methods for OLDCARD drivers. We use these routines to make
# it possible to call the OLDCARD driver's probe routine in the context that

View File

@ -381,20 +381,6 @@ pccard_get_memory_offset(device_t bus, device_t child, int rid,
}
#if __FreeBSD_version >= 500000
static int
pccard_activate_function(device_t bus, device_t child)
{
/* pccardd has alrady activated the function */
return (0);
}
static int
pccard_deactivate_function(device_t bus, device_t child)
{
/* pccardd will deactivate the function */
return (0);
}
static const struct pccard_product *
pccard_do_product_lookup(device_t bus, device_t dev,
const struct pccard_product *tab,
@ -432,8 +418,6 @@ static device_method_t pccard_methods[] = {
DEVMETHOD(card_set_memory_offset, pccard_set_memory_offset),
DEVMETHOD(card_get_memory_offset, pccard_get_memory_offset),
#if __FreeBSD_version >= 500000
DEVMETHOD(card_activate_function, pccard_activate_function),
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),