diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-23 13:10:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-23 13:10:25 -0400 |
commit | feeedc6c820e1026453ad865076cee435f24d30a (patch) | |
tree | 3eae5251bef80944048df1915e180394e5b7818c /drivers/i2c/busses | |
parent | a27028349ccbcec9dde9d6dbba9d4017ad9ad5ab (diff) | |
parent | 11f1f2afd6b07729b12aaba479344d7f12d88ff9 (diff) |
Merge branch 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6
* 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
i2c: Add info->archdata field
i2c: Inform about deprecated chips directory
i2c: Use pci_ioremap_bar()
Schedule removal of the legacy i2c device driver binding model
i2c: Clean up <linux/i2c.h>
i2c: Update and clean up writing-clients document
i2c: Drop 2-byte address block transfer defines
i2c: Delete legacy model documentation
i2c: Constify i2c_get_clientdata's parameter
i2c: Delete outdated client porting guide
i2c: Make clear what the class field of i2c_adapter is good for
i2c-algo-pcf: Fix typo in debugging log message
i2c-algo-pcf: Add adapter hooks around xfer begin and end
i2c-algo-pcf: Pass adapter data into ->waitforpin() method
i2c-i801: Add support for Intel Ibex Peak
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/Kconfig | 1 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-elektor.c | 3 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-hydra.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-i801.c | 3 |
4 files changed, 7 insertions, 2 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index acadbc51fc0f..7f95905bbb9d 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig | |||
@@ -97,6 +97,7 @@ config I2C_I801 | |||
97 | ICH9 | 97 | ICH9 |
98 | Tolapai | 98 | Tolapai |
99 | ICH10 | 99 | ICH10 |
100 | PCH | ||
100 | 101 | ||
101 | This driver can also be built as a module. If so, the module | 102 | This driver can also be built as a module. If so, the module |
102 | will be called i2c-i801. | 103 | will be called i2c-i801. |
diff --git a/drivers/i2c/busses/i2c-elektor.c b/drivers/i2c/busses/i2c-elektor.c index 7f38c01fb3a0..0ed3ccb81b63 100644 --- a/drivers/i2c/busses/i2c-elektor.c +++ b/drivers/i2c/busses/i2c-elektor.c | |||
@@ -104,7 +104,8 @@ static int pcf_isa_getclock(void *data) | |||
104 | return (clock); | 104 | return (clock); |
105 | } | 105 | } |
106 | 106 | ||
107 | static void pcf_isa_waitforpin(void) { | 107 | static void pcf_isa_waitforpin(void *data) |
108 | { | ||
108 | DEFINE_WAIT(wait); | 109 | DEFINE_WAIT(wait); |
109 | int timeout = 2; | 110 | int timeout = 2; |
110 | unsigned long flags; | 111 | unsigned long flags; |
diff --git a/drivers/i2c/busses/i2c-hydra.c b/drivers/i2c/busses/i2c-hydra.c index 1098f21ace13..648aa7baff83 100644 --- a/drivers/i2c/busses/i2c-hydra.c +++ b/drivers/i2c/busses/i2c-hydra.c | |||
@@ -123,7 +123,7 @@ static int __devinit hydra_probe(struct pci_dev *dev, | |||
123 | hydra_adap.name)) | 123 | hydra_adap.name)) |
124 | return -EBUSY; | 124 | return -EBUSY; |
125 | 125 | ||
126 | hydra_bit_data.data = ioremap(base, pci_resource_len(dev, 0)); | 126 | hydra_bit_data.data = pci_ioremap_bar(dev, 0); |
127 | if (hydra_bit_data.data == NULL) { | 127 | if (hydra_bit_data.data == NULL) { |
128 | release_mem_region(base+offsetof(struct Hydra, CachePD), 4); | 128 | release_mem_region(base+offsetof(struct Hydra, CachePD), 4); |
129 | return -ENODEV; | 129 | return -ENODEV; |
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index dc7ea32b69a8..5123eb69a971 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c | |||
@@ -41,6 +41,7 @@ | |||
41 | Tolapai 0x5032 32 hard yes yes yes | 41 | Tolapai 0x5032 32 hard yes yes yes |
42 | ICH10 0x3a30 32 hard yes yes yes | 42 | ICH10 0x3a30 32 hard yes yes yes |
43 | ICH10 0x3a60 32 hard yes yes yes | 43 | ICH10 0x3a60 32 hard yes yes yes |
44 | PCH 0x3b30 32 hard yes yes yes | ||
44 | 45 | ||
45 | Features supported by this driver: | 46 | Features supported by this driver: |
46 | Software PEC no | 47 | Software PEC no |
@@ -576,6 +577,7 @@ static struct pci_device_id i801_ids[] = { | |||
576 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TOLAPAI_1) }, | 577 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TOLAPAI_1) }, |
577 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_4) }, | 578 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_4) }, |
578 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_5) }, | 579 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_5) }, |
580 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PCH_SMBUS) }, | ||
579 | { 0, } | 581 | { 0, } |
580 | }; | 582 | }; |
581 | 583 | ||
@@ -599,6 +601,7 @@ static int __devinit i801_probe(struct pci_dev *dev, const struct pci_device_id | |||
599 | case PCI_DEVICE_ID_INTEL_TOLAPAI_1: | 601 | case PCI_DEVICE_ID_INTEL_TOLAPAI_1: |
600 | case PCI_DEVICE_ID_INTEL_ICH10_4: | 602 | case PCI_DEVICE_ID_INTEL_ICH10_4: |
601 | case PCI_DEVICE_ID_INTEL_ICH10_5: | 603 | case PCI_DEVICE_ID_INTEL_ICH10_5: |
604 | case PCI_DEVICE_ID_INTEL_PCH_SMBUS: | ||
602 | i801_features |= FEATURE_I2C_BLOCK_READ; | 605 | i801_features |= FEATURE_I2C_BLOCK_READ; |
603 | /* fall through */ | 606 | /* fall through */ |
604 | case PCI_DEVICE_ID_INTEL_82801DB_3: | 607 | case PCI_DEVICE_ID_INTEL_82801DB_3: |