Carl-Daniel's part:

This patch converts mainboard_$VENDOR_$BOARD_ops to mainboard_ops and 
mainboard_$VENDOR_$BOARD_config to mainboard_config.

Ron's part:
The config change that makes the naming change not break every build.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3954 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Carl-Daniel Hailfinger 2009-02-18 20:41:57 +00:00 committed by Myles Watson
parent d58671c4bf
commit 7ad11e8d33
198 changed files with 305 additions and 305 deletions

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_a_trend_atc_6220_ops; extern struct chip_operations mainboard_ops;
struct mainboard_a_trend_atc_6220_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_a_trend_atc_6220_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("A-Trend ATC-6220 Mainboard") CHIP_NAME("A-Trend ATC-6220 Mainboard")
}; };

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_a_trend_atc_6240_ops; extern struct chip_operations mainboard_ops;
struct mainboard_a_trend_atc_6240_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_a_trend_atc_6240_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("A-Trend ATC-6240 Mainboard") CHIP_NAME("A-Trend ATC-6240 Mainboard")
}; };

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_abit_be6_ii_v2_0_ops; extern struct chip_operations mainboard_ops;
struct mainboard_abit_be6_ii_v2_0_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_abit_be6_ii_v2_0_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("Abit BE6-II V2.0 Mainboard") CHIP_NAME("Abit BE6-II V2.0 Mainboard")
}; };

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_advantech_pcm_5820_ops; extern struct chip_operations mainboard_ops;
struct mainboard_advantech_pcm_5820_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_advantech_pcm_5820_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("Advantech PCM-5820 Mainboard") CHIP_NAME("Advantech PCM-5820 Mainboard")
}; };

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_amd_db800_ops; extern struct chip_operations mainboard_ops;
struct mainboard_amd_db800_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -32,7 +32,7 @@ static void enable_dev(struct device *dev)
dev->ops->init = init; dev->ops->init = init;
} }
struct chip_operations mainboard_amd_db800_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("AMD DB800 Mainboard") CHIP_NAME("AMD DB800 Mainboard")
.enable_dev = enable_dev, .enable_dev = enable_dev,
}; };

View File

@ -17,9 +17,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_amd_dbm690t_ops; extern struct chip_operations mainboard_ops;
struct mainboard_amd_dbm690t_config struct mainboard_config
{ {
u32 uma_size; /* How many UMA should be used in memory for TOP. */ u32 uma_size; /* How many UMA should be used in memory for TOP. */
}; };

View File

@ -199,8 +199,8 @@ static void set_thermal_config()
*************************************************/ *************************************************/
void dbm690t_enable(device_t dev) void dbm690t_enable(device_t dev)
{ {
struct mainboard_amd_dbm690t_config *mainboard = struct mainboard_config *mainboard =
(struct mainboard_amd_dbm690t_config *)dev->chip_info; (struct mainboard_config *)dev->chip_info;
printk_info("Mainboard DBM690T Enable. dev=0x%x\n", dev); printk_info("Mainboard DBM690T Enable. dev=0x%x\n", dev);
@ -266,7 +266,7 @@ int add_mainboard_resources(struct lb_memory *mem)
/* /*
* CONFIG_CHIP_NAME defined in Option.lb. * CONFIG_CHIP_NAME defined in Option.lb.
*/ */
struct chip_operations mainboard_amd_dbm690t_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("AMD DBM690T Mainboard") CHIP_NAME("AMD DBM690T Mainboard")
.enable_dev = dbm690t_enable, .enable_dev = dbm690t_enable,
}; };

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_amd_norwich_ops; extern struct chip_operations mainboard_ops;
struct mainboard_amd_norwich_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -32,7 +32,7 @@ static void enable_dev(struct device *dev)
dev->ops->init = init; dev->ops->init = init;
} }
struct chip_operations mainboard_amd_norwich_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("AMD Norwich Mainboard") CHIP_NAME("AMD Norwich Mainboard")
.enable_dev = enable_dev, .enable_dev = enable_dev,
}; };

View File

