Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/e1000/if_em.h
Show First 20 Lines • Show All 310 Lines • ▼ Show 20 Lines | |||||
#define EM_BAR_TYPE_MASK 0x00000001 | #define EM_BAR_TYPE_MASK 0x00000001 | ||||
#define EM_BAR_TYPE_MMEM 0x00000000 | #define EM_BAR_TYPE_MMEM 0x00000000 | ||||
#define EM_BAR_TYPE_IO 0x00000001 | #define EM_BAR_TYPE_IO 0x00000001 | ||||
#define EM_BAR_TYPE_FLASH 0x0014 | #define EM_BAR_TYPE_FLASH 0x0014 | ||||
#define EM_BAR_MEM_TYPE(v) ((v) & EM_BAR_MEM_TYPE_MASK) | #define EM_BAR_MEM_TYPE(v) ((v) & EM_BAR_MEM_TYPE_MASK) | ||||
#define EM_BAR_MEM_TYPE_MASK 0x00000006 | #define EM_BAR_MEM_TYPE_MASK 0x00000006 | ||||
#define EM_BAR_MEM_TYPE_32BIT 0x00000000 | #define EM_BAR_MEM_TYPE_32BIT 0x00000000 | ||||
#define EM_BAR_MEM_TYPE_64BIT 0x00000004 | #define EM_BAR_MEM_TYPE_64BIT 0x00000004 | ||||
#define EM_MSIX_BAR 3 /* On 82575 */ | |||||
/* More backward compatibility */ | /* More backward compatibility */ | ||||
#if __FreeBSD_version < 900000 | #if __FreeBSD_version < 900000 | ||||
#define SYSCTL_ADD_UQUAD SYSCTL_ADD_QUAD | #define SYSCTL_ADD_UQUAD SYSCTL_ADD_QUAD | ||||
#endif | #endif | ||||
/* Defines for printing debug information */ | /* Defines for printing debug information */ | ||||
#define DEBUG_INIT 0 | #define DEBUG_INIT 0 | ||||
▲ Show 20 Lines • Show All 237 Lines • Show Last 20 Lines |