mb/asus: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I8fe817bb514c69a647c2208a0573a2c5fe98722d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26076 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
5a0757cf74
commit
02b05d1f6b
@ -21,7 +21,7 @@
|
|||||||
/* APIC */
|
/* APIC */
|
||||||
unsigned long acpi_fill_madt(unsigned long current)
|
unsigned long acpi_fill_madt(unsigned long current)
|
||||||
{
|
{
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
struct resource *res;
|
struct resource *res;
|
||||||
|
|
||||||
/* create all subtables for processors */
|
/* create all subtables for processors */
|
||||||
|
@ -57,7 +57,7 @@ static unsigned get_bus_conf_done = 0;
|
|||||||
void get_bus_conf(void)
|
void get_bus_conf(void)
|
||||||
{
|
{
|
||||||
unsigned apicid_base, sbdn;
|
unsigned apicid_base, sbdn;
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (get_bus_conf_done == 1)
|
if (get_bus_conf_done == 1)
|
||||||
|
@ -46,7 +46,7 @@ static void *smp_write_config_table(void *v)
|
|||||||
|
|
||||||
/* I/O APICs: APIC ID Version State Address */
|
/* I/O APICs: APIC ID Version State Address */
|
||||||
{
|
{
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
struct resource *res;
|
struct resource *res;
|
||||||
uint32_t dword;
|
uint32_t dword;
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ static void pirq_setup(void)
|
|||||||
/**********************************************
|
/**********************************************
|
||||||
* enable the dedicated function in mainboard.
|
* enable the dedicated function in mainboard.
|
||||||
**********************************************/
|
**********************************************/
|
||||||
static void mainboard_enable(device_t dev)
|
static void mainboard_enable(struct device *dev)
|
||||||
{
|
{
|
||||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
/*************************************************
|
/*************************************************
|
||||||
* enable the dedicated function in thatcher board.
|
* enable the dedicated function in thatcher board.
|
||||||
*************************************************/
|
*************************************************/
|
||||||
static void mainboard_enable(device_t dev)
|
static void mainboard_enable(struct device *dev)
|
||||||
{
|
{
|
||||||
msr_t msr;
|
msr_t msr;
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@ static void *smp_write_config_table(void *v)
|
|||||||
/* on board NIC & Slot PCIE. */
|
/* on board NIC & Slot PCIE. */
|
||||||
|
|
||||||
/* PCI slots */
|
/* PCI slots */
|
||||||
device_t dev = dev_find_slot(0, PCI_DEVFN(0x14, 4));
|
struct device *dev = dev_find_slot(0, PCI_DEVFN(0x14, 4));
|
||||||
if (dev && dev->enabled) {
|
if (dev && dev->enabled) {
|
||||||
u8 bus_pci = dev->link_list->secondary;
|
u8 bus_pci = dev->link_list->secondary;
|
||||||
/* PCI_SLOT 0. */
|
/* PCI_SLOT 0. */
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
u32 vt8237_ide_80pin_detect(struct device *dev)
|
u32 vt8237_ide_80pin_detect(struct device *dev)
|
||||||
{
|
{
|
||||||
device_t lpc_dev;
|
struct device *lpc_dev;
|
||||||
u16 acpi_io_base;
|
u16 acpi_io_base;
|
||||||
u32 gpio_in;
|
u32 gpio_in;
|
||||||
u32 res;
|
u32 res;
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
unsigned long acpi_fill_madt(unsigned long current)
|
unsigned long acpi_fill_madt(unsigned long current)
|
||||||
{
|
{
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
u32 dword;
|
u32 dword;
|
||||||
u32 gsi_base = 0;
|
u32 gsi_base = 0;
|
||||||
uint32_t apicid_sp5100;
|
uint32_t apicid_sp5100;
|
||||||
|
@ -60,7 +60,7 @@ static u32 get_bus_conf_done = 0;
|
|||||||
void get_bus_conf(void)
|
void get_bus_conf(void)
|
||||||
{
|
{
|
||||||
u32 apicid_base;
|
u32 apicid_base;
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (get_bus_conf_done == 1)
|
if (get_bus_conf_done == 1)
|
||||||
|
@ -30,7 +30,7 @@ void set_pcie_dereset(void);
|
|||||||
|
|
||||||
void set_pcie_reset(void)
|
void set_pcie_reset(void)
|
||||||
{
|
{
|
||||||
device_t pcie_core_dev;
|
struct device *pcie_core_dev;
|
||||||
|
|
||||||
pcie_core_dev = dev_find_slot(0, PCI_DEVFN(0, 0));
|
pcie_core_dev = dev_find_slot(0, PCI_DEVFN(0, 0));
|
||||||
set_htiu_enable_bits(pcie_core_dev, 0xA8, 0xFFFFFFFF, 0x28282828);
|
set_htiu_enable_bits(pcie_core_dev, 0xA8, 0xFFFFFFFF, 0x28282828);
|
||||||
@ -39,7 +39,7 @@ void set_pcie_reset(void)
|
|||||||
|
|
||||||
void set_pcie_dereset(void)
|
void set_pcie_dereset(void)
|
||||||
{
|
{
|
||||||
device_t pcie_core_dev;
|
struct device *pcie_core_dev;
|
||||||
|
|
||||||
pcie_core_dev = dev_find_slot(0, PCI_DEVFN(0, 0));
|
pcie_core_dev = dev_find_slot(0, PCI_DEVFN(0, 0));
|
||||||
set_htiu_enable_bits(pcie_core_dev, 0xA8, 0xFFFFFFFF, 0x6F6F6F6F);
|
set_htiu_enable_bits(pcie_core_dev, 0xA8, 0xFFFFFFFF, 0x6F6F6F6F);
|
||||||
@ -50,7 +50,7 @@ void set_pcie_dereset(void)
|
|||||||
* enable the dedicated function in kgpe-d16 board.
|
* enable the dedicated function in kgpe-d16 board.
|
||||||
* This function is called earlier than sr5650_enable.
|
* This function is called earlier than sr5650_enable.
|
||||||
*************************************************/
|
*************************************************/
|
||||||
static void mainboard_enable(device_t dev)
|
static void mainboard_enable(struct device *dev)
|
||||||
{
|
{
|
||||||
printk(BIOS_INFO, "Mainboard KCMA-D8 initializing, dev=0x%p\n", dev);
|
printk(BIOS_INFO, "Mainboard KCMA-D8 initializing, dev=0x%p\n", dev);
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ static void *smp_write_config_table(void *v)
|
|||||||
struct mp_config_table *mc;
|
struct mp_config_table *mc;
|
||||||
int bus_isa;
|
int bus_isa;
|
||||||
u32 apicid_sr5650;
|
u32 apicid_sr5650;
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
uint8_t sp5100_bus_number;
|
uint8_t sp5100_bus_number;
|
||||||
|
|
||||||
mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN);
|
mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN);
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
/* APIC */
|
/* APIC */
|
||||||
unsigned long acpi_fill_madt(unsigned long current)
|
unsigned long acpi_fill_madt(unsigned long current)
|
||||||
{
|
{
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
struct resource *res;
|
struct resource *res;
|
||||||
|
|
||||||
/* create all subtables for processors */
|
/* create all subtables for processors */
|
||||||
|
@ -69,7 +69,7 @@ static unsigned get_bus_conf_done = 0;
|
|||||||
void get_bus_conf(void)
|
void get_bus_conf(void)
|
||||||
{
|
{
|
||||||
unsigned apicid_base, sbdn;
|
unsigned apicid_base, sbdn;
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (get_bus_conf_done == 1)
|
if (get_bus_conf_done == 1)
|
||||||
|
@ -51,7 +51,7 @@ static void *smp_write_config_table(void *v)
|
|||||||
|
|
||||||
/* I/O APICs: APIC ID Version State Address */
|
/* I/O APICs: APIC ID Version State Address */
|
||||||
{
|
{
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
struct resource *res;
|
struct resource *res;
|
||||||
|
|
||||||
dev = dev_find_slot(bus_ck804[0], PCI_DEVFN(sbdn + 0x1, 0));
|
dev = dev_find_slot(bus_ck804[0], PCI_DEVFN(sbdn + 0x1, 0));
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
/* APIC */
|
/* APIC */
|
||||||
unsigned long acpi_fill_madt(unsigned long current)
|
unsigned long acpi_fill_madt(unsigned long current)
|
||||||
{
|
{
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
struct resource *res;
|
struct resource *res;
|
||||||
|
|
||||||
/* create all subtables for processors */
|
/* create all subtables for processors */
|
||||||
|
@ -58,7 +58,7 @@ static unsigned get_bus_conf_done = 0;
|
|||||||
void get_bus_conf(void)
|
void get_bus_conf(void)
|
||||||
{
|
{
|
||||||
unsigned apicid_base, sbdn;
|
unsigned apicid_base, sbdn;
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (get_bus_conf_done == 1)
|
if (get_bus_conf_done == 1)
|
||||||
|
@ -51,7 +51,7 @@ static void *smp_write_config_table(void *v)
|
|||||||
|
|
||||||
/* I/O APICs: APIC ID Version State Address */
|
/* I/O APICs: APIC ID Version State Address */
|
||||||
{
|
{
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
struct resource *res;
|
struct resource *res;
|
||||||
|
|
||||||
dev = dev_find_slot(bus_ck804[0], PCI_DEVFN(sbdn + 0x1, 0));
|
dev = dev_find_slot(bus_ck804[0], PCI_DEVFN(sbdn + 0x1, 0));
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
unsigned long acpi_fill_madt(unsigned long current)
|
unsigned long acpi_fill_madt(unsigned long current)
|
||||||
{
|
{
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
u32 dword;
|
u32 dword;
|
||||||
u32 gsi_base = 0;
|
u32 gsi_base = 0;
|
||||||
uint32_t apicid_sp5100;
|
uint32_t apicid_sp5100;
|
||||||
|
@ -60,7 +60,7 @@ static u32 get_bus_conf_done = 0;
|
|||||||
void get_bus_conf(void)
|
void get_bus_conf(void)
|
||||||
{
|
{
|
||||||
u32 apicid_base;
|
u32 apicid_base;
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (get_bus_conf_done == 1)
|
if (get_bus_conf_done == 1)
|
||||||
|
@ -30,7 +30,7 @@ void set_pcie_dereset(void);
|
|||||||
|
|
||||||
void set_pcie_reset(void)
|
void set_pcie_reset(void)
|
||||||
{
|
{
|
||||||
device_t pcie_core_dev;
|
struct device *pcie_core_dev;
|
||||||
|
|
||||||
pcie_core_dev = dev_find_slot(0, PCI_DEVFN(0, 0));
|
pcie_core_dev = dev_find_slot(0, PCI_DEVFN(0, 0));
|
||||||
set_htiu_enable_bits(pcie_core_dev, 0xA8, 0xFFFFFFFF, 0x28282828);
|
set_htiu_enable_bits(pcie_core_dev, 0xA8, 0xFFFFFFFF, 0x28282828);
|
||||||
@ -39,7 +39,7 @@ void set_pcie_reset(void)
|
|||||||
|
|
||||||
void set_pcie_dereset(void)
|
void set_pcie_dereset(void)
|
||||||
{
|
{
|
||||||
device_t pcie_core_dev;
|
struct device *pcie_core_dev;
|
||||||
|
|
||||||
pcie_core_dev = dev_find_slot(0, PCI_DEVFN(0, 0));
|
pcie_core_dev = dev_find_slot(0, PCI_DEVFN(0, 0));
|
||||||
set_htiu_enable_bits(pcie_core_dev, 0xA8, 0xFFFFFFFF, 0x6F6F6F6F);
|
set_htiu_enable_bits(pcie_core_dev, 0xA8, 0xFFFFFFFF, 0x6F6F6F6F);
|
||||||
@ -50,7 +50,7 @@ void set_pcie_dereset(void)
|
|||||||
* enable the dedicated function in kgpe-d16 board.
|
* enable the dedicated function in kgpe-d16 board.
|
||||||
* This function is called earlier than sr5650_enable.
|
* This function is called earlier than sr5650_enable.
|
||||||
*************************************************/
|
*************************************************/
|
||||||
static void mainboard_enable(device_t dev)
|
static void mainboard_enable(struct device *dev)
|
||||||
{
|
{
|
||||||
printk(BIOS_INFO, "Mainboard KGPE-D16 Enable. dev=0x%p\n", dev);
|
printk(BIOS_INFO, "Mainboard KGPE-D16 Enable. dev=0x%p\n", dev);
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ static void *smp_write_config_table(void *v)
|
|||||||
struct mp_config_table *mc;
|
struct mp_config_table *mc;
|
||||||
int bus_isa;
|
int bus_isa;
|
||||||
u32 apicid_sr5650;
|
u32 apicid_sr5650;
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
uint8_t sp5100_bus_number;
|
uint8_t sp5100_bus_number;
|
||||||
|
|
||||||
mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN);
|
mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN);
|
||||||
|
@ -63,7 +63,7 @@ static unsigned get_bus_conf_done = 0;
|
|||||||
void get_bus_conf(void)
|
void get_bus_conf(void)
|
||||||
{
|
{
|
||||||
unsigned int apicid_base, sbdn;
|
unsigned int apicid_base, sbdn;
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (get_bus_conf_done == 1)
|
if (get_bus_conf_done == 1)
|
||||||
|
@ -34,7 +34,7 @@ static void *smp_write_config_table(void *v)
|
|||||||
struct mp_config_table *mc;
|
struct mp_config_table *mc;
|
||||||
unsigned int sbdn;
|
unsigned int sbdn;
|
||||||
int i, j, bus_isa;
|
int i, j, bus_isa;
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
struct resource *res;
|
struct resource *res;
|
||||||
|
|
||||||
mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN);
|
mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN);
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
u32 vt8237_ide_80pin_detect(struct device *dev)
|
u32 vt8237_ide_80pin_detect(struct device *dev)
|
||||||
{
|
{
|
||||||
device_t lpc_dev;
|
struct device *lpc_dev;
|
||||||
u16 acpi_io_base;
|
u16 acpi_io_base;
|
||||||
u32 gpio_in;
|
u32 gpio_in;
|
||||||
u32 res;
|
u32 res;
|
||||||
|
@ -57,7 +57,7 @@ static u32 get_bus_conf_done = 0;
|
|||||||
void get_bus_conf(void)
|
void get_bus_conf(void)
|
||||||
{
|
{
|
||||||
u32 apicid_base;
|
u32 apicid_base;
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (get_bus_conf_done == 1)
|
if (get_bus_conf_done == 1)
|
||||||
|
@ -32,7 +32,7 @@ void set_pcie_dereset()
|
|||||||
{
|
{
|
||||||
u8 byte;
|
u8 byte;
|
||||||
u16 word;
|
u16 word;
|
||||||
device_t sm_dev;
|
struct device *sm_dev;
|
||||||
/* set 0 to bit1 :disable GPM9 as SLP_S2 output */
|
/* set 0 to bit1 :disable GPM9 as SLP_S2 output */
|
||||||
/* set 0 to bit2 :disable GPM8 as AZ_RST output */
|
/* set 0 to bit2 :disable GPM8 as AZ_RST output */
|
||||||
byte = pm_ioread(0x8d);
|
byte = pm_ioread(0x8d);
|
||||||
@ -57,7 +57,7 @@ void set_pcie_reset()
|
|||||||
{
|
{
|
||||||
u8 byte;
|
u8 byte;
|
||||||
u16 word;
|
u16 word;
|
||||||
device_t sm_dev;
|
struct device *sm_dev;
|
||||||
|
|
||||||
/* set 0 to bit1 :disable GPM9 as SLP_S2 output */
|
/* set 0 to bit1 :disable GPM9 as SLP_S2 output */
|
||||||
/* set 0 to bit2 :disable GPM8 as AZ_RST output */
|
/* set 0 to bit2 :disable GPM8 as AZ_RST output */
|
||||||
@ -87,7 +87,7 @@ void set_pcie_reset()
|
|||||||
u8 is_dev3_present(void)
|
u8 is_dev3_present(void)
|
||||||
{
|
{
|
||||||
u16 word;
|
u16 word;
|
||||||
device_t sm_dev;
|
struct device *sm_dev;
|
||||||
|
|
||||||
/* access the smbus extended register */
|
/* access the smbus extended register */
|
||||||
sm_dev = dev_find_slot(0, PCI_DEVFN(0x14, 0));
|
sm_dev = dev_find_slot(0, PCI_DEVFN(0x14, 0));
|
||||||
@ -114,7 +114,7 @@ u8 is_dev3_present(void)
|
|||||||
* enable the dedicated function in this board.
|
* enable the dedicated function in this board.
|
||||||
* This function called early than rs780_enable.
|
* This function called early than rs780_enable.
|
||||||
*************************************************/
|
*************************************************/
|
||||||
static void mainboard_enable(device_t dev)
|
static void mainboard_enable(struct device *dev)
|
||||||
{
|
{
|
||||||
printk(BIOS_INFO, "Mainboard enable. dev=0x%p\n", dev);
|
printk(BIOS_INFO, "Mainboard enable. dev=0x%p\n", dev);
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ static void *smp_write_config_table(void *v)
|
|||||||
|
|
||||||
/* I/O APICs: APIC ID Version State Address */
|
/* I/O APICs: APIC ID Version State Address */
|
||||||
{
|
{
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
u32 dword;
|
u32 dword;
|
||||||
u8 byte;
|
u8 byte;
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ static u32 get_bus_conf_done = 0;
|
|||||||
void get_bus_conf(void)
|
void get_bus_conf(void)
|
||||||
{
|
{
|
||||||
u32 apicid_base;
|
u32 apicid_base;
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (get_bus_conf_done == 1)
|
if (get_bus_conf_done == 1)
|
||||||
|
@ -41,7 +41,7 @@ void set_pcie_dereset()
|
|||||||
{
|
{
|
||||||
u8 byte;
|
u8 byte;
|
||||||
u16 word;
|
u16 word;
|
||||||
device_t sm_dev;
|
struct device *sm_dev;
|
||||||
/* set 0 to bit1 :disable GPM9 as SLP_S2 output */
|
/* set 0 to bit1 :disable GPM9 as SLP_S2 output */
|
||||||
/* set 0 to bit2 :disable GPM8 as AZ_RST output */
|
/* set 0 to bit2 :disable GPM8 as AZ_RST output */
|
||||||
byte = pm_ioread(0x8d);
|
byte = pm_ioread(0x8d);
|
||||||
@ -66,7 +66,7 @@ void set_pcie_reset()
|
|||||||
{
|
{
|
||||||
u8 byte;
|
u8 byte;
|
||||||
u16 word;
|
u16 word;
|
||||||
device_t sm_dev;
|
struct device *sm_dev;
|
||||||
|
|
||||||
/* set 0 to bit1 :disable GPM9 as SLP_S2 output */
|
/* set 0 to bit1 :disable GPM9 as SLP_S2 output */
|
||||||
/* set 0 to bit2 :disable GPM8 as AZ_RST output */
|
/* set 0 to bit2 :disable GPM8 as AZ_RST output */
|
||||||
@ -96,7 +96,7 @@ void set_pcie_reset()
|
|||||||
u8 is_dev3_present(void)
|
u8 is_dev3_present(void)
|
||||||
{
|
{
|
||||||
u16 word;
|
u16 word;
|
||||||
device_t sm_dev;
|
struct device *sm_dev;
|
||||||
|
|
||||||
/* access the smbus extended register */
|
/* access the smbus extended register */
|
||||||
sm_dev = dev_find_slot(0, PCI_DEVFN(0x14, 0));
|
sm_dev = dev_find_slot(0, PCI_DEVFN(0x14, 0));
|
||||||
@ -125,7 +125,7 @@ static void set_thermal_config(void)
|
|||||||
{
|
{
|
||||||
u8 byte;
|
u8 byte;
|
||||||
u16 word;
|
u16 word;
|
||||||
device_t sm_dev;
|
struct device *sm_dev;
|
||||||
|
|
||||||
/* set ADT 7461 */
|
/* set ADT 7461 */
|
||||||
ADT7461_write_byte(0x0B, 0x50); /* Local Temperature Hight limit */
|
ADT7461_write_byte(0x0B, 0x50); /* Local Temperature Hight limit */
|
||||||
@ -186,7 +186,7 @@ static void set_thermal_config(void)
|
|||||||
* enable the dedicated function in this board.
|
* enable the dedicated function in this board.
|
||||||
* This function called early than rs780_enable.
|
* This function called early than rs780_enable.
|
||||||
*************************************************/
|
*************************************************/
|
||||||
static void mainboard_enable(device_t dev)
|
static void mainboard_enable(struct device *dev)
|
||||||
{
|
{
|
||||||
printk(BIOS_INFO, "Mainboard enable. dev=0x%p\n", dev);
|
printk(BIOS_INFO, "Mainboard enable. dev=0x%p\n", dev);
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ static void *smp_write_config_table(void *v)
|
|||||||
|
|
||||||
/* I/O APICs: APIC ID Version State Address */
|
/* I/O APICs: APIC ID Version State Address */
|
||||||
{
|
{
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
u32 dword;
|
u32 dword;
|
||||||
u8 byte;
|
u8 byte;
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ static u32 get_bus_conf_done = 0;
|
|||||||
void get_bus_conf(void)
|
void get_bus_conf(void)
|
||||||
{
|
{
|
||||||
u32 apicid_base;
|
u32 apicid_base;
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (get_bus_conf_done == 1)
|
if (get_bus_conf_done == 1)
|
||||||
|
@ -64,7 +64,7 @@ u8 is_dev3_present(void)
|
|||||||
* enable the dedicated function in M5A88-V board.
|
* enable the dedicated function in M5A88-V board.
|
||||||
* This function called early than rs780_enable.
|
* This function called early than rs780_enable.
|
||||||
*************************************************/
|
*************************************************/
|
||||||
static void mainboard_enable(device_t dev)
|
static void mainboard_enable(struct device *dev)
|
||||||
{
|
{
|
||||||
|
|
||||||
printk(BIOS_INFO, "Mainboard ASUS M5A88-V Enable. dev=0x%p\n", dev);
|
printk(BIOS_INFO, "Mainboard ASUS M5A88-V Enable. dev=0x%p\n", dev);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user