aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/wds
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2012-03-16 08:46:58 +0000
committerScott Long <scottl@FreeBSD.org>2012-03-16 08:46:58 +0000
commit03f15131ec6a584935fd83d33e1a1dc1500c3880 (patch)
tree3729c840b9550580d810e838c3faf7f24aac9659 /sys/dev/wds
parentb9d98828d052268932457c558cc9dc5d9f3b0213 (diff)
Notes
Diffstat (limited to 'sys/dev/wds')
-rw-r--r--sys/dev/wds/wd7000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wds/wd7000.c b/sys/dev/wds/wd7000.c
index bad36e162981..3dcd735e1357 100644
--- a/sys/dev/wds/wd7000.c
+++ b/sys/dev/wds/wd7000.c
@@ -549,7 +549,7 @@ wds_attach(device_t dev)
goto bad;
/* now create the memory buffer */
- error = bus_dma_tag_create(NULL, /*alignment*/4,
+ error = bus_dma_tag_create(bus_get_dma_tag(dev), /*alignment*/4,
/*boundary*/0,
/*lowaddr*/BUS_SPACE_MAXADDR_24BIT,
/*highaddr*/ BUS_SPACE_MAXADDR,