aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:57:17 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:57:17 -0400
commit9028780a3e6d2c3dd940e89b377765cca008b6df (patch)
tree1e72fceedcb72b65e8851d0a56586a699e09ad2e /arch
parent5335a40be6867eff986a31bcd8fc82a5cb1e16bb (diff)
parente824f7836de25b1c2f659a2412d32227f1f68bcb (diff)
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (40 commits) [netdrvr] atl1: fix build pasemi_mac: Use local-mac-address instead of mac-address if available pasemi_mac: PHY support pasemi_mac: Add msglevel support and "debug" module param pasemi_mac: Logic cleanup / rx performance improvements pasemi_mac: Minor cleanup / define fixes pasemi_mac: Add SKB reuse / copy-break pasemi_mac: Timer and interrupt fixes pasemi_mac: Abstract and fix up interrupt restart routines pasemi_mac: Move the IRQ mapping from the PCI layer to the driver tc35815: Remove unnecessary skb->dev assignment drivers/net/dm9000: Convert to generic boolean AT91RM9200 Ethernet: Fix multicast addressing AT91RM9200 Ethernet: Support additional PHYs PCMCIA-NETDEV : xirc2ps_cs: bugfix of multicast code sky2: re-enable 88E8056 for most motherboards MIPS: Drop unnecessary CONFIG_ISA from RBTX49XX ne: MIPS: Use platform_driver for ne on RBTX49XX ne: Add NEEDS_PORTLIST to control ISA auto-probe ne: Misc fixes for platform driver. ... Fix conflict in drivers/net/pasemi_mac.c (get_property() got renamed to of_get_property()) manually. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/Kconfig2
-rw-r--r--arch/mips/configs/rbhma4500_defconfig31
-rw-r--r--arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c19
-rw-r--r--arch/mips/tx4938/toshiba_rbtx4938/setup.c20
-rw-r--r--arch/powerpc/platforms/pasemi/pci.c13
-rw-r--r--arch/powerpc/platforms/pasemi/setup.c1
6 files changed, 39 insertions, 47 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 7441a2cf523e..b7cb048bc771 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -784,7 +784,6 @@ config TOSHIBA_RBTX4927
784 select HAS_TXX9_SERIAL 784 select HAS_TXX9_SERIAL
785 select HW_HAS_PCI 785 select HW_HAS_PCI
786 select I8259 786 select I8259
787 select ISA
788 select SWAP_IO_SPACE 787 select SWAP_IO_SPACE
789 select SYS_HAS_CPU_TX49XX 788 select SYS_HAS_CPU_TX49XX
790 select SYS_SUPPORTS_32BIT_KERNEL 789 select SYS_SUPPORTS_32BIT_KERNEL
@@ -806,7 +805,6 @@ config TOSHIBA_RBTX4938
806 select HAS_TXX9_SERIAL 805 select HAS_TXX9_SERIAL
807 select HW_HAS_PCI 806 select HW_HAS_PCI
808 select I8259 807 select I8259
809 select ISA
810 select SWAP_IO_SPACE 808 select SWAP_IO_SPACE
811 select SYS_HAS_CPU_TX49XX 809 select SYS_HAS_CPU_TX49XX
812 select SYS_SUPPORTS_32BIT_KERNEL 810 select SYS_SUPPORTS_32BIT_KERNEL
diff --git a/arch/mips/configs/rbhma4500_defconfig b/arch/mips/configs/rbhma4500_defconfig
index 29e0df9f4be0..7d0f2174614e 100644
--- a/arch/mips/configs/rbhma4500_defconfig
+++ b/arch/mips/configs/rbhma4500_defconfig
@@ -245,7 +245,6 @@ CONFIG_DEFAULT_IOSCHED="anticipatory"
245# 245#
246CONFIG_HW_HAS_PCI=y 246CONFIG_HW_HAS_PCI=y
247CONFIG_PCI=y 247CONFIG_PCI=y
248CONFIG_ISA=y
249CONFIG_MMU=y 248CONFIG_MMU=y
250 249
251# 250#
@@ -573,7 +572,6 @@ CONFIG_MTD_CFI_UTIL=y
573# 572#
574# Plug and Play support 573# Plug and Play support
575# 574#
576# CONFIG_PNP is not set
577# CONFIG_PNPACPI is not set 575# CONFIG_PNPACPI is not set
578 576
579# 577#
@@ -658,7 +656,6 @@ CONFIG_BLK_DEV_IT8213=m
658# CONFIG_BLK_DEV_VIA82CXXX is not set 656# CONFIG_BLK_DEV_VIA82CXXX is not set
659CONFIG_BLK_DEV_TC86C001=m 657CONFIG_BLK_DEV_TC86C001=m
660# CONFIG_IDE_ARM is not set 658# CONFIG_IDE_ARM is not set
661# CONFIG_IDE_CHIPSETS is not set
662CONFIG_BLK_DEV_IDEDMA=y 659CONFIG_BLK_DEV_IDEDMA=y
663# CONFIG_IDEDMA_IVB is not set 660# CONFIG_IDEDMA_IVB is not set
664# CONFIG_IDEDMA_AUTO is not set 661# CONFIG_IDEDMA_AUTO is not set
@@ -677,11 +674,6 @@ CONFIG_RAID_ATTRS=m
677# CONFIG_ATA is not set 674# CONFIG_ATA is not set
678 675
679# 676#
680# Old CD-ROM drivers (not SCSI, not IDE)
681#
682# CONFIG_CD_NO_IDESCSI is not set
683
684#
685# Multi-device support (RAID and LVM) 677# Multi-device support (RAID and LVM)
686# 678#
687# CONFIG_MD is not set 679# CONFIG_MD is not set
@@ -742,37 +734,20 @@ CONFIG_NET_ETHERNET=y
742# CONFIG_SUNGEM is not set 734# CONFIG_SUNGEM is not set
743# CONFIG_CASSINI is not set 735# CONFIG_CASSINI is not set
744# CONFIG_NET_VENDOR_3COM is not set 736# CONFIG_NET_VENDOR_3COM is not set
745# CONFIG_NET_VENDOR_SMC is not set
746# CONFIG_DM9000 is not set 737# CONFIG_DM9000 is not set
747# CONFIG_NET_VENDOR_RACAL is not set
748 738
749# 739#
750# Tulip family network device support 740# Tulip family network device support
751# 741#
752# CONFIG_NET_TULIP is not set 742# CONFIG_NET_TULIP is not set
753# CONFIG_AT1700 is not set
754# CONFIG_DEPCA is not set
755# CONFIG_HP100 is not set 743# CONFIG_HP100 is not set
756CONFIG_NET_ISA=y
757# CONFIG_E2100 is not set
758# CONFIG_EWRK3 is not set
759# CONFIG_EEXPRESS is not set
760# CONFIG_EEXPRESS_PRO is not set
761# CONFIG_HPLAN_PLUS is not set
762# CONFIG_HPLAN is not set
763# CONFIG_LP486E is not set
764# CONFIG_ETH16I is not set
765CONFIG_NE2000=y 744CONFIG_NE2000=y
766# CONFIG_SEEQ8005 is not set
767CONFIG_NET_PCI=y 745CONFIG_NET_PCI=y
768# CONFIG_PCNET32 is not set 746# CONFIG_PCNET32 is not set
769# CONFIG_AMD8111_ETH is not set 747# CONFIG_AMD8111_ETH is not set
770# CONFIG_ADAPTEC_STARFIRE is not set 748# CONFIG_ADAPTEC_STARFIRE is not set
771# CONFIG_AC3200 is not set
772# CONFIG_APRICOT is not set
773# CONFIG_B44 is not set 749# CONFIG_B44 is not set
774# CONFIG_FORCEDETH is not set 750# CONFIG_FORCEDETH is not set
775# CONFIG_CS89x0 is not set
776# CONFIG_DGRS is not set 751# CONFIG_DGRS is not set
777# CONFIG_EEPRO100 is not set 752# CONFIG_EEPRO100 is not set
778# CONFIG_E100 is not set 753# CONFIG_E100 is not set
@@ -833,8 +808,6 @@ CONFIG_NET_RADIO=y
833# Obsolete Wireless cards support (pre-802.11) 808# Obsolete Wireless cards support (pre-802.11)
834# 809#
835# CONFIG_STRIP is not set 810# CONFIG_STRIP is not set
836# CONFIG_ARLAN is not set
837# CONFIG_WAVELAN is not set
838 811
839# 812#
840# Wireless 802.11b ISA/PCI cards support 813# Wireless 802.11b ISA/PCI cards support
@@ -920,9 +893,6 @@ CONFIG_KEYBOARD_ATKBD=y
920CONFIG_INPUT_MOUSE=y 893CONFIG_INPUT_MOUSE=y
921CONFIG_MOUSE_PS2=y 894CONFIG_MOUSE_PS2=y
922# CONFIG_MOUSE_SERIAL is not set 895# CONFIG_MOUSE_SERIAL is not set
923# CONFIG_MOUSE_INPORT is not set
924# CONFIG_MOUSE_LOGIBM is not set
925# CONFIG_MOUSE_PC110PAD is not set
926# CONFIG_MOUSE_VSXXXAA is not set 896# CONFIG_MOUSE_VSXXXAA is not set
927# CONFIG_INPUT_JOYSTICK is not set 897# CONFIG_INPUT_JOYSTICK is not set
928# CONFIG_INPUT_TOUCHSCREEN is not set 898# CONFIG_INPUT_TOUCHSCREEN is not set
@@ -1072,7 +1042,6 @@ CONFIG_FB_ATY_CT=y
1072# 1042#
1073CONFIG_VGA_CONSOLE=y 1043CONFIG_VGA_CONSOLE=y
1074# CONFIG_VGACON_SOFT_SCROLLBACK is not set 1044# CONFIG_VGACON_SOFT_SCROLLBACK is not set
1075# CONFIG_MDA_CONSOLE is not set
1076CONFIG_DUMMY_CONSOLE=y 1045CONFIG_DUMMY_CONSOLE=y
1077# CONFIG_FRAMEBUFFER_CONSOLE is not set 1046# CONFIG_FRAMEBUFFER_CONSOLE is not set
1078 1047
diff --git a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c
index 0f7576dfd141..a0c11efeaeeb 100644
--- a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c
+++ b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c
@@ -1049,3 +1049,22 @@ static int __init toshiba_rbtx4927_rtc_init(void)
1049 return IS_ERR(dev) ? PTR_ERR(dev) : 0; 1049 return IS_ERR(dev) ? PTR_ERR(dev) : 0;
1050} 1050}
1051device_initcall(toshiba_rbtx4927_rtc_init); 1051device_initcall(toshiba_rbtx4927_rtc_init);
1052
1053static int __init rbtx4927_ne_init(void)
1054{
1055 static struct resource __initdata res[] = {
1056 {
1057 .start = RBTX4927_RTL_8019_BASE,
1058 .end = RBTX4927_RTL_8019_BASE + 0x20 - 1,
1059 .flags = IORESOURCE_IO,
1060 }, {
1061 .start = RBTX4927_RTL_8019_IRQ,
1062 .flags = IORESOURCE_IRQ,
1063 }
1064 };
1065 struct platform_device *dev =
1066 platform_device_register_simple("ne", -1,
1067 res, ARRAY_SIZE(res));
1068 return IS_ERR(dev) ? PTR_ERR(dev) : 0;
1069}
1070device_initcall(rbtx4927_ne_init);
diff --git a/arch/mips/tx4938/toshiba_rbtx4938/setup.c b/arch/mips/tx4938/toshiba_rbtx4938/setup.c
index 66163ba452c8..f5d1ce739fcc 100644
--- a/arch/mips/tx4938/toshiba_rbtx4938/setup.c
+++ b/arch/mips/tx4938/toshiba_rbtx4938/setup.c
@@ -20,6 +20,7 @@
20#include <linux/console.h> 20#include <linux/console.h>
21#include <linux/pci.h> 21#include <linux/pci.h>
22#include <linux/pm.h> 22#include <linux/pm.h>
23#include <linux/platform_device.h>
23 24
24#include <asm/wbflush.h> 25#include <asm/wbflush.h>
25#include <asm/reboot.h> 26#include <asm/reboot.h>
@@ -1037,3 +1038,22 @@ static int __init tx4938_spi_proc_setup(void)
1037 1038
1038__initcall(tx4938_spi_proc_setup); 1039__initcall(tx4938_spi_proc_setup);
1039#endif 1040#endif
1041
1042static int __init rbtx4938_ne_init(void)
1043{
1044 struct resource res[] = {
1045 {
1046 .start = RBTX4938_RTL_8019_BASE,
1047 .end = RBTX4938_RTL_8019_BASE + 0x20 - 1,
1048 .flags = IORESOURCE_IO,
1049 }, {
1050 .start = RBTX4938_RTL_8019_IRQ,
1051 .flags = IORESOURCE_IRQ,
1052 }
1053 };
1054 struct platform_device *dev =
1055 platform_device_register_simple("ne", -1,
1056 res, ARRAY_SIZE(res));
1057 return IS_ERR(dev) ? PTR_ERR(dev) : 0;
1058}
1059device_initcall(rbtx4938_ne_init);
diff --git a/arch/powerpc/platforms/pasemi/pci.c b/arch/powerpc/platforms/pasemi/pci.c
index 056243da360b..bbc6dfcfaa91 100644
--- a/arch/powerpc/platforms/pasemi/pci.c
+++ b/arch/powerpc/platforms/pasemi/pci.c
@@ -173,19 +173,6 @@ static void __init pas_fixup_phb_resources(void)
173} 173}
174 174
175 175
176void __devinit pas_pci_irq_fixup(struct pci_dev *dev)
177{
178 /* DMA is special, 84 interrupts (128 -> 211), all but 128
179 * need to be mapped by hand here.
180 */
181 if (dev->vendor == 0x1959 && dev->device == 0xa007) {
182 int i;
183 for (i = 129; i < 212; i++)
184 irq_create_mapping(NULL, i);
185 }
186}
187
188
189void __init pas_pci_init(void) 176void __init pas_pci_init(void)
190{ 177{
191 struct device_node *np, *root; 178 struct device_node *np, *root;
diff --git a/arch/powerpc/platforms/pasemi/setup.c b/arch/powerpc/platforms/pasemi/setup.c
index 38f107b3c521..c5a3f61f8d85 100644
--- a/arch/powerpc/platforms/pasemi/setup.c
+++ b/arch/powerpc/platforms/pasemi/setup.c
@@ -251,5 +251,4 @@ define_machine(pas) {
251 .calibrate_decr = generic_calibrate_decr, 251 .calibrate_decr = generic_calibrate_decr,
252 .progress = pas_progress, 252 .progress = pas_progress,
253 .machine_check_exception = pas_machine_check_handler, 253 .machine_check_exception = pas_machine_check_handler,
254 .pci_irq_fixup = pas_pci_irq_fixup,
255}; 254};