Home | History | Annotate | Line # | Download | only in pci
if_stereg.h revision 1.3.94.1
      1  1.3.94.1   bouyer /*	$NetBSD: if_stereg.h,v 1.3.94.1 2008/01/02 21:54:47 bouyer Exp $	*/
      2       1.1  thorpej 
      3       1.1  thorpej /*-
      4       1.1  thorpej  * Copyright (c) 2001 The NetBSD Foundation, Inc.
      5       1.1  thorpej  * All rights reserved.
      6       1.1  thorpej  *
      7       1.1  thorpej  * This code is derived from software contributed to The NetBSD Foundation
      8       1.1  thorpej  * by Jason R. Thorpe.
      9       1.1  thorpej  *
     10       1.1  thorpej  * Redistribution and use in source and binary forms, with or without
     11       1.1  thorpej  * modification, are permitted provided that the following conditions
     12       1.1  thorpej  * are met:
     13       1.1  thorpej  * 1. Redistributions of source code must retain the above copyright
     14       1.1  thorpej  *    notice, this list of conditions and the following disclaimer.
     15       1.1  thorpej  * 2. Redistributions in binary form must reproduce the above copyright
     16       1.1  thorpej  *    notice, this list of conditions and the following disclaimer in the
     17       1.1  thorpej  *    documentation and/or other materials provided with the distribution.
     18       1.1  thorpej  * 3. All advertising materials mentioning features or use of this software
     19       1.1  thorpej  *    must display the following acknowledgement:
     20       1.1  thorpej  *	This product includes software developed by the NetBSD
     21       1.1  thorpej  *	Foundation, Inc. and its contributors.
     22       1.1  thorpej  * 4. Neither the name of The NetBSD Foundation nor the names of its
     23       1.1  thorpej  *    contributors may be used to endorse or promote products derived
     24       1.1  thorpej  *    from this software without specific prior written permission.
     25       1.1  thorpej  *
     26       1.1  thorpej  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
     27       1.1  thorpej  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
     28       1.1  thorpej  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     29       1.1  thorpej  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
     30       1.1  thorpej  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     31       1.1  thorpej  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     32       1.1  thorpej  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     33       1.1  thorpej  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     34       1.1  thorpej  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     35       1.1  thorpej  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     36       1.1  thorpej  * POSSIBILITY OF SUCH DAMAGE.
     37       1.1  thorpej  */
     38       1.1  thorpej 
     39       1.1  thorpej #ifndef _DEV_PCI_IF_STEREG_H_
     40       1.1  thorpej #define	_DEV_PCI_IF_STEREG_H_
     41       1.1  thorpej 
     42       1.1  thorpej /*
     43       1.1  thorpej  * Register description for the Sundance Tech. ST-201 10/100
     44       1.1  thorpej  * Ethernet controller.
     45       1.1  thorpej  */
     46       1.1  thorpej 
     47       1.1  thorpej /*
     48       1.1  thorpej  * ST-201 buffer fragment descriptor.
     49       1.1  thorpej  */
     50       1.1  thorpej struct ste_frag {
     51       1.1  thorpej 	uint32_t	frag_addr;	/* buffer address */
     52       1.1  thorpej 	uint32_t	frag_len;	/* buffer length */
     53  1.3.94.1   bouyer } __packed;
     54       1.1  thorpej 
     55       1.1  thorpej #define	FRAG_LEN	0x00001fff	/* length mask */
     56       1.1  thorpej #define	FRAG_LAST	(1U << 31)	/* last frag in list */
     57       1.1  thorpej 
     58       1.1  thorpej /*
     59       1.1  thorpej  * ST-201 Transmit Frame Descriptor.  Note the number of fragments
     60       1.1  thorpej  * here is arbitrary, but we can't exceed 512 bytes of TFD.
     61       1.1  thorpej  */
     62       1.2  thorpej #define	STE_NTXFRAGS	16
     63       1.1  thorpej struct ste_tfd {
     64       1.1  thorpej 	uint32_t	tfd_next;	/* next TFD in list */
     65       1.1  thorpej 	uint32_t	tfd_control;	/* control bits */
     66       1.1  thorpej 					/* the buffer fragments */
     67       1.1  thorpej 	struct ste_frag tfd_frags[STE_NTXFRAGS];
     68  1.3.94.1   bouyer } __packed;
     69       1.1  thorpej 
     70       1.1  thorpej #define	TFD_WordAlign_dword	0		/* align to dword in TxFIFO */
     71       1.1  thorpej #define	TFD_WordAlign_word	2		/* align to word in TxFIFO */
     72       1.1  thorpej #define	TFD_WordAlign_disable	1		/* disable alignment */
     73       1.1  thorpej #define	TFD_FrameId(x)		((x) << 2)
     74       1.1  thorpej #define	TFD_FrameId_MAX		0xff
     75       1.1  thorpej #define	TFD_FcsAppendDisable	(1U << 13)
     76       1.1  thorpej #define	TFD_TxIndicate		(1U << 15)
     77       1.1  thorpej #define	TFD_TxDMAComplete	(1U << 16)
     78       1.1  thorpej #define	TFD_TxDMAIndicate	(1U << 31)
     79       1.1  thorpej 
     80       1.1  thorpej /*
     81       1.1  thorpej  * ST-201 Receive Frame Descriptor.  Note the number of fragments
     82       1.1  thorpej  * here is arbitrary (we only use one), but we can't exceed 512
     83       1.1  thorpej  * bytes of RFD.
     84       1.1  thorpej  */
     85       1.1  thorpej struct ste_rfd {
     86       1.1  thorpej 	uint32_t	rfd_next;	/* next RFD in list */
     87       1.1  thorpej 	uint32_t	rfd_status;	/* status bits */
     88       1.1  thorpej 	struct ste_frag rfd_frag;	/* the buffer */
     89  1.3.94.1   bouyer } __packed;
     90       1.1  thorpej 
     91       1.1  thorpej #define	RFD_RxDMAFrameLen(x)	((x) & FRAG_LEN)
     92       1.1  thorpej #define	RFD_RxFrameError	(1U << 14)
     93       1.1  thorpej #define	RFD_RxDMAComplete	(1U << 15)
     94       1.1  thorpej #define	RFD_RxFIFOOverrun	(1U << 16)
     95       1.1  thorpej #define	RFD_RxRuntFrame		(1U << 17)
     96       1.1  thorpej #define	RFD_RxAlignmentError	(1U << 18)
     97       1.1  thorpej #define	RFD_RxFCSError		(1U << 19)
     98       1.1  thorpej #define	RFD_RxOversizedFrame	(1U << 20)
     99       1.1  thorpej #define	RFD_DribbleBits		(1U << 23)
    100       1.1  thorpej #define	RFD_RxDMAOverflow	(1U << 24)
    101       1.1  thorpej #define	RFD_ImpliedBufferEnable	(1U << 28)
    102       1.1  thorpej 
    103       1.1  thorpej /*
    104       1.1  thorpej  * PCI configuration registers used by the ST-201.
    105       1.1  thorpej  */
    106       1.1  thorpej 
    107       1.1  thorpej #define	STE_PCI_IOBA		(PCI_MAPREG_START + 0x00)
    108       1.1  thorpej #define	STE_PCI_MMBA		(PCI_MAPREG_START + 0x04)
    109       1.1  thorpej 
    110       1.1  thorpej /*
    111       1.1  thorpej  * EEPROM offsets.
    112       1.1  thorpej  */
    113       1.1  thorpej #define	STE_EEPROM_ConfigParam		0x00
    114       1.1  thorpej #define	STE_EEPROM_AsicCtrl		0x02
    115       1.1  thorpej #define	STE_EEPROM_SubSystemVendorId	0x04
    116       1.1  thorpej #define	STE_EEPROM_SubSystemId		0x06
    117       1.1  thorpej #define	STE_EEPROM_StationAddress0	0x10
    118       1.1  thorpej #define	STE_EEPROM_StationAddress1	0x12
    119       1.1  thorpej #define	STE_EEPROM_StationAddress2	0x14
    120       1.1  thorpej 
    121       1.1  thorpej /*
    122       1.1  thorpej  * The ST-201 register space.
    123       1.1  thorpej  */
    124       1.1  thorpej 
    125       1.1  thorpej #define	STE_DMACtrl		0x00	/* 32-bit */
    126       1.1  thorpej #define	DC_RxDMAHalted		(1U << 0)
    127       1.1  thorpej #define	DC_TxDMACmplReq		(1U << 1)
    128       1.1  thorpej #define	DC_TxDMAHalted		(1U << 2)
    129       1.1  thorpej #define	DC_RxDMAComplete	(1U << 3)
    130       1.1  thorpej #define	DC_TxDMAComplete	(1U << 4)
    131       1.1  thorpej #define	DC_RxDMAHalt		(1U << 8)
    132       1.1  thorpej #define	DC_RxDMAResume		(1U << 9)
    133       1.1  thorpej #define	DC_TxDMAHalt		(1U << 10)
    134       1.1  thorpej #define	DC_TxDMAResume		(1U << 11)
    135       1.1  thorpej #define	DC_TxDMAInProg		(1U << 14)
    136       1.1  thorpej #define	DC_DMAHaltBusy		(1U << 15)
    137       1.1  thorpej #define	DC_RxEarlyEnable	(1U << 17)
    138       1.1  thorpej #define	DC_CountdownSpeed	(1U << 18)
    139       1.1  thorpej #define	DC_CountdownMode	(1U << 19)
    140       1.1  thorpej #define	DC_MWIDisable		(1U << 20)
    141       1.1  thorpej #define	DC_RxDMAOverrunFrame	(1U << 22)
    142       1.1  thorpej #define	DC_CountdownIntEnable	(1U << 23)
    143       1.1  thorpej #define	DC_TargetAbort		(1U << 30)
    144       1.1  thorpej #define	DC_MasterAbort		(1U << 31)
    145       1.1  thorpej 
    146       1.1  thorpej #define	STE_TxDMAListPtr	0x04	/* 32-bit */
    147       1.1  thorpej 
    148       1.1  thorpej #define	STE_TxDMABurstThresh	0x08	/* 8-bit */
    149       1.1  thorpej 
    150       1.1  thorpej #define	STE_TxDMAUrgentThresh	0x09	/* 8-bit */
    151       1.1  thorpej 
    152       1.1  thorpej #define	STE_TxDMAPollPeriod	0x0a	/* 8-bit */
    153       1.1  thorpej 
    154       1.1  thorpej #define	STE_RxDMAStatus		0x0c	/* 32-bit */
    155       1.1  thorpej #define	RDS_RxDMAFrameLen(x)	((x) & 0x1fff)
    156       1.1  thorpej #define	RDS_RxFrameError	(1U << 14)
    157       1.1  thorpej #define	RDS_RxDMAComplete	(1U << 15)
    158       1.1  thorpej #define	RDS_RxFIFOOverrun	(1U << 16)
    159       1.1  thorpej #define	RDS_RxRuntFrame		(1U << 17)
    160       1.1  thorpej #define	RDS_RxAlignmentError	(1U << 18)
    161       1.1  thorpej #define	RDS_RxFCSError		(1U << 19)
    162       1.1  thorpej #define	RDS_RxOversizedFrame	(1U << 20)
    163       1.1  thorpej #define	RDS_DribbleBits		(1U << 23)
    164       1.1  thorpej #define	RDS_RxDMAOverflow	(1U << 24)
    165       1.1  thorpej 
    166       1.1  thorpej #define	STE_RxDMAListPtr	0x10	/* 32-bit */
    167       1.1  thorpej 
    168       1.3   bouyer #define	STE_RxDMABurstThresh	0x14	/* 8-bit */
    169       1.1  thorpej 
    170       1.1  thorpej #define	STE_RxDMAUrgentThresh	0x15	/* 8-bit */
    171       1.1  thorpej 
    172       1.1  thorpej #define	STE_RxDMAPollPeriod	0x16	/* 8-bit */
    173       1.1  thorpej 
    174       1.1  thorpej #define	STE_DebugCtrl		0x1a	/* 16-bit */
    175       1.1  thorpej #define	DC_GPIO0Ctrl		(1U << 0)	/* 1 = input */
    176       1.1  thorpej #define	DC_GPIO1Ctrl		(1U << 1)	/* 1 = input */
    177       1.1  thorpej #define	DC_GPIO0		(1U << 2)
    178       1.1  thorpej #define	DC_GPIO1		(1U << 3)
    179       1.1  thorpej 
    180       1.1  thorpej #define	STE_AsicCtrl		0x30	/* 32-bit */
    181       1.1  thorpej #define	AC_ExpRomSize		(1U << 1)	/* 0 = 32K, 1 = 64K */
    182       1.1  thorpej #define	AC_TxLargeEnable	(1U << 2)	/* > 2K */
    183       1.1  thorpej #define	AC_RxLargeEnable	(1U << 3)	/* > 2K */
    184       1.1  thorpej #define	AC_ExpRomDisable	(1U << 4)
    185       1.1  thorpej #define	AC_PhySpeed10		(1U << 5)
    186       1.1  thorpej #define	AC_PhySpeed100		(1U << 6)
    187       1.1  thorpej #define	AC_PhyMedia(x)		(((x) >> 7) & 0x7)
    188       1.1  thorpej #define	AC_PhyMedia_10T		1
    189       1.1  thorpej #define	AC_PhyMedia_100T	2
    190       1.1  thorpej #define	AC_PhyMedia_10_100T	3
    191       1.1  thorpej #define	AC_PhyMedia_10F		5
    192       1.1  thorpej #define	AC_PhyMedia_100F	6
    193       1.1  thorpej #define	AC_PhyMedia_10_100F	7
    194       1.1  thorpej #define	AC_ForcedConfig(x)	(((x) >> 8) & 0x7)
    195       1.1  thorpej #define	AC_D3ResetDisable	(1U << 11)
    196       1.1  thorpej #define	AC_SpeedupMode		(1U << 13)
    197       1.1  thorpej #define	AC_LEDMode		(1U << 14)
    198       1.1  thorpej #define	AC_RstOutPolarity	(1U << 15)
    199       1.1  thorpej #define	AC_GlobalReset		(1U << 16)
    200       1.1  thorpej #define	AC_RxReset		(1U << 17)
    201       1.1  thorpej #define	AC_TxReset		(1U << 18)
    202       1.1  thorpej #define	AC_DMA			(1U << 19)
    203       1.1  thorpej #define	AC_FIFO			(1U << 20)
    204       1.1  thorpej #define	AC_Network		(1U << 21)
    205       1.1  thorpej #define	AC_Host			(1U << 22)
    206       1.1  thorpej #define	AC_AutoInit		(1U << 23)
    207       1.1  thorpej #define	AC_RstOut		(1U << 24)
    208       1.1  thorpej #define	AC_InterruptRequest	(1U << 25)
    209       1.1  thorpej #define	AC_ResetBusy		(1U << 26)
    210       1.1  thorpej 
    211       1.1  thorpej #define	STE_EepromData		0x34	/* 16-bit */
    212       1.1  thorpej 
    213       1.1  thorpej #define	STE_EepromCtrl		0x36	/* 16-bit */
    214       1.1  thorpej #define	EC_EepromAddress(x)	((x) & 0xff)
    215       1.1  thorpej #define	EC_EepromOpcode(x)	((x) << 8)
    216       1.1  thorpej #define	EC_OP_WE		0
    217       1.1  thorpej #define	EC_OP_W			1
    218       1.1  thorpej #define	EC_OP_R			2
    219       1.1  thorpej #define	EC_OP_E			3
    220       1.1  thorpej #define	EC_EepromBusy		(1U << 15)
    221       1.1  thorpej 
    222       1.1  thorpej #define	STE_FIFOCtrl		0x3a	/* 16-bit */
    223       1.1  thorpej #define	FC_RAMTestMode		(1U << 0)
    224       1.1  thorpej #define	FC_RxOverrunFrame	(1U << 9)
    225       1.1  thorpej #define	FC_RxFIFOFull		(1U << 11)
    226       1.1  thorpej #define	FC_Transmitting		(1U << 14)
    227       1.1  thorpej #define	FC_Receiving		(1U << 15)
    228       1.1  thorpej 
    229       1.1  thorpej #define	STE_TxStartThresh	0x3c	/* 16-bit */
    230       1.1  thorpej 
    231       1.1  thorpej #define	STE_RxEarlyThresh	0x3e	/* 16-bit */
    232       1.1  thorpej 
    233       1.1  thorpej #define	STE_ExpRomAddr		0x40	/* 32-bit */
    234       1.1  thorpej 
    235       1.1  thorpej #define	STE_ExpRomData		0x44	/* 8-bit */
    236       1.1  thorpej 
    237       1.1  thorpej #define	STE_WakeEvent		0x45	/* 8-bit */
    238       1.1  thorpej #define	WE_WakePktEnable	(1U << 0)
    239       1.1  thorpej #define	WE_MagicPktEnable	(1U << 1)
    240       1.1  thorpej #define	WE_LinkEventEnable	(1U << 2)
    241       1.1  thorpej #define	WE_WakePolarity		(1U << 3)
    242       1.1  thorpej #define	WE_WakePktEvent		(1U << 4)
    243       1.1  thorpej #define	WE_MagicPktEvent	(1U << 5)
    244       1.1  thorpej #define	WE_LinkEvent		(1U << 6)
    245       1.1  thorpej #define	WE_WakeOnLanEnable	(1U << 7)
    246       1.1  thorpej 
    247       1.1  thorpej #define	STE_TxStatus		0x46	/* 8-bit */
    248       1.1  thorpej #define	TS_TxReleaseError	(1U << 1)
    249       1.1  thorpej #define	TS_TxStatusOverflow	(1U << 2)
    250       1.1  thorpej #define	TS_MaxCollisions	(1U << 3)
    251       1.1  thorpej #define	TS_TxUnderrun		(1U << 4)
    252       1.1  thorpej #define	TS_TxIndicateReqd	(1U << 6)
    253       1.1  thorpej #define	TS_TxComplete		(1U << 7)
    254       1.1  thorpej 
    255       1.1  thorpej #define	STE_TxFrameId		0x47	/* 8-bit */
    256       1.1  thorpej 
    257       1.1  thorpej #define	STE_Countdown		0x48	/* 16-bit */
    258       1.1  thorpej 
    259       1.1  thorpej #define	STE_IntStatusAck	0x4a	/* 16-bit */
    260       1.1  thorpej 
    261       1.1  thorpej #define	STE_IntEnable		0x4c	/* 16-bit */
    262       1.1  thorpej #define	IE_HostError		(1U << 1)
    263       1.1  thorpej #define	IE_TxComplete		(1U << 2)
    264       1.1  thorpej #define	IE_MACControlFrame	(1U << 3)
    265       1.1  thorpej #define	IE_RxComplete		(1U << 4)
    266       1.1  thorpej #define	IE_RxEarly		(1U << 5)
    267       1.1  thorpej #define	IE_IntRequested		(1U << 6)
    268       1.1  thorpej #define	IE_UpdateStats		(1U << 7)
    269       1.1  thorpej #define	IE_LinkEvent		(1U << 8)
    270       1.1  thorpej #define	IE_TxDMAComplete	(1U << 9)
    271       1.1  thorpej #define	IE_RxDMAComplete	(1U << 10)
    272       1.1  thorpej 
    273       1.1  thorpej #define	STE_IntStatus		0x4e	/* 16-bit */
    274       1.1  thorpej #define	IS_InterruptStatus	(1U << 0)
    275       1.1  thorpej 
    276       1.1  thorpej #define	STE_MacCtrl0		0x50	/* 16-bit */
    277       1.1  thorpej #define	MC0_IFSSelect(x)	((x) << 0)
    278       1.1  thorpej #define	MC0_FullDuplexEnable	(1U << 5)
    279       1.1  thorpej #define	MC0_RcvLargeFrames	(1U << 6)
    280       1.1  thorpej #define	MC0_FlowControlEnable	(1U << 8)
    281       1.1  thorpej #define	MC0_RcvFCS		(1U << 9)
    282       1.1  thorpej #define	MC0_FIFOLoopback	(1U << 10)
    283       1.1  thorpej #define	MC0_MACLoopback		(1U << 11)
    284       1.1  thorpej 
    285       1.1  thorpej #define	STE_MacCtrl1		0x52	/* 16-bit */
    286       1.1  thorpej #define	MC1_CollsionDetect	(1U << 0)
    287       1.1  thorpej #define	MC1_CarrierSense	(1U << 1)
    288       1.1  thorpej #define	MC1_TxInProg		(1U << 2)
    289       1.1  thorpej #define	MC1_TxError		(1U << 3)
    290       1.1  thorpej #define	MC1_StatisticsEnable	(1U << 5)
    291       1.1  thorpej #define	MC1_StatisticsDisable	(1U << 6)
    292       1.1  thorpej #define	MC1_StatisticsEnabled	(1U << 7)
    293       1.1  thorpej #define	MC1_TxEnable		(1U << 8)
    294       1.1  thorpej #define	MC1_TxDisable		(1U << 9)
    295       1.1  thorpej #define	MC1_TxEnabled		(1U << 10)
    296       1.1  thorpej #define	MC1_RxEnable		(1U << 11)
    297       1.1  thorpej #define	MC1_RxDisable		(1U << 12)
    298       1.1  thorpej #define	MC1_RxEnabled		(1U << 13)
    299       1.1  thorpej #define	MC1_Paused		(1U << 14)
    300       1.1  thorpej 
    301       1.1  thorpej #define	STE_StationAddress0	0x54	/* 16-bit */
    302       1.1  thorpej 
    303       1.1  thorpej #define	STE_StationAddress1	0x56	/* 16-bit */
    304       1.1  thorpej 
    305       1.1  thorpej #define	STE_StationAddress2	0x58	/* 16-bit */
    306       1.1  thorpej 
    307       1.1  thorpej #define	STE_MaxFrameSize	0x5a	/* 16-bit */
    308       1.1  thorpej 
    309       1.1  thorpej #define	STE_ReceiveMode		0x5c	/* 8-bit */
    310       1.1  thorpej #define	RM_ReceiveUnicast	(1U << 0)
    311       1.1  thorpej #define	RM_ReceiveMulticast	(1U << 1)
    312       1.1  thorpej #define	RM_ReceiveBroadcast	(1U << 2)
    313       1.1  thorpej #define	RM_ReceiveAllFrames	(1U << 3)
    314       1.1  thorpej #define	RM_ReceiveMulticastHash	(1U << 4)
    315       1.1  thorpej #define	RM_ReceiveIPMulticast	(1U << 5)
    316       1.1  thorpej 
    317       1.1  thorpej #define	STE_TxReleaseThresh	0x5d	/* 8-bit */
    318       1.1  thorpej 
    319       1.1  thorpej #define	STE_PhyCtrl		0x5e	/* 8-bit */
    320       1.1  thorpej #define	PC_MgmtClk		(1U << 0)
    321       1.1  thorpej #define	PC_MgmtData		(1U << 1)
    322       1.1  thorpej #define	PC_MgmtDir		(1U << 2)	/* 1 = MAC->Phy */
    323       1.1  thorpej #define	PC_DisableClk25		(1U << 3)
    324       1.1  thorpej #define	PC_PhyDuplexPolarity	(1U << 4)
    325       1.1  thorpej #define	PC_PhyDuplexStatus	(1U << 5)
    326       1.1  thorpej #define	PC_PhySpeedStatus	(1U << 6)
    327       1.1  thorpej #define	PC_PhyLinkStatus	(1U << 7)
    328       1.1  thorpej 
    329       1.1  thorpej #define	STE_HashTable0		0x60	/* 16-bit */
    330       1.1  thorpej 
    331       1.1  thorpej #define	STE_HashTable1		0x62	/* 16-bit */
    332       1.1  thorpej 
    333       1.1  thorpej #define	STE_HashTable2		0x64	/* 16-bit */
    334       1.1  thorpej 
    335       1.1  thorpej #define	STE_HashTable3		0x66	/* 16-bit */
    336       1.1  thorpej 
    337       1.1  thorpej #define	STE_OctetsReceivedOk0	0x68	/* 16-bit */
    338       1.1  thorpej 
    339       1.1  thorpej #define	STE_OctetsReceivedOk1	0x6a	/* 16-bit */
    340       1.1  thorpej 
    341       1.1  thorpej #define	STE_OctetsTransmittedOk0 0x6c	/* 16-bit */
    342       1.1  thorpej 
    343       1.1  thorpej #define	STE_OctetsTransmittedOk1 0x6e	/* 16-bit */
    344       1.1  thorpej 
    345       1.1  thorpej #define	STE_FramesTransmittedOK	0x70	/* 16-bit */
    346       1.1  thorpej 
    347       1.1  thorpej #define	STE_FramesReceivedOK	0x72	/* 16-bit */
    348       1.1  thorpej 
    349       1.1  thorpej #define	STE_CarrierSenseErrors	0x74	/* 8-bit */
    350       1.1  thorpej 
    351       1.1  thorpej #define	STE_LateCollisions	0x75	/* 8-bit */
    352       1.1  thorpej 
    353       1.1  thorpej #define	STE_MultipleColFrames	0x76	/* 8-bit */
    354       1.1  thorpej 
    355       1.1  thorpej #define	STE_SingleColFrames	0x77	/* 8-bit */
    356       1.1  thorpej 
    357       1.1  thorpej #define	STE_FramesWDeferredXmt	0x78	/* 8-bit */
    358       1.1  thorpej 
    359       1.1  thorpej #define	STE_FramesLostRxErrors	0x79	/* 8-bit */
    360       1.1  thorpej 
    361       1.1  thorpej #define	STE_FramesWExDeferral	0x7a	/* 8-bit */
    362       1.1  thorpej 
    363       1.1  thorpej #define	STE_FramesXbortXSColls	0x7b	/* 8-bit */
    364       1.1  thorpej 
    365       1.1  thorpej #define	STE_BcstFramesXmtdOk	0x7c	/* 8-bit */
    366       1.1  thorpej 
    367       1.1  thorpej #define	STE_BcstFramesRcvdOk	0x7d	/* 8-bit */
    368       1.1  thorpej 
    369       1.1  thorpej #define	STE_McstFramesXmtdOk	0x7e	/* 8-bit */
    370       1.1  thorpej 
    371       1.1  thorpej #define	STE_McstFramesRcvdOk	0x7f	/* 8-bit */
    372       1.1  thorpej 
    373       1.1  thorpej #endif /* _DEV_PCI_IF_STEREG_H_ */
    374