summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aacreg.h
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2009-02-21 15:40:03 +0000
committerattilio <attilio@FreeBSD.org>2009-02-21 15:40:03 +0000
commitbfa5bd4228fa05bfb9a1af423398fd7eeccca89e (patch)
treeb355f7968dae4a2497274274d70902c300549f00 /sys/dev/aac/aacreg.h
parent21f7074adead943a0dc3cef015c11ab5e77c3f67 (diff)
downloadFreeBSD-src-bfa5bd4228fa05bfb9a1af423398fd7eeccca89e.zip
FreeBSD-src-bfa5bd4228fa05bfb9a1af423398fd7eeccca89e.tar.gz
Sync with the official Adaptec vendor driver:
[1] Add the support for the NARK controller which seems a variant of the i960Rx. [2] Split up memory regions and other resources in 2 different parts as long as NARK uses them separately (it is not clear to me why though as long as there are no more informations available on this controller). Please note that in all the other cases, the regions overlaps leaving the default behaviour for all the other controllers. [3] Implement a clock daemon responsible for maintain updated the wall clock time of the controller (run any 30 minutes)*. Submitted by: Adaptec (driver build 15317 [1, 2] and 15727 [3]) Reviewed by: emaste Tested by: emaste Sponsored by: Sandvine Incorporated * Please note that originally, in the Adaptec driver, the clock daemon is not implemented with callouts as in our in-tree driver.
Diffstat (limited to 'sys/dev/aac/aacreg.h')
-rw-r--r--sys/dev/aac/aacreg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/aac/aacreg.h b/sys/dev/aac/aacreg.h
index 4914b91..db96ff2 100644
--- a/sys/dev/aac/aacreg.h
+++ b/sys/dev/aac/aacreg.h
@@ -1468,7 +1468,7 @@ enum {
#define AAC_FA_FWSTATUS 0x2c /* Mailbox 7 */
#define AAC_FA_INTSRC 0x900
-#define AAC_FA_HACK(sc) (void)AAC_GETREG4(sc, AAC_FA_INTSRC)
+#define AAC_FA_HACK(sc) (void)AAC_MEM0_GETREG4(sc, AAC_FA_INTSRC)
/*
* Register definitions for the Adaptec AAC-364 'Jalapeno I/II' adapters, based
OpenPOWER on IntegriCloud