Author: uwe Date: 2006-11-01 13:52:49 +0100 (Wed, 01 Nov 2006) New Revision: 2482
Modified: trunk/LinuxBIOSv2/documentation/RFC/chip.tex trunk/LinuxBIOSv2/src/superio/ite/it8661f/chip.h trunk/LinuxBIOSv2/src/superio/ite/it8661f/superio.c trunk/LinuxBIOSv2/src/superio/ite/it8671f/chip.h trunk/LinuxBIOSv2/src/superio/ite/it8671f/superio.c trunk/LinuxBIOSv2/src/superio/ite/it8673f/chip.h trunk/LinuxBIOSv2/src/superio/ite/it8673f/superio.c trunk/LinuxBIOSv2/src/superio/ite/it8705f/chip.h trunk/LinuxBIOSv2/src/superio/ite/it8705f/superio.c trunk/LinuxBIOSv2/src/superio/ite/it8712f/chip.h trunk/LinuxBIOSv2/src/superio/ite/it8712f/superio.c trunk/LinuxBIOSv2/src/superio/ite/it8716f/chip.h trunk/LinuxBIOSv2/src/superio/ite/it8716f/superio.c trunk/LinuxBIOSv2/src/superio/ite/it8718f/chip.h trunk/LinuxBIOSv2/src/superio/ite/it8718f/superio.c Log: Rename some variables from *ITE* to *ite* for consistency reasons (refs #4).
Signed-off-by: Uwe Hermann uwe@hermann-uwe.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/LinuxBIOSv2/documentation/RFC/chip.tex =================================================================== --- trunk/LinuxBIOSv2/documentation/RFC/chip.tex 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/documentation/RFC/chip.tex 2006-11-01 12:52:49 UTC (rev 2482) @@ -28,7 +28,7 @@ chip <name> [path=<path>] ["<configuration>"] \end{verbatim} The name is in the standard LinuxBIOS form of type/vendor/name, e.g. -"southbridge/intel/piix4e" or "superio/ITE/it8671f". The class of the +"southbridge/intel/piix4e" or "superio/ite/it8671f". The class of the chip is derived from the first pathname component of the name, and the chip configuration is derived from the following components.
@@ -50,9 +50,9 @@ For each chip, there are two structures. The structures contain control information for the chip, and register initialization information. The names of the structures are derived by ``flattening'' the chip name, -as in the current linuxbios. For example, superio/ITE/xyz uses -two structs, one called superio_ITE_xyz_control and one called -superio_ITE_xyz_init. The control struct is initialized from the +as in the current linuxbios. For example, superio/ite/xyz uses +two structs, one called superio_ite_xyz_control and one called +superio_ite_xyz_init. The control struct is initialized from the chip name and path information, and has a pointer to the config struct. The config struct is initialized from the quote string
Modified: trunk/LinuxBIOSv2/src/superio/ite/it8661f/chip.h =================================================================== --- trunk/LinuxBIOSv2/src/superio/ite/it8661f/chip.h 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/src/superio/ite/it8661f/chip.h 2006-11-01 12:52:49 UTC (rev 2482) @@ -24,9 +24,9 @@ /* #include <pc80/keyboard.h> */ #include <uart8250.h>
-extern struct chip_operations superio_ITE_it8661f_ops; +extern struct chip_operations superio_ite_it8661f_ops;
-struct superio_ITE_it8661f_config { +struct superio_ite_it8661f_config { struct uart8250 com1, com2; /* struct pc_keyboard keyboard; */ };
Modified: trunk/LinuxBIOSv2/src/superio/ite/it8661f/superio.c =================================================================== --- trunk/LinuxBIOSv2/src/superio/ite/it8661f/superio.c 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/src/superio/ite/it8661f/superio.c 2006-11-01 12:52:49 UTC (rev 2482) @@ -25,7 +25,7 @@
static void init(device_t dev) { - struct superio_ITE_it8661f_config *conf; + struct superio_ite_it8661f_config *conf; struct resource *res0, *res1;
if (!dev->enabled) { @@ -72,7 +72,7 @@ sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info); }
-struct chip_operations superio_ITE_it8661f_ops = { +struct chip_operations superio_ite_it8661f_ops = { CHIP_NAME("ITE it8661f") .enable_dev = enable_dev, };
Modified: trunk/LinuxBIOSv2/src/superio/ite/it8671f/chip.h =================================================================== --- trunk/LinuxBIOSv2/src/superio/ite/it8671f/chip.h 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/src/superio/ite/it8671f/chip.h 2006-11-01 12:52:49 UTC (rev 2482) @@ -22,9 +22,9 @@ #include <pc80/keyboard.h> #include <uart8250.h>
-extern struct chip_operations superio_ITE_it8671f_ops; +extern struct chip_operations superio_ite_it8671f_ops;
-struct superio_ITE_it8671f_config { +struct superio_ite_it8671f_config { struct uart8250 com1, com2; struct pc_keyboard keyboard; };
Modified: trunk/LinuxBIOSv2/src/superio/ite/it8671f/superio.c =================================================================== --- trunk/LinuxBIOSv2/src/superio/ite/it8671f/superio.c 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/src/superio/ite/it8671f/superio.c 2006-11-01 12:52:49 UTC (rev 2482) @@ -23,7 +23,7 @@
static void init(device_t dev) { - struct superio_ITE_it8671f_config *conf; + struct superio_ite_it8671f_config *conf; struct resource *res0, *res1;
if (!dev->enabled) { @@ -76,7 +76,7 @@ sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info); }
-struct chip_operations superio_ITE_it8671f_ops = { +struct chip_operations superio_ite_it8671f_ops = { CHIP_NAME("ITE it8671f") .enable_dev = enable_dev, };
Modified: trunk/LinuxBIOSv2/src/superio/ite/it8673f/chip.h =================================================================== --- trunk/LinuxBIOSv2/src/superio/ite/it8673f/chip.h 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/src/superio/ite/it8673f/chip.h 2006-11-01 12:52:49 UTC (rev 2482) @@ -22,9 +22,9 @@ #include <pc80/keyboard.h> #include <uart8250.h>
-extern struct chip_operations superio_ITE_it8673f_ops; +extern struct chip_operations superio_ite_it8673f_ops;
-struct superio_ITE_it8673f_config { +struct superio_ite_it8673f_config { struct uart8250 com1, com2; struct pc_keyboard keyboard; };
Modified: trunk/LinuxBIOSv2/src/superio/ite/it8673f/superio.c =================================================================== --- trunk/LinuxBIOSv2/src/superio/ite/it8673f/superio.c 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/src/superio/ite/it8673f/superio.c 2006-11-01 12:52:49 UTC (rev 2482) @@ -23,7 +23,7 @@
static void init(device_t dev) { - struct superio_ITE_it8673f_config *conf; + struct superio_ite_it8673f_config *conf; struct resource *res0, *res1;
if (!dev->enabled) { @@ -78,7 +78,7 @@ sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info); }
-struct chip_operations superio_ITE_it8673f_ops = { +struct chip_operations superio_ite_it8673f_ops = { CHIP_NAME("ITE it8673f") .enable_dev = enable_dev, };
Modified: trunk/LinuxBIOSv2/src/superio/ite/it8705f/chip.h =================================================================== --- trunk/LinuxBIOSv2/src/superio/ite/it8705f/chip.h 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/src/superio/ite/it8705f/chip.h 2006-11-01 12:52:49 UTC (rev 2482) @@ -23,9 +23,9 @@
#include <uart8250.h>
-extern struct chip_operations superio_ITE_it8705f_ops; +extern struct chip_operations superio_ite_it8705f_ops;
-struct superio_ITE_it8705f_config { +struct superio_ite_it8705f_config { struct uart8250 com1, com2; };
Modified: trunk/LinuxBIOSv2/src/superio/ite/it8705f/superio.c =================================================================== --- trunk/LinuxBIOSv2/src/superio/ite/it8705f/superio.c 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/src/superio/ite/it8705f/superio.c 2006-11-01 12:52:49 UTC (rev 2482) @@ -24,7 +24,7 @@
static void init(device_t dev) { - struct superio_ITE_it8705f_config *conf; + struct superio_ite_it8705f_config *conf; struct resource *res0, *res1;
if (!dev->enabled) { @@ -79,7 +79,7 @@ sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info); }
-struct chip_operations superio_ITE_it8705f_ops = { +struct chip_operations superio_ite_it8705f_ops = { CHIP_NAME("ITE it8705f") .enable_dev = enable_dev, };
Modified: trunk/LinuxBIOSv2/src/superio/ite/it8712f/chip.h =================================================================== --- trunk/LinuxBIOSv2/src/superio/ite/it8712f/chip.h 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/src/superio/ite/it8712f/chip.h 2006-11-01 12:52:49 UTC (rev 2482) @@ -22,9 +22,9 @@ #include <pc80/keyboard.h> #include <uart8250.h>
-extern struct chip_operations superio_ITE_it8712f_ops; +extern struct chip_operations superio_ite_it8712f_ops;
-struct superio_ITE_it8712f_config { +struct superio_ite_it8712f_config { struct uart8250 com1, com2; struct pc_keyboard keyboard; };
Modified: trunk/LinuxBIOSv2/src/superio/ite/it8712f/superio.c =================================================================== --- trunk/LinuxBIOSv2/src/superio/ite/it8712f/superio.c 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/src/superio/ite/it8712f/superio.c 2006-11-01 12:52:49 UTC (rev 2482) @@ -23,7 +23,7 @@
static void init(device_t dev) { - struct superio_ITE_it8712f_config *conf; + struct superio_ite_it8712f_config *conf; struct resource *res0, *res1;
if (!dev->enabled) { @@ -84,7 +84,7 @@ sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info); }
-struct chip_operations superio_ITE_it8712f_ops = { +struct chip_operations superio_ite_it8712f_ops = { CHIP_NAME("ITE it8712f") .enable_dev = enable_dev, };
Modified: trunk/LinuxBIOSv2/src/superio/ite/it8716f/chip.h =================================================================== --- trunk/LinuxBIOSv2/src/superio/ite/it8716f/chip.h 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/src/superio/ite/it8716f/chip.h 2006-11-01 12:52:49 UTC (rev 2482) @@ -22,9 +22,9 @@ #include <pc80/keyboard.h> #include <uart8250.h>
-extern struct chip_operations superio_ITE_it8716f_ops; +extern struct chip_operations superio_ite_it8716f_ops;
-struct superio_ITE_it8716f_config { +struct superio_ite_it8716f_config { struct uart8250 com1, com2; struct pc_keyboard keyboard; };
Modified: trunk/LinuxBIOSv2/src/superio/ite/it8716f/superio.c =================================================================== --- trunk/LinuxBIOSv2/src/superio/ite/it8716f/superio.c 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/src/superio/ite/it8716f/superio.c 2006-11-01 12:52:49 UTC (rev 2482) @@ -23,7 +23,7 @@
static void init(device_t dev) { - struct superio_ITE_it8716f_config *conf; + struct superio_ite_it8716f_config *conf; struct resource *res0, *res1;
if (!dev->enabled) { @@ -84,7 +84,7 @@ sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info); }
-struct chip_operations superio_ITE_it8716f_ops = { +struct chip_operations superio_ite_it8716f_ops = { CHIP_NAME("ITE it8716f") .enable_dev = enable_dev, };
Modified: trunk/LinuxBIOSv2/src/superio/ite/it8718f/chip.h =================================================================== --- trunk/LinuxBIOSv2/src/superio/ite/it8718f/chip.h 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/src/superio/ite/it8718f/chip.h 2006-11-01 12:52:49 UTC (rev 2482) @@ -22,9 +22,9 @@ #include <pc80/keyboard.h> #include <uart8250.h>
-extern struct chip_operations superio_ITE_it8718f_ops; +extern struct chip_operations superio_ite_it8718f_ops;
-struct superio_ITE_it8718f_config { +struct superio_ite_it8718f_config { struct uart8250 com1, com2; struct pc_keyboard keyboard; };
Modified: trunk/LinuxBIOSv2/src/superio/ite/it8718f/superio.c =================================================================== --- trunk/LinuxBIOSv2/src/superio/ite/it8718f/superio.c 2006-10-28 16:03:37 UTC (rev 2481) +++ trunk/LinuxBIOSv2/src/superio/ite/it8718f/superio.c 2006-11-01 12:52:49 UTC (rev 2482) @@ -23,7 +23,7 @@
static void init(device_t dev) { - struct superio_ITE_it8718f_config *conf; + struct superio_ite_it8718f_config *conf; struct resource *res0, *res1;
if (!dev->enabled) { @@ -80,7 +80,7 @@ sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info); }
-struct chip_operations superio_ITE_it8718f_ops = { +struct chip_operations superio_ite_it8718f_ops = { CHIP_NAME("ITE it8718f") .enable_dev = enable_dev, };