PERFORCE change 30246 for review

Peter Wemm peter at FreeBSD.org
Wed Apr 30 20:01:55 PDT 2003


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

Change 30246 by peter at peter_daintree on 2003/04/30 20:00:55

	Attempt to make this not hammer-specific

Affected files ...

.. //depot/projects/hammer/sys/dev/fb/vga.c#9 edit

Differences ...

==== //depot/projects/hammer/sys/dev/fb/vga.c#9 (text+ko) ====

@@ -60,7 +60,10 @@
 #define VGA_DEBUG		0
 #endif
 
+/* machine/pc/bios.h has got too much i386-specific stuff in it */
+#ifndef BIOS_PADDRTOVADDR
 #define BIOS_PADDRTOVADDR(x) (((x) - ISA_HOLE_START) + atdevbase)
+#endif
 int
 vga_probe_unit(int unit, video_adapter_t *buf, int flags)
 {


More information about the p4-projects mailing list