HelenOS sources

NIC_DATA_DEV       82 uspace/drv/nic/e1k/e1k.c 	(DRIVER_DATA_NIC(NIC_DATA_DEV(dev)))
NIC_DATA_DEV     1979 uspace/drv/nic/e1k/e1k.c 	assert(NIC_DATA_DEV(dev) != NULL);
NIC_DATA_DEV     1985 uspace/drv/nic/e1k/e1k.c 	errno_t rc = nic_get_resources(NIC_DATA_DEV(dev), &hw_res_parsed);
HelenOS homepage, sources at GitHub