diff options
Diffstat (limited to 'sys/dev/ahci/ahci.h')
-rw-r--r-- | sys/dev/ahci/ahci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ahci/ahci.h b/sys/dev/ahci/ahci.h index 0c60c7d..e1895e4 100644 --- a/sys/dev/ahci/ahci.h +++ b/sys/dev/ahci/ahci.h @@ -422,6 +422,8 @@ struct ahci_channel { struct ahci_slot slot[AHCI_MAX_SLOTS]; union ccb *hold[AHCI_MAX_SLOTS]; struct mtx mtx; /* state lock */ + STAILQ_HEAD(, ccb_hdr) doneq; /* queue of completed CCBs */ + int batch; /* doneq is in use */ int devices; /* What is present */ int pm_present; /* PM presence reported */ int fbs_enabled; /* FIS-based switching enabled */ @@ -494,6 +496,8 @@ struct ahci_controller { int ichannels; int ccc; /* CCC timeout */ int cccv; /* CCC vector */ + int direct; /* Direct command completion */ + int msi; /* MSI interupts */ struct { void (*function)(void *); void *argument; |