aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skfp/h/targethw.h
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-07-24 01:30:36 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:50:18 -0400
commitaf096046f63a065b692018cd4b8f5e7525c3e56a (patch)
tree79a45fa1ed1e88e1ea1c9cf826f73ae3ca5d24dc /drivers/net/skfp/h/targethw.h
parent7856a541ad83e84d260abb652c39299972ba310c (diff)
[netdrvr] skfp: remove a bunch of dead code
The driver has not compiled in anything except PCI support for many years (see drivers/net/skfp/Makefile). This driver is also unmaintained for many years, so arguments for keeping the cross-OS, cross-bus (ISA, EISA, MCA) code do not exist. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/skfp/h/targethw.h')
-rw-r--r--drivers/net/skfp/h/targethw.h33
1 files changed, 1 insertions, 32 deletions
diff --git a/drivers/net/skfp/h/targethw.h b/drivers/net/skfp/h/targethw.h
index 22c4923241d3..626dc7263591 100644
--- a/drivers/net/skfp/h/targethw.h
+++ b/drivers/net/skfp/h/targethw.h
@@ -53,11 +53,6 @@ struct s_oem_ids {
53 u_char oi_sub_id[4] ; /* sub id bytes, representation as */ 53 u_char oi_sub_id[4] ; /* sub id bytes, representation as */
54 /* defined by hardware, */ 54 /* defined by hardware, */
55#endif 55#endif
56#ifdef ISA
57 u_char oi_logo_len ; /* the length of the adapter logo */
58 u_char oi_logo[6] ; /* the adapter logo */
59 u_char oi_reserved1 ;
60#endif /* ISA */
61} ; 56} ;
62#endif /* MULT_OEM */ 57#endif /* MULT_OEM */
63 58
@@ -70,43 +65,17 @@ struct s_smt_hw {
70 short dma ; /* DMA channel */ 65 short dma ; /* DMA channel */
71 short irq ; /* IRQ level */ 66 short irq ; /* IRQ level */
72 short eprom ; /* FLASH prom */ 67 short eprom ; /* FLASH prom */
73#ifndef PCI
74 short DmaWriteExtraBytes ; /* add bytes for DMA write */
75#endif
76 68
77#ifndef SYNC 69#ifndef SYNC
78 u_short n_a_send ; /* pending send requests */ 70 u_short n_a_send ; /* pending send requests */
79#endif 71#endif
80 72
81#if (defined(EISA) || defined(MCA) || defined(PCI)) 73#if defined(PCI)
82 short slot ; /* slot number */ 74 short slot ; /* slot number */
83 short max_slots ; /* maximum number of slots */ 75 short max_slots ; /* maximum number of slots */
84#endif
85
86#if (defined(PCI) || defined(MCA))
87 short wdog_used ; /* TRUE if the watch dog is used */ 76 short wdog_used ; /* TRUE if the watch dog is used */
88#endif 77#endif
89 78
90#ifdef MCA
91 short slot_32 ; /* 32bit slot (1) or 16bit slot (0) */
92 short rev ; /* Board revision (FMx_REV). */
93 short VFullRead ; /* V_full value for DMA read */
94 short VFullWrite ; /* V_full value for DMA write */
95#endif
96
97#ifdef EISA
98 short led ; /* LED for FE card */
99
100 short dma_rmode ; /* read mode */
101 short dma_wmode ; /* write mode */
102 short dma_emode ; /* extend mode */
103
104 /* DMA controller channel dependent io addresses */
105 u_short dma_base_word_count ;
106 u_short dma_base_address ;
107 u_short dma_base_address_page ;
108#endif
109
110#ifdef PCI 79#ifdef PCI
111 u_short pci_handle ; /* handle to access the BIOS func */ 80 u_short pci_handle ; /* handle to access the BIOS func */
112 u_long is_imask ; /* int maske for the int source reg */ 81 u_long is_imask ; /* int maske for the int source reg */