Deleted Added
full compact
if_hmereg.h (99954) if_hmereg.h (108834)
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.7 2001/04/30 03:47:34 lukem 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.7 2001/04/30 03:47:34 lukem Exp
37 *
38 * $FreeBSD: head/sys/dev/hme/if_hmereg.h 99954 2002-07-14 12:09:48Z tmm $
38 * $FreeBSD: head/sys/dev/hme/if_hmereg.h 108834 2003-01-06 22:12:57Z tmm $
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)

--- 252 unchanged lines hidden (view full) ---

299
300/* Provide encode/decode macros for the transmit buffers for symmetry */
301#define HME_XD_ENCODE_TSIZE(sz) \
302 (((sz) << 0) & HME_XD_TXLENMSK)
303#define HME_XD_DECODE_TSIZE(flags) \
304 (((flags) & HME_XD_TXLENMSK) >> 0)
305
306#define PCI_HME_BASEADDR 0x10
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)

--- 252 unchanged lines hidden (view full) ---

299
300/* Provide encode/decode macros for the transmit buffers for symmetry */
301#define HME_XD_ENCODE_TSIZE(sz) \
302 (((sz) << 0) & HME_XD_TXLENMSK)
303#define HME_XD_DECODE_TSIZE(flags) \
304 (((flags) & HME_XD_TXLENMSK) >> 0)
305
306#define PCI_HME_BASEADDR 0x10
307
308#define HME_MINRXALIGN 0x10
309#define HME_RXOFFS 2