Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 2014 18:14:12 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r274188 - head/sys/dev/ida
Message-ID:  <201411061814.sA6IECfj089354@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Thu Nov  6 18:14:12 2014
New Revision: 274188
URL: https://svnweb.freebsd.org/changeset/base/274188

Log:
  A dma tag alignment should be 1 (not 0) when a device can dma at any address.

Modified:
  head/sys/dev/ida/ida_eisa.c

Modified: head/sys/dev/ida/ida_eisa.c
==============================================================================
--- head/sys/dev/ida/ida_eisa.c	Thu Nov  6 17:50:35 2014	(r274187)
+++ head/sys/dev/ida/ida_eisa.c	Thu Nov  6 18:14:12 2014	(r274188)
@@ -296,7 +296,7 @@ ida_eisa_attach(device_t dev)
 
 	error = bus_dma_tag_create(
 		/* parent	*/	bus_get_dma_tag(dev),
-		/* alignment	*/	0,
+		/* alignment	*/	1,
 		/* boundary	*/	0,
 		/* lowaddr	*/	BUS_SPACE_MAXADDR_32BIT,
 		/* highaddr	*/	BUS_SPACE_MAXADDR,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411061814.sA6IECfj089354>