From 2ad85dbc65d884d82f2f9c9d4fa1c5cc3ab5dc42 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Wed, 20 Sep 2006 16:39:30 +0000 Subject: Lots of lx fixes. CLeanup mainly. THings now build Signed-off-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2430 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/amd/cs5536_lx/chip.h | 10 +++++----- src/southbridge/amd/cs5536_lx/cs5536.c | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/southbridge/amd') diff --git a/src/southbridge/amd/cs5536_lx/chip.h b/src/southbridge/amd/cs5536_lx/chip.h index 146e1d2621..8579158002 100644 --- a/src/southbridge/amd/cs5536_lx/chip.h +++ b/src/southbridge/amd/cs5536_lx/chip.h @@ -1,11 +1,11 @@ -#ifndef _SOUTHBRIDGE_AMD_CS5536 -#define _SOUTHBRIDGE_AMD_CS5536 +#ifndef _SOUTHBRIDGE_AMD_CS5536_LX +#define _SOUTHBRIDGE_AMD_CS5536_LX #define MAX_UNWANTED_VPCI 10 /* increase if needed */ -extern struct chip_operations southbridge_amd_cs5536_ops; +extern struct chip_operations southbridge_amd_cs5536_lx_ops; -struct southbridge_amd_cs5536_config { +struct southbridge_amd_cs5536_lx_config { /* interrupt enable for LPC bus */ int lpc_serirq_enable; /* how to enable, e.g. 0x80 */ int lpc_irq; /* what to enable, e.g. 0x18 */ @@ -50,4 +50,4 @@ struct southbridge_amd_cs5536_config { unsigned long unwanted_vpci[MAX_UNWANTED_VPCI]; }; -#endif /* _SOUTHBRIDGE_AMD_CS5536 */ +#endif /* _SOUTHBRIDGE_AMD_CS5536_LX */ diff --git a/src/southbridge/amd/cs5536_lx/cs5536.c b/src/southbridge/amd/cs5536_lx/cs5536.c index 803a5fbb6b..acc51667dc 100644 --- a/src/southbridge/amd/cs5536_lx/cs5536.c +++ b/src/southbridge/amd/cs5536_lx/cs5536.c @@ -158,7 +158,7 @@ void map_gpio_irq(unsigned int pin, unsigned int gpioirq, unsigned int irq, unsi static void southbridge_init(struct device *dev) { - struct southbridge_amd_cs5536_config *sb = (struct southbridge_amd_cs5536_config *)dev->chip_info; + struct southbridge_amd_cs5536_lx_config *sb = (struct southbridge_amd_cs5536_lx_config *)dev->chip_info; msr_t msr; int i; @@ -316,14 +316,14 @@ static struct device_operations southbridge_ops = { .scan_bus = scan_static_bus, }; -static struct pci_driver cs5536_pci_driver __pci_driver = { +static struct pci_driver cs5536_lx_pci_driver __pci_driver = { .ops = &southbridge_ops, .vendor = PCI_VENDOR_ID_AMD, .device = PCI_DEVICE_ID_AMD_CS5536_ISA }; -struct chip_operations southbridge_amd_cs5536_ops = { - CHIP_NAME("AMD cs5536") +struct chip_operations southbridge_amd_cs5536_lx_ops = { + CHIP_NAME("AMD cs5536 (LX)") /* This only called when this device is listed in the * static device tree. */ -- cgit v1.2.3