diff options
| author | Scott Long <scottl@FreeBSD.org> | 2012-03-12 08:03:51 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2012-03-12 08:03:51 +0000 |
| commit | b6f97155ccab302d0c3920d20604b183a036f0fb (patch) | |
| tree | dc5d4c305b98bef1388bcb9d1d8e32413a75f5af /sys/dev/tws | |
| parent | 312af517e350ff5a9991c005a7cb628cc513a4a5 (diff) | |
Notes
Diffstat (limited to 'sys/dev/tws')
| -rw-r--r-- | sys/dev/tws/tws.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/tws/tws.c b/sys/dev/tws/tws.c index ba3b1505a42b..b1615db07d26 100644 --- a/sys/dev/tws/tws.c +++ b/sys/dev/tws/tws.c @@ -521,7 +521,7 @@ tws_init(struct tws_softc *sc) TWS_MAX_32BIT_SG_ELEMENTS; dma_mem_size = (sizeof(struct tws_command_packet) * tws_queue_depth) + (TWS_SECTOR_SIZE) ; - if ( bus_dma_tag_create(NULL, /* parent */ + if ( bus_dma_tag_create(bus_get_dma_tag(sc->tws_dev), /* PCI parent */ TWS_ALIGNMENT, /* alignment */ 0, /* boundary */ BUS_SPACE_MAXADDR_32BIT, /* lowaddr */ |
