diff options
author | scottl <scottl@FreeBSD.org> | 2006-02-04 03:41:48 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2006-02-04 03:41:48 +0000 |
commit | 4bb5d9e37d7cead41d3f9699af1c8b23bfc42017 (patch) | |
tree | 9a4957a30d6e47a18d52b6d0fd154d98ab250743 /sys/dev/isp/isp_pci.c | |
parent | c3550ff9aed22307abb1593f02a4c8bd1bb0925b (diff) | |
download | FreeBSD-src-4bb5d9e37d7cead41d3f9699af1c8b23bfc42017.zip FreeBSD-src-4bb5d9e37d7cead41d3f9699af1c8b23bfc42017.tar.gz |
i386/PAE defines bus_size_t to be 32-bits when it likely should be 64-bits.
Fixing it is left for another day, so just hack around it for now.
Diffstat (limited to 'sys/dev/isp/isp_pci.c')
-rw-r--r-- | sys/dev/isp/isp_pci.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index f62e415..c31e804 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -1129,8 +1129,11 @@ isp_pci_mbxdma(struct ispsoftc *isp) u_int32_t len; int i, error, ns; bus_size_t slim; /* segment size */ - bus_size_t llim; /* low limit of unavailable dma */ - bus_size_t hlim; /* low limit of unavailable dma */ + + /* XXX Should be bus_size_t, but i386/PAE is broken */ + bus_addr_t llim; /* low limit of unavailable dma */ + bus_addr_t hlim; /* low limit of unavailable dma */ + struct imush im; /* |