summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aac_pci.c
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-01-23 01:01:44 +0000
committerscottl <scottl@FreeBSD.org>2003-01-23 01:01:44 +0000
commit062887dc669d70e3e3f0a46869a8cfb50117b096 (patch)
tree53f1a9a0fa5569aee0aa1151ae7bbd9b7a2a68fe /sys/dev/aac/aac_pci.c
parent521e2f4ce6e5420c54f62885b331170b5deb65be (diff)
downloadFreeBSD-src-062887dc669d70e3e3f0a46869a8cfb50117b096.zip
FreeBSD-src-062887dc669d70e3e3f0a46869a8cfb50117b096.tar.gz
Hack around a bug in the 2200 and 2120 controllers that connot DMA
commands from below the first 8K of physical memory. A better fix is to modify the busdma api to allow either inclusion ranges or multiple exclusion ranges, but that debate is for another day. MFC After: 2 days
Diffstat (limited to 'sys/dev/aac/aac_pci.c')
-rw-r--r--sys/dev/aac/aac_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c
index 6f6b7e3..1182342 100644
--- a/sys/dev/aac/aac_pci.c
+++ b/sys/dev/aac/aac_pci.c
@@ -275,7 +275,7 @@ aac_pci_attach(device_t dev)
BUS_SPACE_MAXADDR, /* lowaddr */
BUS_SPACE_MAXADDR, /* highaddr */
NULL, NULL, /* filter, filterarg */
- AAC_FIB_COUNT *
+ 8192 + AAC_FIB_COUNT * /* XXX dma hack */
sizeof(struct aac_fib), 1, /* maxsize, nsegments */
BUS_SPACE_MAXSIZE_32BIT, /* maxsegsize */
0, /* flags */
OpenPOWER on IntegriCloud