aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/sis/sis966/sis966.c
diff options
context:
space:
mode:
authorMartin Roth <martin.roth@se-eng.com>2014-12-09 13:51:49 -0700
committerMartin Roth <gaumless@gmail.com>2014-12-17 02:30:12 +0100
commit226db05a15a0c6ee55a500117307bdcf119a1822 (patch)
treeea68081d47298de7ee49c23b95845cda649765a1 /src/southbridge/sis/sis966/sis966.c
parent474313d1b6556ad8b3e6750a4096b5735cbfc846 (diff)
southbridge/sis: Spelling/comment fixes
Change-Id: I6a0f5406fb3bc3e8aa3a1111b1d702f530c9329b Signed-off-by: Martin Roth <martin.roth@se-eng.com> Reviewed-on: http://review.coreboot.org/7733 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/southbridge/sis/sis966/sis966.c')
-rw-r--r--src/southbridge/sis/sis966/sis966.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/southbridge/sis/sis966/sis966.c b/src/southbridge/sis/sis966/sis966.c
index 68da9170fd..5fecd3cccc 100644
--- a/src/southbridge/sis/sis966/sis966.c
+++ b/src/southbridge/sis/sis966/sis966.c
@@ -180,7 +180,12 @@ void sis966_enable(device_t dev)
if (!dev->enabled) {
final_reg |= (1 << index);// disable it
- //The reason for using final_reg, if diable func 1, the func 2 will be func 1 so We need disable them one time.
+ /*
+ * The reason for using final_reg is that if func 1 is disabled,
+ * then func 2 will become func 1.
+ * Because of this, we need loop through disabling them all at
+ * the same time.
+ */
}
if(index == 9 ) { //NIC1 is the final, We need update final reg to 0xe8