diff options
author | imp <imp@FreeBSD.org> | 2005-02-14 07:00:39 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-02-14 07:00:39 +0000 |
commit | c4c5777dd098d4c971f3949a36871c654449d77d (patch) | |
tree | 7ce64150acacebb116051083a0837934a9439604 /sys/dev | |
parent | 72c4151f9cfdb971fd5ff6f6e33330d1085c6da1 (diff) | |
download | FreeBSD-src-c4c5777dd098d4c971f3949a36871c654449d77d.zip FreeBSD-src-c4c5777dd098d4c971f3949a36871c654449d77d.tar.gz |
Remove card_get_function. It looks like it was intended to be a
bridge between OLDCARD and NEWCARD for drivers to inquire after the
function number (eg, 0, 1, 2). Nobody ever used it, so retire it
with honors. NEWCARD never implemented it, and the same information
can be obtained by the pccard_get_function_number().
MFC After: 3 days
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pccard/card_if.m | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/dev/pccard/card_if.m b/sys/dev/pccard/card_if.m index d5f3412..71c07d9 100644 --- a/sys/dev/pccard/card_if.m +++ b/sys/dev/pccard/card_if.m @@ -94,15 +94,6 @@ METHOD int detach_card { } # -# Returns the function number for this device. -# -METHOD int get_function { - device_t dev; - device_t child; - int *func; -} - -# # 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 |