Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/e1000/if_em.h
Show First 20 Lines • Show All 243 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* 82574 has a nonstandard address for EIAC | * 82574 has a nonstandard address for EIAC | ||||
* and since its only used in MSIX, and in | * and since its only used in MSIX, and in | ||||
* the em driver only 82574 uses MSIX we can | * the em driver only 82574 uses MSIX we can | ||||
* solve it just using this define. | * solve it just using this define. | ||||
*/ | */ | ||||
#define EM_EIAC 0x000DC | #define EM_EIAC 0x000DC | ||||
/* | |||||
* 82574 only reports 3 MSI-X vectors by default; | |||||
* defines assisting with making it report 5 are | |||||
* located here. | |||||
*/ | |||||
#define EM_NVM_PCIE_CTRL 0x1B | |||||
#define EM_NVM_MSIX_N_MASK (0x7 << EM_NVM_MSIX_N_SHIFT) | |||||
#define EM_NVM_MSIX_N_SHIFT 7 | |||||
/* | /* | ||||
* Bus dma allocation structure used by | * Bus dma allocation structure used by | ||||
* e1000_dma_malloc and e1000_dma_free. | * e1000_dma_malloc and e1000_dma_free. | ||||
*/ | */ | ||||
struct em_dma_alloc { | struct em_dma_alloc { | ||||
bus_addr_t dma_paddr; | bus_addr_t dma_paddr; | ||||
caddr_t dma_vaddr; | caddr_t dma_vaddr; | ||||
▲ Show 20 Lines • Show All 245 Lines • Show Last 20 Lines |