diff options
author | Zheng Bao <zheng.bao@amd.com> | 2009-12-28 09:59:44 +0000 |
---|---|---|
committer | Zheng Bao <Zheng.Bao@amd.com> | 2009-12-28 09:59:44 +0000 |
commit | 9db833bec394b886ca990965970cdb100b65d9ac (patch) | |
tree | b06137607c918debaf7afb522feb3a56ee6f7ba5 /src/superio/ite/it8705f | |
parent | 0f0aa15e7eac54dae8d1710c3a4751c80b61709a (diff) | |
download | coreboot-9db833bec394b886ca990965970cdb100b65d9ac.tar.xz |
trival. All the changes is about comment and spaces.
In superio folder.
1. Delete trailing white spaces.
2. Change the // comment to /* */.
3. Add some copyright header.
4. reindent.
5. delete multi blank lines.
I tried my best to find them. If anything left, please fix it
or tell me.
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Zheng Bao <zheng.bao@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4993 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/ite/it8705f')
-rw-r--r-- | src/superio/ite/it8705f/Config.lb | 1 | ||||
-rw-r--r-- | src/superio/ite/it8705f/Makefile.inc | 1 | ||||
-rw-r--r-- | src/superio/ite/it8705f/chip.h | 1 | ||||
-rw-r--r-- | src/superio/ite/it8705f/it8705f.h | 1 | ||||
-rw-r--r-- | src/superio/ite/it8705f/it8705f_early_serial.c | 5 | ||||
-rw-r--r-- | src/superio/ite/it8705f/superio.c | 5 |
6 files changed, 4 insertions, 10 deletions
diff --git a/src/superio/ite/it8705f/Config.lb b/src/superio/ite/it8705f/Config.lb index e1290e2fad..8e91c171ce 100644 --- a/src/superio/ite/it8705f/Config.lb +++ b/src/superio/ite/it8705f/Config.lb @@ -20,4 +20,3 @@ config chip.h object superio.o - diff --git a/src/superio/ite/it8705f/Makefile.inc b/src/superio/ite/it8705f/Makefile.inc index 468c0e8aec..6c20a41300 100644 --- a/src/superio/ite/it8705f/Makefile.inc +++ b/src/superio/ite/it8705f/Makefile.inc @@ -20,4 +20,3 @@ #config chip.h obj-$(CONFIG_SUPERIO_ITE_IT8705F) += superio.o - diff --git a/src/superio/ite/it8705f/chip.h b/src/superio/ite/it8705f/chip.h index c970ca8820..7702247ed9 100644 --- a/src/superio/ite/it8705f/chip.h +++ b/src/superio/ite/it8705f/chip.h @@ -33,4 +33,3 @@ struct superio_ite_it8705f_config { }; #endif /* _SUPERIO_ITE_IT8705F */ - diff --git a/src/superio/ite/it8705f/it8705f.h b/src/superio/ite/it8705f/it8705f.h index 541b1a5dfa..68172d5aec 100644 --- a/src/superio/ite/it8705f/it8705f.h +++ b/src/superio/ite/it8705f/it8705f.h @@ -33,4 +33,3 @@ #define IT8705F_GAME 0x06 /* GAME port */ #define IT8705F_IR 0x07 /* Consumer IR */ #define IT8705F_MIDI 0x08 /* MIDI port */ - diff --git a/src/superio/ite/it8705f/it8705f_early_serial.c b/src/superio/ite/it8705f/it8705f_early_serial.c index a8615d3984..8930d1b8df 100644 --- a/src/superio/ite/it8705f/it8705f_early_serial.c +++ b/src/superio/ite/it8705f/it8705f_early_serial.c @@ -63,8 +63,8 @@ static void it8705f_enable_serial(device_t dev, unsigned iobase) /* (2) Modify the data of configuration registers. */ /* Select the chip to configure (if there's more than one). - Set bit 7 to select JP3=1, clear bit 7 to select JP3=0. - If this register is not written, both chips are configured. */ + Set bit 7 to select JP3=1, clear bit 7 to select JP3=0. + If this register is not written, both chips are configured. */ /* it8705f_sio_write(0x00, IT8705F_CONFIG_REG_CONFIGSEL, 0x00); */ /* Enable serial port(s). */ @@ -80,4 +80,3 @@ static void it8705f_enable_serial(device_t dev, unsigned iobase) /* (3) Exit the configuration state (MB PnP mode). */ it8705f_sio_write(0x00, IT8705F_CONFIG_REG_CC, 0x02); } - diff --git a/src/superio/ite/it8705f/superio.c b/src/superio/ite/it8705f/superio.c index fda705c27a..27f66c3bf5 100644 --- a/src/superio/ite/it8705f/superio.c +++ b/src/superio/ite/it8705f/superio.c @@ -74,8 +74,8 @@ static struct device_operations ops = { /* TODO: FDC, PP, EC, GPIO, GAME, IR, MIDI. */ static struct pnp_info pnp_dev_info[] = { - { &ops, IT8705F_SP1, PNP_IO0 | PNP_IRQ0, { 0x7f8, 0 }, }, - { &ops, IT8705F_SP2, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1, { 0x7f8, 0 }, }, + { &ops, IT8705F_SP1, PNP_IO0 | PNP_IRQ0, { 0x7f8, 0 }, }, + { &ops, IT8705F_SP2, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1, { 0x7f8, 0 }, }, }; static void enable_dev(struct device *dev) @@ -88,4 +88,3 @@ struct chip_operations superio_ite_it8705f_ops = { CHIP_NAME("ITE IT8705F Super I/O") .enable_dev = enable_dev, }; - |