<div dir="ltr">I'm working on vt8237 smbus in v3, and I had a quick question, mostly for Rudolf Marek and Bari, but feel free to jump in with your 2 cents:<br><br><blockquote>u8 smbus_read_byte(u16 dimm, u8 offset, u16 smbus_io_base)<br>
{<br>    u8 val;<br><br>    printk(BIOS_SPEW, "SMBus Read from DIMM %1x at address 0x%4x\n", <br>                dimm, offset);<br><br>    smbus_reset(smbus_io_base);<br><br>    /* Clear host data port. */<br>    outb(0x00, smbus_io_base + SMBHSTDAT0);<br>
    //SMBUS_DELAY();<br>    smbus_wait_until_ready(smbus_io_base);<br><br>    dimm = (dimm << 1) | 1;<br><br>    outb(dimm, smbus_io_base + SMBXMITADD);<br></blockquote><br>The dimm = (dimm << 1) | 1 is something that came from a via southbridge porting guide (NOT the one for the vt8237r, I don't have that one). With it, my spd addresses are 0x50, 0x51, etc, without it, they'd be 0xa1, 0xa3, etc. Which would be preferred? Do you think we'd ever need a 0xa0 or 0xa2 address?<br>
<br>Thanks,<br>Corey<br></div>