Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/dev Remove (possibly) unnecessary boundary ...
details: https://anonhg.NetBSD.org/src/rev/d47de608223e
branches: trunk
changeset: 756512:d47de608223e
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Tue Jul 20 15:06:43 2010 +0000
description:
Remove (possibly) unnecessary boundary arg from bus_space_alloc(9)
for DMA shared memory. PR port-hpcmips/43473 by Risto Sainio.
diffstat:
sys/arch/hpcmips/dev/plumohci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ebc9e7c5ce17 -r d47de608223e sys/arch/hpcmips/dev/plumohci.c
--- a/sys/arch/hpcmips/dev/plumohci.c Tue Jul 20 15:03:53 2010 +0000
+++ b/sys/arch/hpcmips/dev/plumohci.c Tue Jul 20 15:06:43 2010 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index