Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/cardbus use BUS_SPACE_MAP_PREFETCHABLE instead BUS_S...
details: https://anonhg.NetBSD.org/src/rev/b6db7bffa4d0
branches: trunk
changeset: 481311:b6db7bffa4d0
user: drochner <drochner%NetBSD.org@localhost>
date: Tue Jan 25 22:32:20 2000 +0000
description:
use BUS_SPACE_MAP_PREFETCHABLE instead BUS_SPACE_MAP_CACHEABLE where the
PCI BAR bit is referred to
diffstat:
sys/dev/cardbus/cardbus_map.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r c9a655002979 -r b6db7bffa4d0 sys/dev/cardbus/cardbus_map.c
--- a/sys/dev/cardbus/cardbus_map.c Tue Jan 25 22:31:06 2000 +0000
+++ b/sys/dev/cardbus/cardbus_map.c Tue Jan 25 22:32:20 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cardbus_map.c,v 1.6 1999/11/09 09:20:30 haya Exp $ */
+/* $NetBSD: cardbus_map.c,v 1.7 2000/01/25 22:32:20 drochner Exp $ */
/*
* Copyright (c) 1999
@@ -220,7 +220,8 @@
*sizep = PCI_MAPREG_MEM_SIZE(mask);
}
if (flagsp != 0) {
- *flagsp = PCI_MAPREG_MEM_CACHEABLE(address) ? BUS_SPACE_MAP_CACHEABLE : 0;
+ *flagsp = PCI_MAPREG_MEM_PREFETCHABLE(address) ?
+ BUS_SPACE_MAP_PREFETCHABLE : 0;
}
return 0;
Home |
Main Index |
Thread Index |
Old Index