ncr885_debug.h

来自「Linux内核源代码 为压缩文件 是<<Linux内核>&gt」· C头文件 代码 · 共 55 行

H
55
字号
#ifndef _H_NCR885_DEBUG#define _H_NCR885_DEBUGstruct ncr885e_regs {  unsigned long tx_status;  unsigned long rx_status;  unsigned long mac_config;  unsigned long tx_control;  unsigned long rx_control;  unsigned long tx_cmd_ptr;  unsigned long rx_cmd_ptr;  unsigned long int_status;};#ifndef __KERNEL__struct ncr885e_private {  struct dbdma_cmd *head;  struct dbdma_cmd *tx_cmds;  struct dbdma_cmd *rx_cmds;  struct dbdma_cmd *stop_cmd;  struct sk_buff *tx_skbufs[NR_TX_RING];  struct sk_buff *rx_skbufs[NR_RX_RING];  int rx_current;  int rx_dirty;  int tx_dirty;  int tx_current;  unsigned short tx_status[NR_TX_RING];  unsigned char tx_fullup;  unsigned char tx_active;    struct net_device_stats  stats;  struct device *dev;  struct timer_list tx_timeout;  int timeout_active;  spinlock_t lock;};#endif /* __KERNEL__ */#define NCR885E_GET_PRIV   _IOR('N',1,sizeof( struct ncr885e_private ))#define NCR885E_GET_REGS   _IOR('N',2,sizeof( struct ncr885e_regs ))#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?