Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
slichw.h File Reference

Go to the source code of this file.

Data Structures

struct  slic_rcvbuf
 
struct  slic_hddr_wds
 
struct  slic_host64sg
 
struct  slic_host64_cmd
 
struct  slic_rspbuf
 
struct  slic_regs
 
struct  inicpm_wakepattern
 
struct  inicpm_state
 
struct  slicpm_packet_pattern
 
struct  slicpm_wakeup_capabilities
 
struct  slic_pnp_capabilities
 
struct  xmt_stats
 
struct  rcv_stats
 
struct  xmt_statsgb
 
struct  rcv_statsgb
 
struct  slic_stats
 
struct  slic_config_mac
 
struct  atk_fru
 
struct  vendor1_fru
 
struct  vendor2_fru
 
struct  vendor3_fru
 
struct  vendor4_fru
 
union  oemfru
 
struct  slic_eeprom
 
struct  oslic_eeprom
 
struct  slic_config
 

Macros

#define PCI_VENDOR_ID_ALACRITECH   0x139A
 
#define SLIC_1GB_DEVICE_ID   0x0005
 
#define SLIC_2GB_DEVICE_ID   0x0007 /* Oasis Device ID */
 
#define SLIC_1GB_CICADA_SUBSYS_ID   0x0008
 
#define SLIC_NBR_MACS   4
 
#define SLIC_RCVBUF_SIZE   2048
 
#define SLIC_RCVBUF_HEADSIZE   34
 
#define SLIC_RCVBUF_TAILSIZE   0
 
#define SLIC_RCVBUF_DATASIZE
 
#define VGBSTAT_XPERR   0x40000000
 
#define VGBSTAT_XERRSHFT   25
 
#define VGBSTAT_XCSERR   0x23
 
#define VGBSTAT_XUFLOW   0x22
 
#define VGBSTAT_XHLEN   0x20
 
#define VGBSTAT_NETERR   0x01000000
 
#define VGBSTAT_NERRSHFT   16
 
#define VGBSTAT_NERRMSK   0x1ff
 
#define VGBSTAT_NCSERR   0x103
 
#define VGBSTAT_NUFLOW   0x102
 
#define VGBSTAT_NHLEN   0x100
 
#define VGBSTAT_LNKERR   0x00000080
 
#define VGBSTAT_LERRMSK   0xff
 
#define VGBSTAT_LDEARLY   0x86
 
#define VGBSTAT_LBOFLO   0x85
 
#define VGBSTAT_LCODERR   0x84
 
#define VGBSTAT_LDBLNBL   0x83
 
#define VGBSTAT_LCRCERR   0x82
 
#define VGBSTAT_LOFLO   0x81
 
#define VGBSTAT_LUFLO   0x80
 
#define IRHDDR_FLEN_MSK   0x0000ffff
 
#define IRHDDR_SVALID   0x80000000
 
#define IRHDDR_ERR   0x10000000
 
#define VRHSTAT_802OE   0x80000000
 
#define VRHSTAT_TPOFLO   0x10000000
 
#define VRHSTATB_802UE   0x80000000
 
#define VRHSTATB_RCVE   0x40000000
 
#define VRHSTATB_BUFF   0x20000000
 
#define VRHSTATB_CARRE   0x08000000
 
#define VRHSTATB_LONGE   0x02000000
 
#define VRHSTATB_PREA   0x01000000
 
#define VRHSTATB_CRC   0x00800000
 
#define VRHSTATB_DRBL   0x00400000
 
#define VRHSTATB_CODE   0x00200000
 
#define VRHSTATB_TPCSUM   0x00100000
 
#define VRHSTATB_TPHLEN   0x00080000
 
#define VRHSTATB_IPCSUM   0x00040000
 
#define VRHSTATB_IPLERR   0x00020000
 
#define VRHSTATB_IPHERR   0x00010000
 
#define SLIC_MAX64_BCNT   23
 
#define SLIC_MAX32_BCNT   26
 
#define IHCMD_XMT_REQ   0x01
 
#define IHFLG_IFSHFT   2
 
#define SLIC_RSPBUF_SIZE   32
 
#define SLIC_RESET_MAGIC   0xDEAD
 
#define ICR_INT_OFF   0
 
#define ICR_INT_ON   1
 
#define ICR_INT_MASK   2
 
#define ISR_ERR   0x80000000
 
#define ISR_RCV   0x40000000
 
#define ISR_CMD   0x20000000
 
#define ISR_IO   0x60000000
 
#define ISR_UPC   0x10000000
 
#define ISR_LEVENT   0x08000000
 
#define ISR_RMISS   0x02000000
 
#define ISR_UPCERR   0x01000000
 
#define ISR_XDROP   0x00800000
 
#define ISR_UPCBSY   0x00020000
 
#define ISR_EVMSK   0xffff0000
 
#define ISR_PINGMASK   0x00700000
 
#define ISR_PINGDSMASK   0x00710000
 
#define ISR_UPCMASK   0x11000000
 
#define SLIC_WCS_START   0x80000000
 
#define SLIC_WCS_COMPARE   0x40000000
 
#define SLIC_RCVWCS_BEGIN   0x40000000
 
#define SLIC_RCVWCS_FINISH   0x80000000
 
#define SLIC_PM_MAXPATTERNS   6
 
#define SLIC_PM_PATTERNSIZE   128
 
#define SLIC_PMCAPS_WAKEONLAN   0x00000001
 
