diff options
author | gibbs <gibbs@FreeBSD.org> | 1999-08-16 01:52:21 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1999-08-16 01:52:21 +0000 |
commit | c1664fa91ae2fda93ee5cb64ad1c4d77afb6e717 (patch) | |
tree | aeb7275b83829ac29cbd76a255c27c321b19b1cb /sys/dev/advansys/adw_pci.c | |
parent | eac569c095293fabb1bc2043fb4c4f3431f63029 (diff) | |
download | FreeBSD-src-c1664fa91ae2fda93ee5cb64ad1c4d77afb6e717.zip FreeBSD-src-c1664fa91ae2fda93ee5cb64ad1c4d77afb6e717.tar.gz |
Properly set the alignment argument to bus_dma_tag_create(). If we
don't care about the alignment, set it to 1, meaning single byte alignment.
Diffstat (limited to 'sys/dev/advansys/adw_pci.c')
-rw-r--r-- | sys/dev/advansys/adw_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/advansys/adw_pci.c b/sys/dev/advansys/adw_pci.c index 8b0b86a..6509786 100644 --- a/sys/dev/advansys/adw_pci.c +++ b/sys/dev/advansys/adw_pci.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: adw_pci.c,v 1.5 1999/05/09 17:06:36 peter Exp $ + * $Id: adw_pci.c,v 1.6 1999/07/03 20:16:58 peter Exp $ */ #include <sys/param.h> @@ -136,7 +136,7 @@ adwpciattach(pcici_t config_id, int unit) /* Allocate a dmatag for our transfer DMA maps */ /* XXX Should be a child of the PCI bus dma tag */ - error = bus_dma_tag_create(/*parent*/NULL, /*alignment*/0, + error = bus_dma_tag_create(/*parent*/NULL, /*alignment*/1, /*boundary*/0, /*lowaddr*/ADW_PCI_MAX_DMA_ADDR, /*highaddr*/BUS_SPACE_MAXADDR, |