diff options
Diffstat (limited to 'src/southbridge/amd/cimx')
-rw-r--r-- | src/southbridge/amd/cimx/sb700/smbus.c | 8 | ||||
-rw-r--r-- | src/southbridge/amd/cimx/sb800/smbus.c | 8 | ||||
-rw-r--r-- | src/southbridge/amd/cimx/sb900/smbus.c | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/src/southbridge/amd/cimx/sb700/smbus.c b/src/southbridge/amd/cimx/sb700/smbus.c index 8ae6d3b8f4..9d78cd06ee 100644 --- a/src/southbridge/amd/cimx/sb700/smbus.c +++ b/src/southbridge/amd/cimx/sb700/smbus.c @@ -67,7 +67,7 @@ int do_smbus_recv_byte(u32 smbus_io_base, u32 device) } printk(BIOS_SPEW, "SB700 - Smbus.c - do_smbus_recv_byte - Start.\n"); - /* set the device I'm talking too */ + /* set the device I'm talking to */ outb(((device & 0x7f) << 1) | 1, smbus_io_base + SMBHSTADDR); byte = inb(smbus_io_base + SMBHSTCTRL); @@ -99,7 +99,7 @@ int do_smbus_send_byte(u32 smbus_io_base, u32 device, u8 val) /* set the command... */ outb(val, smbus_io_base + SMBHSTCMD); - /* set the device I'm talking too */ + /* set the device I'm talking to */ outb(((device & 0x7f) << 1) | 0, smbus_io_base + SMBHSTADDR); byte = inb(smbus_io_base + SMBHSTCTRL); @@ -128,7 +128,7 @@ int do_smbus_read_byte(u32 smbus_io_base, u32 device, u32 address) /* set the command/address... */ outb(address & 0xff, smbus_io_base + SMBHSTCMD); - /* set the device I'm talking too */ + /* set the device I'm talking to */ outb(((device & 0x7f) << 1) | 1, smbus_io_base + SMBHSTADDR); byte = inb(smbus_io_base + SMBHSTCTRL); @@ -160,7 +160,7 @@ int do_smbus_write_byte(u32 smbus_io_base, u32 device, u32 address, u8 val) /* set the command/address... */ outb(address & 0xff, smbus_io_base + SMBHSTCMD); - /* set the device I'm talking too */ + /* set the device I'm talking to */ outb(((device & 0x7f) << 1) | 0, smbus_io_base + SMBHSTADDR); /* output value */ diff --git a/src/southbridge/amd/cimx/sb800/smbus.c b/src/southbridge/amd/cimx/sb800/smbus.c index 80395f1231..53b0a13977 100644 --- a/src/southbridge/amd/cimx/sb800/smbus.c +++ b/src/southbridge/amd/cimx/sb800/smbus.c @@ -68,7 +68,7 @@ int do_smbus_recv_byte(u32 smbus_io_base, u32 device) } printk(BIOS_DEBUG, "SB800 - Smbus.c - do_smbus_recv_byte - Start.\n"); - /* set the device I'm talking too */ + /* set the device I'm talking to */ outb(((device & 0x7f) << 1) | 1, smbus_io_base + SMBHSTADDR); byte = inb(smbus_io_base + SMBHSTCTRL); @@ -101,7 +101,7 @@ int do_smbus_send_byte(u32 smbus_io_base, u32 device, u8 val) /* set the command... */ outb(val, smbus_io_base + SMBHSTCMD); - /* set the device I'm talking too */ + /* set the device I'm talking to */ outb(((device & 0x7f) << 1) | 0, smbus_io_base + SMBHSTADDR); byte = inb(smbus_io_base + SMBHSTCTRL); @@ -131,7 +131,7 @@ int do_smbus_read_byte(u32 smbus_io_base, u32 device, u32 address) /* set the command/address... */ outb(address & 0xff, smbus_io_base + SMBHSTCMD); - /* set the device I'm talking too */ + /* set the device I'm talking to */ outb(((device & 0x7f) << 1) | 1, smbus_io_base + SMBHSTADDR); byte = inb(smbus_io_base + SMBHSTCTRL); @@ -164,7 +164,7 @@ int do_smbus_write_byte(u32 smbus_io_base, u32 device, u32 address, u8 val) /* set the command/address... */ outb(address & 0xff, smbus_io_base + SMBHSTCMD); - /* set the device I'm talking too */ + /* set the device I'm talking to */ outb(((device & 0x7f) << 1) | 0, smbus_io_base + SMBHSTADDR); /* output value */ diff --git a/src/southbridge/amd/cimx/sb900/smbus.c b/src/southbridge/amd/cimx/sb900/smbus.c index 7d1189812a..aaa09686bc 100644 --- a/src/southbridge/amd/cimx/sb900/smbus.c +++ b/src/southbridge/amd/cimx/sb900/smbus.c @@ -68,7 +68,7 @@ int do_smbus_recv_byte(u32 smbus_io_base, u32 device) } printk(BIOS_INFO, "SB900 - Smbus.c - do_smbus_recv_byte - Start.\n"); - /* set the device I'm talking too */ + /* set the device I'm talking to */ outb(((device & 0x7f) << 1) | 1, smbus_io_base + SMBHSTADDR); byte = inb(smbus_io_base + SMBHSTCTRL); @@ -101,7 +101,7 @@ int do_smbus_send_byte(u32 smbus_io_base, u32 device, u8 val) /* set the command... */ outb(val, smbus_io_base + SMBHSTCMD); - /* set the device I'm talking too */ + /* set the device I'm talking to */ outb(((device & 0x7f) << 1) | 0, smbus_io_base + SMBHSTADDR); byte = inb(smbus_io_base + SMBHSTCTRL); @@ -131,7 +131,7 @@ int do_smbus_read_byte(u32 smbus_io_base, u32 device, u32 address) /* set the command/address... */ outb(address & 0xff, smbus_io_base + SMBHSTCMD); - /* set the device I'm talking too */ + /* set the device I'm talking to */ outb(((device & 0x7f) << 1) | 1, smbus_io_base + SMBHSTADDR); byte = inb(smbus_io_base + SMBHSTCTRL); @@ -164,7 +164,7 @@ int do_smbus_write_byte(u32 smbus_io_base, u32 device, u32 address, u8 val) /* set the command/address... */ outb(address & 0xff, smbus_io_base + SMBHSTCMD); - /* set the device I'm talking too */ + /* set the device I'm talking to */ outb(((device & 0x7f) << 1) | 0, smbus_io_base + SMBHSTADDR); /* output value */ |