]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
i2c-nforce2: The nForce2 can do block transactions
authorJean Delvare <khali@linux-fr.org>
Sun, 27 Jan 2008 17:14:44 +0000 (18:14 +0100)
committerJean Delvare <khali@hyperion.delvare>
Sun, 27 Jan 2008 17:14:44 +0000 (18:14 +0100)
My guess is that all the chips supported by this driver support block
transactions and reset, but for now we play it safe and only list the
ones for which this was actually tested.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Oleg Ryjkov <olegr@olegr.ca>
drivers/i2c/busses/i2c-nforce2.c

index 1bf590c741660a752d6f69e5592a20b5c94eadf9..3dac920e53ea2ab6cf8e07780e0a62d30e35135c 100644 (file)
@@ -351,6 +351,7 @@ static int __devinit nforce2_probe(struct pci_dev *dev, const struct pci_device_
        pci_set_drvdata(dev, smbuses);
 
        switch(dev->device) {
+       case PCI_DEVICE_ID_NVIDIA_NFORCE2_SMBUS:
        case PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SMBUS:
        case PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_SMBUS:
                smbuses[0].blockops = 1;