drivers/net/ethernet/wangxun/ngbevf/ngbevf_type.h

Source file repositories/reference/linux-study-clean/drivers/net/ethernet/wangxun/ngbevf/ngbevf_type.h

File Facts

System
Linux kernel
Corpus path
drivers/net/ethernet/wangxun/ngbevf/ngbevf_type.h
Extension
.h
Size
1210 bytes
Lines
30
Domain
Driver Families
Bucket
drivers/net
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _NGBEVF_TYPE_H_
#define _NGBEVF_TYPE_H_

/* Device IDs */
#define NGBEVF_DEV_ID_EM_WX1860AL_W             0x0110
#define NGBEVF_DEV_ID_EM_WX1860A2               0x0111
#define NGBEVF_DEV_ID_EM_WX1860A2S              0x0112
#define NGBEVF_DEV_ID_EM_WX1860A4               0x0113
#define NGBEVF_DEV_ID_EM_WX1860A4S              0x0114
#define NGBEVF_DEV_ID_EM_WX1860AL2              0x0115
#define NGBEVF_DEV_ID_EM_WX1860AL2S             0x0116
#define NGBEVF_DEV_ID_EM_WX1860AL4              0x0117
#define NGBEVF_DEV_ID_EM_WX1860AL4S             0x0118
#define NGBEVF_DEV_ID_EM_WX1860NCSI             0x0119
#define NGBEVF_DEV_ID_EM_WX1860A1               0x011a
#define NGBEVF_DEV_ID_EM_WX1860AL1              0x011b

#define NGBEVF_MAX_MSIX_VECTORS               1
#define NGBEVF_MAX_RX_QUEUES                  1
#define NGBEVF_MAX_TX_QUEUES                  1
#define NGBEVF_DEFAULT_TXD                    128
#define NGBEVF_DEFAULT_RXD                    128
#define NGBEVF_DEFAULT_TX_WORK                256
#define NGBEVF_DEFAULT_RX_WORK                256

#endif /* _NGBEVF_TYPE_H_ */

Annotation

Implementation Notes