cpqphp 66/100/133MHz PCI-X support for 2.5.65

cpqphp 66/100/133MHz PCI-X support for 2.5.65

Post by Torben Mathiase » Thu, 20 Mar 2003 14:00:18



Hi Greg,

After being put on hold for a while (needed fixes to CCISS driver, etc) I
attached a patch that adds pci-x support to the cpqphp driver in 2.5.65.

Changes:
        Adds 66/100/133MHz PCI-X support.
        Adds support for dynamically chaning frequency and mode.
        Changes code to also blink the power LED when powering down.
        Uses the IRQ from PCI config space if the ROM resource table doesn't
        provide one (would previously use the same interrupt as the hotplug
        controller which would lead to bad things when trying to update routing
        tables). Dan Zink should have the credit for this fix.
        Changes find_slot() to cpqhp_find_slot().
        Uses sysfs to display speed/freq.
        Some documentation updates.

It seems you're in the middle of updating all hotplug drivers. The cpqphp
driver will oops if you plug in any adapter (unrelated to this patch). I'm sure
you're aware of this so I didn't bother looking into a fix. It happens because
pci_scan_slot() now returns an integer instead of a struct pci_dev*.

A 2.4 version is also done and working as expected (tested with CCISS, nics, etc).
When would you prefer to have that patch?

Thanks,
Torben

  linux-2.5.65-pcix-1.diff
19K Download
 
 
 

cpqphp 66/100/133MHz PCI-X support for 2.5.65

Post by Greg K » Thu, 20 Mar 2003 23:50:13



> Hi Greg,

> After being put on hold for a while (needed fixes to CCISS driver, etc) I
> attached a patch that adds pci-x support to the cpqphp driver in 2.5.65.

Thanks a lot for the patch.  I've added it to my trees and will send it
on to Linus in a few days.

Quote:> It seems you're in the middle of updating all hotplug drivers. The cpqphp
> driver will oops if you plug in any adapter (unrelated to this patch). I'm sure
> you're aware of this so I didn't bother looking into a fix. It happens because
> pci_scan_slot() now returns an integer instead of a struct pci_dev*.

Yeah, I'm working on fixing that up right now :(

Quote:> A 2.4 version is also done and working as expected (tested with CCISS, nics, etc).
> When would you prefer to have that patch?

I'd be glad to take it now if you have it.

thanks again for the patch,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

cpqphp 66/100/133MHz PCI-X support for 2.5.65

Post by Torben Mathiase » Fri, 21 Mar 2003 13:40:12



> I'd be glad to take it now if you have it.

Cool. Its attached. Patch against 2.4.21pre5 but also applies to current BK.

Thanks,
Torben

  linux-2.4.21pre5-pcix-1.diff
18K Download
 
 
 

1. ide kernel panic: 2.5.64-ac3 2.5.65-ac1 2.5.65-mm4

AMD K6/2 with VIA chipset has this panic at boot:

Kernel panic: ide: default attach failed

Panic on 2.5.64-ac3, 2.5.65-ac[13], 2.5.65-mm4, 2.5.65-bk4.

No panic on 2.5.61-ac1, 2.5.65-mm3, 2.5.65, 2.4.21-pre5, 2.4.21-pre5-ac3.

No modules.

egrep '^C.*IDE|^C.*VIA' /usr/src/linux-2.5.65-ac1/.config
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_VIA82CXXX=y
CONFIG_IDEDMA_AUTO=y
CONFIG_BLK_DEV_IDE_MODES=y

Boot message on 2.5.65-ac1:

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c586b (rev 47) IDE UDMA33 controller on pci00:07.1
    ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 51536U3, ATA DISK drive
hdb: ATAPI CDROM, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: Maxtor 52049U4, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 30015216 sectors (15368 MB) w/2048KiB Cache, CHS=29777/16/63, UDMA(33)
 hda: [PTBL] [1868/255/63] hda1 hda2 hda3
hdc: host protected area => 1
hdc: 40020624 sectors (20491 MB) w/2048KiB Cache, CHS=39703/16/63, UDMA(33)
 hdc: hdc1 hdc2 hdc3
ide-disk: hdc: Failed to register the driver with ide.c
ide-default: hdc: Failed to register the driver with ide.c
Kernel panic: ide: default attach failed

lspci -vvv for IDE interface

IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Region 4: I/O ports at e000 [size=16]

lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3] (rev 04)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C586/A/B PCI-to-ISA [Apollo VP] (rev 47)
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:07.3 Host bridge: VIA Technologies, Inc. VT82C586B ACPI (rev 10)
00:13.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 10)
01:00.0 VGA compatible controller: nVidia Corporation NV6 [Vanta] (rev 15)

--
Randy Hron
http://home.earthlink.net/~rwhron/kernel/bigbox.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. unattended installation

3. [2.5.65] kexec for 2.5.65 available

4. Portability issues forum

5. 2.5.65 patch to support > 256 disks

6. thread creation problem

7. New: No ataraid support in 2.5.65?

8. smp freeze on 2.4.9

9. PC-9800 subarch. support for 2.5.65

10. Some Warning from gcc-3.4-cvs for 2.5.65

11. 2.5.65: 3C905 driver doesn't work.

12. fix pppoatm compile in 2.5.65

13. 2.5.65 RCU oops.