@ -17,9 +17,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_amd_pistachio_ops; extern struct chip_operations mainboard_ops;
struct mainboard_amd_pistachio_config struct mainboard_config
{ {
unsigned long uma_size; /* How many UMA should be used in memory for TOP. */ unsigned long uma_size; /* How many UMA should be used in memory for TOP. */
}; };

View File

@ -271,8 +271,8 @@ static void set_thermal_config()
*************************************************/ *************************************************/
void pistachio_enable(device_t dev) void pistachio_enable(device_t dev)
{ {
struct mainboard_amd_pistachio_config *mainboard = struct mainboard_config *mainboard =
(struct mainboard_amd_pistachio_config *)dev->chip_info; (struct mainboard_config *)dev->chip_info;
printk_info("Mainboard Pistachio Enable. dev=0x%x\n", dev); printk_info("Mainboard Pistachio Enable. dev=0x%x\n", dev);
@ -338,7 +338,7 @@ int add_mainboard_resources(struct lb_memory *mem)
/* /*
* CONFIG_CHIP_NAME defined in Option.lb. * CONFIG_CHIP_NAME defined in Option.lb.
*/ */
struct chip_operations mainboard_amd_pistachio_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("AMD Pistachio Mainboard") CHIP_NAME("AMD Pistachio Mainboard")
.enable_dev = pistachio_enable, .enable_dev = pistachio_enable,
}; };

View File

@ -1,5 +1,5 @@
extern struct chip_operations mainboard_amd_rumba_ops; extern struct chip_operations mainboard_ops;
struct mainboard_amd_rumba_config { struct mainboard_config {
int nicirq; int nicirq;
}; };

View File

@ -7,7 +7,7 @@
#include "chip.h" #include "chip.h"
static void init(struct device *dev) { static void init(struct device *dev) {
struct mainboard_amd_rumba_config *mainboard = (struct mainboard_amd_rumba_config*)dev->chip_info; struct mainboard_config *mainboard = (struct mainboard_config*)dev->chip_info;
device_t nic = NULL; device_t nic = NULL;
unsigned bus = 0; unsigned bus = 0;
unsigned devfn = PCI_DEVFN(0xd, 0); unsigned devfn = PCI_DEVFN(0xd, 0);
@ -36,7 +36,7 @@ static void enable_dev(struct device *dev)
dev->ops->init = init; dev->ops->init = init;
} }
struct chip_operations mainboard_amd_rumba_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("AMD Rumba Mainboard") CHIP_NAME("AMD Rumba Mainboard")
.enable_dev = enable_dev, .enable_dev = enable_dev,
}; };

View File

@ -1,6 +1,6 @@
extern struct chip_operations mainboard_amd_serengeti_cheetah_ops; extern struct chip_operations mainboard_ops;
struct mainboard_amd_serengeti_cheetah_config { struct mainboard_config {
// int fixup_scsi; // int fixup_scsi;
// int fixup_vga; // int fixup_vga;
}; };

View File

@ -2,7 +2,7 @@
#include "chip.h" #include "chip.h"
#if CONFIG_CHIP_NAME == 1 #if CONFIG_CHIP_NAME == 1
struct chip_operations mainboard_amd_serengeti_cheetah_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("AMD Serengeti Cheetah Mainboard") CHIP_NAME("AMD Serengeti Cheetah Mainboard")
}; };
#endif #endif

View File

@ -18,9 +18,9 @@
*/ */
extern struct chip_operations mainboard_amd_serengeti_cheetah_fam10_ops; extern struct chip_operations mainboard_ops;
struct mainboard_amd_serengeti_cheetah_fam10_config { struct mainboard_config {
// int fixup_scsi; // int fixup_scsi;
// int fixup_vga; // int fixup_vga;
}; };

View File

@ -26,7 +26,7 @@
#include "chip.h" #include "chip.h"
#if CONFIG_CHIP_NAME == 1 #if CONFIG_CHIP_NAME == 1
struct chip_operations mainboard_amd_serengeti_cheetah_fam10_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("AMD family 10 Cheetah mainboard") CHIP_NAME("AMD family 10 Cheetah mainboard")
}; };
#endif #endif

View File

