projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix warnings and add more detailed informations
[openwrt-10.03/.git]
/
target
/
linux
/
adm5120-2.6
/
files
/
arch
/
mips
/
pci
/
pci-adm5120.c
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 a8585747ee3797f190912db90a67f5b69c01f97e..bf46cc142a8dd70871084489b62b3daf48f14169 100644
(file)
--- 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 = {
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 = {
};
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 = {
};
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) {
{
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;
}
return 1;
}
- printk("System has PCI BIOS\n");
+ printk("System has PCI BIOS
(ADM5120 BGA)
\n");
/* Avoid ISA compat ranges. */
PCIBIOS_MIN_IO = 0x00000000;
/* Avoid ISA compat ranges. */
PCIBIOS_MIN_IO = 0x00000000;