Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixgb/if_ixgb.c
Show First 20 Lines • Show All 165 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
static driver_t ixgb_driver = { | static driver_t ixgb_driver = { | ||||
"ixgb", ixgb_methods, sizeof(struct adapter), | "ixgb", ixgb_methods, sizeof(struct adapter), | ||||
}; | }; | ||||
static devclass_t ixgb_devclass; | static devclass_t ixgb_devclass; | ||||
DRIVER_MODULE(ixgb, pci, ixgb_driver, ixgb_devclass, 0, 0); | DRIVER_MODULE(ixgb, pci, ixgb_driver, ixgb_devclass, 0, 0); | ||||
MODULE_PNP_INFO("U16:vendor;U16:device;U16:subvendor;U16:subdevice", | |||||
pci, ixgb, ixgb_vendor_info_array, sizeof(ixgb_vendor_info_array[0]), | |||||
nitems(ixgb_vendor_info_array) - 1); | |||||
MODULE_DEPEND(ixgb, pci, 1, 1, 1); | MODULE_DEPEND(ixgb, pci, 1, 1, 1); | ||||
MODULE_DEPEND(ixgb, ether, 1, 1, 1); | MODULE_DEPEND(ixgb, ether, 1, 1, 1); | ||||
/* some defines for controlling descriptor fetches in h/w */ | /* some defines for controlling descriptor fetches in h/w */ | ||||
#define RXDCTL_PTHRESH_DEFAULT 128 /* chip considers prefech below this */ | #define RXDCTL_PTHRESH_DEFAULT 128 /* chip considers prefech below this */ | ||||
#define RXDCTL_HTHRESH_DEFAULT 16 /* chip will only prefetch if tail is | #define RXDCTL_HTHRESH_DEFAULT 16 /* chip will only prefetch if tail is | ||||
* pushed this many descriptors from | * pushed this many descriptors from | ||||
▲ Show 20 Lines • Show All 2,352 Lines • Show Last 20 Lines |