Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i2c-viapro: Add VIA VX900 device ID

The SMBus controller in the VIA VX900 appears to be compatible with
the VIA VX855, so just add the device ID.

This closes kernel bug #43096.

Signed-off-by: Jean Delvare <khali@linux-fr.org>

authored by

Jean Delvare and committed by
Jean Delvare
01d56a6a 7fe442a1

+11 -2
+5 -1
Documentation/i2c/busses/i2c-viapro
··· 20 20 Datasheet: available on http://linux.via.com.tw 21 21 22 22 * VIA Technologies, Inc. VX855/VX875 23 - Datasheet: Availability unknown 23 + Datasheet: available on http://linux.via.com.tw 24 + 25 + * VIA Technologies, Inc. VX900 26 + Datasheet: available on http://linux.via.com.tw 24 27 25 28 Authors: 26 29 Kyösti Mälkki <kmalkki@cc.hut.fi>, ··· 60 57 device 1106:8324 (CX700) 61 58 device 1106:8353 (VX800/VX820) 62 59 device 1106:8409 (VX855/VX875) 60 + device 1106:8410 (VX900) 63 61 64 62 If none of these show up, you should look in the BIOS for settings like 65 63 enable ACPI / SMBus or even USB.
+2 -1
drivers/i2c/busses/Kconfig
··· 225 225 will be called i2c-via. 226 226 227 227 config I2C_VIAPRO 228 - tristate "VIA VT82C596/82C686/82xx and CX700/VX8xx" 228 + tristate "VIA VT82C596/82C686/82xx and CX700/VX8xx/VX900" 229 229 depends on PCI 230 230 help 231 231 If you say yes to this option, support will be included for the VIA ··· 241 241 CX700 242 242 VX800/VX820 243 243 VX855/VX875 244 + VX900 244 245 245 246 This driver can also be built as a module. If so, the module 246 247 will be called i2c-viapro.
+3
drivers/i2c/busses/i2c-viapro.c
··· 401 401 case PCI_DEVICE_ID_VIA_CX700: 402 402 case PCI_DEVICE_ID_VIA_VX800: 403 403 case PCI_DEVICE_ID_VIA_VX855: 404 + case PCI_DEVICE_ID_VIA_VX900: 404 405 case PCI_DEVICE_ID_VIA_8251: 405 406 case PCI_DEVICE_ID_VIA_8237: 406 407 case PCI_DEVICE_ID_VIA_8237A: ··· 470 469 { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX800), 471 470 .driver_data = SMBBA3 }, 472 471 { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX855), 472 + .driver_data = SMBBA3 }, 473 + { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX900), 473 474 .driver_data = SMBBA3 }, 474 475 { 0, } 475 476 };
+1
include/linux/pci_ids.h
··· 1427 1427 #define PCI_DEVICE_ID_VIA_CX700_IDE 0x0581 1428 1428 #define PCI_DEVICE_ID_VIA_VX800 0x8353 1429 1429 #define PCI_DEVICE_ID_VIA_VX855 0x8409 1430 + #define PCI_DEVICE_ID_VIA_VX900 0x8410 1430 1431 #define PCI_DEVICE_ID_VIA_8371_1 0x8391 1431 1432 #define PCI_DEVICE_ID_VIA_82C598_1 0x8598 1432 1433 #define PCI_DEVICE_ID_VIA_838X_1 0xB188