aacreg.h (121173) | aacreg.h (133606) |
---|---|
1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2000-2001 Scott Long 4 * Copyright (c) 2000 BSDi 5 * Copyright (c) 2001 Adaptec, Inc. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2000-2001 Scott Long 4 * Copyright (c) 2000 BSDi 5 * Copyright (c) 2001 Adaptec, Inc. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $FreeBSD: head/sys/dev/aac/aacreg.h 121173 2003-10-17 21:44:06Z scottl $ | 29 * $FreeBSD: head/sys/dev/aac/aacreg.h 133606 2004-08-13 01:44:09Z scottl $ |
30 */ 31 32/* 33 * Data structures defining the interface between the driver and the Adaptec 34 * 'FSA' adapters. Note that many field names and comments here are taken 35 * verbatim from the Adaptec driver source in order to make comparing the 36 * two slightly easier. 37 */ --- 1294 unchanged lines hidden (view full) --- 1332#define AAC_RX_ODBR 0x2c /* outbound doorbell register */ 1333#define AAC_RX_OISR 0x30 /* outbound interrupt status register */ 1334#define AAC_RX_OIMR 0x34 /* outbound interrupt mask register */ 1335 1336#define AAC_RX_MAILBOX 0x50 /* mailbox (20 bytes) */ 1337#define AAC_RX_FWSTATUS 0x6c 1338 1339/* | 30 */ 31 32/* 33 * Data structures defining the interface between the driver and the Adaptec 34 * 'FSA' adapters. Note that many field names and comments here are taken 35 * verbatim from the Adaptec driver source in order to make comparing the 36 * two slightly easier. 37 */ --- 1294 unchanged lines hidden (view full) --- 1332#define AAC_RX_ODBR 0x2c /* outbound doorbell register */ 1333#define AAC_RX_OISR 0x30 /* outbound interrupt status register */ 1334#define AAC_RX_OIMR 0x34 /* outbound interrupt mask register */ 1335 1336#define AAC_RX_MAILBOX 0x50 /* mailbox (20 bytes) */ 1337#define AAC_RX_FWSTATUS 0x6c 1338 1339/* |
1340 * Register definitions for the Adaptec 'Rocket' RAID-On-Chip adapters. 1341 * Unsurprisingly, it's quite similar to the i960! 1342 */ 1343 1344#define AAC_RKT_IDBR 0x20 /* inbound doorbell register */ 1345#define AAC_RKT_IISR 0x24 /* inbound interrupt status register */ 1346#define AAC_RKT_IIMR 0x28 /* inbound interrupt mask register */ 1347#define AAC_RKT_ODBR 0x2c /* outbound doorbell register */ 1348#define AAC_RKT_OISR 0x30 /* outbound interrupt status register */ 1349#define AAC_RKT_OIMR 0x34 /* outbound interrupt mask register */ 1350 1351#define AAC_RKT_MAILBOX 0x1000 /* mailbox */ 1352#define AAC_RKT_FWSTATUS 0x101c /* Firmware Status (mailbox 7) */ 1353 1354/* |
|
1340 * Common bit definitions for the doorbell registers. 1341 */ 1342 1343/* 1344 * Status bits in the doorbell registers. 1345 */ 1346#define AAC_DB_SYNC_COMMAND (1<<0) /* send/completed synchronous FIB */ 1347#define AAC_DB_COMMAND_READY (1<<1) /* posted one or more commands */ --- 21 unchanged lines hidden --- | 1355 * Common bit definitions for the doorbell registers. 1356 */ 1357 1358/* 1359 * Status bits in the doorbell registers. 1360 */ 1361#define AAC_DB_SYNC_COMMAND (1<<0) /* send/completed synchronous FIB */ 1362#define AAC_DB_COMMAND_READY (1<<1) /* posted one or more commands */ --- 21 unchanged lines hidden --- |