Changeset 4633

Show
Ignore:
Timestamp:
07/21/07 10:35:40 (7 years ago)
Author:
khali
Message:

Use PCI_REVISION_ID instead of our own define (backport from Linux 2.6.)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/chips/sis5595.c

    r4328 r4633  
    9898#define SIS5595_EXTENT 8 
    9999/* PCI Config Registers */ 
    100 #define SIS5595_REVISION_REG 0x08 
    101100#define SIS5595_BASE_REG 0x68 
    102101#define SIS5595_PIN_REG 0x7A 
     
    395394 
    396395        /* Check revision and pin registers to determine whether 4 or 5 voltages */ 
    397         pci_read_config_byte(s_bridge, SIS5595_REVISION_REG, &(data->revision)); 
     396        pci_read_config_byte(s_bridge, PCI_REVISION_ID, &(data->revision)); 
    398397        /* 4 voltages, 1 temp */ 
    399398        data->maxins = 3;