Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ahci/ahci.h
Show First 20 Lines • Show All 615 Lines • ▼ Show 20 Lines | |||||
#define AHCI_Q_1MSI 0x00020000 | #define AHCI_Q_1MSI 0x00020000 | ||||
#define AHCI_Q_FORCE_PI 0x00040000 | #define AHCI_Q_FORCE_PI 0x00040000 | ||||
#define AHCI_Q_RESTORE_CAP 0x00080000 | #define AHCI_Q_RESTORE_CAP 0x00080000 | ||||
#define AHCI_Q_NOMSIX 0x00100000 | #define AHCI_Q_NOMSIX 0x00100000 | ||||
#define AHCI_Q_MRVL_SR_DEL 0x00200000 | #define AHCI_Q_MRVL_SR_DEL 0x00200000 | ||||
#define AHCI_Q_NOCCS 0x00400000 | #define AHCI_Q_NOCCS 0x00400000 | ||||
#define AHCI_Q_NOAUX 0x00800000 | #define AHCI_Q_NOAUX 0x00800000 | ||||
#define AHCI_Q_IOMMU_BUSWIDE 0x01000000 | #define AHCI_Q_IOMMU_BUSWIDE 0x01000000 | ||||
#define AHCI_Q_SLOWDEV 0x02000000 | |||||
#define AHCI_Q_BIT_STRING \ | #define AHCI_Q_BIT_STRING \ | ||||
"\020" \ | "\020" \ | ||||
"\001NOFORCE" \ | "\001NOFORCE" \ | ||||
"\002NOPMP" \ | "\002NOPMP" \ | ||||
"\003NONCQ" \ | "\003NONCQ" \ | ||||
"\0041CH" \ | "\0041CH" \ | ||||
"\0052CH" \ | "\0052CH" \ | ||||
Show All 11 Lines | #define AHCI_Q_BIT_STRING \ | ||||
"\021ABAR0" \ | "\021ABAR0" \ | ||||
"\0221MSI" \ | "\0221MSI" \ | ||||
"\023FORCE_PI" \ | "\023FORCE_PI" \ | ||||
"\024RESTORE_CAP" \ | "\024RESTORE_CAP" \ | ||||
"\025NOMSIX" \ | "\025NOMSIX" \ | ||||
"\026MRVL_SR_DEL" \ | "\026MRVL_SR_DEL" \ | ||||
"\027NOCCS" \ | "\027NOCCS" \ | ||||
"\030NOAUX" \ | "\030NOAUX" \ | ||||
"\031IOMMU_BUSWIDE" | "\031IOMMU_BUSWIDE" \ | ||||
"\032SLOWDEV" | |||||
int ahci_attach(device_t dev); | int ahci_attach(device_t dev); | ||||
int ahci_detach(device_t dev); | int ahci_detach(device_t dev); | ||||
int ahci_setup_interrupt(device_t dev); | int ahci_setup_interrupt(device_t dev); | ||||
int ahci_print_child(device_t dev, device_t child); | int ahci_print_child(device_t dev, device_t child); | ||||
struct resource *ahci_alloc_resource(device_t dev, device_t child, int type, int *rid, | struct resource *ahci_alloc_resource(device_t dev, device_t child, int type, int *rid, | ||||
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags); | rman_res_t start, rman_res_t end, rman_res_t count, u_int flags); | ||||
int ahci_release_resource(device_t dev, device_t child, int type, int rid, | int ahci_release_resource(device_t dev, device_t child, int type, int rid, | ||||
Show All 17 Lines |