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> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2482 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
700b38a0d5
commit
f28674ec3c
|
@ -28,7 +28,7 @@ The specification looks like this:
|
||||||
chip <name> [path=<path>] ["<configuration>"]
|
chip <name> [path=<path>] ["<configuration>"]
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
The name is in the standard LinuxBIOS form of type/vendor/name, e.g.
|
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
|
chip is derived from the first pathname component of the name, and the chip
|
||||||
configuration is derived from the following components.
|
configuration is derived from the following components.
|
||||||
|
|
||||||
|
@ -50,9 +50,9 @@ each individual chip and an array of pointers to these structures.
|
||||||
For each chip, there are two structures. The structures contain control
|
For each chip, there are two structures. The structures contain control
|
||||||
information for the chip, and register initialization information. The
|
information for the chip, and register initialization information. The
|
||||||
names of the structures are derived by ``flattening'' the chip name,
|
names of the structures are derived by ``flattening'' the chip name,
|
||||||
as in the current linuxbios. For example, superio/ITE/xyz uses
|
as in the current linuxbios. For example, superio/ite/xyz uses
|
||||||
two structs, one called superio_ITE_xyz_control and one called
|
two structs, one called superio_ite_xyz_control and one called
|
||||||
superio_ITE_xyz_init. The control struct is initialized from the
|
superio_ite_xyz_init. The control struct is initialized from the
|
||||||
chip name and path information, and has a pointer to the
|
chip name and path information, and has a pointer to the
|
||||||
config struct. The config struct is initialized from the quote string
|
config struct. The config struct is initialized from the quote string
|
||||||
|
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
/* #include <pc80/keyboard.h> */
|
/* #include <pc80/keyboard.h> */
|
||||||
#include <uart8250.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 uart8250 com1, com2;
|
||||||
/* struct pc_keyboard keyboard; */
|
/* struct pc_keyboard keyboard; */
|
||||||
};
|
};
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
static void init(device_t dev)
|
static void init(device_t dev)
|
||||||
{
|
{
|
||||||
struct superio_ITE_it8661f_config *conf;
|
struct superio_ite_it8661f_config *conf;
|
||||||
struct resource *res0, *res1;
|
struct resource *res0, *res1;
|
||||||
|
|
||||||
if (!dev->enabled) {
|
if (!dev->enabled) {
|
||||||
|
@ -72,7 +72,7 @@ static void enable_dev(struct device *dev)
|
||||||
sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info);
|
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")
|
CHIP_NAME("ITE it8661f")
|
||||||
.enable_dev = enable_dev,
|
.enable_dev = enable_dev,
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
#include <pc80/keyboard.h>
|
#include <pc80/keyboard.h>
|
||||||
#include <uart8250.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 uart8250 com1, com2;
|
||||||
struct pc_keyboard keyboard;
|
struct pc_keyboard keyboard;
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
static void init(device_t dev)
|
static void init(device_t dev)
|
||||||
{
|
{
|
||||||
struct superio_ITE_it8671f_config *conf;
|
struct superio_ite_it8671f_config *conf;
|
||||||
struct resource *res0, *res1;
|
struct resource *res0, *res1;
|
||||||
|
|
||||||
if (!dev->enabled) {
|
if (!dev->enabled) {
|
||||||
|
@ -76,7 +76,7 @@ static void enable_dev(struct device *dev)
|
||||||
sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info);
|
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")
|
CHIP_NAME("ITE it8671f")
|
||||||
.enable_dev = enable_dev,
|
.enable_dev = enable_dev,
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
#include <pc80/keyboard.h>
|
#include <pc80/keyboard.h>
|
||||||
#include <uart8250.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 uart8250 com1, com2;
|
||||||
struct pc_keyboard keyboard;
|
struct pc_keyboard keyboard;
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
static void init(device_t dev)
|
static void init(device_t dev)
|
||||||
{
|
{
|
||||||
struct superio_ITE_it8673f_config *conf;
|
struct superio_ite_it8673f_config *conf;
|
||||||
struct resource *res0, *res1;
|
struct resource *res0, *res1;
|
||||||
|
|
||||||
if (!dev->enabled) {
|
if (!dev->enabled) {
|
||||||
|
@ -78,7 +78,7 @@ static void enable_dev(struct device *dev)
|
||||||
sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info);
|
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")
|
CHIP_NAME("ITE it8673f")
|
||||||
.enable_dev = enable_dev,
|
.enable_dev = enable_dev,
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,9 +23,9 @@
|
||||||
|
|
||||||
#include <uart8250.h>
|
#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;
|
struct uart8250 com1, com2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
static void init(device_t dev)
|
static void init(device_t dev)
|
||||||
{
|
{
|
||||||
struct superio_ITE_it8705f_config *conf;
|
struct superio_ite_it8705f_config *conf;
|
||||||
struct resource *res0, *res1;
|
struct resource *res0, *res1;
|
||||||
|
|
||||||
if (!dev->enabled) {
|
if (!dev->enabled) {
|
||||||
|
@ -79,7 +79,7 @@ static void enable_dev(struct device *dev)
|
||||||
sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info);
|
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")
|
CHIP_NAME("ITE it8705f")
|
||||||
.enable_dev = enable_dev,
|
.enable_dev = enable_dev,
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
#include <pc80/keyboard.h>
|
#include <pc80/keyboard.h>
|
||||||
#include <uart8250.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 uart8250 com1, com2;
|
||||||
struct pc_keyboard keyboard;
|
struct pc_keyboard keyboard;
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
static void init(device_t dev)
|
static void init(device_t dev)
|
||||||
{
|
{
|
||||||
struct superio_ITE_it8712f_config *conf;
|
struct superio_ite_it8712f_config *conf;
|
||||||
struct resource *res0, *res1;
|
struct resource *res0, *res1;
|
||||||
|
|
||||||
if (!dev->enabled) {
|
if (!dev->enabled) {
|
||||||
|
@ -84,7 +84,7 @@ static void enable_dev(struct device *dev)
|
||||||
sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info);
|
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")
|
CHIP_NAME("ITE it8712f")
|
||||||
.enable_dev = enable_dev,
|
.enable_dev = enable_dev,
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
#include <pc80/keyboard.h>
|
#include <pc80/keyboard.h>
|
||||||
#include <uart8250.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 uart8250 com1, com2;
|
||||||
struct pc_keyboard keyboard;
|
struct pc_keyboard keyboard;
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
static void init(device_t dev)
|
static void init(device_t dev)
|
||||||
{
|
{
|
||||||
struct superio_ITE_it8716f_config *conf;
|
struct superio_ite_it8716f_config *conf;
|
||||||
struct resource *res0, *res1;
|
struct resource *res0, *res1;
|
||||||
|
|
||||||
if (!dev->enabled) {
|
if (!dev->enabled) {
|
||||||
|
@ -84,7 +84,7 @@ static void enable_dev(struct device *dev)
|
||||||
sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info);
|
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")
|
CHIP_NAME("ITE it8716f")
|
||||||
.enable_dev = enable_dev,
|
.enable_dev = enable_dev,
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
#include <pc80/keyboard.h>
|
#include <pc80/keyboard.h>
|
||||||
#include <uart8250.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 uart8250 com1, com2;
|
||||||
struct pc_keyboard keyboard;
|
struct pc_keyboard keyboard;
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
static void init(device_t dev)
|
static void init(device_t dev)
|
||||||
{
|
{
|
||||||
struct superio_ITE_it8718f_config *conf;
|
struct superio_ite_it8718f_config *conf;
|
||||||
struct resource *res0, *res1;
|
struct resource *res0, *res1;
|
||||||
|
|
||||||
if (!dev->enabled) {
|
if (!dev->enabled) {
|
||||||
|
@ -80,7 +80,7 @@ static void enable_dev(struct device *dev)
|
||||||
sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]), pnp_dev_info);
|
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")
|
CHIP_NAME("ITE it8718f")
|
||||||
.enable_dev = enable_dev,
|
.enable_dev = enable_dev,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue