Re: VIA VT6307 OHCI version?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stefan Richter <[email protected]> writes:

> AFAIK all 6306 are OHCI 1.0.  I presume that currently produced 6307 are
> OHCI 1.1 and maybe only first revisions of it were 1.0 --- but that's
> just my speculation.  I would be surprised though if it was merely a
> matter of EEPROM contents.

Both VT6306 and VT6307 datasheets claim selectable OHCI 1.0/1.1.
I guess they did that for compatibility or something like that.

The 6307 chip allows for either I^2C (24c01 etc) or 93c64 EEPROM (there
is a pin to select), while 6306 works with 93c64 only (4-wire: chip
select, clock, data-in, data-out).

I examined 3 machines with VT6307 using a simple home-made signal
analyzer:
a) using 93C46 EEPROM and OHCI 1.0
b) using 24C01A EEPROM and OHCI 1.0
c) using 24C01A EEPROM and OHCI 1.1

All 3 chips have PCI vendorID 1106 and deviceID 3044, revision is 0x80.

The VT6307 chip reads the EEPROM (after reset) in the following order:

ADDR	ADDR	a)	b)	c)
4-wire	I^2C
 A	14	subsystem vendor ID
 B	16	subsystem device ID

10	20	103C	103C	103C	values same on all machines
 C	18	DF03	DF03	DF03
 D	1A	8040	8040	8040
 E	1C	2000	2000	2000
 F	1E	7300	7300	7300

11	22	0000	0000	0008
12	24	0000	0000	0000
 0	 0	4000	0000	1000	config_rom: offset 0E
 1	 2	0063	DC10	00DC	(GUID)		   0C
 2	 4	0100	FD00	0101			   12
 3	 6	D0D4	8F75	F2D4			   10

 4	 8	0404	0404	0404	values same on all machines
 5	 A	5532	5532	5532	
 6	 C	00F8	00F8	00F8	
 7	 E	02A2	02A2	02A2	
 8	10	00A1	00A1	00A1	
 9	12	6340	6340	6340	

The only difference (not counting GUID) is at address 0x11 (0x22
for I2C).
I haven't yet checked if it changes OHCI version - I of course
could program the EEPROM externally but I think I'd better find
how to do that from PCI side.
-- 
Krzysztof Halasa
-
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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux