Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/et/if_et.c
Show First 20 Lines • Show All 182 Lines • ▼ Show 20 Lines | static driver_t et_driver = { | ||||
"et", | "et", | ||||
et_methods, | et_methods, | ||||
sizeof(struct et_softc) | sizeof(struct et_softc) | ||||
}; | }; | ||||
static devclass_t et_devclass; | static devclass_t et_devclass; | ||||
DRIVER_MODULE(et, pci, et_driver, et_devclass, 0, 0); | DRIVER_MODULE(et, pci, et_driver, et_devclass, 0, 0); | ||||
MODULE_PNP_INFO("U16:vendor;U16:device", pci, et, et_devices, | |||||
imp: I may have suggested this already, but a adding ;D# here would be good.
| |||||
sizeof(et_devices[0]), nitems(et_devices) - 1); | |||||
DRIVER_MODULE(miibus, et, miibus_driver, miibus_devclass, 0, 0); | DRIVER_MODULE(miibus, et, miibus_driver, miibus_devclass, 0, 0); | ||||
static int et_rx_intr_npkts = 32; | static int et_rx_intr_npkts = 32; | ||||
static int et_rx_intr_delay = 20; /* x10 usec */ | static int et_rx_intr_delay = 20; /* x10 usec */ | ||||
static int et_tx_intr_nsegs = 126; | static int et_tx_intr_nsegs = 126; | ||||
static uint32_t et_timer = 1000 * 1000 * 1000; /* nanosec */ | static uint32_t et_timer = 1000 * 1000 * 1000; /* nanosec */ | ||||
TUNABLE_INT("hw.et.timer", &et_timer); | TUNABLE_INT("hw.et.timer", &et_timer); | ||||
▲ Show 20 Lines • Show All 2,551 Lines • Show Last 20 Lines |
I may have suggested this already, but a adding ;D# here would be good.