Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mfi/mfi.c
Show All 12 Lines | |||||
static void mfi_issue_cmd_ppc(struct mfi_softc *sc, bus_addr_t bus_add, | static void mfi_issue_cmd_ppc(struct mfi_softc *sc, bus_addr_t bus_add, | ||||
uint32_t frame_cnt); | uint32_t frame_cnt); | ||||
static int mfi_config_lock(struct mfi_softc *sc, uint32_t opcode); | static int mfi_config_lock(struct mfi_softc *sc, uint32_t opcode); | ||||
static void mfi_config_unlock(struct mfi_softc *sc, int locked); | static void mfi_config_unlock(struct mfi_softc *sc, int locked); | ||||
static int mfi_check_command_pre(struct mfi_softc *sc, struct mfi_command *cm); | static int mfi_check_command_pre(struct mfi_softc *sc, struct mfi_command *cm); | ||||
static void mfi_check_command_post(struct mfi_softc *sc, struct mfi_command *cm); | static void mfi_check_command_post(struct mfi_softc *sc, struct mfi_command *cm); | ||||
static int mfi_check_for_sscd(struct mfi_softc *sc, struct mfi_command *cm); | static int mfi_check_for_sscd(struct mfi_softc *sc, struct mfi_command *cm); | ||||
SYSCTL_NODE(_hw, OID_AUTO, mfi, CTLFLAG_RD, 0, "MFI driver parameters"); | SYSCTL_NODE(_hw, OID_AUTO, mfi, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, | ||||
"MFI driver parameters"); | |||||
static int mfi_event_locale = MFI_EVT_LOCALE_ALL; | static int mfi_event_locale = MFI_EVT_LOCALE_ALL; | ||||
SYSCTL_INT(_hw_mfi, OID_AUTO, event_locale, CTLFLAG_RWTUN, &mfi_event_locale, | SYSCTL_INT(_hw_mfi, OID_AUTO, event_locale, CTLFLAG_RWTUN, &mfi_event_locale, | ||||
0, "event message locale"); | 0, "event message locale"); | ||||
static int mfi_event_class = MFI_EVT_CLASS_INFO; | static int mfi_event_class = MFI_EVT_CLASS_INFO; | ||||
SYSCTL_INT(_hw_mfi, OID_AUTO, event_class, CTLFLAG_RWTUN, &mfi_event_class, | SYSCTL_INT(_hw_mfi, OID_AUTO, event_class, CTLFLAG_RWTUN, &mfi_event_class, | ||||
0, "event message class"); | 0, "event message class"); | ||||
Show All 12 Lines |