⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ncr885_debug.h

📁 Linux内核源代码 为压缩文件 是<<Linux内核>>一书中的源代码
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -