diff options
author | gibbs <gibbs@FreeBSD.org> | 1996-01-11 06:17:49 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1996-01-11 06:17:49 +0000 |
commit | 1e4dbad756518eb81f33416f2a35d8cdff37f0a7 (patch) | |
tree | 2ffa923d40890ffe263044c3823bd8da3a532756 /sys/dev/aic7xxx/aic7xxx_reg.h | |
parent | edf18f6773b429694093ac856f322f5d2772f892 (diff) | |
download | FreeBSD-src-1e4dbad756518eb81f33416f2a35d8cdff37f0a7.zip FreeBSD-src-1e4dbad756518eb81f33416f2a35d8cdff37f0a7.tar.gz |
Take a different approach to the SPIORDY race condition. Simply clear
SPIORDY just before we ack on the bus so that there is no chance to
see SPIORDY for the same byte twice.
Make some small modifications so that the Linux aic7xxx driver can use
our sequencer and register definition files verbatum.
Diffstat (limited to 'sys/dev/aic7xxx/aic7xxx_reg.h')
-rw-r--r-- | sys/dev/aic7xxx/aic7xxx_reg.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx_reg.h b/sys/dev/aic7xxx/aic7xxx_reg.h index bbe2b5a..8b8d108 100644 --- a/sys/dev/aic7xxx/aic7xxx_reg.h +++ b/sys/dev/aic7xxx/aic7xxx_reg.h @@ -18,7 +18,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: aic7xxx_reg.h,v 1.2 1996/01/03 06:25:32 gibbs Exp $ + * $Id: aic7xxx_reg.h,v 1.3 1996/01/07 19:18:28 gibbs Exp $ */ /* @@ -573,6 +573,20 @@ #endif #define SCB_SIZEOF 0x1a /* sizeof SCB to DMA */ +/* --------------------- AHA-2840-only definitions -------------------- */ + +#define SEECTL_2840 0xcc0 +/* UNUSED 0xf8 */ +#define CS_2840 0x04 +#define CK_2840 0x02 +#define DO_2840 0x01 + +#define STATUS_2840 0xcc1 +#define EEPROM_TF 0x80 +#define BIOS_SEL 0x60 +#define ADSEL 0x1e +#define DI_2840 0x01 + /* --------------------- AIC-7870-only definitions -------------------- */ #define DSPCISTATUS 0x086 |