linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [I2C] i2c-viapro: Add new PCI device ID For VX855
@ 2009-05-17  6:04 Harald Welte
       [not found] ` <20090517060439.GE4909-jI4mzJ+yNOMOwssVsN95jSCwEArCW2h5@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Harald Welte @ 2009-05-17  6:04 UTC (permalink / raw)
  To: linux-i2c-u79uwXL29TY76Z2rM5mHXA; +Cc: Jean Delvare

The south bridge of the VIA VX855 chipset has a different PCI Device ID
so i2c-viapro.c needs to be updated with this.

Signed-off-by: Harald Welte <HaraldWelte-yS34VQbMlVtBDgjK7y7TUQ@public.gmane.org>
---
 drivers/i2c/busses/i2c-viapro.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/i2c/busses/i2c-viapro.c b/drivers/i2c/busses/i2c-viapro.c
index 02e6f72..7a0b15a 100644
--- a/drivers/i2c/busses/i2c-viapro.c
+++ b/drivers/i2c/busses/i2c-viapro.c
@@ -37,6 +37,7 @@
    VT8251             0x3287             yes
    CX700              0x8324             yes
    VX800/VX820        0x8353             yes
+   VX855/VX875        0x8409             yes
 
    Note: we assume there can only be one device, with one SMBus interface.
 */
@@ -469,6 +470,8 @@ static struct pci_device_id vt596_ids[] = {
 	  .driver_data = SMBBA3 },
 	{ PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX800),
 	  .driver_data = SMBBA3 },
+	{ PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX855),
+	  .driver_data = SMBBA3 },
 	{ 0, }
 };
 
-- 
1.6.2.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] [I2C] i2c-viapro: Add new PCI device ID For VX855
       [not found] ` <20090517060439.GE4909-jI4mzJ+yNOMOwssVsN95jSCwEArCW2h5@public.gmane.org>
@ 2009-05-17  8:19   ` Jean Delvare
       [not found]     ` <20090517101952.533373c1-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Jean Delvare @ 2009-05-17  8:19 UTC (permalink / raw)
  To: Harald Welte; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA

Hi Harald,

On Sun, 17 May 2009 14:04:39 +0800, Harald Welte wrote:
> The south bridge of the VIA VX855 chipset has a different PCI Device ID
> so i2c-viapro.c needs to be updated with this.
> 
> Signed-off-by: Harald Welte <HaraldWelte-yS34VQbMlVtBDgjK7y7TUQ@public.gmane.org>
> ---
>  drivers/i2c/busses/i2c-viapro.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/i2c/busses/i2c-viapro.c b/drivers/i2c/busses/i2c-viapro.c
> index 02e6f72..7a0b15a 100644
> --- a/drivers/i2c/busses/i2c-viapro.c
> +++ b/drivers/i2c/busses/i2c-viapro.c
> @@ -37,6 +37,7 @@
>     VT8251             0x3287             yes
>     CX700              0x8324             yes
>     VX800/VX820        0x8353             yes
> +   VX855/VX875        0x8409             yes
>  
>     Note: we assume there can only be one device, with one SMBus interface.
>  */
> @@ -469,6 +470,8 @@ static struct pci_device_id vt596_ids[] = {
>  	  .driver_data = SMBBA3 },
>  	{ PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX800),
>  	  .driver_data = SMBBA3 },
> +	{ PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX855),
> +	  .driver_data = SMBBA3 },
>  	{ 0, }
>  };
>  

Thanks for your contribution. You did not include
PCI_DEVICE_ID_VIA_VX855 to the list of devices which support I2C block
transactions (in function vt596_probe), is this on purpose or an
overlook?

-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] [I2C] i2c-viapro: Add new PCI device ID For VX855
       [not found]     ` <20090517101952.533373c1-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
@ 2009-05-17 12:59       ` Harald Welte
       [not found]         ` <20090517125940.GA19746-jI4mzJ+yNOMOwssVsN95jSCwEArCW2h5@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Harald Welte @ 2009-05-17 12:59 UTC (permalink / raw)
  To: Jean Delvare; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA

Hi Jean,

On Sun, May 17, 2009 at 10:19:52AM +0200, Jean Delvare wrote:

> Thanks for your contribution. You did not include
> PCI_DEVICE_ID_VIA_VX855 to the list of devices which support I2C block
> transactions (in function vt596_probe), is this on purpose or an
> overlook?

it was an overlook on my side, sorry.  Can you just add that yourself or do you wnat me to send another patch?

-- 
- Harald Welte <HaraldWelte-yS34VQbMlVtBDgjK7y7TUQ@public.gmane.org>	    http://linux.via.com.tw/
============================================================================
VIA Open Source Liaison

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] [I2C] i2c-viapro: Add new PCI device ID For VX855
       [not found]         ` <20090517125940.GA19746-jI4mzJ+yNOMOwssVsN95jSCwEArCW2h5@public.gmane.org>
@ 2009-05-17 14:03           ` Jean Delvare
  0 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2009-05-17 14:03 UTC (permalink / raw)
  To: Harald Welte; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA

On Sun, 17 May 2009 20:59:40 +0800, Harald Welte wrote:
> On Sun, May 17, 2009 at 10:19:52AM +0200, Jean Delvare wrote:
> 
> > Thanks for your contribution. You did not include
> > PCI_DEVICE_ID_VIA_VX855 to the list of devices which support I2C block
> > transactions (in function vt596_probe), is this on purpose or an
> > overlook?
> 
> it was an overlook on my side, sorry.  Can you just add that yourself or
> do you wnat me to send another patch?

I'll add it myself, no problem.

-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-05-17 14:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-17  6:04 [PATCH] [I2C] i2c-viapro: Add new PCI device ID For VX855 Harald Welte
     [not found] ` <20090517060439.GE4909-jI4mzJ+yNOMOwssVsN95jSCwEArCW2h5@public.gmane.org>
2009-05-17  8:19   ` Jean Delvare
     [not found]     ` <20090517101952.533373c1-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-05-17 12:59       ` Harald Welte
     [not found]         ` <20090517125940.GA19746-jI4mzJ+yNOMOwssVsN95jSCwEArCW2h5@public.gmane.org>
2009-05-17 14:03           ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).