diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-06-26 20:41:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-06-26 20:41:59 +0000 |
commit | d3ec4c6f75195bf79f15804024036a5eb6c0b94d (patch) | |
tree | 1c3c36fd5f358bb19c2b181de417425f68444d82 /target/linux/brcm-2.4/patches/013-wl_hdd_pdc202xx.patch | |
parent | 19a9284b9a6fd60ac78a129052cc677a39abf3cb (diff) | |
download | upstream-d3ec4c6f75195bf79f15804024036a5eb6c0b94d.tar.gz upstream-d3ec4c6f75195bf79f15804024036a5eb6c0b94d.tar.bz2 upstream-d3ec4c6f75195bf79f15804024036a5eb6c0b94d.zip |
remove the brcm-2.4 target, it will no longer be supported in future releases. please use brcm47xx with broadcom-wl instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21946 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm-2.4/patches/013-wl_hdd_pdc202xx.patch')
-rw-r--r-- | target/linux/brcm-2.4/patches/013-wl_hdd_pdc202xx.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/target/linux/brcm-2.4/patches/013-wl_hdd_pdc202xx.patch b/target/linux/brcm-2.4/patches/013-wl_hdd_pdc202xx.patch deleted file mode 100644 index ffe022b588..0000000000 --- a/target/linux/brcm-2.4/patches/013-wl_hdd_pdc202xx.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- a/drivers/ide/pci/pdc202xx_old.c -+++ b/drivers/ide/pci/pdc202xx_old.c -@@ -253,23 +253,23 @@ static int pdc202xx_tune_chipset (ide_dr - pci_read_config_byte(dev, (drive_pci)|0x03, &DP); - - if (speed < XFER_SW_DMA_0) { -- if ((AP & 0x0F) || (BP & 0x07)) { -+ if ((AP & 0x0F) || (BP & 0x17)) { - /* clear PIO modes of lower 8421 bits of A Register */ - pci_write_config_byte(dev, (drive_pci), AP &~0x0F); - pci_read_config_byte(dev, (drive_pci), &AP); - - /* clear PIO modes of lower 421 bits of B Register */ -- pci_write_config_byte(dev, (drive_pci)|0x01, BP &~0x07); -+ pci_write_config_byte(dev, (drive_pci)|0x01, BP &~0x17); - pci_read_config_byte(dev, (drive_pci)|0x01, &BP); - - pci_read_config_byte(dev, (drive_pci), &AP); - pci_read_config_byte(dev, (drive_pci)|0x01, &BP); - } - } else { -- if ((BP & 0xF0) && (CP & 0x0F)) { -+ if ((BP & 0xE0) && (CP & 0x0F)) { - /* clear DMA modes of upper 842 bits of B Register */ - /* clear PIO forced mode upper 1 bit of B Register */ -- pci_write_config_byte(dev, (drive_pci)|0x01, BP &~0xF0); -+ pci_write_config_byte(dev, (drive_pci)|0x01, BP &~0xE0); - pci_read_config_byte(dev, (drive_pci)|0x01, &BP); - - /* clear DMA modes of lower 8421 bits of C Register */ -@@ -373,6 +373,9 @@ static int config_chipset_for_dma (ide_d - u8 ultra_66 = ((id->dma_ultra & 0x0010) || - (id->dma_ultra & 0x0008)) ? 1 : 0; - -+ if (hwif->rqsize != 256) -+ hwif->rqsize = 256; -+ - switch(dev->device) { - case PCI_DEVICE_ID_PROMISE_20267: - case PCI_DEVICE_ID_PROMISE_20265: |