1 #ifndef _H_NCR885_DEBUG
2 #define _H_NCR885_DEBUG
5 unsigned long tx_status
;
6 unsigned long rx_status
;
7 unsigned long mac_config
;
8 unsigned long tx_control
;
9 unsigned long rx_control
;
10 unsigned long tx_cmd_ptr
;
11 unsigned long rx_cmd_ptr
;
12 unsigned long int_status
;
17 struct ncr885e_private
{
19 struct dbdma_cmd
*head
;
20 struct dbdma_cmd
*tx_cmds
;
21 struct dbdma_cmd
*rx_cmds
;
22 struct dbdma_cmd
*stop_cmd
;
24 struct sk_buff
*tx_skbufs
[NR_TX_RING
];
25 struct sk_buff
*rx_skbufs
[NR_RX_RING
];
33 unsigned short tx_status
[NR_TX_RING
];
35 unsigned char tx_fullup
;
36 unsigned char tx_active
;
38 struct net_device_stats stats
;
42 struct timer_list tx_timeout
;
48 #endif /* __KERNEL__ */
51 #define NCR885E_GET_PRIV _IOR('N',1,sizeof( struct ncr885e_private ))
52 #define NCR885E_GET_REGS _IOR('N',2,sizeof( struct ncr885e_regs ))