diff options
author | delphij <delphij@FreeBSD.org> | 2010-11-14 05:05:41 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2010-11-14 05:05:41 +0000 |
commit | 42557eb9d1e6c6c68123a5603878be4725a563ed (patch) | |
tree | 3193d09457f4e83af2bb70f438ba620f6acb966d /sys/dev | |
parent | ad1821916b968c6894c1d3f36240fe854f30524a (diff) | |
download | FreeBSD-src-42557eb9d1e6c6c68123a5603878be4725a563ed.zip FreeBSD-src-42557eb9d1e6c6c68123a5603878be4725a563ed.tar.gz |
Workaround build for PAE case for now - revert the PHYS
case to previous panic behavior.
I have a real fix that changes the sg dma tag allocation
to be limited to the under 4GB address space but would
prefer to have review before committing.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/arcmsr/arcmsr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/arcmsr/arcmsr.c b/sys/dev/arcmsr/arcmsr.c index c175522..fe7c90b 100644 --- a/sys/dev/arcmsr/arcmsr.c +++ b/sys/dev/arcmsr/arcmsr.c @@ -2470,11 +2470,15 @@ static void arcmsr_action(struct cam_sim * psim, union ccb * pccb) splx(s); } else { /* Buffer is physical */ +#ifdef PAE + panic("arcmsr: CAM_DATA_PHYS not supported"); +#else struct bus_dma_segment seg; seg.ds_addr = (bus_addr_t)pccb->csio.data_ptr; seg.ds_len = pccb->csio.dxfer_len; arcmsr_execute_srb(srb, &seg, 1, 0); +#endif } } else { /* Scatter/gather list */ |