Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/ndis/kern_ndis.c
Context not available. | |||||
ndis_add_sysctl(sc, "BusType", "Bus Type", buf, NDIS_FLAG_RDONLY); | ndis_add_sysctl(sc, "BusType", "Bus Type", buf, NDIS_FLAG_RDONLY); | ||||
if (sc->ndis_res_io != NULL) { | if (sc->ndis_res_io != NULL) { | ||||
sprintf(buf, "0x%lx", rman_get_start(sc->ndis_res_io)); | sprintf(buf, "0x%jx", rman_get_start(sc->ndis_res_io)); | ||||
ndis_add_sysctl(sc, "IOBaseAddress", | ndis_add_sysctl(sc, "IOBaseAddress", | ||||
"Base I/O Address", buf, NDIS_FLAG_RDONLY); | "Base I/O Address", buf, NDIS_FLAG_RDONLY); | ||||
} | } | ||||
if (sc->ndis_irq != NULL) { | if (sc->ndis_irq != NULL) { | ||||
sprintf(buf, "%lu", rman_get_start(sc->ndis_irq)); | sprintf(buf, "%ju", rman_get_start(sc->ndis_irq)); | ||||
ndis_add_sysctl(sc, "InterruptNumber", | ndis_add_sysctl(sc, "InterruptNumber", | ||||
"Interrupt Number", buf, NDIS_FLAG_RDONLY); | "Interrupt Number", buf, NDIS_FLAG_RDONLY); | ||||
} | } | ||||
Context not available. |