aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-07-17 09:03:24 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-07-17 13:56:19 -0400
commitce3161106ab57afbfbe1c33d95bf4a569405983a (patch)
treee58a816baeaf35bd69a25f44da7fc1303b3026be /drivers/i2c
parent2408c17fce9236d929b15a975cbd8129de089d62 (diff)
i2c: i801: Fix the alignment of the device table
A long name broke the alignment, shift the columns a bit to fix it and make the table look nice again. While we're here, switch to the standard comment style to make checkpatch happy, and use tabs instead of spaces for column alignment. Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-i801.c136
1 files changed, 68 insertions, 68 deletions
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
index 6777cd6f8776..60210adf95da 100644
--- a/drivers/i2c/busses/i2c-i801.c
+++ b/drivers/i2c/busses/i2c-i801.c
@@ -22,57 +22,57 @@
22*/ 22*/
23 23
24/* 24/*
25 Supports the following Intel I/O Controller Hubs (ICH): 25 * Supports the following Intel I/O Controller Hubs (ICH):
26 26 *
27 I/O Block I2C 27 * I/O Block I2C
28 region SMBus Block proc. block 28 * region SMBus Block proc. block
29 Chip name PCI ID size PEC buffer call read 29 * Chip name PCI ID size PEC buffer call read
30 ---------------------------------------------------------------------- 30 * ---------------------------------------------------------------------------
31 82801AA (ICH) 0x2413 16 no no no no 31 * 82801AA (ICH) 0x2413 16 no no no no
32 82801AB (ICH0) 0x2423 16 no no no no 32 * 82801AB (ICH0) 0x2423 16 no no no no
33 82801BA (ICH2) 0x2443 16 no no no no 33 * 82801BA (ICH2) 0x2443 16 no no no no
34 82801CA (ICH3) 0x2483 32 soft no no no 34 * 82801CA (ICH3) 0x2483 32 soft no no no
35 82801DB (ICH4) 0x24c3 32 hard yes no no 35 * 82801DB (ICH4) 0x24c3 32 hard yes no no
36 82801E (ICH5) 0x24d3 32 hard yes yes yes 36 * 82801E (ICH5) 0x24d3 32 hard yes yes yes
37 6300ESB 0x25a4 32 hard yes yes yes 37 * 6300ESB 0x25a4 32 hard yes yes yes
38 82801F (ICH6) 0x266a 32 hard yes yes yes 38 * 82801F (ICH6) 0x266a 32 hard yes yes yes
39 6310ESB/6320ESB 0x269b 32 hard yes yes yes 39 * 6310ESB/6320ESB 0x269b 32 hard yes yes yes
40 82801G (ICH7) 0x27da 32 hard yes yes yes 40 * 82801G (ICH7) 0x27da 32 hard yes yes yes
41 82801H (ICH8) 0x283e 32 hard yes yes yes 41 * 82801H (ICH8) 0x283e 32 hard yes yes yes
42 82801I (ICH9) 0x2930 32 hard yes yes yes 42 * 82801I (ICH9) 0x2930 32 hard yes yes yes
43 EP80579 (Tolapai) 0x5032 32 hard yes yes yes 43 * EP80579 (Tolapai) 0x5032 32 hard yes yes yes
44 ICH10 0x3a30 32 hard yes yes yes 44 * ICH10 0x3a30 32 hard yes yes yes
45 ICH10 0x3a60 32 hard yes yes yes 45 * ICH10 0x3a60 32 hard yes yes yes
46 5/3400 Series (PCH) 0x3b30 32 hard yes yes yes 46 * 5/3400 Series (PCH) 0x3b30 32 hard yes yes yes
47 6 Series (PCH) 0x1c22 32 hard yes yes yes 47 * 6 Series (PCH) 0x1c22 32 hard yes yes yes
48 Patsburg (PCH) 0x1d22 32 hard yes yes yes 48 * Patsburg (PCH) 0x1d22 32 hard yes yes yes
49 Patsburg (PCH) IDF 0x1d70 32 hard yes yes yes 49 * Patsburg (PCH) IDF 0x1d70 32 hard yes yes yes
50 Patsburg (PCH) IDF 0x1d71 32 hard yes yes yes 50 * Patsburg (PCH) IDF 0x1d71 32 hard yes yes yes
51 Patsburg (PCH) IDF 0x1d72 32 hard yes yes yes 51 * Patsburg (PCH) IDF 0x1d72 32 hard yes yes yes
52 DH89xxCC (PCH) 0x2330 32 hard yes yes yes 52 * DH89xxCC (PCH) 0x2330 32 hard yes yes yes
53 Panther Point (PCH) 0x1e22 32 hard yes yes yes 53 * Panther Point (PCH) 0x1e22 32 hard yes yes yes
54 Lynx Point (PCH) 0x8c22 32 hard yes yes yes 54 * Lynx Point (PCH) 0x8c22 32 hard yes yes yes
55 Lynx Point-LP (PCH) 0x9c22 32 hard yes yes yes 55 * Lynx Point-LP (PCH) 0x9c22 32 hard yes yes yes
56 Avoton (SOC) 0x1f3c 32 hard yes yes yes 56 * Avoton (SOC) 0x1f3c 32 hard yes yes yes
57 Wellsburg (PCH) 0x8d22 32 hard yes yes yes 57 * Wellsburg (PCH) 0x8d22 32 hard yes yes yes
58 Wellsburg (PCH) MS 0x8d7d 32 hard yes yes yes 58 * Wellsburg (PCH) MS 0x8d7d 32 hard yes yes yes
59 Wellsburg (PCH) MS 0x8d7e 32 hard yes yes yes 59 * Wellsburg (PCH) MS 0x8d7e 32 hard yes yes yes
60 Wellsburg (PCH) MS 0x8d7f 32 hard yes yes yes 60 * Wellsburg (PCH) MS 0x8d7f 32 hard yes yes yes
61 Coleto Creek (PCH) 0x23b0 32 hard yes yes yes 61 * Coleto Creek (PCH) 0x23b0 32 hard yes yes yes
62 Wildcat Point-LP (PCH) 0x9ca2 32 hard yes yes yes 62 * Wildcat Point-LP (PCH) 0x9ca2 32 hard yes yes yes
63 BayTrail (SOC) 0x0f12 32 hard yes yes yes 63 * BayTrail (SOC) 0x0f12 32 hard yes yes yes
64 64 *
65 Features supported by this driver: 65 * Features supported by this driver:
66 Software PEC no 66 * Software PEC no
67 Hardware PEC yes 67 * Hardware PEC yes
68 Block buffer yes 68 * Block buffer yes
69 Block process call transaction no 69 * Block process call transaction no
70 I2C block read transaction yes (doesn't use the block buffer) 70 * I2C block read transaction yes (doesn't use the block buffer)
71 Slave mode no 71 * Slave mode no
72 Interrupt processing yes 72 * Interrupt processing yes
73 73 *
74 See the file Documentation/i2c/busses/i2c-i801 for details. 74 * See the file Documentation/i2c/busses/i2c-i801 for details.
75*/ 75 */
76 76
77#include <linux/interrupt.h> 77#include <linux/interrupt.h>
78#include <linux/module.h> 78#include <linux/module.h>
@@ -162,24 +162,24 @@
162 STATUS_ERROR_FLAGS) 162 STATUS_ERROR_FLAGS)
163 163
164/* Older devices have their ID defined in <linux/pci_ids.h> */ 164/* Older devices have their ID defined in <linux/pci_ids.h> */
165#define PCI_DEVICE_ID_INTEL_BAYTRAIL_SMBUS 0x0f12 165#define PCI_DEVICE_ID_INTEL_BAYTRAIL_SMBUS 0x0f12
166#define PCI_DEVICE_ID_INTEL_COUGARPOINT_SMBUS 0x1c22 166#define PCI_DEVICE_ID_INTEL_COUGARPOINT_SMBUS 0x1c22
167#define PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS 0x1d22 167#define PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS 0x1d22
168/* Patsburg also has three 'Integrated Device Function' SMBus controllers */ 168/* Patsburg also has three 'Integrated Device Function' SMBus controllers */
169#define PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS_IDF0 0x1d70 169#define PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS_IDF0 0x1d70
170#define PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS_IDF1 0x1d71 170#define PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS_IDF1 0x1d71
171#define PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS_IDF2 0x1d72 171#define PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS_IDF2 0x1d72
172#define PCI_DEVICE_ID_INTEL_PANTHERPOINT_SMBUS 0x1e22 172#define PCI_DEVICE_ID_INTEL_PANTHERPOINT_SMBUS 0x1e22
173#define PCI_DEVICE_ID_INTEL_AVOTON_SMBUS 0x1f3c 173#define PCI_DEVICE_ID_INTEL_AVOTON_SMBUS 0x1f3c
174#define PCI_DEVICE_ID_INTEL_DH89XXCC_SMBUS 0x2330 174#define PCI_DEVICE_ID_INTEL_DH89XXCC_SMBUS 0x2330
175#define PCI_DEVICE_ID_INTEL_COLETOCREEK_SMBUS 0x23b0 175#define PCI_DEVICE_ID_INTEL_COLETOCREEK_SMBUS 0x23b0
176#define PCI_DEVICE_ID_INTEL_5_3400_SERIES_SMBUS 0x3b30 176#define PCI_DEVICE_ID_INTEL_5_3400_SERIES_SMBUS 0x3b30
177#define PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS 0x8c22 177#define PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS 0x8c22
178#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS 0x8d22 178#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS 0x8d22
179#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS0 0x8d7d 179#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS0 0x8d7d
180#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS1 0x8d7e 180#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS1 0x8d7e
181#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS2 0x8d7f 181#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS2 0x8d7f
182#define PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_SMBUS 0x9c22 182#define PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_SMBUS 0x9c22
183#define PCI_DEVICE_ID_INTEL_WILDCATPOINT_LP_SMBUS 0x9ca2 183#define PCI_DEVICE_ID_INTEL_WILDCATPOINT_LP_SMBUS 0x9ca2
184 184
185struct i801_mux_config { 185struct i801_mux_config {