#define MIICR_REG_PCR   0x00000000
 
#define MIICR_REG_4   0x00040000
 
#define MIICR_REG_9   0x00090000
 
#define MIICR_REG_16   0x00100000
 
#define PCR_RESET   0x8000
 
#define PCR_POWERDOWN   0x0800
 
#define PCR_SPEED_100   0x2000
 
#define PCR_SPEED_1000   0x0040
 
#define PCR_AUTONEG   0x1000
 
#define PCR_AUTONEG_RST   0x0200
 
#define PCR_DUPLEX_FULL   0x0100
 
#define PSR_LINKUP   0x0004
 
#define PAR_ADV100FD   0x0100
 
#define PAR_ADV100HD   0x0080
 
#define PAR_ADV10FD   0x0040
 
#define PAR_ADV10HD   0x0020
 
#define PAR_ASYMPAUSE   0x0C00
 
#define PAR_802_3   0x0001
 
#define PAR_ADV1000XFD   0x0020
 
#define PAR_ADV1000XHD   0x0040
 
#define PAR_ASYMPAUSE_FIBER   0x0180
 
#define PGC_ADV1000FD   0x0200
 
#define PGC_ADV1000HD   0x0100
 
#define SEEQ_LINKFAIL   0x4000
 
#define SEEQ_SPEED   0x0080
 
#define SEEQ_DUPLEX   0x0040
 
#define TDK_DUPLEX   0x0800
 
#define TDK_SPEED   0x0400
 
#define MRV_REG16_XOVERON   0x0068
 
#define MRV_REG16_XOVEROFF   0x0008
 
#define MRV_SPEED_1000   0x8000
 
#define MRV_SPEED_100   0x4000
 
#define MRV_SPEED_10   0x0000
 
#define MRV_FULLDUPLEX   0x2000
 
#define MRV_LINKUP   0x0400
 
#define GIG_LINKUP   0x0001
 
#define GIG_FULLDUPLEX   0x0002
 
#define GIG_SPEED_MASK   0x000C
 
#define GIG_SPEED_1000   0x0008
 
#define GIG_SPEED_100   0x0004
 
#define GIG_SPEED_10   0x0000
 
#define MCR_RESET   0x80000000
 
#define MCR_CRCEN   0x40000000
 
#define MCR_FULLD   0x10000000
 
#define MCR_PAD   0x02000000
 
#define MCR_RETRYLATE   0x01000000
 
#define MCR_BOL_SHIFT   21
 
#define MCR_IPG1_SHIFT   14
 
#define MCR_IPG2_SHIFT   7
 
#define MCR_IPG3_SHIFT   0
 
#define GMCR_RESET   0x80000000
 
#define GMCR_GBIT   0x20000000
 
#define GMCR_FULLD   0x10000000
 
#define GMCR_GAPBB_SHIFT   14
 
#define GMCR_GAPR1_SHIFT   7
 
#define GMCR_GAPR2_SHIFT   0
 
#define GMCR_GAPBB_1000   0x60
 
#define GMCR_GAPR1_1000   0x2C
 
#define GMCR_GAPR2_1000   0x40
 
#define GMCR_GAPBB_100   0x70
 
#define GMCR_GAPR1_100   0x2C
 
#define GMCR_GAPR2_100   0x40
 
#define XCR_RESET   0x80000000
 
#define XCR_XMTEN   0x40000000
 
#define XCR_PAUSEEN   0x20000000
 
#define XCR_LOADRNG   0x10000000
 
#define RCR_RESET   0x80000000
 
#define RCR_RCVEN   0x40000000
 
#define RCR_RCVALL   0x20000000
 
#define RCR_RCVBAD   0x10000000
 
#define RCR_CTLEN   0x08000000
 
#define RCR_ADDRAEN   0x02000000
 
#define GXCR_RESET   0x80000000
 
#define GXCR_XMTEN   0x40000000
 
#define GXCR_PAUSEEN   0x20000000
 
#define GRCR_RESET   0x80000000
 
#define GRCR_RCVEN   0x40000000
 
#define GRCR_RCVALL   0x20000000
 
#define GRCR_RCVBAD   0x10000000
 
#define GRCR_CTLEN   0x08000000
 
#define GRCR_ADDRAEN   0x02000000
 
#define GRCR_HASHSIZE_SHIFT   17
 
#define GRCR_HASHSIZE   14
 
#define SLIC_EEPROM_ID   0xA5A5
 
#define SLIC_SRAM_SIZE2GB   (64 * 1024)
 
#define SLIC_SRAM_SIZE1GB   (32 * 1024)
 
#define SLIC_HOSTID_DEFAULT   0xFFFF /* uninitialized hostid */
 
#define SLIC_NBR_MACS   4
 
#define frame_status14   u0.hdrs_14port.frame_status
 
#define frame_status_b14   u0.hdrs_14port.frame_status_b
 
#define frame_statusGB   u0.hdrs_gbit.frame_status
 
#define SLIC_ICR   0x0008
 
#define SLIC_ISP   0x0010
 
#define SLIC_ISR   0x0018
 
#define SLIC_HBAR   0x0020
 
#define SLIC_HBAR_CNT_MSK   0x000000FF
 
#define SLIC_DBAR   0x0028
 
#define SLIC_DBAR_SIZE   2048
 
#define SLIC_CBAR   0x0030
 
#define SLIC_CBAR_LEN_MSK   0x0000001F
 
