Changeset 4125
- Timestamp:
- 08/31/06 23:00:44 (7 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (2 diffs)
-
kernel/busses/i2c-viapro.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/CHANGES
r4120 r4125 32 32 Drop the fix_hstcfg parameter (2.6 backport) 33 33 Module i2c-viapro: Fix compilation with kernels < 2.4.21 34 Add VT8237A and VT8251 34 35 Module lm83: Add LM82 support (2.6 backport) 35 36 Module w83781d: Use real-time alarm registers when possible (2.6 backport) … … 77 78 Check for root user at startup 78 79 Attempt to be slighly more user-friendly 80 Add VT8237A and VT8251 79 81 80 82 -
lm-sensors/trunk/kernel/busses/i2c-viapro.c
r4039 r4125 35 35 VT8235 0x3177 yes 36 36 VT8237R 0x3227 yes 37 VT8237A 0x3337 yes 38 VT8251 0x3287 yes 37 39 38 40 Note: we assume there can only be one device, with one SMBus interface. … … 61 63 #ifndef PCI_DEVICE_ID_VIA_8237 62 64 #define PCI_DEVICE_ID_VIA_8237 0x3227 65 #endif 66 /* 8237A is undefined as for the kernel 2.4.33 */ 67 #ifndef PCI_DEVICE_ID_VIA_8237A 68 #define PCI_DEVICE_ID_VIA_8237A 0x3337 69 #endif 70 /* 8251 is undefined as for the kernel 2.4.33 */ 71 #ifndef PCI_DEVICE_ID_VIA_8251 72 #define PCI_DEVICE_ID_VIA_8251 0x3287 63 73 #endif 64 74 … … 409 419 410 420 switch (id->device) { 421 case PCI_DEVICE_ID_VIA_8251: 411 422 case PCI_DEVICE_ID_VIA_8237: 423 case PCI_DEVICE_ID_VIA_8237A: 412 424 case PCI_DEVICE_ID_VIA_8235: 413 425 case PCI_DEVICE_ID_VIA_8233A: … … 486 498 { 487 499 .vendor = PCI_VENDOR_ID_VIA, 500 .device = PCI_DEVICE_ID_VIA_8237A, 501 .subvendor = PCI_ANY_ID, 502 .subdevice = PCI_ANY_ID, 503 .driver_data = SMBBA3 504 }, 505 { 506 .vendor = PCI_VENDOR_ID_VIA, 488 507 .device = PCI_DEVICE_ID_VIA_8231_4, 489 508 .subvendor = PCI_ANY_ID, 490 509 .subdevice = PCI_ANY_ID, 491 510 .driver_data = SMBBA1, 511 }, 512 { 513 .vendor = PCI_VENDOR_ID_VIA, 514 .device = PCI_DEVICE_ID_VIA_8251, 515 .subvendor = PCI_ANY_ID, 516 .subdevice = PCI_ANY_ID, 517 .driver_data = SMBBA3 492 518 }, 493 519 { 0, }
