]> Joshua Wise's Git repositories - netwatch.git/commitdiff
fix get_PMBASE bug
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Sun, 21 Sep 2008 03:53:35 +0000 (23:53 -0400)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Sun, 21 Sep 2008 03:53:35 +0000 (23:53 -0400)
ich2/smi.c

index e790e40bd8319fe180f20828deb1ba6404f9d621..3666a6c22cc1195f7b18abe4c3fa5e2b203fc6ba 100644 (file)
@@ -5,7 +5,7 @@
 
 uint16_t _get_PMBASE()
 {
 
 uint16_t _get_PMBASE()
 {
-       return pci_read32(0, 21, 0, 0x40) & 0xFF80;
+       return pci_read32(0, 31, 0, 0x40) & 0xFF80;
 }
 
 void smi_disable()
 }
 
 void smi_disable()
This page took 0.025037 seconds and 4 git commands to generate.