patch-2.3.36 linux/drivers/fc4/soc.h

Next file: linux/drivers/fc4/socal.c
Previous file: linux/drivers/fc4/soc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.35/linux/drivers/fc4/soc.h linux/drivers/fc4/soc.h
@@ -96,6 +96,11 @@
 	return (u32) sbus_readw(x + 0x02UL);
 }
 
+static inline u16 xram_get_16 (xram_p x)
+{
+	return sbus_readw(x);
+}
+
 static inline u8 xram_get_8 (xram_p x)
 {
 	if (x & (xram_p)0x1) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)