mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-12 11:30:15 +02:00
Fix warnings and add more detailed informations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6628 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7e5c0b4599
commit
b58b2aac89
@ -24,17 +24,17 @@ extern struct pci_ops adm5120_pci_ops;
|
|||||||
|
|
||||||
|
|
||||||
struct resource pci_io_resource = {
|
struct resource pci_io_resource = {
|
||||||
"PCI IO space",
|
.name = "PCI IO space",
|
||||||
0x11500000,
|
.start = 0x11500000,
|
||||||
0x115ffff0-1,
|
.end = 0x115ffff0-1,
|
||||||
IORESOURCE_IO
|
.flags = IORESOURCE_IO
|
||||||
};
|
};
|
||||||
|
|
||||||
struct resource pci_mem_resource = {
|
struct resource pci_mem_resource = {
|
||||||
"PCI memory space",
|
.name = "PCI memory space",
|
||||||
0x11400000,
|
.start = 0x11400000,
|
||||||
0x11500000,
|
.end = 0x11500000,
|
||||||
IORESOURCE_MEM
|
.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. */
|
/* Avoid ISA compat ranges. */
|
||||||
PCIBIOS_MIN_IO = 0x00000000;
|
PCIBIOS_MIN_IO = 0x00000000;
|
||||||
|
Loading…
Reference in New Issue
Block a user