From 4dc80d9c0180680447091634ae47ee8665f8512a Mon Sep 17 00:00:00 2001 From: wbx Date: Fri, 27 May 2005 05:53:59 +0000 Subject: fix pci initialization and add oleg et driver. connect new linux structure. git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1078 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/linux/linux-2.4/linux.mk | 2 +- package/linux/linux-2.4/patches/001-bcm47xx.patch | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'package/linux/linux-2.4') diff --git a/package/linux/linux-2.4/linux.mk b/package/linux/linux-2.4/linux.mk index 8f8124ffb..9fdef71f7 100644 --- a/package/linux/linux-2.4/linux.mk +++ b/package/linux/linux-2.4/linux.mk @@ -29,7 +29,7 @@ LINUX_SOURCE_DIR=$(LINUX_DIR)-$(LINUX_VERSION) LINUX_BINARY_WL_DRIVER=kernel-binary-wl-0.3.tar.gz LINUX_BINARY_WL_MD5SUM=cc45df670bcfb4e74a709b9d7beba636 LINUX_ET_DRIVER=kernel-source-et-0.7.tar.gz -LINUX_ET_MD5SUM=f2277895f52eae26ae37065685507031 +LINUX_ET_MD5SUM=2d12b6dae78b20c88fee9fb41e88a51b TARGET_MODULES_DIR=$(TARGET_DIR)/lib/modules/$(LINUX_VERSION) diff --git a/package/linux/linux-2.4/patches/001-bcm47xx.patch b/package/linux/linux-2.4/patches/001-bcm47xx.patch index 405e56d9b..b4a960ff1 100644 --- a/package/linux/linux-2.4/patches/001-bcm47xx.patch +++ b/package/linux/linux-2.4/patches/001-bcm47xx.patch @@ -11420,7 +11420,7 @@ diff -Nur linux-2.4.30/arch/mips/bcm947xx/sbmips.c linux-2.4.30-brcm/arch/mips/b +} diff -Nur linux-2.4.30/arch/mips/bcm947xx/sbpci.c linux-2.4.30-brcm/arch/mips/bcm947xx/sbpci.c --- linux-2.4.30/arch/mips/bcm947xx/sbpci.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.4.30-brcm/arch/mips/bcm947xx/sbpci.c 2005-05-26 01:46:08.000000000 +0200 ++++ linux-2.4.30-brcm/arch/mips/bcm947xx/sbpci.c 2005-05-26 21:56:08.000000000 +0200 @@ -0,0 +1,569 @@ +/* + * Low-Level PCI and SB support for BCM47xx @@ -11697,11 +11697,12 @@ diff -Nur linux-2.4.30/arch/mips/bcm947xx/sbpci.c linux-2.4.30-brcm/arch/mips/bc + return -1; + sb_core_reset(sbh, 0); + -+ /* In some board, */ ++ /* In some board, + if(nvram_match("boardtype", "bcm94710dev")) + CT4712_WR = 0; + else + CT4712_WR = 1; ++ /* + + boardflags = (uint32) getintvar(NULL, "boardflags"); + @@ -11715,8 +11716,7 @@ diff -Nur linux-2.4.30/arch/mips/bcm947xx/sbpci.c linux-2.4.30-brcm/arch/mips/bc + */ + if (((chip == BCM4712_DEVICE_ID) && + ((chippkg == BCM4712SMALL_PKG_ID) || -+ (chippkg == BCM4712MID_PKG_ID))) || -+ (boardflags & BFL_NOPCI || CT4712_WR)) ++ (chippkg == BCM4712MID_PKG_ID))) ) + pci_disabled = TRUE; + + /* -- cgit v1.2.3