drivers: Fix spelling

Change-Id: Ib0d98e3ab5b2943c36f88765587e8963a4f49604
Signed-off-by: Martin Roth <martin.roth@se-eng.com>
Reviewed-on: http://review.coreboot.org/3754
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Martin Roth 2013-07-09 21:39:46 -06:00 committed by Stefan Reinauer
parent 8940d3e2a7
commit 5688979fbd
9 changed files with 12 additions and 12 deletions

View File

@ -1045,7 +1045,7 @@
#define SCISSOR_TOP_FLAG 0x40 #define SCISSOR_TOP_FLAG 0x40
#define SCISSOR_BOTTOM_FLAG 0x80 #define SCISSOR_BOTTOM_FLAG 0x80
/* ATI VGA Extended Regsiters */ /* ATI VGA Extended Registers */
#define sioATIEXT 0x1ce #define sioATIEXT 0x1ce
#define bioATIEXT 0x3ce #define bioATIEXT 0x3ce
@ -1057,7 +1057,7 @@
#define VGAGRA 0x3ce #define VGAGRA 0x3ce
#define GRA06 0x06 #define GRA06 0x06
/* VGA Seququencer Registers */ /* VGA Sequencer Registers */
#define VGASEQ 0x3c4 #define VGASEQ 0x3c4
#define SEQ02 0x02 #define SEQ02 0x02
#define SEQ04 0x04 #define SEQ04 0x04

View File

@ -629,7 +629,7 @@ static int elog_flash_area_bootstrap(void)
/* /*
* Shrink the log, deleting old entries and moving the * Shrink the log, deleting old entries and moving the
* remining ones to the front of the log. * remaining ones to the front of the log.
*/ */
static int elog_shrink(void) static int elog_shrink(void)
{ {

View File

@ -96,7 +96,7 @@ u32 gsmi_exec(u8 command, u32 *param)
break; break;
case GSMI_CMD_CLEAR_EVENT_LOG: case GSMI_CMD_CLEAR_EVENT_LOG:
/* Get paramter buffer even though we don't use it */ /* Get parameter buffer even though we don't use it */
cel = (struct gsmi_clear_eventlog_param *)(*param); cel = (struct gsmi_clear_eventlog_param *)(*param);
if (!cel) if (!cel)
break; break;

View File

@ -77,7 +77,7 @@ static void w83795_dts_enable(u8 dts_src)
/* store bank3 regs first before enable DTS */ /* store bank3 regs first before enable DTS */
/* /*
* TD/TR1-4 termal diode by default * TD/TR1-4 thermal diode by default
* 0x00 Disable * 0x00 Disable
* 0x01 thermistors on motherboard * 0x01 thermistors on motherboard
* 0x10 different mode voltage * 0x10 different mode voltage
@ -169,7 +169,7 @@ static void w83795_set_fan(w83795_fan_mode_t mode)
//SFIV TODO //SFIV TODO
} }
/* Set Hystersis of Temperature (HT) */ /* Set Hysteresis of Temperature (HT) */
//TODO //TODO
} }

View File

@ -38,9 +38,9 @@
#define DTS_SRC_AMD_SBTSI (1 << 0) #define DTS_SRC_AMD_SBTSI (1 << 0)
#define W83795_REG_TSS(n) (0x209 + (n)) /* Temperature Source Selection Register */ #define W83795_REG_TSS(n) (0x209 + (n)) /* Temperature Source Selection Register */
#define W83795_REG_TTTI(n) (0x260 + (n)) /* tarrget temperature W83795G/ADG will try to tune the fan output to keep */ #define W83795_REG_TTTI(n) (0x260 + (n)) /* Target temperature W83795G/ADG will try to tune the fan output to keep */
#define W83795_REG_CTFS(n) (0x268 + (n)) /* Critical Temperature to Full Speed all fan */ #define W83795_REG_CTFS(n) (0x268 + (n)) /* Critical Temperature to Full Speed all fan */
#define W83795_REG_HT(n) (0x270 + (n)) /* Hystersis of Temperature */ #define W83795_REG_HT(n) (0x270 + (n)) /* Hysteresis of Temperature */
#define W83795_REG_DTSC 0x301 /* Digital Temperature Sensor Configuration */ #define W83795_REG_DTSC 0x301 /* Digital Temperature Sensor Configuration */
#define W83795_REG_DTSE 0x302 /* Digital Temperature Sensor Enable */ #define W83795_REG_DTSE 0x302 /* Digital Temperature Sensor Enable */

View File

@ -64,7 +64,7 @@ void oxford_init(void)
CONFIG_OXFORD_OXPCIE_BRIDGE_SUBORDINATE); CONFIG_OXFORD_OXPCIE_BRIDGE_SUBORDINATE);
/* Memory window for the OXPCIe952 card */ /* Memory window for the OXPCIe952 card */
// XXX is the calculation of base and limit corect? // XXX is the calculation of base and limit correct?
pci_write_config32(PCIE_BRIDGE, PCI_MEMORY_BASE, pci_write_config32(PCIE_BRIDGE, PCI_MEMORY_BASE,
((CONFIG_OXFORD_OXPCIE_BASE_ADDRESS & 0xffff0000) | ((CONFIG_OXFORD_OXPCIE_BASE_ADDRESS & 0xffff0000) |
((CONFIG_OXFORD_OXPCIE_BASE_ADDRESS >> 16) & 0xff00))); ((CONFIG_OXFORD_OXPCIE_BASE_ADDRESS >> 16) & 0xff00)));

View File

@ -94,7 +94,7 @@ void setup_i8259(void)
/* Now clear the interrupts through OCW1. /* Now clear the interrupts through OCW1.
* First we mask off all interrupts on the slave interrupt controller * First we mask off all interrupts on the slave interrupt controller
* then we mask off all interrupts but interrupt 2 on the master * then we mask off all interrupts but interrupt 2 on the master
* controller. This way the cascading stays alife. * controller. This way the cascading stays alive.
*/ */
outb(ALL_IRQS, SLAVE_PIC_OCW1); outb(ALL_IRQS, SLAVE_PIC_OCW1);
outb(ALL_IRQS & ~IRQ2, MASTER_PIC_OCW1); outb(ALL_IRQS & ~IRQ2, MASTER_PIC_OCW1);

View File

@ -132,7 +132,7 @@ void rtc_init(int invalid)
/* /*
* Avoid clearing pending interrupts in the resume path because * Avoid clearing pending interrupts in the resume path because
* the Linux kernel relies on this to know if it should restart * the Linux kernel relies on this to know if it should restart
* the RTC timerqueue if the wake was due to the RTC alarm. * the RTC timer queue if the wake was due to the RTC alarm.
*/ */
if (acpi_slp_type == 3) if (acpi_slp_type == 3)
return; return;

View File

@ -565,7 +565,7 @@ int tis_open(void)
/* /*
* tis_close() * tis_close()
* *
* terminate the currect session with the TPM by releasing the locked * terminate the current session with the TPM by releasing the locked
* locality. Returns 0 on success of TPM_DRIVER_ERR on failure (in case lock * locality. Returns 0 on success of TPM_DRIVER_ERR on failure (in case lock
* removal did not succeed). * removal did not succeed).
*/ */