svn commit: r250954 - projects/pmac_pmu/sys/powerpc/powermac
Justin Hibbits
jhibbits at FreeBSD.org
Fri May 24 03:52:55 UTC 2013
Author: jhibbits
Date: Fri May 24 03:52:54 2013
New Revision: 250954
URL: http://svnweb.freebsd.org/changeset/base/250954
Log:
Set the 'correct' VIA register A. The previous definition was marked as "Do not
use" in the Apple source, so respect that.
Modified:
projects/pmac_pmu/sys/powerpc/powermac/viareg.h
Modified: projects/pmac_pmu/sys/powerpc/powermac/viareg.h
==============================================================================
--- projects/pmac_pmu/sys/powerpc/powermac/viareg.h Fri May 24 03:29:32 2013 (r250953)
+++ projects/pmac_pmu/sys/powerpc/powermac/viareg.h Fri May 24 03:52:54 2013 (r250954)
@@ -30,7 +30,6 @@
/* VIA interface registers */
#define vBufB 0x0000 /* register B */
-#define vBufA 0x0200 /* register A */
#define vDirB 0x0400 /* data direction register */
#define vDirA 0x0600 /* data direction register */
#define vT1C 0x0800 /* Timer 1 counter Lo */
@@ -40,6 +39,7 @@
#define vPCR 0x1800 /* peripheral control register */
#define vIFR 0x1a00 /* interrupt flag register */
#define vIER 0x1c00 /* interrupt enable register */
+#define vBufA 0x1e00 /* register A */
#define vPB 0x0000
#define vPB3 0x08
More information about the svn-src-projects
mailing list