Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2014 12:32:08 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266799 - head/sys/dev/sound/pci
Message-ID:  <201405281232.s4SCW8Nu042194@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



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