summaryrefslogtreecommitdiff
path: root/src/superio/smsc/lpc47n227/superio.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-27 06:56:47 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-27 06:56:47 +0000
commit14e22779625de673569c7b950ecc2753fb915b31 (patch)
tree14a6ed759e116e9e6e9bbd7f499b74b96d6cc072 /src/superio/smsc/lpc47n227/superio.c
parent0e1e8065e303030c39c3f2c27e5d32ee58a16c66 (diff)
downloadcoreboot-14e22779625de673569c7b950ecc2753fb915b31.tar.xz
Since some people disapprove of white space cleanups mixed in regular commits
while others dislike them being extra commits, let's clean them up once and for all for the existing code. If it's ugly, let it only be ugly once :-) Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5507 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/smsc/lpc47n227/superio.c')
-rw-r--r--src/superio/smsc/lpc47n227/superio.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/superio/smsc/lpc47n227/superio.c b/src/superio/smsc/lpc47n227/superio.c
index 8dfb774b12..1431908f8e 100644
--- a/src/superio/smsc/lpc47n227/superio.c
+++ b/src/superio/smsc/lpc47n227/superio.c
@@ -76,9 +76,9 @@ static struct pnp_info pnp_dev_info[] = {
//----------------------------------------------------------------------------------
// Function: enable_dev
-// Parameters: dev - pointer to structure describing a Super I/O device
+// Parameters: dev - pointer to structure describing a Super I/O device
// Return Value: None
-// Description: Create device structures and allocate resources to devices
+// Description: Create device structures and allocate resources to devices
// specified in the pnp_dev_info array (above).
//
static void enable_dev(device_t dev)
@@ -89,7 +89,7 @@ static void enable_dev(device_t dev)
//----------------------------------------------------------------------------------
// Function: lpc47n227_pnp_set_resources
-// Parameters: dev - pointer to structure describing a Super I/O device
+// Parameters: dev - pointer to structure describing a Super I/O device
// Return Value: None
// Description: Configure the specified Super I/O device with the resources
// (I/O space, etc.) that have been allocate for it.
@@ -137,11 +137,11 @@ void lpc47n227_pnp_enable(device_t dev)
//----------------------------------------------------------------------------------
// Function: lpc47n227_init
-// Parameters: dev - pointer to structure describing a Super I/O device
+// Parameters: dev - pointer to structure describing a Super I/O device
// Return Value: None
// Description: Initialize the specified Super I/O device.
// Devices other than COM ports and keyboard controller are ignored.
-// For COM ports, we configure the baud rate.
+// For COM ports, we configure the baud rate.
//
static void lpc47n227_init(device_t dev)
{
@@ -236,7 +236,7 @@ void lpc47n227_pnp_set_drq(device_t dev, unsigned drq)
pnp_read_config(dev, PP_DMA_SELECTION_REGISTER);
uint8_t new_config;
- ASSERT(!(drq & ~PP_DMA_MASK)); // DRQ out of range??
+ ASSERT(!(drq & ~PP_DMA_MASK)); // DRQ out of range??
new_config = (current_config & ~PP_DMA_MASK) | drq;
pnp_write_config(dev, PP_DMA_SELECTION_REGISTER, new_config);
} else {
@@ -330,7 +330,7 @@ void lpc47n227_pnp_set_enable(device_t dev, int enable)
//----------------------------------------------------------------------------------
// Function: pnp_enter_conf_state
-// Parameters: dev - pointer to structure describing a Super I/O device
+// Parameters: dev - pointer to structure describing a Super I/O device
// Return Value: None
// Description: Enable access to the LPC47N227's configuration registers.
//
@@ -341,7 +341,7 @@ static void pnp_enter_conf_state(device_t dev)
//----------------------------------------------------------------------------------
// Function: pnp_exit_conf_state
-// Parameters: dev - pointer to structure describing a Super I/O device
+// Parameters: dev - pointer to structure describing a Super I/O device
// Return Value: None
// Description: Disable access to the LPC47N227's configuration registers.
//