summaryrefslogtreecommitdiffstats
path: root/sys/dev/siis/siis.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/siis/siis.h')
-rw-r--r--sys/dev/siis/siis.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/dev/siis/siis.h b/sys/dev/siis/siis.h
index 20de88f..6bb28d9 100644
--- a/sys/dev/siis/siis.h
+++ b/sys/dev/siis/siis.h
@@ -346,6 +346,13 @@ struct siis_slot {
struct callout timeout; /* Execution timeout */
};
+struct siis_device {
+ u_int revision;
+ int mode;
+ u_int bytecount;
+ u_int tags;
+};
+
/* structure describing an ATA channel */
struct siis_channel {
device_t dev; /* Device handle */
@@ -364,6 +371,7 @@ struct siis_channel {
struct mtx mtx; /* state lock */
int devices; /* What is present */
int pm_present; /* PM presence reported */
+ uint32_t oslots; /* Occupied slots */
uint32_t rslots; /* Running slots */
uint32_t aslots; /* Slots with atomic commands */
uint32_t eslots; /* Slots in error */
@@ -374,8 +382,10 @@ struct siis_channel {
int readlog; /* Our READ LOG active */
int fatalerr; /* Fatal error happend */
int recovery; /* Some slots are in error */
- int lastslot; /* Last used slot */
union ccb *frozen; /* Frozen command */
+
+ struct siis_device user[16]; /* User-specified settings */
+ struct siis_device curr[16]; /* Current settings */
};
/* structure describing a SIIS controller */
OpenPOWER on IntegriCloud