@ -1,5 +1,5 @@
extern struct chip_operations mainboard_arima_hdama_ops; extern struct chip_operations mainboard_ops;
struct mainboard_arima_hdama_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -1,7 +1,7 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_arima_hdama_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("Arima HDAMA Mainboard") CHIP_NAME("Arima HDAMA Mainboard")
}; };

View File

@ -1,5 +1,5 @@
extern struct chip_operations mainboard_artecgroup_dbe61_ops; extern struct chip_operations mainboard_ops;
struct mainboard_artecgroup_dbe61_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -52,7 +52,7 @@ static void enable_dev(struct device *dev)
dev->ops->init = init; dev->ops->init = init;
} }
struct chip_operations mainboard_artecgroup_dbe61_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("Artec Group dbe61 Mainboard") CHIP_NAME("Artec Group dbe61 Mainboard")
.enable_dev = enable_dev, .enable_dev = enable_dev,
}; };

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_asi_mb_5blgp_ops; extern struct chip_operations mainboard_ops;
struct mainboard_asi_mb_5blgp_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_asi_mb_5blgp_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("ASI MB-5BLGP Mainboard") CHIP_NAME("ASI MB-5BLGP Mainboard")
}; };

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_asi_mb_5blmp_ops; extern struct chip_operations mainboard_ops;
struct mainboard_asi_mb_5blmp_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -21,7 +21,7 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_asi_mb_5blmp_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("ASI/BCom MB-5BLMP Mainboard") CHIP_NAME("ASI/BCom MB-5BLMP Mainboard")
}; };

View File

@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_asus_a8n_e_ops; extern struct chip_operations mainboard_ops;
struct mainboard_asus_a8n_e_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -23,7 +23,7 @@
#include "chip.h" #include "chip.h"
#if CONFIG_CHIP_NAME == 1 #if CONFIG_CHIP_NAME == 1
struct chip_operations mainboard_asus_a8n_e_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS A8N-E Mainboard") CHIP_NAME("ASUS A8N-E Mainboard")
}; };
#endif #endif

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_asus_a8v_e_se_ops; extern struct chip_operations mainboard_ops;
struct mainboard_asus_a8v_e_se_config { struct mainboard_config {
}; };

View File

@ -24,7 +24,7 @@
#include "chip.h" #include "chip.h"
#if CONFIG_CHIP_NAME == 1 #if CONFIG_CHIP_NAME == 1
struct chip_operations mainboard_asus_a8v_e_se_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS A8V-E SE Mainboard") CHIP_NAME("ASUS A8V-E SE Mainboard")
}; };
#endif #endif

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_asus_m2v_mx_se_ops; extern struct chip_operations mainboard_ops;
struct mainboard_asus_m2v_mx_se_config { struct mainboard_config {
}; };

View File

@ -24,7 +24,7 @@
#include "chip.h" #include "chip.h"
#if CONFIG_CHIP_NAME == 1 #if CONFIG_CHIP_NAME == 1
struct chip_operations mainboard_asus_m2v_se_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS M2V-MX SE Mainboard") CHIP_NAME("ASUS M2V-MX SE Mainboard")
}; };
#endif #endif

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_asus_mew_am_ops; extern struct chip_operations mainboard_ops;
struct mainboard_asus_mew_am_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_asus_mew_am_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS MEW-AM Mainboard") CHIP_NAME("ASUS MEW-AM Mainboard")
}; };

View File

