Subject: Re: Some questions about VIA southbridge
To: None <cube@cubidou.net>
From: Juan RP <juan@xtraeme.nopcode.org>
List: port-i386
Date: 10/27/2004 11:47:14
--Signature=_Wed__27_Oct_2004_11_47_14_+0200_pCO6SBgoFTveIcNA
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Wed, 27 Oct 2004 11:23:46 +0200
cube@cubidou.net wrote:

> Have a look at the probe code in viaide.c.  What it does is the following.
> First, it detects a VIA IDE device.  There are only 3 PCI product IDs for
> that:  PCI_PRODUCT_VIATECH_VT82C586_IDE, PCI_PRODUCT_VIATECH_VT82C586A_IDE
> and PCI_PRODUCT_VIATECH_VT8237_SATA.
> 
> The actual detection happens in via_chip_map, where the actual LPC/ISA
> bridge is scanned to know what is the actual device.  That is only at that
> point that viaide(4) knows it deals with a VT8235 device.
> 
> So pcictl(8) is right, as it only shows the PCI product ID, which is the
> same in both case.
> 
> Looking closer, it appears that chip is truly always the same, except
> for the UDMA level it is capable of, and that's why the driver looks at
> the bridge IDs.

After talking with Quentin on IRC, the thread is closed heh.

Finally I know that these southbridges (VT82C686B and VT8235) are
using the same IDE controller, which is reported correctly by pcictl(8).

Thanks Quentin :)

--Signature=_Wed__27_Oct_2004_11_47_14_+0200_pCO6SBgoFTveIcNA
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFBf26lypkLYVDran0RAsPSAKCLRvPOMxx8hVXyHWe7IFUjVvAexwCgqlGB
s7p3uX0AQShlNL53I2CnEMI=
=/ota
-----END PGP SIGNATURE-----

--Signature=_Wed__27_Oct_2004_11_47_14_+0200_pCO6SBgoFTveIcNA--