#define SLIC_CBAR_ALIGN   0x00000020
 
#define SLIC_WCS   0x0034
 
#define SLIC_WCS_START   0x80000000 /*Start the SLIC (Jump to WCS)*/
 
#define SLIC_WCS_COMPARE   0x40000000 /* Compare with value in WCS*/
 
#define SLIC_RBAR   0x0038
 
#define SLIC_RBAR_CNT_MSK   0x000000FF
 
#define SLIC_RBAR_SIZE   32
 
#define SLIC_RSTAT   0x0040
 
#define SLIC_LSTAT   0x0048
 
#define SLIC_WMCFG   0x0050
 
#define SLIC_WPHY   0x0058
 
#define SLIC_RCBAR   0x0060
 
#define SLIC_RCONFIG   0x0068
 
#define SLIC_INTAGG   0x0070
 
#define SLIC_WXCFG   0x0078
 
#define SLIC_WRCFG   0x0080
 
#define SLIC_WRADDRAL   0x0088
 
#define SLIC_WRADDRAH   0x0090
 
#define SLIC_WRADDRBL   0x0098
 
#define SLIC_WRADDRBH   0x00a0
 
#define SLIC_MCASTLOW   0x00a8
 
#define SLIC_MCASTHIGH   0x00b0
 
#define SLIC_PING   0x00b8
 
#define SLIC_DUMP_CMD   0x00c0
 
#define SLIC_DUMP_DATA   0x00c8
 
#define SLIC_PCISTATUS   0x00d0
 
#define SLIC_WRHOSTID   0x00d8
 
#define SLIC_RDHOSTID_1GB   0x1554
 
#define SLIC_RDHOSTID_2GB   0x1554
 
#define SLIC_LOW_POWER   0x00e0
 
#define SLIC_QUIESCE   0x00e8
 
#define SLIC_RESET_IFACE   0x00f0
 
#define SLIC_ADDR_UPPER   0x00f8 /*Register is only written when it has changed*/
 
#define SLIC_HBAR64   0x0100
 
#define SLIC_DBAR64   0x0108
 
#define SLIC_CBAR64   0x0110
 
#define SLIC_RBAR64   0x0118
 
#define SLIC_RCBAR64   0x0120
 
#define SLIC_RSTAT64   0x0128
 
#define SLIC_RCV_WCS   0x0130
 
#define SLIC_RCVWCS_BEGIN   0x40000000
 
#define SLIC_RCVWCS_FINISH   0x80000000
 
#define SLIC_WRVLANID   0x0138
 
#define SLIC_READ_XF_INFO   0x0140
 
#define SLIC_WRITE_XF_INFO   0x0148
 
#define SLIC_TICKS_PER_SEC   0x0170
 
#define xmit_tcp_segs100   u.stats_100.xmt100.xmit_tcp_segs
 
#define xmit_tcp_bytes100   u.stats_100.xmt100.xmit_tcp_bytes
 
#define xmit_bytes100   u.stats_100.xmt100.xmit_bytes
 
#define xmit_collisions100   u.stats_100.xmt100.xmit_collisions
 
#define xmit_unicasts100   u.stats_100.xmt100.xmit_unicasts
 
#define xmit_other_error100   u.stats_100.xmt100.xmit_other_error
 
#define xmit_excess_collisions100   u.stats_100.xmt100.xmit_excess_collisions
 
#define rcv_tcp_segs100   u.stats_100.rcv100.rcv_tcp_segs
 
#define rcv_tcp_bytes100   u.stats_100.rcv100.rcv_tcp_bytes
 
#define rcv_bytes100   u.stats_100.rcv100.rcv_bytes
 
#define rcv_unicasts100   u.stats_100.rcv100.rcv_unicasts
 
#define rcv_other_error100   u.stats_100.rcv100.rcv_other_error
 
#define rcv_drops100   u.stats_100.rcv100.rcv_drops
 
#define xmit_tcp_segs_gb   u.stats_GB.xmtGB.xmit_tcp_segs
 
#define xmit_tcp_bytes_gb   u.stats_GB.xmtGB.xmit_tcp_bytes
 
#define xmit_bytes_gb   u.stats_GB.xmtGB.xmit_bytes
 
#define xmit_collisions_gb   u.stats_GB.xmtGB.xmit_collisions
 
#define xmit_unicasts_gb   u.stats_GB.xmtGB.xmit_unicasts
 
#define xmit_other_error_gb   u.stats_GB.xmtGB.xmit_other_error
 
#define xmit_excess_collisions_gb   u.stats_GB.xmtGB.xmit_excess_collisions
 
#define rcv_tcp_segs_gb   u.stats_GB.rcvGB.rcv_tcp_segs
 
#define rcv_tcp_bytes_gb   u.stats_GB.rcvGB.rcv_tcp_bytes
 
#define rcv_bytes_gb   u.stats_GB.rcvGB.rcv_bytes
 
#define rcv_unicasts_gb   u.stats_GB.rcvGB.rcv_unicasts
 
#define rcv_other_error_gb   u.stats_GB.rcvGB.rcv_other_error
 
#define rcv_drops_gb   u.stats_GB.rcvGB.rcv_drops
 
#define ATK_FRU_FORMAT   0x00
 
#define VENDOR1_FRU_FORMAT   0x01
 
#define VENDOR2_FRU_FORMAT   0x02
 
#define VENDOR3_FRU_FORMAT   0x03
 
