From: Joshua Wise Date: Sun, 21 Sep 2008 03:53:35 +0000 (-0400) Subject: fix get_PMBASE bug X-Git-Url: http://git.joshuawise.com/netwatch.git/commitdiff_plain/8e106bffd631c8bae10efe153f893d80ad0be2df?ds=sidebyside;hp=--cc fix get_PMBASE bug --- 8e106bffd631c8bae10efe153f893d80ad0be2df diff --git a/ich2/smi.c b/ich2/smi.c index e790e40..3666a6c 100644 --- a/ich2/smi.c +++ b/ich2/smi.c @@ -5,7 +5,7 @@ uint16_t _get_PMBASE() { - return pci_read32(0, 21, 0, 0x40) & 0xFF80; + return pci_read32(0, 31, 0, 0x40) & 0xFF80; } void smi_disable()