I changed the 250 to 250000 as specified below, in 2.4.21-pre1.
Everything seems to be working. I'm back in EHCI heaven ;)

I will bang it around abit and report any problems.

Thanks David and Richard!

Tony

>> handshake() is always returning non-zero due to ETIMEOUT, I've also
tried
>> increasing 250 to 2000; if I ignore the return code from
ehci_reset()
>> the driver loads.

>But does it work afterwards?  It didn't actually reset yet,
>which is what the ETIMEDOUT indicates.

>The EHCI 1.0 spec says (2.3.1) that bit clears itself when
>the reset is done, and the only constraint on it is that
>the STS_HALT bit must be set.  Which is guaranteed by the
>call to ehci_halt() shortly before.

>That 250 is in microseconds, not milliseconds, so maybe
>this hardware is just slower to reset than the other EHCI
>hardware I've used.  Try using "250 * 1000" instead ... your
>"2000" was just two milliseconds, which still isn't much.

my lspci:
00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host
Bridge (rev 02)
        Subsystem: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge
        Flags: bus master, fast devsel, latency 0
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [e4] #09 [6105]
        Capabilities: [a0] AGP version 2.0

00:01.0 PCI bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset AGP
Bridge (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, fast devsel, latency 32
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        Memory behind bridge: fc500000-fe5fffff
        Prefetchable memory behind bridge: dc100000-ec2fffff

00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 02)
(prog-if 00 [UHCI])
        Subsystem: Intel Corp.: Unknown device 5356
        Flags: bus master, medium devsel, latency 0, IRQ 16
        I/O ports at e800 [size=32]

00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 02)
(prog-if 00 [UHCI])
        Subsystem: Intel Corp.: Unknown device 5356
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at e880 [size=32]

00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 02)
(prog-if 00 [UHCI])
        Subsystem: Intel Corp.: Unknown device 5356
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at ec00 [size=32]

00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev
02) (prog-if 20 [EHCI])
        Subsystem: Intel Corp.: Unknown device 5356
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at febffc00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] #0a [2080]

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 82)
(prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: fe600000-feafffff
        Prefetchable memory behind bridge: ec300000-ec3fffff

00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 02)
        Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 02) (prog-if
8a [Master SecP PriP])
        Subsystem: Intel Corp.: Unknown device 5356
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at <unassigned> [size=8]
        I/O ports at <unassigned> [size=4]
        I/O ports at <unassigned> [size=8]
        I/O ports at <unassigned> [size=4]
        I/O ports at ffa0 [size=16]
        Memory at 40000000 (32-bit, non-prefetchable) [disabled] [size=1K]

00:1f.3 SMBus: Intel Corp. 82801DB SMBus (rev 02)
        Subsystem: Intel Corp.: Unknown device 5356
        Flags: medium devsel, IRQ 17
        I/O ports at e480 [size=32]

01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4
Ti4600] (rev a2) (prog-if 00 [VGA])
        Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 16
        Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Memory at e0000000 (32-bit, prefetchable) [size=128M]
        Memory at ec280000 (32-bit, prefetchable) [size=512K]
        Expansion ROM at fe5e0000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 2.0

02:01.0 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m
(rev 01)
        Subsystem: Adaptec AHA-3960D U160/m
        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 22
        BIST result: 00
        I/O ports at d400 [disabled] [size=256]
        Memory at feafe000 (64-bit, non-prefetchable) [size=4K]
        Expansion ROM at feaa0000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2

02:01.1 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m
(rev 01)
        Subsystem: Adaptec AHA-3960D U160/m
        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 21
        BIST result: 00
        I/O ports at d800 [disabled] [size=256]
        Memory at feaff000 (64-bit, non-prefetchable) [size=4K]
        Expansion ROM at feac0000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2

02:04.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
        Subsystem: Creative Labs SB0090 Audigy Player
        Flags: bus master, medium devsel, latency 32, IRQ 17
        I/O ports at d080 [size=32]
        Capabilities: [dc] Power Management version 2

02:04.1 Input device controller: Creative Labs SB Audigy MIDI/Game port
(rev 03)
        Subsystem: Creative Labs SB Audigy MIDI/Gameport
        Flags: bus master, medium devsel, latency 32
        I/O ports at dc00 [size=8]
        Capabilities: [dc] Power Management version 2

02:04.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port
(prog-if 10 [OHCI])
        Subsystem: Creative Labs: Unknown device 0010
        Flags: bus master, medium devsel, latency 32, IRQ 23
        Memory at feafd800 (32-bit, non-prefetchable) [size=2K]
        Memory at feaf8000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2

02:05.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100]
(rev 08)
        Subsystem: IBM 10/100 EtherJet Management Adapter
        Flags: bus master, medium devsel, latency 32, IRQ 18
        Memory at feafc000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at d000 [size=64]
        Memory at fe900000 (32-bit, non-prefetchable) [size=1M]
        Expansion ROM at fe800000 [disabled] [size=1M]
        Capabilities: [dc] Power Management version 2

02:08.0 Ethernet controller: Intel Corp. 82801BD PRO/100 VE (LOM)
Ethernet Controller (rev 82)
        Subsystem: Intel Corp.: Unknown device 3015
        Flags: bus master, medium devsel, latency 32, IRQ 20
        Memory at feaf7000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at df00 [size=64]
        Capabilities: [dc] Power Management version 2




-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to