#define VENDOR4_FRU_FORMAT   0x04
 
#define NO_FRU_FORMAT   0xFF
 
#define MAX_EECODE_SIZE   sizeof(struct slic_eeprom)
 
#define MIN_EECODE_SIZE   0x62 /* code size without optional OEM FRU stuff */
 

Enumerations

enum  UPR_REQUEST {
  SLIC_UPR_STATS, SLIC_UPR_RLSR, SLIC_UPR_WCFG, SLIC_UPR_RCONFIG,
  SLIC_UPR_RPHY, SLIC_UPR_ENLB, SLIC_UPR_ENCT, SLIC_UPR_PDWN,
  SLIC_UPR_PING, SLIC_UPR_DUMP
}
 
enum  slicpm_power_state {
  slicpm_state_unspecified = 0, slicpm_state_d0, slicpm_state_d1, slicpm_state_d2,
  slicpm_state_d3, slicpm_state_maximum
}
 

Macro Definition Documentation

#define ATK_FRU_FORMAT   0x00

Definition at line 644 of file slichw.h.

#define frame_status14   u0.hdrs_14port.frame_status

Definition at line 257 of file slichw.h.

#define frame_status_b14   u0.hdrs_14port.frame_status_b

Definition at line 258 of file slichw.h.

#define frame_statusGB   u0.hdrs_gbit.frame_status

Definition at line 259 of file slichw.h.

#define GIG_FULLDUPLEX   0x0002

Definition at line 170 of file slichw.h.

#define GIG_LINKUP   0x0001

Definition at line 169 of file slichw.h.

#define GIG_SPEED_10   0x0000

Definition at line 174 of file slichw.h.

#define GIG_SPEED_100   0x0004

Definition at line 173 of file slichw.h.

#define GIG_SPEED_1000   0x0008

Definition at line 172 of file slichw.h.

#define GIG_SPEED_MASK   0x000C

Definition at line 171 of file slichw.h.

#define GMCR_FULLD   0x10000000

Definition at line 187 of file slichw.h.

#define GMCR_GAPBB_100   0x70

Definition at line 194 of file slichw.h.

#define GMCR_GAPBB_1000   0x60

Definition at line 191 of file slichw.h.

#define GMCR_GAPBB_SHIFT   14

Definition at line 188 of file slichw.h.

#define GMCR_GAPR1_100   0x2C

Definition at line 195 of file slichw.h.

#define GMCR_GAPR1_1000   0x2C

Definition at line 192 of file slichw.h.

#define GMCR_GAPR1_SHIFT   7

Definition at line 189 of file slichw.h.

#define GMCR_GAPR2_100   0x40

Definition at line 196 of file slichw.h.

#define GMCR_GAPR2_1000   0x40

Definition at line 193 of file slichw.h.

#define GMCR_GAPR2_SHIFT   0

Definition at line 190 of file slichw.h.

#define GMCR_GBIT   0x20000000

Definition at line 186 of file slichw.h.

#define GMCR_RESET   0x80000000

Definition at line 185 of file slichw.h.

#define GRCR_ADDRAEN   0x02000000

Definition at line 215 of file slichw.h.

#define GRCR_CTLEN   0x08000000

Definition at line 214 of file slichw.h.

#define GRCR_HASHSIZE   14

Definition at line 217 of file slichw.h.

#define GRCR_HASHSIZE_SHIFT   17

Definition at line 216 of file slichw.h.

#define GRCR_RCVALL   0x20000000

Definition at line 212 of file slichw.h.

#define GRCR_RCVBAD   0x10000000

Definition at line 213 of file slichw.h.

#define GRCR_RCVEN   0x40000000

Definition at line 211 of file slichw.h.

#define GRCR_RESET   0x80000000

Definition at line 210 of file slichw.h.

#define GXCR_PAUSEEN   0x20000000

Definition at line 209 of file slichw.h.

#define GXCR_RESET   0x80000000

Definition at line 207 of file slichw.h.

#define GXCR_XMTEN   0x40000000

Definition at line 208 of file slichw.h.

#define ICR_INT_MASK   2

Definition at line 107 of file slichw.h.

#define ICR_INT_OFF   0

Definition at line 105 of file slichw.h.

#define ICR_INT_ON   1

Definition at line 106 of file slichw.h.

#define IHCMD_XMT_REQ   0x01

Definition at line 100 of file slichw.h.

#define IHFLG_IFSHFT   2

Definition at line 101 of file slichw.h.

#define IRHDDR_ERR   0x10000000

Definition at line 81 of file slichw.h.

#define IRHDDR_FLEN_MSK   0x0000ffff

Definition at line 79 of file slichw.h.

#define IRHDDR_SVALID   0x80000000

Definition at line 80 of file slichw.h.

#define ISR_CMD   0x20000000

Definition at line 111 of file slichw.h.

#define ISR_ERR   0x80000000

Definition at line 109 of file slichw.h.

#define ISR_EVMSK   0xffff0000

Definition at line 119 of file slichw.h.

#define ISR_IO   0x60000000

Definition at line 112 of file slichw.h.

#define ISR_LEVENT   0x08000000

Definition at line 114 of file slichw.h.

#define ISR_PINGDSMASK   0x00710000

Definition at line 121 of file slichw.h.

#define ISR_PINGMASK   0x00700000

Definition at line 120 of file slichw.h.

#define ISR_RCV   0x40000000