@ -1,5 +1,5 @@
extern struct chip_operations mainboard_asus_mew_vm_ops; extern struct chip_operations mainboard_ops;
struct mainboard_asus_mew_vm_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -1,6 +1,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_asus_mew_vm_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS MEW-VM Mainboard") CHIP_NAME("ASUS MEW-VM Mainboard")
}; };

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_asus_p2b_ds_ops; extern struct chip_operations mainboard_ops;
struct mainboard_asus_p2b_ds_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_asus_p2b_ds_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS P2B-DS Mainboard") CHIP_NAME("ASUS P2B-DS Mainboard")
}; };

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_asus_p2b_f_ops; extern struct chip_operations mainboard_ops;
struct mainboard_asus_p2b_f_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_asus_p2b_f_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS P2B-F Mainboard") CHIP_NAME("ASUS P2B-F Mainboard")
}; };

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_asus_p2b_ops; extern struct chip_operations mainboard_ops;
struct mainboard_asus_p2b_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_asus_p2b_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS P2B Mainboard") CHIP_NAME("ASUS P2B Mainboard")
}; };

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_asus_p3b_f_ops; extern struct chip_operations mainboard_ops;
struct mainboard_asus_p3b_f_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_asus_p3b_f_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS P3B-F Mainboard") CHIP_NAME("ASUS P3B-F Mainboard")
}; };

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_axus_tc320_ops; extern struct chip_operations mainboard_ops;
struct mainboard_axus_tc320_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_axus_tc320_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("AXUS TC320 Mainboard") CHIP_NAME("AXUS TC320 Mainboard")
}; };

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_azza_pt_6ibd_ops; extern struct chip_operations mainboard_ops;
struct mainboard_azza_pt_6ibd_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_azza_pt_6ibd_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("AZZA PT-6IBD Mainboard") CHIP_NAME("AZZA PT-6IBD Mainboard")
}; };

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_bcom_winnet100_ops; extern struct chip_operations mainboard_ops;
struct mainboard_bcom_winnet100_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_bcom_winnet100_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("BCOM WinNET100 Mainboard") CHIP_NAME("BCOM WinNET100 Mainboard")
}; };

View File

@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_bcom_winnetp680_ops; extern struct chip_operations mainboard_ops;
struct mainboard_bcom_winnetp680_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -22,6 +22,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_bcom_winnetp680_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("BCOM WinNET P680 Mainboard") CHIP_NAME("BCOM WinNET P680 Mainboard")
}; };

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_biostar_m6tba_ops; extern struct chip_operations mainboard_ops;
struct mainboard_biostar_m6tba_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_biostar_m6tba_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("Biostar M6TBA Mainboard") CHIP_NAME("Biostar M6TBA Mainboard")
}; };

View File

@ -1,6 +1,6 @@
extern struct chip_operations mainboard_broadcom_blast_ops; extern struct chip_operations mainboard_ops;
struct mainboard_broadcom_blast_config { struct mainboard_config {
// int fixup_scsi; // int fixup_scsi;
// int fixup_vga; // int fixup_vga;
}; };

View File

@ -2,7 +2,7 @@
#include "chip.h" #include "chip.h"
#if CONFIG_CHIP_NAME == 1 #if CONFIG_CHIP_NAME == 1
struct chip_operations mainboard_broadcom_blast_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("Broadcom Blast Mainboard") CHIP_NAME("Broadcom Blast Mainboard")
}; };
#endif #endif

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_compaq_deskpro_en_sff_p600_ops; extern struct chip_operations mainboard_ops;
struct mainboard_compaq_deskpro_en_sff_p600_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_compaq_deskpro_en_sff_p600_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("Compaq Deskpro EN SFF P600 Mainboard") CHIP_NAME("Compaq Deskpro EN SFF P600 Mainboard")
}; };

View File

@ -1,5 +1,5 @@
struct chip_operations mainboard_dell_s1850_ops; struct chip_operations mainboard_ops;
struct mainboard_dell_s1850_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -1,7 +1,7 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_dell_s1850_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("Dell S1850 Mainboard") CHIP_NAME("Dell S1850 Mainboard")
}; };

View File

@ -1,5 +1,5 @@
extern struct chip_operations mainboard_digitallogic_adl855pc_ops; extern struct chip_operations mainboard_ops;
struct mainboard_digitallogic_adl855pc_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -1,7 +1,7 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_digitallogic_adl855pc_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("DIGITAL-LOGIC ADL855PC Mainboard") CHIP_NAME("DIGITAL-LOGIC ADL855PC Mainboard")
}; };

View File

@ -1,5 +1,5 @@
extern struct chip_operations mainboard_digitallogic_msm586seg_ops; extern struct chip_operations mainboard_ops;
struct mainboard_digitallogic_msm586seg_config { struct mainboard_config {
}; };

View File

@ -141,7 +141,7 @@ static void enable_dev(struct device *dev) {
} }
struct chip_operations mainboard_digitallogic_msm586seg_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("DIGITAL-LOGIC MSM586SEG Mainboard") CHIP_NAME("DIGITAL-LOGIC MSM586SEG Mainboard")
.enable_dev = enable_dev .enable_dev = enable_dev
}; };

