if_em.h (214363) | if_em.h (219753) |
---|---|
1/****************************************************************************** 2 3 Copyright (c) 2001-2010, Intel Corporation 4 All rights reserved. 5 6 Redistribution and use in source and binary forms, with or without 7 modification, are permitted provided that the following conditions are met: 8 --- 16 unchanged lines hidden (view full) --- 25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30 POSSIBILITY OF SUCH DAMAGE. 31 32******************************************************************************/ | 1/****************************************************************************** 2 3 Copyright (c) 2001-2010, Intel Corporation 4 All rights reserved. 5 6 Redistribution and use in source and binary forms, with or without 7 modification, are permitted provided that the following conditions are met: 8 --- 16 unchanged lines hidden (view full) --- 25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30 POSSIBILITY OF SUCH DAMAGE. 31 32******************************************************************************/ |
33/*$FreeBSD: head/sys/dev/e1000/if_em.h 214363 2010-10-26 00:07:58Z jfv $*/ | 33/*$FreeBSD: head/sys/dev/e1000/if_em.h 219753 2011-03-18 18:54:00Z jfv $*/ |
34 35 36#ifndef _EM_H_DEFINED_ 37#define _EM_H_DEFINED_ 38 39 40/* Tunables */ 41 --- 165 unchanged lines hidden (view full) --- 207#define EM_BAR_TYPE_MMEM 0x00000000 208#define EM_BAR_TYPE_FLASH 0x0014 209#define EM_BAR_MEM_TYPE(v) ((v) & EM_BAR_MEM_TYPE_MASK) 210#define EM_BAR_MEM_TYPE_MASK 0x00000006 211#define EM_BAR_MEM_TYPE_32BIT 0x00000000 212#define EM_BAR_MEM_TYPE_64BIT 0x00000004 213#define EM_MSIX_BAR 3 /* On 82575 */ 214 | 34 35 36#ifndef _EM_H_DEFINED_ 37#define _EM_H_DEFINED_ 38 39 40/* Tunables */ 41 --- 165 unchanged lines hidden (view full) --- 207#define EM_BAR_TYPE_MMEM 0x00000000 208#define EM_BAR_TYPE_FLASH 0x0014 209#define EM_BAR_MEM_TYPE(v) ((v) & EM_BAR_MEM_TYPE_MASK) 210#define EM_BAR_MEM_TYPE_MASK 0x00000006 211#define EM_BAR_MEM_TYPE_32BIT 0x00000000 212#define EM_BAR_MEM_TYPE_64BIT 0x00000004 213#define EM_MSIX_BAR 3 /* On 82575 */ 214 |
215#if !defined(SYSTCL_ADD_UQUAD) 216#define SYSCTL_ADD_UQUAD SYSCTL_ADD_QUAD 217#endif 218 |
|
215/* Defines for printing debug information */ 216#define DEBUG_INIT 0 217#define DEBUG_IOCTL 0 218#define DEBUG_HW 0 219 220#define INIT_DEBUGOUT(S) if (DEBUG_INIT) printf(S "\n") 221#define INIT_DEBUGOUT1(S, A) if (DEBUG_INIT) printf(S "\n", A) 222#define INIT_DEBUGOUT2(S, A, B) if (DEBUG_INIT) printf(S "\n", A, B) --- 260 unchanged lines hidden --- | 219/* Defines for printing debug information */ 220#define DEBUG_INIT 0 221#define DEBUG_IOCTL 0 222#define DEBUG_HW 0 223 224#define INIT_DEBUGOUT(S) if (DEBUG_INIT) printf(S "\n") 225#define INIT_DEBUGOUT1(S, A) if (DEBUG_INIT) printf(S "\n", A) 226#define INIT_DEBUGOUT2(S, A, B) if (DEBUG_INIT) printf(S "\n", A, B) --- 260 unchanged lines hidden --- |