Definition at line 110 of file slichw.h.

#define ISR_RMISS   0x02000000

Definition at line 115 of file slichw.h.

#define ISR_UPC   0x10000000

Definition at line 113 of file slichw.h.

#define ISR_UPCBSY   0x00020000

Definition at line 118 of file slichw.h.

#define ISR_UPCERR   0x01000000

Definition at line 116 of file slichw.h.

#define ISR_UPCMASK   0x11000000

Definition at line 122 of file slichw.h.

#define ISR_XDROP   0x00800000

Definition at line 117 of file slichw.h.

#define MAX_EECODE_SIZE   sizeof(struct slic_eeprom)

Definition at line 800 of file slichw.h.

#define MCR_BOL_SHIFT   21

Definition at line 181 of file slichw.h.

#define MCR_CRCEN   0x40000000

Definition at line 177 of file slichw.h.

#define MCR_FULLD   0x10000000

Definition at line 178 of file slichw.h.

#define MCR_IPG1_SHIFT   14

Definition at line 182 of file slichw.h.

#define MCR_IPG2_SHIFT   7

Definition at line 183 of file slichw.h.

#define MCR_IPG3_SHIFT   0

Definition at line 184 of file slichw.h.

#define MCR_PAD   0x02000000

Definition at line 179 of file slichw.h.

#define MCR_RESET   0x80000000

Definition at line 176 of file slichw.h.

#define MCR_RETRYLATE   0x01000000

Definition at line 180 of file slichw.h.

#define MIICR_REG_16   0x00100000

Definition at line 133 of file slichw.h.

#define MIICR_REG_4   0x00040000

Definition at line 131 of file slichw.h.

#define MIICR_REG_9   0x00090000

Definition at line 132 of file slichw.h.

#define MIICR_REG_PCR   0x00000000

Definition at line 130 of file slichw.h.

#define MIN_EECODE_SIZE   0x62 /* code size without optional OEM FRU stuff */

Definition at line 801 of file slichw.h.

#define MRV_FULLDUPLEX   0x2000

Definition at line 166 of file slichw.h.

#define MRV_LINKUP   0x0400

Definition at line 167 of file slichw.h.

#define MRV_REG16_XOVEROFF   0x0008

Definition at line 162 of file slichw.h.

#define MRV_REG16_XOVERON   0x0068

Definition at line 161 of file slichw.h.

#define MRV_SPEED_10   0x0000

Definition at line 165 of file slichw.h.

#define MRV_SPEED_100   0x4000

Definition at line 164 of file slichw.h.

#define MRV_SPEED_1000   0x8000

Definition at line 163 of file slichw.h.

#define NO_FRU_FORMAT   0xFF

Definition at line 649 of file slichw.h.

#define PAR_802_3   0x0001

Definition at line 148 of file slichw.h.

#define PAR_ADV1000XFD   0x0020

Definition at line 150 of file slichw.h.

#define PAR_ADV1000XHD   0x0040

Definition at line 151 of file slichw.h.

#define PAR_ADV100FD   0x0100

Definition at line 143 of file slichw.h.

#define PAR_ADV100HD   0x0080

Definition at line 144 of file slichw.h.

#define PAR_ADV10FD   0x0040

Definition at line 145 of file slichw.h.

#define PAR_ADV10HD   0x0020

Definition at line 146 of file slichw.h.

#define PAR_ASYMPAUSE   0x0C00

Definition at line 147 of file slichw.h.

#define PAR_ASYMPAUSE_FIBER   0x0180

Definition at line 152 of file slichw.h.

#define PCI_VENDOR_ID_ALACRITECH   0x139A

Definition at line 44 of file slichw.h.

#define PCR_AUTONEG   0x1000

Definition at line 138 of file slichw.h.

#define PCR_AUTONEG_RST   0x0200

Definition at line 139 of file slichw.h.

#define PCR_DUPLEX_FULL   0x0100

Definition at line 140 of file slichw.h.

#define PCR_POWERDOWN   0x0800

Definition at line 135 of file slichw.h.

#define PCR_RESET   0x8000

Definition at line 134 of file slichw.h.

#define PCR_SPEED_100   0x2000

Definition at line 136 of file slichw.h.

#define PCR_SPEED_1000   0x0040

Definition at line 137 of file slichw.h.

#define PGC_ADV1000FD   0x0200

Definition at line 154 of file slichw.h.

#define PGC_ADV1000HD   0x0100

Definition at line 155 of file slichw.h.

#define PSR_LINKUP   0x0004

Definition at line 141 of file slichw.h.

#define RCR_ADDRAEN   0x02000000

Definition at line 206 of file slichw.h.

#define RCR_CTLEN   0x08000000

Definition at line 205 of file slichw.h.

#define RCR_RCVALL   0x20000000

Definition at line 203 of file slichw.h.

#define RCR_RCVBAD   0x10000000

Definition at line 204 of file slichw.h.

#define RCR_RCVEN   0x40000000

Definition at line 202 of file slichw.h.

#define RCR_RESET   0x80000000

Definition at line 201 of file slichw.h.

#define rcv_bytes100   u.stats_100.rcv100.rcv_bytes

Definition at line 621 of file slichw.h.

#define rcv_bytes_gb   u.stats_GB.rcvGB.rcv_bytes

Definition at line 635 of file slichw.h.

#define rcv_drops100   u.stats_100.rcv100.rcv_drops

Definition at line 624 of file slichw.h.

