summaryrefslogtreecommitdiffstats
path: root/sys/dev/safe/safe.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2007-11-03 19:10:14 +0000
committersam <sam@FreeBSD.org>2007-11-03 19:10:14 +0000
commit43724f996c0367185774fc22a026a1b9b3117a01 (patch)
treeadc5e36b76e1eb4f85666a8b1bca61293d976272 /sys/dev/safe/safe.c
parentb5470381e4eaa3f4f174044ed577563fe2d8b65b (diff)
downloadFreeBSD-src-43724f996c0367185774fc22a026a1b9b3117a01.zip
FreeBSD-src-43724f996c0367185774fc22a026a1b9b3117a01.tar.gz
bandaid crash as I have no time to research the issue and the driver
is unusable in its present state; refer to the PR for details PR: kern/110662 MFC after: 3 days
Diffstat (limited to 'sys/dev/safe/safe.c')
-rw-r--r--sys/dev/safe/safe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/safe/safe.c b/sys/dev/safe/safe.c
index c594295..f3f1243 100644
--- a/sys/dev/safe/safe.c
+++ b/sys/dev/safe/safe.c
@@ -307,7 +307,7 @@ safe_attach(device_t dev)
goto bad4;
}
if (bus_dma_tag_create(NULL, /* parent */
- sizeof(u_int32_t), /* alignment */
+ 1, /* alignment */
SAFE_MAX_DSIZE, /* boundary */
BUS_SPACE_MAXADDR_32BIT, /* lowaddr */
BUS_SPACE_MAXADDR, /* highaddr */
OpenPOWER on IntegriCloud