Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mps/mpsvar.h
Show First 20 Lines • Show All 825 Lines • ▼ Show 20 Lines | |||||
void mpssas_free_tm(struct mps_softc *sc, struct mps_command *tm); | void mpssas_free_tm(struct mps_softc *sc, struct mps_command *tm); | ||||
void mpssas_release_simq_reinit(struct mpssas_softc *sassc); | void mpssas_release_simq_reinit(struct mpssas_softc *sassc); | ||||
int mpssas_send_reset(struct mps_softc *sc, struct mps_command *tm, | int mpssas_send_reset(struct mps_softc *sc, struct mps_command *tm, | ||||
uint8_t type); | uint8_t type); | ||||
SYSCTL_DECL(_hw_mps); | SYSCTL_DECL(_hw_mps); | ||||
/* Compatibility shims for different OS versions */ | /* Compatibility shims for different OS versions */ | ||||
#define mps_kproc_create(func, farg, proc_ptr, flags, stackpgs, fmtstr, arg) \ | |||||
kproc_create(func, farg, proc_ptr, flags, stackpgs, fmtstr, arg) | |||||
#define mps_kproc_exit(arg) kproc_exit(arg) | |||||
#if defined(CAM_PRIORITY_XPT) | #if defined(CAM_PRIORITY_XPT) | ||||
#define MPS_PRIORITY_XPT CAM_PRIORITY_XPT | #define MPS_PRIORITY_XPT CAM_PRIORITY_XPT | ||||
#else | #else | ||||
#define MPS_PRIORITY_XPT 5 | #define MPS_PRIORITY_XPT 5 | ||||
#endif | #endif | ||||
#endif | #endif |