summaryrefslogtreecommitdiffstats
path: root/sys/i386/eisa/ahc_eisa.c
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1999-08-16 01:52:21 +0000
committergibbs <gibbs@FreeBSD.org>1999-08-16 01:52:21 +0000
commitc1664fa91ae2fda93ee5cb64ad1c4d77afb6e717 (patch)
treeaeb7275b83829ac29cbd76a255c27c321b19b1cb /sys/i386/eisa/ahc_eisa.c
parenteac569c095293fabb1bc2043fb4c4f3431f63029 (diff)
downloadFreeBSD-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/i386/eisa/ahc_eisa.c')
-rw-r--r--sys/i386/eisa/ahc_eisa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/eisa/ahc_eisa.c b/sys/i386/eisa/ahc_eisa.c
index f11d563..3945018 100644
--- a/sys/i386/eisa/ahc_eisa.c
+++ b/sys/i386/eisa/ahc_eisa.c
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ahc_eisa.c,v 1.10 1999/05/17 21:56:00 gibbs Exp $
+ * $Id: ahc_eisa.c,v 1.11 1999/08/01 22:57:08 mdodd Exp $
*/
#include "eisa.h"
@@ -166,7 +166,7 @@ aic7770_attach(device_t dev)
}
/* XXX Should be a child of the EISA bus dma tag */
- error = bus_dma_tag_create(/*parent*/NULL, /*alignment*/0,
+ error = bus_dma_tag_create(/*parent*/NULL, /*alignment*/1,
/*boundary*/0,
/*lowaddr*/BUS_SPACE_MAXADDR_32BIT,
/*highaddr*/BUS_SPACE_MAXADDR,
OpenPOWER on IntegriCloud