Module Name: src
Committed By: tsutsui
Date: Tue Jul 20 15:06:44 UTC 2010
Modified Files:
src/sys/arch/hpcmips/dev: plumohci.c
Log Message:
Remove (possibly) unnecessary boundary arg from bus_space_alloc(9)
for DMA shared memory. PR port-hpcmips/43473 by Risto Sainio.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/hpcmips/dev/plumohci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hpcmips/dev/plumohci.c
diff -u src/sys/arch/hpcmips/dev/plumohci.c:1.12 src/sys/arch/hpcmips/dev/plumohci.c:1.13
--- src/sys/arch/hpcmips/dev/plumohci.c:1.12 Thu Apr 3 17:04:40 2008
+++ src/sys/arch/hpcmips/dev/plumohci.c Tue Jul 20 15:06:43 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: plumohci.c,v 1.12 2008/04/03 17:04:40 drochner Exp $ */
+/* $NetBSD: plumohci.c,v 1.13 2010/07/20 15:06:43 tsutsui Exp $ */
/*-
* Copyright (c) 2000 UCHIYAMA Yasushi
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: plumohci.c,v 1.12 2008/04/03 17:04:40 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: plumohci.c,v 1.13 2010/07/20 15:06:43 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -241,7 +241,7 @@
*/
error = bus_space_alloc(sc->sc.iot, PLUM_OHCI_SHMEMBASE,
PLUM_OHCI_SHMEMBASE + PLUM_OHCI_SHMEMSIZE - 1,
- size, OHCI_PAGE_SIZE, OHCI_PAGE_SIZE, 0,
+ size, OHCI_PAGE_SIZE, 0, 0,
(bus_addr_t *)(void *)&caddr, &bsh);
if (error)
return (1);