#define rcv_drops_gb   u.stats_GB.rcvGB.rcv_drops

Definition at line 638 of file slichw.h.

#define rcv_other_error100   u.stats_100.rcv100.rcv_other_error

Definition at line 623 of file slichw.h.

#define rcv_other_error_gb   u.stats_GB.rcvGB.rcv_other_error

Definition at line 637 of file slichw.h.

#define rcv_tcp_bytes100   u.stats_100.rcv100.rcv_tcp_bytes

Definition at line 620 of file slichw.h.

#define rcv_tcp_bytes_gb   u.stats_GB.rcvGB.rcv_tcp_bytes

Definition at line 634 of file slichw.h.

#define rcv_tcp_segs100   u.stats_100.rcv100.rcv_tcp_segs

Definition at line 619 of file slichw.h.

#define rcv_tcp_segs_gb   u.stats_GB.rcvGB.rcv_tcp_segs

Definition at line 633 of file slichw.h.

#define rcv_unicasts100   u.stats_100.rcv100.rcv_unicasts

Definition at line 622 of file slichw.h.

#define rcv_unicasts_gb   u.stats_GB.rcvGB.rcv_unicasts

Definition at line 636 of file slichw.h.

#define SEEQ_DUPLEX   0x0040

Definition at line 158 of file slichw.h.

#define SEEQ_LINKFAIL   0x4000

Definition at line 156 of file slichw.h.

#define SEEQ_SPEED   0x0080

Definition at line 157 of file slichw.h.

#define SLIC_1GB_CICADA_SUBSYS_ID   0x0008

Definition at line 48 of file slichw.h.

#define SLIC_1GB_DEVICE_ID   0x0005

Definition at line 45 of file slichw.h.

#define SLIC_2GB_DEVICE_ID   0x0007 /* Oasis Device ID */

Definition at line 46 of file slichw.h.

#define SLIC_ADDR_UPPER   0x00f8 /*Register is only written when it has changed*/

Definition at line 443 of file slichw.h.

#define SLIC_CBAR   0x0030

Definition at line 328 of file slichw.h.

#define SLIC_CBAR64   0x0110

Definition at line 455 of file slichw.h.

#define SLIC_CBAR_ALIGN   0x00000020

Definition at line 330 of file slichw.h.

#define SLIC_CBAR_LEN_MSK   0x0000001F

Definition at line 329 of file slichw.h.

#define SLIC_DBAR   0x0028

Definition at line 320 of file slichw.h.

#define SLIC_DBAR64   0x0108

Definition at line 451 of file slichw.h.

#define SLIC_DBAR_SIZE   2048

Definition at line 321 of file slichw.h.

#define SLIC_DUMP_CMD   0x00c0

Definition at line 412 of file slichw.h.

#define SLIC_DUMP_DATA   0x00c8

Definition at line 416 of file slichw.h.

#define SLIC_EEPROM_ID   0xA5A5

Definition at line 219 of file slichw.h.

#define SLIC_HBAR   0x0020

Definition at line 313 of file slichw.h.

#define SLIC_HBAR64   0x0100

Definition at line 447 of file slichw.h.

#define SLIC_HBAR_CNT_MSK   0x000000FF

Definition at line 314 of file slichw.h.

#define SLIC_HOSTID_DEFAULT   0xFFFF /* uninitialized hostid */

Definition at line 222 of file slichw.h.

#define SLIC_ICR   0x0008

Definition at line 298 of file slichw.h.

#define SLIC_INTAGG   0x0070

Definition at line 372 of file slichw.h.

#define SLIC_ISP   0x0010

Definition at line 302 of file slichw.h.

#define SLIC_ISR   0x0018

Definition at line 306 of file slichw.h.

#define SLIC_LOW_POWER   0x00e0

Definition at line 430 of file slichw.h.

#define SLIC_LSTAT   0x0048

Definition at line 352 of file slichw.h.

#define SLIC_MAX32_BCNT   26

Definition at line 99 of file slichw.h.

#define SLIC_MAX64_BCNT   23

Definition at line 98 of file slichw.h.

#define SLIC_MCASTHIGH   0x00b0

Definition at line 404 of file slichw.h.

#define SLIC_MCASTLOW   0x00a8

Definition at line 400 of file slichw.h.

#define SLIC_NBR_MACS   4

Definition at line 223 of file slichw.h.

#define SLIC_NBR_MACS   4

Definition at line 223 of file slichw.h.

#define SLIC_PCISTATUS   0x00d0

Definition at line 420 of file slichw.h.

#define SLIC_PING   0x00b8

Definition at line 408 of file slichw.h.

#define SLIC_PM_MAXPATTERNS   6

Definition at line 127 of file slichw.h.

#define SLIC_PM_PATTERNSIZE   128

Definition at line 128 of file slichw.h.

#define SLIC_PMCAPS_WAKEONLAN   0x00000001

Definition at line 129 of file slichw.h.

#define SLIC_QUIESCE   0x00e8

Definition at line 435 of file slichw.h.

#define SLIC_RBAR   0x0038

Definition at line 342 of file slichw.h.

#define SLIC_RBAR64   0x0118

Definition at line 459 of file slichw.h.

#define SLIC_RBAR_CNT_MSK   0x000000FF

Definition at line 343 of file slichw.h.

#define SLIC_RBAR_SIZE   32

Definition at line 344 of file slichw.h.

