Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ocs_fc/ocs_os.c
Show All 39 Lines | |||||
static MALLOC_DEFINE(M_OCS, "OCS", "OneCore Storage data"); | static MALLOC_DEFINE(M_OCS, "OCS", "OneCore Storage data"); | ||||
#include <dev/pci/pcireg.h> | #include <dev/pci/pcireg.h> | ||||
#include <dev/pci/pcivar.h> | #include <dev/pci/pcivar.h> | ||||
#include <machine/bus.h> | #include <machine/bus.h> | ||||
timeout_t __ocs_callout; | callout_func_t __ocs_callout; | ||||
uint32_t | uint32_t | ||||
ocs_config_read32(ocs_os_handle_t os, uint32_t reg) | ocs_config_read32(ocs_os_handle_t os, uint32_t reg) | ||||
{ | { | ||||
return pci_read_config(os->dev, reg, 4); | return pci_read_config(os->dev, reg, 4); | ||||
} | } | ||||
uint16_t | uint16_t | ||||
▲ Show 20 Lines • Show All 989 Lines • Show Last 20 Lines |