20 #define PNIC_PCI_VENDOR 0xfefe 21 #define PNIC_PCI_DEVICE 0xefef 26 #define PNIC_REG_CMD 0x00 27 #define PNIC_REG_STAT 0x00 28 #define PNIC_REG_LEN 0x02 29 #define PNIC_REG_DATA 0x04 33 #define PNIC_MAX_REG 0x04 38 #define PNIC_CMD_NOOP 0x0000 39 #define PNIC_CMD_API_VER 0x0001 40 #define PNIC_CMD_READ_MAC 0x0002 41 #define PNIC_CMD_RESET 0x0003 42 #define PNIC_CMD_XMIT 0x0004 43 #define PNIC_CMD_RECV 0x0005 44 #define PNIC_CMD_RECV_QLEN 0x0006 45 #define PNIC_CMD_MASK_IRQ 0x0007 46 #define PNIC_CMD_FORCE_IRQ 0x0008 54 #define PNIC_STATUS_OK 0x4f4b 55 #define PNIC_STATUS_UNKNOWN_CMD 0x3f3f 61 #define PNIC_API_VERSION 0x0101 FILE_LICENCE(GPL2_OR_LATER)