From c1664fa91ae2fda93ee5cb64ad1c4d77afb6e717 Mon Sep 17 00:00:00 2001 From: gibbs Date: Mon, 16 Aug 1999 01:52:21 +0000 Subject: 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. --- sys/pci/isp_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/pci/isp_pci.c') diff --git a/sys/pci/isp_pci.c b/sys/pci/isp_pci.c index 69dbd83..34473da 100644 --- a/sys/pci/isp_pci.c +++ b/sys/pci/isp_pci.c @@ -1,4 +1,4 @@ -/* $Id: isp_pci.c,v 1.27 1999/07/05 22:04:08 mjacob Exp $ */ +/* $Id: isp_pci.c,v 1.28 1999/07/06 01:24:20 mjacob Exp $ */ /* release_6_5_99 */ /* * PCI specific probe and attach routines for Qlogic ISP SCSI adapters. @@ -516,7 +516,7 @@ isp_pci_attach(pcici_t cfid, int unit) pci_cfgwrite(cfid, PCIR_ROMADDR, data, 4); ISP_UNLOCK(isp); - if (bus_dma_tag_create(NULL, 0, 0, BUS_SPACE_MAXADDR_32BIT, + if (bus_dma_tag_create(NULL, 1, 0, BUS_SPACE_MAXADDR_32BIT, BUS_SPACE_MAXADDR, NULL, NULL, lim + 1, 255, lim, 0, &pcs->parent_dmat) != 0) { printf("%s: could not create master dma tag\n", isp->isp_name); -- cgit v1.1