Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/dev Don't specify anything in "int flags" of bus_...
details: https://anonhg.NetBSD.org/src/rev/a753680f9a4d
branches: uebayasi-xip
changeset: 751707:a753680f9a4d
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Thu Apr 29 06:29:29 2010 +0000
description:
Don't specify anything in "int flags" of bus_space_physload_device(9)
for now.
diffstat:
sys/dev/flash.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 22d0f2e51d98 -r a753680f9a4d sys/dev/flash.c
--- a/sys/dev/flash.c Thu Apr 29 03:16:18 2010 +0000
+++ b/sys/dev/flash.c Thu Apr 29 06:29:29 2010 +0000
@@ -1,4 +1,4 @@
-/* $Id: flash.c,v 1.1.2.7 2010/04/28 16:33:47 uebayasi Exp $ */
+/* $Id: flash.c,v 1.1.2.8 2010/04/29 06:29:29 uebayasi Exp $ */
/*-
* Copyright (c) 2010 Tsubai Masanari. All rights reserved.
@@ -241,7 +241,7 @@
#error bus_space_physload_device(9) must be supported to use XIP!
#else
sc->sc_phys = bus_space_physload_device(sc->sc_iot, sc->sc_addr, sc->sc_size,
- PROT_READ | PROT_WRITE, BUS_SPACE_MAP_LINEAR);
+ PROT_READ | PROT_WRITE, 0);
#endif
#endif
Home |
Main Index |
Thread Index |
Old Index