Re: svn commit: r217330 - head/sys/x86/x86

2011-01-14 Thread John Baldwin
On Thursday, January 13, 2011 5:12:47 pm Warner Losh wrote: > On 01/12/2011 17:06, Bruce Evans wrote: > > On Wed, 12 Jan 2011, John Baldwin wrote: > > > >>> Log: > >>> Fix a brain fart. Since this file is shared between i386 and > >>> amd64, a > >>> bus_size_t may be 32 or 64 bits. Change th

Re: svn commit: r217330 - head/sys/x86/x86

2011-01-13 Thread Warner Losh
On 01/12/2011 17:06, Bruce Evans wrote: On Wed, 12 Jan 2011, John Baldwin wrote: Log: Fix a brain fart. Since this file is shared between i386 and amd64, a bus_size_t may be 32 or 64 bits. Change the bounce_zone alignment field to explicitly be 32 bits, as I can't really imagine a DM

Re: svn commit: r217330 - head/sys/x86/x86

2011-01-12 Thread Warner Losh
On 01/12/2011 14:27, m...@freebsd.org wrote: On Wed, Jan 12, 2011 at 1:21 PM, John Baldwin wrote: On Wednesday, January 12, 2011 4:08:50 pm Matthew D Fleming wrote: Author: mdf Date: Wed Jan 12 21:08:49 2011 New Revision: 217330 URL: http://svn.freebsd.org/changeset/base/217330 Log: Fix a

Re: svn commit: r217330 - head/sys/x86/x86

2011-01-12 Thread Bruce Evans
On Wed, 12 Jan 2011 m...@freebsd.org wrote: On Wed, Jan 12, 2011 at 4:06 PM, Bruce Evans wrote: On Wed, 12 Jan 2011, John Baldwin wrote: ... and then just used SYSCTL_ADD_BUS_SIZE_T() in the code so we could let the members in the bounce zone retain the same types passed to bus_dma_tag_create

Re: svn commit: r217330 - head/sys/x86/x86

2011-01-12 Thread mdf
On Wed, Jan 12, 2011 at 4:06 PM, Bruce Evans wrote: > On Wed, 12 Jan 2011, John Baldwin wrote: > >>> Log: >>>  Fix a brain fart.  Since this file is shared between i386 and amd64, a >>>  bus_size_t may be 32 or 64 bits.  Change the bounce_zone alignment field >>>  to explicitly be 32 bits, as I ca

Re: svn commit: r217330 - head/sys/x86/x86

2011-01-12 Thread Bruce Evans
On Wed, 12 Jan 2011, John Baldwin wrote: Log: Fix a brain fart. Since this file is shared between i386 and amd64, a bus_size_t may be 32 or 64 bits. Change the bounce_zone alignment field to explicitly be 32 bits, as I can't really imagine a DMA device that needs anything close to 2GB

Re: svn commit: r217330 - head/sys/x86/x86

2011-01-12 Thread John Baldwin
On Wednesday, January 12, 2011 4:27:40 pm m...@freebsd.org wrote: > On Wed, Jan 12, 2011 at 1:21 PM, John Baldwin wrote: > > On Wednesday, January 12, 2011 4:08:50 pm Matthew D Fleming wrote: > >> Author: mdf > >> Date: Wed Jan 12 21:08:49 2011 > >> New Revision: 217330 > >> URL: http://svn.freebs

Re: svn commit: r217330 - head/sys/x86/x86

2011-01-12 Thread mdf
On Wed, Jan 12, 2011 at 1:21 PM, John Baldwin wrote: > On Wednesday, January 12, 2011 4:08:50 pm Matthew D Fleming wrote: >> Author: mdf >> Date: Wed Jan 12 21:08:49 2011 >> New Revision: 217330 >> URL: http://svn.freebsd.org/changeset/base/217330 >> >> Log: >>   Fix a brain fart.  Since this file

Re: svn commit: r217330 - head/sys/x86/x86

2011-01-12 Thread John Baldwin
On Wednesday, January 12, 2011 4:08:50 pm Matthew D Fleming wrote: > Author: mdf > Date: Wed Jan 12 21:08:49 2011 > New Revision: 217330 > URL: http://svn.freebsd.org/changeset/base/217330 > > Log: > Fix a brain fart. Since this file is shared between i386 and amd64, a > bus_size_t may be 32

svn commit: r217330 - head/sys/x86/x86

2011-01-12 Thread Matthew D Fleming
Author: mdf Date: Wed Jan 12 21:08:49 2011 New Revision: 217330 URL: http://svn.freebsd.org/changeset/base/217330 Log: Fix a brain fart. Since this file is shared between i386 and amd64, a bus_size_t may be 32 or 64 bits. Change the bounce_zone alignment field to explicitly be 32 bits, as