if_hmereg.h (133149) | if_hmereg.h (151639) |
---|---|
1/*- 2 * Copyright (c) 1999 The NetBSD Foundation, Inc. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to The NetBSD Foundation 6 * by Paul Kranenburg. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 31 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 32 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 33 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 34 * POSSIBILITY OF SUCH DAMAGE. 35 * 36 * from: NetBSD: hmereg.h,v 1.16 2003/11/02 11:07:45 wiz Exp 37 * | 1/*- 2 * Copyright (c) 1999 The NetBSD Foundation, Inc. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to The NetBSD Foundation 6 * by Paul Kranenburg. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 31 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 32 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 33 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 34 * POSSIBILITY OF SUCH DAMAGE. 35 * 36 * from: NetBSD: hmereg.h,v 1.16 2003/11/02 11:07:45 wiz Exp 37 * |
38 * $FreeBSD: head/sys/dev/hme/if_hmereg.h 133149 2004-08-05 02:52:33Z yongari $ | 38 * $FreeBSD: head/sys/dev/hme/if_hmereg.h 151639 2005-10-25 03:56:21Z yongari $ |
39 */ 40 41/* 42 * HME Shared Ethernet Block register offsets 43 */ 44#define HME_SEBI_RESET (0*4) 45#define HME_SEBI_CFG (1*4) 46#define HME_SEBI_STAT (64*4) --- 65 unchanged lines hidden (view full) --- 112 113#define HME_SEB_STAT_VLAN_ERRORS \ 114 (HME_SEB_STAT_SLVPERR | HME_SEB_STAT_SLVERR | HME_SEB_STAT_TXTERR |\ 115 HME_SEB_STAT_TXPERR | HME_SEB_STAT_TXLERR | HME_SEB_STAT_TXEACK |\ 116 HME_SEB_STAT_EOPERR | HME_SEB_STAT_RXTERR | HME_SEB_STAT_RXPERR |\ 117 HME_SEB_STAT_RXLATERR | HME_SEB_STAT_RXERR | HME_SEB_STAT_NORXD |\ 118 HME_SEB_STAT_TFIFO_UND| HME_SEB_STAT_STSTERR | HME_SEB_STAT_RFIFOVF) 119 | 39 */ 40 41/* 42 * HME Shared Ethernet Block register offsets 43 */ 44#define HME_SEBI_RESET (0*4) 45#define HME_SEBI_CFG (1*4) 46#define HME_SEBI_STAT (64*4) --- 65 unchanged lines hidden (view full) --- 112 113#define HME_SEB_STAT_VLAN_ERRORS \ 114 (HME_SEB_STAT_SLVPERR | HME_SEB_STAT_SLVERR | HME_SEB_STAT_TXTERR |\ 115 HME_SEB_STAT_TXPERR | HME_SEB_STAT_TXLERR | HME_SEB_STAT_TXEACK |\ 116 HME_SEB_STAT_EOPERR | HME_SEB_STAT_RXTERR | HME_SEB_STAT_RXPERR |\ 117 HME_SEB_STAT_RXLATERR | HME_SEB_STAT_RXERR | HME_SEB_STAT_NORXD |\ 118 HME_SEB_STAT_TFIFO_UND| HME_SEB_STAT_STSTERR | HME_SEB_STAT_RFIFOVF) 119 |
120#define HME_SEB_STAT_FATAL_ERRORS \ 121 (HME_SEB_STAT_SLVPERR | HME_SEB_STAT_SLVERR | HME_SEB_STAT_TXTERR |\ 122 HME_SEB_STAT_TXPERR | HME_SEB_STAT_TXLERR | HME_SEB_STAT_TXEACK |\ 123 HME_SEB_STAT_RXTERR | HME_SEB_STAT_RXPERR | HME_SEB_STAT_RXLATERR |\ 124 HME_SEB_STAT_RXERR) 125 |
|
120/* 121 * HME Transmitter register offsets 122 */ 123#define HME_ETXI_PENDING (0*4) /* Pending/wakeup */ 124#define HME_ETXI_CFG (1*4) 125#define HME_ETXI_RING (2*4) /* Descriptor Ring pointer */ 126#define HME_ETXI_BBASE (3*4) /* Buffer base address (ro) */ 127#define HME_ETXI_BDISP (4*4) /* Buffer displacement (ro) */ --- 185 unchanged lines hidden --- | 126/* 127 * HME Transmitter register offsets 128 */ 129#define HME_ETXI_PENDING (0*4) /* Pending/wakeup */ 130#define HME_ETXI_CFG (1*4) 131#define HME_ETXI_RING (2*4) /* Descriptor Ring pointer */ 132#define HME_ETXI_BBASE (3*4) /* Buffer base address (ro) */ 133#define HME_ETXI_BDISP (4*4) /* Buffer displacement (ro) */ --- 185 unchanged lines hidden --- |