View File

@ -1,5 +1,5 @@
extern struct chip_operations mainboard_digitallogic_msm800sev_ops; extern struct chip_operations mainboard_ops;
struct mainboard_digitallogic_msm800sev_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -32,7 +32,7 @@ static void enable_dev(struct device *dev)
dev->ops->init = init; dev->ops->init = init;
} }
struct chip_operations mainboard_digitallogic_msm800sev_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("DIGITAL-LOGIC MSM800SEV Mainboard") CHIP_NAME("DIGITAL-LOGIC MSM800SEV Mainboard")
.enable_dev = enable_dev, .enable_dev = enable_dev,
}; };

View File

@ -1,5 +1,5 @@
extern struct chip_operations mainboard_eaglelion_5bcm_ops; extern struct chip_operations mainboard_ops;
struct mainboard_eaglelion_5bcm_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -1,7 +1,7 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_eaglelion_5bcm_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("Eaglelion 5BCM Mainboard") CHIP_NAME("Eaglelion 5BCM Mainboard")
}; };

View File

@ -1,4 +1,4 @@
extern struct chip_operations mainboard_emulation_qemu_x86_ops; extern struct chip_operations mainboard_ops;
struct mainboard_emulation_qemu_x86_config { struct mainboard_config {
}; };

View File

@ -35,7 +35,7 @@ static const struct pci_driver vga_driver __pci_driver = {
.device = 0x00b8, .device = 0x00b8,
}; };
struct chip_operations mainboard_emulation_qemu_x86_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("QEMU Mainboard") CHIP_NAME("QEMU Mainboard")
}; };

View File

@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_gigabyte_ga_6bxc_ops; extern struct chip_operations mainboard_ops;
struct mainboard_gigabyte_ga_6bxc_config {}; struct mainboard_config {};

View File

@ -21,6 +21,6 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_gigabyte_ga_6bxc_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("GIGABYTE GA-6BXC Mainboard") CHIP_NAME("GIGABYTE GA-6BXC Mainboard")
}; };

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_gigabyte_ga_2761gxdk_ops; extern struct chip_operations mainboard_ops;
struct mainboard_gigabyte_ga_2761gxdk_config { struct mainboard_config {
}; };

View File

@ -27,7 +27,7 @@
#include "chip.h" #include "chip.h"
#if CONFIG_CHIP_NAME == 1 #if CONFIG_CHIP_NAME == 1
struct chip_operations mainboard_gigabyte_ga_2761gxdk_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("GIGABYTE GA-2761GXDK Mainboard") CHIP_NAME("GIGABYTE GA-2761GXDK Mainboard")
}; };
#endif #endif

View File

@ -19,9 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_gigabyte_m57sli_ops; extern struct chip_operations mainboard_ops;
struct mainboard_gigabyte_m57sli_config { struct mainboard_config {
// int fixup_scsi; // int fixup_scsi;
// int fixup_vga; // int fixup_vga;
}; };

View File

@ -27,7 +27,7 @@
#include "chip.h" #include "chip.h"
#if CONFIG_CHIP_NAME == 1 #if CONFIG_CHIP_NAME == 1
struct chip_operations mainboard_gigabyte_m57sli_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("GIGABYTE GA-M57SLI Mainboard") CHIP_NAME("GIGABYTE GA-M57SLI Mainboard")
}; };
#endif #endif

View File

@ -1,5 +1,5 @@
extern struct chip_operations mainboard_ibm_e325_ops; extern struct chip_operations mainboard_ops;
struct mainboard_ibm_e325_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -1,7 +1,7 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_ibm_e325_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("IBM eServer 325 Mainboard") CHIP_NAME("IBM eServer 325 Mainboard")
}; };

View File

