summaryrefslogtreecommitdiffstats
path: root/sys/dev/arcmsr
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2005-05-03 05:44:42 +0000
committerscottl <scottl@FreeBSD.org>2005-05-03 05:44:42 +0000
commit1442686b2702f488b3a3bf5ac279ac7669325dd4 (patch)
tree52424bbc9260aa1f1f587e55e2b0e8dc67b3fdb2 /sys/dev/arcmsr
parent8643f7775a81469779efcbd3306fc2651aadee29 (diff)
downloadFreeBSD-src-1442686b2702f488b3a3bf5ac279ac7669325dd4.zip
FreeBSD-src-1442686b2702f488b3a3bf5ac279ac7669325dd4.tar.gz
The driver looks like it can create valid 64-bit scatter-gather lists, so
don't restrict it to a 32-bit address space. Also use the correct busdma flags for the SRB memory area. MFC After: 3 days
Diffstat (limited to 'sys/dev/arcmsr')
-rw-r--r--sys/dev/arcmsr/arcmsr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/arcmsr/arcmsr.c b/sys/dev/arcmsr/arcmsr.c
index c180fd5..3c59a46 100644
--- a/sys/dev/arcmsr/arcmsr.c
+++ b/sys/dev/arcmsr/arcmsr.c
@@ -2196,7 +2196,7 @@ static LONG arcmsr_initialize(device_t dev)
if (bus_dma_tag_create( /*parent*/NULL,
/*alignemnt*/1,
/*boundary*/0,
- /*lowaddr*/BUS_SPACE_MAXADDR_32BIT,
+ /*lowaddr*/BUS_SPACE_MAXADDR,
/*highaddr*/BUS_SPACE_MAXADDR,
/*filter*/NULL,
/*filterarg*/NULL,
@@ -2211,7 +2211,7 @@ static LONG arcmsr_initialize(device_t dev)
if (bus_dma_tag_create( /*parent*/NULL,
/*alignemnt*/1,
/*boundary*/0,
- /*lowaddr*/BUS_SPACE_MAXADDR_32BIT,
+ /*lowaddr*/BUS_SPACE_MAXADDR,
/*highaddr*/BUS_SPACE_MAXADDR,
/*filter*/NULL,
/*filterarg*/NULL,
@@ -2272,7 +2272,7 @@ static LONG arcmsr_initialize(device_t dev)
/*maxsize*/((sizeof(struct _SRB) * ARCMSR_MAX_FREESRB_NUM)+0x20),
/*nsegments*/1,
/*maxsegsz*/BUS_SPACE_MAXSIZE_32BIT,
- /*flags*/BUS_DMA_ALLOCNOW,
+ /*flags*/0,
/*lockfunc*/NULL,
/*lockarg*/NULL,
&pACB->srb_dmat) != 0)
@@ -2287,7 +2287,7 @@ static LONG arcmsr_initialize(device_t dev)
/*maxsize*/((sizeof(struct _SRB) * ARCMSR_MAX_FREESRB_NUM)+0x20),
/*nsegments*/1,
/*maxsegsz*/BUS_SPACE_MAXSIZE_32BIT,
- /*flags*/BUS_DMA_ALLOCNOW,
+ /*flags*/0,
&pACB->srb_dmat) != 0)
#endif
{
OpenPOWER on IntegriCloud