patch-2.1.112 linux/drivers/video/macmodes.h
Next file: linux/drivers/video/offb.c
Previous file: linux/drivers/video/macmodes.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sun Jul 26 14:40:19 1998
- Orig file:
v2.1.111/linux/drivers/video/macmodes.h
- Orig date:
Sun Jul 26 11:57:17 1998
diff -u --recursive --new-file v2.1.111/linux/drivers/video/macmodes.h linux/drivers/video/macmodes.h
@@ -50,3 +50,11 @@
extern int mac_var_to_vmode(const struct fb_var_screeninfo *var, int *vmode,
int *cmode);
extern int mac_map_monitor_sense(int sense);
+
+
+ /*
+ * Addresses in NVRAM where video mode and pixel size are stored.
+ */
+
+#define NV_VMODE 0x140f
+#define NV_CMODE 0x1410
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov