PERFORCE change 95231 for review

John-Mark Gurney jmg at FreeBSD.org
Fri Apr 14 06:27:19 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=95231

Change 95231 by jmg at jmg_carbon-60 on 2006/04/14 06:27:12

	man I feel stupid, enable a few things that should of been enabled
	a while back, this should get ata working...

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/include/bus.h#7 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/include/bus.h#7 (text+ko) ====

@@ -521,7 +521,7 @@
 {
 
 	__BUS_DEBUG_ACCESS(h, o, "read stream", 1);
-	return (0);
+	return (lduba_nc((caddr_t)(h + o), bus_stream_asi[t->bst_type]));
 }
 
 static __inline uint16_t
@@ -529,7 +529,7 @@
 {
 
 	__BUS_DEBUG_ACCESS(h, o, "read stream", 2);
-	return (0);
+	return (lduha_nc((caddr_t)(h + o), bus_stream_asi[t->bst_type]));
 }
 
 static __inline uint32_t
@@ -537,7 +537,7 @@
 {
 
 	__BUS_DEBUG_ACCESS(h, o, "read stream", 4);
-	return (0);
+	return (lduwa_nc((caddr_t)(h + o), bus_stream_asi[t->bst_type]));
 }
 
 static __inline uint64_t
@@ -545,7 +545,7 @@
 {
 
 	__BUS_DEBUG_ACCESS(h, o, "read stream", 8);
-	return (0);
+	return (ldxa_nc((caddr_t)(h + o), bus_stream_asi[t->bst_type]));
 }
 
 static __inline void
@@ -599,6 +599,7 @@
 {
 
 	__BUS_DEBUG_ACCESS(h, o, "write stream", 2);
+	stha_nc((caddr_t)(h + o), bus_stream_asi[t->bst_type], v);
 }
 
 static __inline void
@@ -607,6 +608,7 @@
 {
 
 	__BUS_DEBUG_ACCESS(h, o, "write stream", 4);
+	stwa_nc((caddr_t)(h + o), bus_stream_asi[t->bst_type], v);
 }
 
 static __inline void
@@ -615,6 +617,7 @@
 {
 
 	__BUS_DEBUG_ACCESS(h, o, "write stream", 8);
+	stxa_nc((caddr_t)(h + o), bus_stream_asi[t->bst_type], v);
 }
 
 static __inline void


More information about the p4-projects mailing list