svn commit: r266799 - head/sys/dev/sound/pci

Marius Strobl marius at FreeBSD.org
Wed May 28 12:32:08 UTC 2014


Author: marius
Date: Wed May 28 12:32:07 2014
New Revision: 266799
URL: http://svnweb.freebsd.org/changeset/base/266799

Log:
  Commit the right version of r266793.

Modified:
  head/sys/dev/sound/pci/emu10k1.c

Modified: head/sys/dev/sound/pci/emu10k1.c
==============================================================================
--- head/sys/dev/sound/pci/emu10k1.c	Wed May 28 12:27:41 2014	(r266798)
+++ head/sys/dev/sound/pci/emu10k1.c	Wed May 28 12:32:07 2014	(r266799)
@@ -1378,7 +1378,7 @@ emu_memalloc(struct sc_info *sc, u_int32
 	ofs = 0;
 	for (idx = start; idx < start + blksz; idx++) {
 		mem->bmap[idx >> 3] |= 1 << (idx & 7);
-		tmp = (bus_addr_t)((u_int8_t *)(uintptr_t)blk->buf_addr + ofs);
+		tmp = (uintptr_t)((u_int8_t *)(uintptr_t)blk->buf_addr + ofs);
 #ifdef EMUDEBUG
 		printf("pte[%d] -> %x phys, %x virt\n", idx, tmp,
 		    ((u_int32_t)buf) + ofs);


More information about the svn-src-head mailing list