Author: rsmith Date: 2006-08-25 16:06:48 +0200 (Fri, 25 Aug 2006) New Revision: 2388
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536.c Log: - fix a silly pointer dereference thinko in my previous commit
Modified: trunk/LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536.c 2006-08-25 05:01:30 UTC (rev 2387) +++ trunk/LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536.c 2006-08-25 14:06:48 UTC (rev 2388) @@ -176,16 +176,16 @@ msr.hi |= 0xa; msr.lo |= 0xfe010000; -#if 0 wrmsr(USB2_SB_GLD_MSR_UOC_BASE, msr);
msr = rdmsr(USB2_SB_GLD_MSR_UOC_BASE); printk_err("New UOC Base 0x%08x%08x\n", msr.hi,msr.lo);
- uocmux = (unsigned long *)msr.lo+4; + uocmux = (unsigned long *)(msr.lo+4); val = *uocmux;
- printk_err("UOCMUX is 0x%lx\n",*val); + printk_err("UOCMUX is 0x%lx\n",val); +#if 0 val &= ~(0xc0); val |= 0x2;