From 35c08c894e29a62cd2675696c3b39723e29168a1 Mon Sep 17 00:00:00 2001 From: "Mark M. Hoffman" Date: Sat, 21 Jun 2003 17:01:59 +0000 Subject: [PATCH] Added missing PCI ID for 746. Also added comments noting in (mmh) which release (> 2.4.9) the IDs were defined, if any. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1804 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/busses/i2c-sis645.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/kernel/busses/i2c-sis645.c b/kernel/busses/i2c-sis645.c index baf786e1..73c73c95 100644 --- a/kernel/busses/i2c-sis645.c +++ b/kernel/busses/i2c-sis645.c @@ -50,21 +50,31 @@ #define DRV_NAME "i2c-sis645" -/* SiS645DX north bridge */ +/* SiS645DX north bridge (defined in 2.4.21) */ #ifndef PCI_DEVICE_ID_SI_646 #define PCI_DEVICE_ID_SI_646 0x0646 #endif -/* SiS648 north bridge */ +/* SiS648 north bridge (defined in 2.4.21) */ #ifndef PCI_DEVICE_ID_SI_648 #define PCI_DEVICE_ID_SI_648 0x0648 #endif -/* SiS651 north bridge */ +/* SiS650 north bridge (defined in 2.4.19) */ +#ifndef PCI_DEVICE_ID_SI_650 +#define PCI_DEVICE_ID_SI_650 0x0650 +#endif + +/* SiS651 north bridge (defined in 2.4.21)*/ #ifndef PCI_DEVICE_ID_SI_651 #define PCI_DEVICE_ID_SI_651 0x0651 #endif +/* SiS746 north bridge (defined in 2.4.21) */ +#ifndef PCI_DEVICE_ID_SI_746 +#define PCI_DEVICE_ID_SI_746 0x0746 +#endif + /* SiS85C503/5513 (LPC Bridge) */ #ifndef PCI_DEVICE_ID_SI_LPC #define PCI_DEVICE_ID_SI_LPC 0x0018 @@ -85,7 +95,10 @@ #define PCI_DEVICE_ID_SI_963 0x0963 #endif +/* SMBus ID */ +#ifndef PCI_DEVICE_ID_SI_SMBUS #define PCI_DEVICE_ID_SI_SMBUS 0x16 +#endif /* base address register in PCI config space */ #define SIS645_BAR 0x04