projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[adm5120] fix detection of admboot based boards
[openwrt.git]
/
target
/
linux
/
adm5120-2.6
/
files
/
arch
/
mips
/
pci
/
fixup-adm5120.c
diff --git
a/target/linux/adm5120-2.6/files/arch/mips/pci/fixup-adm5120.c
b/target/linux/adm5120-2.6/files/arch/mips/pci/fixup-adm5120.c
index
9326077
..
cf450f0
100644
(file)
--- a/
target/linux/adm5120-2.6/files/arch/mips/pci/fixup-adm5120.c
+++ b/
target/linux/adm5120-2.6/files/arch/mips/pci/fixup-adm5120.c
@@
-25,7
+25,6
@@
*
*/
*
*/
-#include <linux/autoconf.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
@@
-91,7
+90,8
@@
int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
irq = -1;
if (slot < 1 || slot > 3) {
irq = -1;
if (slot < 1 || slot > 3) {
- printk("PCI: slot number %u is not supported\n", slot);
+ printk(KERN_ALERT "PCI: slot number %u is not supported\n",
+ slot);
goto out;
}
goto out;
}
@@
-124,8
+124,7
@@
int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
case MACH_ADM5120_WPP54AG:
case MACH_ADM5120_WPP54G:
default:
case MACH_ADM5120_WPP54AG:
case MACH_ADM5120_WPP54G:
default:
- printk("PCI: irq map is unknown for %s, using defaults.\n",
- adm5120_board_name());
+ printk(KERN_ALERT "PCI: irq map is unknown, using defaults.\n");
break;
}
break;
}
@@
-138,7
+137,7
@@
int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
}
if (irq < 0) {
}
if (irq < 0) {
- printk(KERN_
INFO
"PCI: no irq found for %s pin:%u\n",
+ printk(KERN_
ALERT
"PCI: no irq found for %s pin:%u\n",
pci_name(dev), pin);
} else {
printk(KERN_INFO "PCI: mapping irq for %s pin:%u, irq:%d\n",
pci_name(dev), pin);
} else {
printk(KERN_INFO "PCI: mapping irq for %s pin:%u, irq:%d\n",
This page took
0.024529 seconds
and
4
git commands to generate.