diff options
| author | Scott Long <scottl@FreeBSD.org> | 2001-12-02 03:47:33 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2001-12-02 03:47:33 +0000 |
| commit | b3457b51738ae5ece8bdbefdf1724653ce4ad861 (patch) | |
| tree | 72bd5c3b28f04165ad0d790debfdcc97fb4357f5 /sys/dev/aac/aacreg.h | |
| parent | 2164257702740979d6ffebaba02a3fd778aea2c3 (diff) | |
Notes
Diffstat (limited to 'sys/dev/aac/aacreg.h')
| -rw-r--r-- | sys/dev/aac/aacreg.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/sys/dev/aac/aacreg.h b/sys/dev/aac/aacreg.h index 735ccd6763f1c..766c2d4633915 100644 --- a/sys/dev/aac/aacreg.h +++ b/sys/dev/aac/aacreg.h @@ -305,6 +305,7 @@ typedef enum { CT_RAID00, /* stripe of stripe */ CT_VOLUME_OF_MIRRORS, /* volume of mirror */ CT_PSEUDO_RAID3, /* really raid4 */ + CT_RAID50, /* stripe of raid5 */ } AAC_FSAVolType; /* @@ -421,7 +422,7 @@ typedef enum { CPUI960_RX, CPUARM_SA110, CPUARM_xxx, - CPUPPC_603e, + CPUMPC_824x, CPUPPC_xxx, CPUSUBTYPE__last } AAC_CpuSubType; @@ -1060,6 +1061,24 @@ struct aac_close_command { }; /* + * Register set for adapters based on the Falcon bridge and PPC core + */ + +#define AAC_FA_DOORBELL0_CLEAR 0x00 +#define AAC_FA_DOORBELL1_CLEAR 0x02 +#define AAC_FA_DOORBELL0 0x04 +#define AAC_FA_DOORBELL1 0x06 +#define AAC_FA_MASK0_CLEAR 0x08 +#define AAC_FA_MASK1_CLEAR 0x0a +#define AAC_FA_MASK0 0x0c +#define AAC_FA_MASK1 0x0e +#define AAC_FA_MAILBOX 0x10 +#define AAC_FA_FWSTATUS 0x2c /* Mailbox 7 */ +#define AAC_FA_INTSRC 0x900 + +#define AAC_FA_HACK(sc) (void)AAC_GETREG4(sc, AAC_FA_INTSRC) + +/* * Register definitions for the Adaptec AAC-364 'Jalapeno I/II' adapters, based * on the SA110 'StrongArm'. */ @@ -1072,6 +1091,7 @@ struct aac_close_command { #define AAC_SA_DOORBELL1_CLEAR 0x9a /* doorbell 1 (host->adapter) */ #define AAC_SA_DOORBELL1_SET 0x9e +#define AAC_SA_DOORBELL1 0x9e #define AAC_SA_MASK1_CLEAR 0xa2 #define AAC_SA_MASK1_SET 0xa6 @@ -1114,6 +1134,7 @@ struct aac_close_command { * (ODBR and IDBR respectively for the i960Rx adapters) */ #define AAC_DB_PRINTF (1<<5) /* adapter requests host printf */ +#define AAC_PRINTF_DONE (1<<5) /* Host completed printf processing */ /* * Mask containing the interrupt bits we care about. We don't anticipate (or |
