aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-2.6.23
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-09-13 08:30:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-09-13 08:30:47 +0000
commit818729cfd2b4db32e76778820522812858b1d79f (patch)
tree48cfed9e3640814e004bb00a01e0c9fa418c4842 /target/linux/atheros/patches-2.6.23
parent8b8a68859ded3521a4d26114b6efe7cdfd2a8975 (diff)
downloadupstream-818729cfd2b4db32e76778820522812858b1d79f.tar.gz
upstream-818729cfd2b4db32e76778820522812858b1d79f.tar.bz2
upstream-818729cfd2b4db32e76778820522812858b1d79f.zip
remove old atheros kernels and patches
SVN-Revision: 12590
Diffstat (limited to 'target/linux/atheros/patches-2.6.23')
-rw-r--r--target/linux/atheros/patches-2.6.23/100-board.patch70
-rw-r--r--target/linux/atheros/patches-2.6.23/110-spiflash.patch24
-rw-r--r--target/linux/atheros/patches-2.6.23/130-ar2313_ethernet.patch29
-rw-r--r--target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch24
-rw-r--r--target/linux/atheros/patches-2.6.23/150-bridge-printk.patch28
-rw-r--r--target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch38
6 files changed, 0 insertions, 213 deletions
diff --git a/target/linux/atheros/patches-2.6.23/100-board.patch b/target/linux/atheros/patches-2.6.23/100-board.patch
deleted file mode 100644
index a3eef30cd1..0000000000
--- a/target/linux/atheros/patches-2.6.23/100-board.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-Index: linux-2.6.23.17/arch/mips/Kconfig
-===================================================================
---- linux-2.6.23.17.orig/arch/mips/Kconfig
-+++ linux-2.6.23.17/arch/mips/Kconfig
-@@ -44,6 +44,16 @@ config BASLER_EXCITE_PROTOTYPE
- note that a kernel built with this option selected will not be
- able to run on normal units.
-
-+config ATHEROS
-+ bool "Atheros SoC support (EXPERIMENTAL)"
-+ depends on EXPERIMENTAL
-+ select DMA_NONCOHERENT
-+ select IRQ_CPU
-+ select SYS_HAS_CPU_MIPS32_R1
-+ select SYS_SUPPORTS_BIG_ENDIAN
-+ select SYS_SUPPORTS_32BIT_KERNEL
-+ select GENERIC_GPIO
-+
- config MIPS_COBALT
- bool "Cobalt Server"
- select DMA_NONCOHERENT
-@@ -597,6 +607,7 @@ config WR_PPMC
-
- endchoice
-
-+source "arch/mips/atheros/Kconfig"
- source "arch/mips/au1000/Kconfig"
- source "arch/mips/jazz/Kconfig"
- source "arch/mips/pmc-sierra/Kconfig"
-Index: linux-2.6.23.17/arch/mips/Makefile
-===================================================================
---- linux-2.6.23.17.orig/arch/mips/Makefile
-+++ linux-2.6.23.17/arch/mips/Makefile
-@@ -270,6 +270,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips
- load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
-
- #
-+# Atheros AR5312/AR2312 WiSoC
-+#
-+core-$(CONFIG_ATHEROS) += arch/mips/atheros/
-+cflags-$(CONFIG_ATHEROS) += -Iinclude/asm-mips/mach-atheros
-+load-$(CONFIG_ATHEROS) += 0xffffffff80041000
-+
-+#
- # Cobalt Server
- #
- core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
-Index: linux-2.6.23.17/include/asm-mips/bootinfo.h
-===================================================================
---- linux-2.6.23.17.orig/include/asm-mips/bootinfo.h
-+++ linux-2.6.23.17/include/asm-mips/bootinfo.h
-@@ -208,6 +208,18 @@
- #define MACH_GROUP_WINDRIVER 28 /* Windriver boards */
- #define MACH_WRPPMC 1
-
-+/*
-+ * Valid machtype for group ATHEROS
-+ */
-+#define MACH_GROUP_ATHEROS 26
-+#define MACH_ATHEROS_AR5312 0
-+#define MACH_ATHEROS_AR2312 1
-+#define MACH_ATHEROS_AR2313 2
-+#define MACH_ATHEROS_AR2315 3
-+#define MACH_ATHEROS_AR2316 4
-+#define MACH_ATHEROS_AR2317 5
-+#define MACH_ATHEROS_AR2318 6
-+
- #define CL_SIZE COMMAND_LINE_SIZE
-
- const char *get_system_type(void);
diff --git a/target/linux/atheros/patches-2.6.23/110-spiflash.patch b/target/linux/atheros/patches-2.6.23/110-spiflash.patch
deleted file mode 100644
index 1199cbadf0..0000000000
--- a/target/linux/atheros/patches-2.6.23/110-spiflash.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Index: linux-2.6.23.17/drivers/mtd/devices/Kconfig
-===================================================================
---- linux-2.6.23.17.orig/drivers/mtd/devices/Kconfig
-+++ linux-2.6.23.17/drivers/mtd/devices/Kconfig
-@@ -76,6 +76,10 @@ config MTD_M25P80
- used for program and data storage. Set up your spi devices
- with the right board-specific platform data.
-
-+config MTD_SPIFLASH
-+ tristate "Atheros AR2315/6/7 SPI Flash support"
-+ depends on ATHEROS_AR5315
-+
- config MTD_SLRAM
- tristate "Uncached system RAM"
- help
-Index: linux-2.6.23.17/drivers/mtd/devices/Makefile
-===================================================================
---- linux-2.6.23.17.orig/drivers/mtd/devices/Makefile
-+++ linux-2.6.23.17/drivers/mtd/devices/Makefile
-@@ -18,3 +18,4 @@ obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd
- obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o
- obj-$(CONFIG_MTD_DATAFLASH26) += at91_dataflash26.o
- obj-$(CONFIG_MTD_M25P80) += m25p80.o
-+obj-$(CONFIG_MTD_SPIFLASH) += spiflash.o
diff --git a/target/linux/atheros/patches-2.6.23/130-ar2313_ethernet.patch b/target/linux/atheros/patches-2.6.23/130-ar2313_ethernet.patch
deleted file mode 100644
index 99dc4396f7..0000000000
--- a/target/linux/atheros/patches-2.6.23/130-ar2313_ethernet.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Index: linux-2.6.23.17/drivers/net/Kconfig
-===================================================================
---- linux-2.6.23.17.orig/drivers/net/Kconfig
-+++ linux-2.6.23.17/drivers/net/Kconfig
-@@ -348,6 +348,12 @@ config AX88796
- AX88796 driver, using platform bus to provide
- chip detection and resources
-
-+config AR2313
-+ tristate "AR2313 Ethernet support"
-+ depends on NET_ETHERNET && ATHEROS
-+ help
-+ Support for the AR231x/531x ethernet controller
-+
- config MACE
- tristate "MACE (Power Mac ethernet) support"
- depends on PPC_PMAC && PPC32
-Index: linux-2.6.23.17/drivers/net/Makefile
-===================================================================
---- linux-2.6.23.17.orig/drivers/net/Makefile
-+++ linux-2.6.23.17/drivers/net/Makefile
-@@ -182,6 +182,7 @@ obj-$(CONFIG_EQUALIZER) += eql.o
- obj-$(CONFIG_LGUEST_NET) += lguest_net.o
- obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o
- obj-$(CONFIG_MIPS_AU1X00_ENET) += au1000_eth.o
-+obj-$(CONFIG_AR2313) += ar2313/
- obj-$(CONFIG_MIPS_SIM_NET) += mipsnet.o
- obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o
- obj-$(CONFIG_DECLANCE) += declance.o
diff --git a/target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch b/target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch
deleted file mode 100644
index 2727d96c9a..0000000000
--- a/target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Index: linux-2.6.23.17/drivers/mtd/redboot.c
-===================================================================
---- linux-2.6.23.17.orig/drivers/mtd/redboot.c
-+++ linux-2.6.23.17/drivers/mtd/redboot.c
-@@ -64,6 +64,7 @@ static int parse_redboot_partitions(stru
- if (!buf)
- return -ENOMEM;
-
-+restart:
- if ( directory < 0 )
- offset = master->size + directory*master->erasesize;
- else
-@@ -140,6 +141,11 @@ static int parse_redboot_partitions(stru
- }
- if (i == numslots) {
- /* Didn't find it */
-+ if (offset + master->erasesize < master->size) {
-+ /* not at the end of the flash yet, maybe next block :) */
-+ directory++;
-+ goto restart;
-+ }
- printk(KERN_NOTICE "No RedBoot partition table detected in %s\n",
- master->name);
- ret = 0;
diff --git a/target/linux/atheros/patches-2.6.23/150-bridge-printk.patch b/target/linux/atheros/patches-2.6.23/150-bridge-printk.patch
deleted file mode 100644
index ad8c57fc6a..0000000000
--- a/target/linux/atheros/patches-2.6.23/150-bridge-printk.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Index: linux-2.6.23.17/net/core/dev.c
-===================================================================
---- linux-2.6.23.17.orig/net/core/dev.c
-+++ linux-2.6.23.17/net/core/dev.c
-@@ -3426,8 +3426,8 @@ int register_netdevice(struct net_device
- /* Fix illegal SG+CSUM combinations. */
- if ((dev->features & NETIF_F_SG) &&
- !(dev->features & NETIF_F_ALL_CSUM)) {
-- printk(KERN_NOTICE "%s: Dropping NETIF_F_SG since no checksum feature.\n",
-- dev->name);
-+ //printk(KERN_NOTICE "%s: Dropping NETIF_F_SG since no checksum feature.\n",
-+ // dev->name);
- dev->features &= ~NETIF_F_SG;
- }
-
-@@ -3440,9 +3440,9 @@ int register_netdevice(struct net_device
- }
- if (dev->features & NETIF_F_UFO) {
- if (!(dev->features & NETIF_F_HW_CSUM)) {
-- printk(KERN_ERR "%s: Dropping NETIF_F_UFO since no "
-- "NETIF_F_HW_CSUM feature.\n",
-- dev->name);
-+ //printk(KERN_ERR "%s: Dropping NETIF_F_UFO since no "
-+ // "NETIF_F_HW_CSUM feature.\n",
-+ // dev->name);
- dev->features &= ~NETIF_F_UFO;
- }
- if (!(dev->features & NETIF_F_SG)) {
diff --git a/target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch b/target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch
deleted file mode 100644
index ddf7d1d8d6..0000000000
--- a/target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Index: linux-2.6.23.17/drivers/net/ar2313/ar2313.c
-===================================================================
---- linux-2.6.23.17.orig/drivers/net/ar2313/ar2313.c
-+++ linux-2.6.23.17/drivers/net/ar2313/ar2313.c
-@@ -953,9 +953,9 @@ static int ar2313_rx_int(struct net_devi
- ((status >> DMA_RX_LEN_SHIFT) & 0x3fff) - CRC_LEN);
-
- dev->stats.rx_bytes += skb->len;
-- skb->protocol = eth_type_trans(skb, dev);
-+
- /* pass the packet to upper layers */
-- netif_rx(skb);
-+ sp->rx(skb);
-
- skb_new->dev = dev;
- /* 16 bit align */
-@@ -1370,6 +1370,8 @@ static int mdiobus_probe (struct net_dev
- return PTR_ERR(phydev);
- }
-
-+ sp->rx = phydev->netif_rx;
-+
- /* mask with MAC supported features */
- phydev->supported &= (SUPPORTED_10baseT_Half
- | SUPPORTED_10baseT_Full
-Index: linux-2.6.23.17/drivers/net/ar2313/ar2313.h
-===================================================================
---- linux-2.6.23.17.orig/drivers/net/ar2313/ar2313.h
-+++ linux-2.6.23.17/drivers/net/ar2313/ar2313.h
-@@ -107,6 +107,8 @@ typedef struct {
- */
- struct ar2313_private {
- struct net_device *dev;
-+ int (*rx)(struct sk_buff *skb);
-+
- int version;
- u32 mb[2];
-