Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/arch/atari/vme Pull up revision 1.2 (requested by l...
details: https://anonhg.NetBSD.org/src/rev/9b0d3f449931
branches: netbsd-1-4
changeset: 469846:9b0d3f449931
user: he <he%NetBSD.org@localhost>
date: Sat Dec 04 19:48:27 1999 +0000
description:
Pull up revision 1.2 (requested by leo):
Fix arguments of bus_space_unmap().
diffstat:
sys/arch/atari/vme/leo.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 471b6903adc5 -r 9b0d3f449931 sys/arch/atari/vme/leo.c
--- a/sys/arch/atari/vme/leo.c Sat Dec 04 19:47:45 1999 +0000
+++ b/sys/arch/atari/vme/leo.c Sat Dec 04 19:48:27 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: leo.c,v 1.1 1998/08/18 07:45:09 leo Exp $ */
+/* $NetBSD: leo.c,v 1.1.6.1 1999/12/04 19:48:27 he Exp $ */
/*-
* Copyright (c) 1997 maximum entropy <entropy%zippy.bernstein.com@localhost>
@@ -163,15 +163,14 @@
if (bus_space_map(memt, vat.va_maddr, vat.va_msize,
BUS_SPACE_MAP_LINEAR|BUS_SPACE_MAP_CACHEABLE,
&memh)) {
- bus_space_unmap(iot, (caddr_t) vat.va_iobase,
- vat.va_iosize);
+ bus_space_unmap(iot, ioh, vat.va_iosize);
printf("leo_match: cannot map memory area\n");
return 0;
}
found = leo_probe(&iot, &memt, &ioh, &memh,
vat.va_iosize, vat.va_msize);
- bus_space_unmap(iot, (caddr_t) vat.va_iobase, vat.va_iosize);
- bus_space_unmap(memt, (caddr_t) vat.va_maddr, vat.va_msize);
+ bus_space_unmap(iot, ioh, vat.va_iosize);
+ bus_space_unmap(memt, memh, vat.va_msize);
if (found) {
*va = vat;
return 1;
Home |
Main Index |
Thread Index |
Old Index