]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - include/asm-powerpc/pmac_feature.h
Disable G5 NAP mode during SMU commands on U3
[thirdparty/kernel/stable.git] / include / asm-powerpc / pmac_feature.h
index 26bcb0aa164a2a470e2058b7384a8584440941b7..877c35a4356ed954317e1aa0546b07980f57a434 100644 (file)
@@ -392,6 +392,14 @@ extern u32 __iomem *uninorth_base;
 #define UN_BIS(r,v)    (UN_OUT((r), UN_IN(r) | (v)))
 #define UN_BIC(r,v)    (UN_OUT((r), UN_IN(r) & ~(v)))
 
+/* Uninorth variant:
+ *
+ * 0 = not uninorth
+ * 1 = U1.x or U2.x
+ * 3 = U3
+ * 4 = U4
+ */
+extern int pmac_get_uninorth_variant(void);
 
 #endif /* __ASM_POWERPC_PMAC_FEATURE_H */
 #endif /* __KERNEL__ */