@ -1,5 +1,5 @@
extern struct chip_operations mainboard_ibm_e326_ops; extern struct chip_operations mainboard_ops;
struct mainboard_ibm_e326_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -1,7 +1,7 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_ibm_e326_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("IBM eServer 326 Mainboard") CHIP_NAME("IBM eServer 326 Mainboard")
}; };

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_iei_juki_511p_ops; extern struct chip_operations mainboard_ops;
struct mainboard_iei_juki_511p_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -26,6 +26,6 @@
#include <arch/io.h> #include <arch/io.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_iei_juki_511p_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("IEI JUKI-511P Mainboard") CHIP_NAME("IEI JUKI-511P Mainboard")
}; };

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_iei_nova4899r_ops; extern struct chip_operations mainboard_ops;
struct mainboard_iei_nova4899r_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -26,6 +26,6 @@
#include <arch/io.h> #include <arch/io.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_iei_nova4899r_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("IEI NOVA-4899R Mainboard") CHIP_NAME("IEI NOVA-4899R Mainboard")
}; };

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
extern struct chip_operations mainboard_iei_pcisa_lx_800_r10_ops; extern struct chip_operations mainboard_ops;
struct mainboard_iei_pcisa_lx_800_r10_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -20,6 +20,6 @@
#include <device/device.h> #include <device/device.h>
struct chip_operations mainboard_iei_pcisa_lx_800_r10_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("IEI PCISA-LX-800-R10 Mainboard") CHIP_NAME("IEI PCISA-LX-800-R10 Mainboard")
}; };

View File

@ -1,5 +1,5 @@
struct chip_operations mainboard_intel_jarrell_ops; struct chip_operations mainboard_ops;
struct mainboard_intel_jarrell_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -1,7 +1,7 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_intel_e7520_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("Intel Jarell Mainboard") CHIP_NAME("Intel Jarell Mainboard")
}; };

View File

@ -18,8 +18,8 @@
* *
*/ */
struct chip_operations mainboard_intel_mtarvon_ops; struct chip_operations mainboard_ops;
struct mainboard_intel_mtarvon_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -21,7 +21,7 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_intel_mtarvon_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("Intel Mt. Arvon Mainboard") CHIP_NAME("Intel Mt. Arvon Mainboard")
}; };

View File

@ -18,8 +18,8 @@
* *
*/ */
struct chip_operations mainboard_intel_truxton_ops; struct chip_operations mainboard_ops;
struct mainboard_intel_truxton_config { struct mainboard_config {
int nothing; int nothing;
}; };

View File

@ -21,7 +21,7 @@
#include <device/device.h> #include <device/device.h>
#include "chip.h" #include "chip.h"
struct chip_operations mainboard_intel_truxton_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("Intel Truxton Mainboard") CHIP_NAME("Intel Truxton Mainboard")
}; };

View File

@ -1,6 +1,6 @@
extern unsigned char _vgarom_start[]; extern unsigned char _vgarom_start[];
extern struct chip_operations mainboard_intel_xe7501devkit_ops; extern struct chip_operations mainboard_ops;
struct mainboard_intel_xe7501devkit_config { struct mainboard_config {
}; };

View File

@ -2,7 +2,7 @@
#include "chip.h" #include "chip.h"
#if CONFIG_CHIP_NAME == 1 #if CONFIG_CHIP_NAME == 1
struct chip_operations mainboard_intel_xe7501devkit_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("Intel Xeon E7501 DevKit Mainboard") CHIP_NAME("Intel Xeon E7501 DevKit Mainboard")
}; };
#endif #endif

View File

@ -1,6 +1,6 @@
extern struct chip_operations mainboard_iwill_dk8_htx_ops; extern struct chip_operations mainboard_ops;
struct mainboard_iwill_dk8_htx_config { struct mainboard_config {
// int fixup_scsi; // int fixup_scsi;
// int fixup_vga; // int fixup_vga;
}; };

View File

@ -2,7 +2,7 @@
#include "chip.h" #include "chip.h"
#if CONFIG_CHIP_NAME == 1 #if CONFIG_CHIP_NAME == 1
struct chip_operations mainboard_iwill_dk8_htx_ops = { struct chip_operations mainboard_ops = {
CHIP_NAME("IWILL DK8-HTX Mainboard") CHIP_NAME("IWILL DK8-HTX Mainboard")
}; };
#endif #endif

Some files were not shown because too many files have changed in this diff Show More