#define SLIC_RCBAR   0x0060

Definition at line 364 of file slichw.h.

#define SLIC_RCBAR64   0x0120

Definition at line 463 of file slichw.h.

#define SLIC_RCONFIG   0x0068

Definition at line 368 of file slichw.h.

#define SLIC_RCV_WCS   0x0130

Definition at line 471 of file slichw.h.

#define SLIC_RCVBUF_DATASIZE
Value:
SLIC_RCVBUF_TAILSIZE))

Definition at line 55 of file slichw.h.

#define SLIC_RCVBUF_HEADSIZE   34

Definition at line 53 of file slichw.h.

#define SLIC_RCVBUF_SIZE   2048

Definition at line 52 of file slichw.h.

#define SLIC_RCVBUF_TAILSIZE   0

Definition at line 54 of file slichw.h.

#define SLIC_RCVWCS_BEGIN   0x40000000

Definition at line 472 of file slichw.h.

#define SLIC_RCVWCS_BEGIN   0x40000000

Definition at line 472 of file slichw.h.

#define SLIC_RCVWCS_FINISH   0x80000000

Definition at line 473 of file slichw.h.

#define SLIC_RCVWCS_FINISH   0x80000000

Definition at line 473 of file slichw.h.

#define SLIC_RDHOSTID_1GB   0x1554

Definition at line 425 of file slichw.h.

#define SLIC_RDHOSTID_2GB   0x1554

Definition at line 426 of file slichw.h.

#define SLIC_READ_XF_INFO   0x0140

Definition at line 481 of file slichw.h.

#define SLIC_RESET_IFACE   0x00f0

Definition at line 439 of file slichw.h.

#define SLIC_RESET_MAGIC   0xDEAD

Definition at line 104 of file slichw.h.

#define SLIC_RSPBUF_SIZE   32

Definition at line 102 of file slichw.h.

#define SLIC_RSTAT   0x0040

Definition at line 348 of file slichw.h.

#define SLIC_RSTAT64   0x0128

Definition at line 467 of file slichw.h.

#define SLIC_SRAM_SIZE1GB   (32 * 1024)

Definition at line 221 of file slichw.h.

#define SLIC_SRAM_SIZE2GB   (64 * 1024)

Definition at line 220 of file slichw.h.

#define SLIC_TICKS_PER_SEC   0x0170

Definition at line 501 of file slichw.h.

#define SLIC_WCS   0x0034

Definition at line 333 of file slichw.h.

#define SLIC_WCS_COMPARE   0x40000000

Definition at line 335 of file slichw.h.

#define SLIC_WCS_COMPARE   0x40000000 /* Compare with value in WCS*/

Definition at line 335 of file slichw.h.

#define SLIC_WCS_START   0x80000000

Definition at line 334 of file slichw.h.

#define SLIC_WCS_START   0x80000000 /*Start the SLIC (Jump to WCS)*/

Definition at line 334 of file slichw.h.

#define SLIC_WMCFG   0x0050

Definition at line 356 of file slichw.h.

#define SLIC_WPHY   0x0058

Definition at line 360 of file slichw.h.

#define SLIC_WRADDRAH   0x0090

Definition at line 388 of file slichw.h.

#define SLIC_WRADDRAL   0x0088

Definition at line 384 of file slichw.h.

#define SLIC_WRADDRBH   0x00a0

Definition at line 396 of file slichw.h.

#define SLIC_WRADDRBL   0x0098

Definition at line 392 of file slichw.h.

#define SLIC_WRCFG   0x0080

Definition at line 380 of file slichw.h.

#define SLIC_WRHOSTID   0x00d8

Definition at line 424 of file slichw.h.

#define SLIC_WRITE_XF_INFO   0x0148

Definition at line 485 of file slichw.h.

#define SLIC_WRVLANID   0x0138

Definition at line 477 of file slichw.h.

#define SLIC_WXCFG   0x0078

Definition at line 376 of file slichw.h.

#define TDK_DUPLEX   0x0800

Definition at line 159 of file slichw.h.

#define TDK_SPEED   0x0400

Definition at line 160 of file slichw.h.

#define VENDOR1_FRU_FORMAT   0x01

Definition at line 645 of file slichw.h.

#define VENDOR2_FRU_FORMAT   0x02

Definition at line 646 of file slichw.h.

#define VENDOR3_FRU_FORMAT   0x03

Definition at line 647 of file slichw.h.

#define VENDOR4_FRU_FORMAT   0x04

Definition at line 648 of file slichw.h.

#define VGBSTAT_LBOFLO   0x85

Definition at line 73 of file slichw.h.

#define VGBSTAT_LCODERR   0x84

Definition at line 74 of file slichw.h.

#define VGBSTAT_LCRCERR   0x82

Definition at line 76 of file slichw.h.

#define VGBSTAT_LDBLNBL   0x83

Definition at line 75 of file slichw.h.

#define VGBSTAT_LDEARLY   0x86

Definition at line 72 of file slichw.h.

#define VGBSTAT_LERRMSK   0xff

Definition at line 71 of file slichw.h.

#define VGBSTAT_LNKERR   0x00000080

Definition at line 70 of file slichw.h.

#define VGBSTAT_LOFLO   0x81

Definition at line 77 of file slichw.h.

#define VGBSTAT_LUFLO   0x80

Definition at line 78 of file slichw.h.

#define VGBSTAT_NCSERR   0x103

Definition at line 67 of file slichw.h.

