Krzysztof Halasa wrote:
> Ok. I just put a program on something like
> http://www.kernel.org/~chris/vt6307ohciver.c
> 
> Anybody with OHCI-1.0 VT6307* Firewire chip may want to try. Obviously
> it's based on undocumented features, it may blow your machine etc.
> 
> Please remove your ohci1394 or firewire-ohci driver before using this
> program.
> 
> Compile with the usual spell: gcc -Wall -O2 vt6307ohciver.c -o vt6307ohciver

I also had to specify "-lpci" on Mandrake 10.1, "-lpci -lz" on Gentoo.

...
> If you have a VT6306-based card and you run this program, I'd
> appreciate it if you let me know the EEPROM contents (make sure
> you mention chip type)

        # lspci|grep 1394
        00:0a.3 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394
        Host Controller (rev 46)
        00:0c.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394
        Host Controller (rev 46)

These are both VT6306, one on the motherboard and one on a PCI card.

        # ./a.out 00:0a.3
        I/O region #1 is at C800
        It seems your VT6307 chip is connected to 93c46 EEPROM
        Page size is 4096 (0x1000) bytes
        GUID PROM register address is 0xec101004
        Mapping 8 (0x8) bytes of memory at 0xec101000
        Mapped mem region #0 at virtual address 0xb7f3a000
        GUID PROM register is at virtual address 0xb7f3a004

        EEPROM dump:
        00: 00 11 06 00 00 00 E3 32 00 88 00 08 44 00 00 00
        10: A1 E4 2F 00 06 11 44 30 03 DF 40 00 00 20 00 73
        20: 3C 10 00 00 00 00 FF FF FF FF FF FF D7 57 55 75

        Your VT6307 chip is in OHCI 1.0 mode

        # ./a.out 00:0c.0
        I/O region #1 is at D000
        It seems your VT6307 chip is connected to 93c46 EEPROM
        Page size is 4096 (0x1000) bytes
        GUID PROM register address is 0xec103004
        Mapping 8 (0x8) bytes of memory at 0xec103000
        Mapped mem region #0 at virtual address 0xb7f1a000
        GUID PROM register is at virtual address 0xb7f1a004

        EEPROM dump:
        00: 00 30 1B AC 00 00 2B A4 04 04 32 55 F8 00 A2 02
        10: A1 00 40 63 06 11 44 30 03 DF 40 00 00 20 00 73
        20: 3C 10 00 00 00 00 FF FF FF FF FF FF FF FF FF FF

        Your VT6307 chip is in OHCI 1.0 mode


On another PC:

        # lspci | grep 1394
        02:02.0 FireWire (IEEE 1394): Texas Instruments TSB82AA2
        IEEE-1394b Link Layer Controller (rev 01)
        05:04.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394
        Host Controller (rev 80)
        06:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394
        Host Controller (rev 46)

The "rev 80" chip is a VT6307 on the motherboard.

        # ./a.out 05:04.0
        I/O region #1 is at ED00
        It seems your VT6307 chip is connected to I^2C (24c01 or
        similar) EEPROM
        Page size is 4096 (0x1000) bytes
        GUID PROM register address is 0xfbffd004
        Mapping 8 (0x8) bytes of memory at 0xfbffd000
        Mapped mem region #0 at virtual address 0xb7f76000
        GUID PROM register is at virtual address 0xb7f76004

        EEPROM dump:
        00: 00 10 DC 56 00 FE D2 D4 04 04 32 55 F8 00 A2 02
        10: A1 00 40 63 20 63 62 14 03 DF 40 80 00 20 00 73
        20: 3C 10 08 00 00 00 FF FF FF FF FF FF FF FF FF FF

        Your VT6307 chip is in OHCI 1.1 mode

The "rev 46" chip is on a CardBus card.  So far I believed it to be a
VT6306 but I can't easily open the card's casing...

        # ./a.out 06:00.0
        I/O region #1 is at E000
        It seems your VT6307 chip is connected to I^2C (24c01 or
        similar) EEPROM
        Page size is 4096 (0x1000) bytes
        GUID PROM register address is 0x80000004
        Mapping 8 (0x8) bytes of memory at 0x80000000
        Mapped mem region #0 at virtual address 0xb7f2f000
        GUID PROM register is at virtual address 0xb7f2f004

        EEPROM dump:
        00: 00 11 06 00 00 00 41 CC 04 04 32 55 F8 00 92 02
        10: A1 00 40 63 06 11 44 30 03 DF 40 80 00 20 00 73
        20: 3C 10 00 00 00 00 A0 00 FF FF FF FF FF FF FF FF

        Your VT6307 chip is in OHCI 1.0 mode

> and, if you tried "upgrading" or "downgrading", if it worked.

I haven't tried it yet.
-- 
Stefan Richter
-=====-=-=== =-=- ===--
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to