diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2009-02-18 01:36:20 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2009-02-18 01:36:20 +0000 |
| commit | 8d5b55c37f041884caaf1570736f50e6b0f67b36 (patch) | |
| tree | 89e939675cebb4bd17d74a55ad34bd51854b89db /sys/dev/aac | |
| parent | cde9186f93c0cbddba19242dad76a3e0f73bfb16 (diff) | |
Notes
Diffstat (limited to 'sys/dev/aac')
| -rw-r--r-- | sys/dev/aac/aac.c | 4 | ||||
| -rw-r--r-- | sys/dev/aac/aacreg.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c index d6754ad4a473..678132e70e3f 100644 --- a/sys/dev/aac/aac.c +++ b/sys/dev/aac/aac.c @@ -2375,7 +2375,7 @@ aac_rx_get_fwstatus(struct aac_softc *sc) { fwprintf(sc, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, ""); - return(AAC_GETREG4(sc, AAC_RX_FWSTATUS)); + return(AAC_GETREG4(sc, AAC_RX_OMR0)); } static int @@ -2394,7 +2394,7 @@ aac_rkt_get_fwstatus(struct aac_softc *sc) { fwprintf(sc, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, ""); - return(AAC_GETREG4(sc, AAC_RKT_FWSTATUS)); + return(AAC_GETREG4(sc, AAC_RKT_OMR0)); } /* diff --git a/sys/dev/aac/aacreg.h b/sys/dev/aac/aacreg.h index 5221bb26d7f7..4914b9127457 100644 --- a/sys/dev/aac/aacreg.h +++ b/sys/dev/aac/aacreg.h @@ -1495,6 +1495,8 @@ enum { * and other related adapters. */ +#define AAC_RX_OMR0 0x18 /* outbound message register 0 */ +#define AAC_RX_OMR1 0x1c /* outbound message register 1 */ #define AAC_RX_IDBR 0x20 /* inbound doorbell register */ #define AAC_RX_IISR 0x24 /* inbound interrupt status register */ #define AAC_RX_IIMR 0x28 /* inbound interrupt mask register */ @@ -1512,6 +1514,8 @@ enum { * Unsurprisingly, it's quite similar to the i960! */ +#define AAC_RKT_OMR0 0x18 /* outbound message register 0 */ +#define AAC_RKT_OMR1 0x1c /* outbound message register 1 */ #define AAC_RKT_IDBR 0x20 /* inbound doorbell register */ #define AAC_RKT_IISR 0x24 /* inbound interrupt status register */ #define AAC_RKT_IIMR 0x28 /* inbound interrupt mask register */ |