#define VGBSTAT_NERRMSK   0x1ff

Definition at line 66 of file slichw.h.

#define VGBSTAT_NERRSHFT   16

Definition at line 65 of file slichw.h.

#define VGBSTAT_NETERR   0x01000000

Definition at line 64 of file slichw.h.

#define VGBSTAT_NHLEN   0x100

Definition at line 69 of file slichw.h.

#define VGBSTAT_NUFLOW   0x102

Definition at line 68 of file slichw.h.

#define VGBSTAT_XCSERR   0x23

Definition at line 61 of file slichw.h.

#define VGBSTAT_XERRSHFT   25

Definition at line 60 of file slichw.h.

#define VGBSTAT_XHLEN   0x20

Definition at line 63 of file slichw.h.

#define VGBSTAT_XPERR   0x40000000

Definition at line 59 of file slichw.h.

#define VGBSTAT_XUFLOW   0x22

Definition at line 62 of file slichw.h.

#define VRHSTAT_802OE   0x80000000

Definition at line 82 of file slichw.h.

#define VRHSTAT_TPOFLO   0x10000000

Definition at line 83 of file slichw.h.

#define VRHSTATB_802UE   0x80000000

Definition at line 84 of file slichw.h.

#define VRHSTATB_BUFF   0x20000000

Definition at line 86 of file slichw.h.

#define VRHSTATB_CARRE   0x08000000

Definition at line 87 of file slichw.h.

#define VRHSTATB_CODE   0x00200000

Definition at line 92 of file slichw.h.

#define VRHSTATB_CRC   0x00800000

Definition at line 90 of file slichw.h.

#define VRHSTATB_DRBL   0x00400000

Definition at line 91 of file slichw.h.

#define VRHSTATB_IPCSUM   0x00040000

Definition at line 95 of file slichw.h.

#define VRHSTATB_IPHERR   0x00010000

Definition at line 97 of file slichw.h.

#define VRHSTATB_IPLERR   0x00020000

Definition at line 96 of file slichw.h.

#define VRHSTATB_LONGE   0x02000000

Definition at line 88 of file slichw.h.

#define VRHSTATB_PREA   0x01000000

Definition at line 89 of file slichw.h.

#define VRHSTATB_RCVE   0x40000000

Definition at line 85 of file slichw.h.

#define VRHSTATB_TPCSUM   0x00100000

Definition at line 93 of file slichw.h.

#define VRHSTATB_TPHLEN   0x00080000

Definition at line 94 of file slichw.h.

#define XCR_LOADRNG   0x10000000

Definition at line 200 of file slichw.h.

#define XCR_PAUSEEN   0x20000000

Definition at line 199 of file slichw.h.

#define XCR_RESET   0x80000000

Definition at line 197 of file slichw.h.

#define XCR_XMTEN   0x40000000

Definition at line 198 of file slichw.h.

#define xmit_bytes100   u.stats_100.xmt100.xmit_bytes

Definition at line 614 of file slichw.h.

#define xmit_bytes_gb   u.stats_GB.xmtGB.xmit_bytes

Definition at line 627 of file slichw.h.

#define xmit_collisions100   u.stats_100.xmt100.xmit_collisions

Definition at line 615 of file slichw.h.

#define xmit_collisions_gb   u.stats_GB.xmtGB.xmit_collisions

Definition at line 628 of file slichw.h.

#define xmit_excess_collisions100   u.stats_100.xmt100.xmit_excess_collisions

Definition at line 618 of file slichw.h.

#define xmit_excess_collisions_gb   u.stats_GB.xmtGB.xmit_excess_collisions

Definition at line 631 of file slichw.h.

#define xmit_other_error100   u.stats_100.xmt100.xmit_other_error

Definition at line 617 of file slichw.h.

#define xmit_other_error_gb   u.stats_GB.xmtGB.xmit_other_error

Definition at line 630 of file slichw.h.

#define xmit_tcp_bytes100   u.stats_100.xmt100.xmit_tcp_bytes

Definition at line 613 of file slichw.h.

#define xmit_tcp_bytes_gb   u.stats_GB.xmtGB.xmit_tcp_bytes

Definition at line 626 of file slichw.h.

#define xmit_tcp_segs100   u.stats_100.xmt100.xmit_tcp_segs

Definition at line 612 of file slichw.h.

#define xmit_tcp_segs_gb   u.stats_GB.xmtGB.xmit_tcp_segs

Definition at line 625 of file slichw.h.

#define xmit_unicasts100   u.stats_100.xmt100.xmit_unicasts

Definition at line 616 of file slichw.h.

#define xmit_unicasts_gb   u.stats_GB.xmtGB.xmit_unicasts

Definition at line 629 of file slichw.h.

Enumeration Type Documentation

Enumerator:
slicpm_state_unspecified 
slicpm_state_d0 
slicpm_state_d1 
slicpm_state_d2 
slicpm_state_d3 
slicpm_state_maximum 

Definition at line 541 of file slichw.h.

Enumerator:
SLIC_UPR_STATS 
SLIC_UPR_RLSR 
SLIC_UPR_WCFG 
SLIC_UPR_RCONFIG 
SLIC_UPR_RPHY 
SLIC_UPR_ENLB 
SLIC_UPR_ENCT 
SLIC_UPR_PDWN 
SLIC_UPR_PING 
SLIC_UPR_DUMP 

Definition at line 504 of file slichw.h.