Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2006 06:27:18 GMT
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95231 for review
Message-ID:  <200604140627.k3E6RINa057501@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

Change 95231 by jmg@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604140627.k3E6RINa057501>