diff options
Diffstat (limited to 'src/superio/ite/it8673f/it8673f_early_serial.c')
-rw-r--r-- | src/superio/ite/it8673f/it8673f_early_serial.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/superio/ite/it8673f/it8673f_early_serial.c b/src/superio/ite/it8673f/it8673f_early_serial.c index 3047a76299..3c8c492149 100644 --- a/src/superio/ite/it8673f/it8673f_early_serial.c +++ b/src/superio/ite/it8673f/it8673f_early_serial.c @@ -26,7 +26,7 @@ #define SIO_INDEX SIO_BASE #define SIO_DATA SIO_BASE+1 -/* Global Configuration Registers. */ +/* Global configuration registers. */ #define IT8673F_CONFIG_REG_CC 0x02 /* Configure Control (write-only). */ #define IT8673F_CONFIG_REG_LDN 0x07 /* Logical Device Number. */ #define IT8673F_CONFIG_REG_CLOCKSEL 0x23 /* Clock Selection. */ @@ -35,7 +35,7 @@ #define IT8673F_CONFIGURATION_PORT 0x0279 /* Write-only. */ /* Special values used for entering MB PnP mode. The first four bytes of - * each line determine the address port, the last four are data. */ + each line determine the address port, the last four are data. */ static const uint8_t init_values[] = { 0x6a, 0xb5, 0xda, 0xed, /**/ 0xf6, 0xfb, 0x7d, 0xbe, 0xdf, 0x6f, 0x37, 0x1b, /**/ 0x0d, 0x86, 0xc3, 0x61, @@ -44,7 +44,7 @@ static const uint8_t init_values[] = { }; /* The content of IT8673F_CONFIG_REG_LDN (index 0x07) must be set to the - * LDN the register belongs to, before you can access the register. */ + LDN the register belongs to, before you can access the register. */ static void it8673f_sio_write(uint8_t ldn, uint8_t index, uint8_t value) { outb(IT8673F_CONFIG_REG_LDN, SIO_BASE); @@ -53,7 +53,7 @@ static void it8673f_sio_write(uint8_t ldn, uint8_t index, uint8_t value) outb(value, SIO_DATA); } -/* Enable the peripheral devices on the IT8673F Super IO chip. */ +/* Enable the peripheral devices on the IT8673F Super I/O chip. */ static void it8673f_enable_serial(device_t dev, unsigned iobase) { uint8_t i; @@ -92,6 +92,6 @@ static void it8673f_enable_serial(device_t dev, unsigned iobase) it8673f_sio_write(0x00, IT8673F_CONFIG_REG_SWSUSP, 0x00); /* (3) Exit the configuration state (MB PnP mode). */ - it8673f_sio_write(0x00, IT8673F_CONFIG_REG_CC, 0x02); + it8673f_sio_write(0x00, IT8673F_CONFIG_REG_CC, 0x02); } |