Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/isci/isci.h
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | |||||
#define DEVICE2SOFTC(dev) ((struct isci_softc *) device_get_softc(dev)) | #define DEVICE2SOFTC(dev) ((struct isci_softc *) device_get_softc(dev)) | ||||
#define DEVICE_TIMEOUT 1000 | #define DEVICE_TIMEOUT 1000 | ||||
#define SCI_MAX_TIMERS 32 | #define SCI_MAX_TIMERS 32 | ||||
#define ISCI_NUM_PCI_BARS 2 | #define ISCI_NUM_PCI_BARS 2 | ||||
#define ISCI_MAX_LUN 8 | #define ISCI_MAX_LUN 8 | ||||
/* This device cannot DMA across a 4GB boundary */ | |||||
#define ISCI_DMA_BOUNDARY ((bus_addr_t)((uint64_t)1 << 32)) | |||||
MALLOC_DECLARE(M_ISCI); | MALLOC_DECLARE(M_ISCI); | ||||
struct ISCI_TIMER { | struct ISCI_TIMER { | ||||
struct callout callout; | struct callout callout; | ||||
SCI_TIMER_CALLBACK_T callback; | SCI_TIMER_CALLBACK_T callback; | ||||
void *cookie; | void *cookie; | ||||
BOOL is_started; | BOOL is_started; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 266 Lines • Show Last 20 Lines |