aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dpt
diff options
context:
space:
mode:
authorJustin T. Gibbs <gibbs@FreeBSD.org>1999-08-16 01:52:21 +0000
committerJustin T. Gibbs <gibbs@FreeBSD.org>1999-08-16 01:52:21 +0000
commit086646f7c6630b28dc44a42d9d7ba67fec2b9da1 (patch)
tree6d72bd9b1034198fd9619ded0161b70671e6437c /sys/dev/dpt
parent3c0dcb2cf2102fab4f7ef554d922e5204420d3f0 (diff)
Notes
Diffstat (limited to 'sys/dev/dpt')
-rw-r--r--sys/dev/dpt/dpt_eisa.c4
-rw-r--r--sys/dev/dpt/dpt_pci.c4
-rw-r--r--sys/dev/dpt/dpt_scsi.c8
3 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/dpt/dpt_eisa.c b/sys/dev/dpt/dpt_eisa.c
index 0c376f47579e..caeab91f3028 100644
--- a/sys/dev/dpt/dpt_eisa.c
+++ b/sys/dev/dpt/dpt_eisa.c
@@ -33,7 +33,7 @@
*/
/*
- * $Id: dpt_eisa.c,v 1.6 1999/05/08 21:59:19 dfr Exp $
+ * $Id: dpt_eisa.c,v 1.7 1999/08/01 22:57:09 mdodd Exp $
*/
#include "eisa.h"
@@ -147,7 +147,7 @@ dpt_eisa_attach(device_t dev)
/* Allocate a dmatag representing the capabilities of this attachment */
/* XXX Should be a child of the EISA bus dma tag */
- if (bus_dma_tag_create(/*parent*/NULL, /*alignemnt*/0, /*boundary*/0,
+ if (bus_dma_tag_create(/*parent*/NULL, /*alignemnt*/1, /*boundary*/0,
/*lowaddr*/BUS_SPACE_MAXADDR_32BIT,
/*highaddr*/BUS_SPACE_MAXADDR,
/*filter*/NULL, /*filterarg*/NULL,
diff --git a/sys/dev/dpt/dpt_pci.c b/sys/dev/dpt/dpt_pci.c
index 3caaf45ce2fe..4e03f7830699 100644
--- a/sys/dev/dpt/dpt_pci.c
+++ b/sys/dev/dpt/dpt_pci.c
@@ -32,7 +32,7 @@
* dptpci.c: PCI Bus Attachment for DPT SCSI HBAs
*/
-#ident "$Id: dpt_pci.c,v 1.12 1999/04/24 20:13:58 peter Exp $"
+#ident "$Id: dpt_pci.c,v 1.13 1999/05/09 17:06:44 peter Exp $"
#include "opt_devfs.h"
#include "opt_dpt.h"
@@ -158,7 +158,7 @@ dpt_pci_attach(pcici_t config_id, int unit)
/* Allocate a dmatag representing the capabilities of this attachment */
/* XXX Should be a child of the PCI bus dma tag */
- if (bus_dma_tag_create(/*parent*/NULL, /*alignemnt*/0, /*boundary*/0,
+ if (bus_dma_tag_create(/*parent*/NULL, /*alignemnt*/1, /*boundary*/0,
/*lowaddr*/BUS_SPACE_MAXADDR_32BIT,
/*highaddr*/BUS_SPACE_MAXADDR,
/*filter*/NULL, /*filterarg*/NULL,
diff --git a/sys/dev/dpt/dpt_scsi.c b/sys/dev/dpt/dpt_scsi.c
index d3143df8feb1..bb7362e4efe2 100644
--- a/sys/dev/dpt/dpt_scsi.c
+++ b/sys/dev/dpt/dpt_scsi.c
@@ -43,7 +43,7 @@
* arrays that span controllers (Wow!).
*/
-#ident "$Id: dpt_scsi.c,v 1.22 1998/12/22 20:21:12 eivind Exp $"
+#ident "$Id: dpt_scsi.c,v 1.23 1999/05/06 20:16:22 ken Exp $"
#define _DPT_C_
@@ -1159,7 +1159,7 @@ dpt_init(struct dpt_softc *dpt)
/* XXX Shouldn't we poll a status register or something??? */
#endif
/* DMA tag for our S/G structures. We allocate in page sized chunks */
- if (bus_dma_tag_create(dpt->parent_dmat, /*alignment*/0, /*boundary*/0,
+ if (bus_dma_tag_create(dpt->parent_dmat, /*alignment*/1, /*boundary*/0,
/*lowaddr*/BUS_SPACE_MAXADDR,
/*highaddr*/BUS_SPACE_MAXADDR,
/*filter*/NULL, /*filterarg*/NULL,
@@ -1281,7 +1281,7 @@ dpt_init(struct dpt_softc *dpt)
dpt->sgsize = dpt_max_segs;
/* DMA tag for mapping buffers into device visible space. */
- if (bus_dma_tag_create(dpt->parent_dmat, /*alignment*/0, /*boundary*/0,
+ if (bus_dma_tag_create(dpt->parent_dmat, /*alignment*/1, /*boundary*/0,
/*lowaddr*/BUS_SPACE_MAXADDR,
/*highaddr*/BUS_SPACE_MAXADDR,
/*filter*/NULL, /*filterarg*/NULL,
@@ -1295,7 +1295,7 @@ dpt_init(struct dpt_softc *dpt)
dpt->init_level++;
/* DMA tag for our ccb structures and interrupt status packet */
- if (bus_dma_tag_create(dpt->parent_dmat, /*alignment*/0, /*boundary*/0,
+ if (bus_dma_tag_create(dpt->parent_dmat, /*alignment*/1, /*boundary*/0,
/*lowaddr*/BUS_SPACE_MAXADDR,
/*highaddr*/BUS_SPACE_MAXADDR,
/*filter*/NULL, /*filterarg*/NULL,