summaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120-2.6/files/arch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-21 17:23:34 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-21 17:23:34 +0000
commitb58b2aac89e45a68b6cbe1446b0025399f473933 (patch)
tree2a0da1904d3dc11ec9f60a56cea6f8e4424d4178 /target/linux/adm5120-2.6/files/arch
parent7e5c0b4599068448a0c7cf97788672878b4d433a (diff)
Fix warnings and add more detailed informations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6628 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6/files/arch')
-rw-r--r--target/linux/adm5120-2.6/files/arch/mips/pci/pci-adm5120.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/adm5120-2.6/files/arch/mips/pci/pci-adm5120.c b/target/linux/adm5120-2.6/files/arch/mips/pci/pci-adm5120.c
index a8585747e..bf46cc142 100644
--- a/target/linux/adm5120-2.6/files/arch/mips/pci/pci-adm5120.c
+++ b/target/linux/adm5120-2.6/files/arch/mips/pci/pci-adm5120.c
@@ -24,17 +24,17 @@ extern struct pci_ops adm5120_pci_ops;
struct resource pci_io_resource = {
- "PCI IO space",
- 0x11500000,
- 0x115ffff0-1,
- IORESOURCE_IO
+ .name = "PCI IO space",
+ .start = 0x11500000,
+ .end = 0x115ffff0-1,
+ .flags = IORESOURCE_IO
};
struct resource pci_mem_resource = {
- "PCI memory space",
- 0x11400000,
- 0x11500000,
- IORESOURCE_MEM
+ .name = "PCI memory space",
+ .start = 0x11400000,
+ .end = 0x11500000,
+ .flags = IORESOURCE_MEM
};
static struct pci_controller adm5120_controller = {
@@ -73,10 +73,10 @@ static int __init adm5120_pci_setup(void)
{
if ((*(volatile u32 *)(KSEG1ADDR(ADM5120_CODE))) & ADM5120_CODE_PQFP) {
- printk("System has no PCI BIOS\n");
+ printk("System has no PCI BIOS (ADM5120 PQFP)\n");
return 1;
}
- printk("System has PCI BIOS\n");
+ printk("System has PCI BIOS (ADM5120 BGA)\n");
/* Avoid ISA compat ranges. */
PCIBIOS_MIN_IO = 0x00000000;