diff options
author | Samuel Iglesias Gonsalvez <siglesias@igalia.com> | 2012-11-16 13:33:46 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-16 14:29:35 -0500 |
commit | 27cf2d1b873fc50a2c0388253ec666fa4c61bfd4 (patch) | |
tree | e18e8e4a238ba3e171e642cd8f7c896731917583 | |
parent | 7dbce021a6df9d4812385d11729140829abc3f95 (diff) |
ipack: remove ipack_ids.h file
Its contents are merged into ipack.h. So this file is not needed.
Doing that, it simplifies the ipack-related driver development.
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/ipack/devices/ipoctal.c | 1 | ||||
-rw-r--r-- | drivers/ipack/ipack.c | 1 | ||||
-rw-r--r-- | drivers/ipack/ipack_ids.h | 32 | ||||
-rw-r--r-- | include/linux/ipack.h | 33 |
4 files changed, 33 insertions, 34 deletions
diff --git a/drivers/ipack/devices/ipoctal.c b/drivers/ipack/devices/ipoctal.c index 7f568e268a1e..c06ab396e84f 100644 --- a/drivers/ipack/devices/ipoctal.c +++ b/drivers/ipack/devices/ipoctal.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/atomic.h> | 23 | #include <linux/atomic.h> |
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | #include <linux/ipack.h> | 25 | #include <linux/ipack.h> |
26 | #include "../ipack_ids.h" | ||
27 | #include "ipoctal.h" | 26 | #include "ipoctal.h" |
28 | #include "scc2698.h" | 27 | #include "scc2698.h" |
29 | 28 | ||
diff --git a/drivers/ipack/ipack.c b/drivers/ipack/ipack.c index cc5498347acb..7ec6b208b1cb 100644 --- a/drivers/ipack/ipack.c +++ b/drivers/ipack/ipack.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/idr.h> | 14 | #include <linux/idr.h> |
15 | #include <linux/io.h> | 15 | #include <linux/io.h> |
16 | #include <linux/ipack.h> | 16 | #include <linux/ipack.h> |
17 | #include "ipack_ids.h" | ||
18 | 17 | ||
19 | #define to_ipack_dev(device) container_of(device, struct ipack_device, dev) | 18 | #define to_ipack_dev(device) container_of(device, struct ipack_device, dev) |
20 | #define to_ipack_driver(drv) container_of(drv, struct ipack_driver, driver) | 19 | #define to_ipack_driver(drv) container_of(drv, struct ipack_driver, driver) |
diff --git a/drivers/ipack/ipack_ids.h b/drivers/ipack/ipack_ids.h deleted file mode 100644 index 8153fee3f2f7..000000000000 --- a/drivers/ipack/ipack_ids.h +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | /* | ||
2 | * IndustryPack Fromat, Vendor and Device IDs. | ||
3 | */ | ||
4 | |||
5 | /* ID section format versions */ | ||
6 | #define IPACK_ID_VERSION_INVALID 0x00 | ||
7 | #define IPACK_ID_VERSION_1 0x01 | ||
8 | #define IPACK_ID_VERSION_2 0x02 | ||
9 | |||
10 | /* Vendors and devices. Sort key: vendor first, device next. */ | ||
11 | #define IPACK1_VENDOR_ID_RESERVED1 0x00 | ||
12 | #define IPACK1_VENDOR_ID_RESERVED2 0xFF | ||
13 | #define IPACK1_VENDOR_ID_UNREGISTRED01 0x01 | ||
14 | #define IPACK1_VENDOR_ID_UNREGISTRED02 0x02 | ||
15 | #define IPACK1_VENDOR_ID_UNREGISTRED03 0x03 | ||
16 | #define IPACK1_VENDOR_ID_UNREGISTRED04 0x04 | ||
17 | #define IPACK1_VENDOR_ID_UNREGISTRED05 0x05 | ||
18 | #define IPACK1_VENDOR_ID_UNREGISTRED06 0x06 | ||
19 | #define IPACK1_VENDOR_ID_UNREGISTRED07 0x07 | ||
20 | #define IPACK1_VENDOR_ID_UNREGISTRED08 0x08 | ||
21 | #define IPACK1_VENDOR_ID_UNREGISTRED09 0x09 | ||
22 | #define IPACK1_VENDOR_ID_UNREGISTRED10 0x0A | ||
23 | #define IPACK1_VENDOR_ID_UNREGISTRED11 0x0B | ||
24 | #define IPACK1_VENDOR_ID_UNREGISTRED12 0x0C | ||
25 | #define IPACK1_VENDOR_ID_UNREGISTRED13 0x0D | ||
26 | #define IPACK1_VENDOR_ID_UNREGISTRED14 0x0E | ||
27 | #define IPACK1_VENDOR_ID_UNREGISTRED15 0x0F | ||
28 | |||
29 | #define IPACK1_VENDOR_ID_SBS 0xF0 | ||
30 | #define IPACK1_DEVICE_ID_SBS_OCTAL_232 0x22 | ||
31 | #define IPACK1_DEVICE_ID_SBS_OCTAL_422 0x2A | ||
32 | #define IPACK1_DEVICE_ID_SBS_OCTAL_485 0x48 | ||
diff --git a/include/linux/ipack.h b/include/linux/ipack.h index 7a0a3085ab5b..a360c73129a6 100644 --- a/include/linux/ipack.h +++ b/include/linux/ipack.h | |||
@@ -26,6 +26,39 @@ | |||
26 | #define IPACK_IDPROM_OFFSET_NUM_BYTES 0x15 | 26 | #define IPACK_IDPROM_OFFSET_NUM_BYTES 0x15 |
27 | #define IPACK_IDPROM_OFFSET_CRC 0x17 | 27 | #define IPACK_IDPROM_OFFSET_CRC 0x17 |
28 | 28 | ||
29 | /* | ||
30 | * IndustryPack Fromat, Vendor and Device IDs. | ||
31 | */ | ||
32 | |||
33 | /* ID section format versions */ | ||
34 | #define IPACK_ID_VERSION_INVALID 0x00 | ||
35 | #define IPACK_ID_VERSION_1 0x01 | ||
36 | #define IPACK_ID_VERSION_2 0x02 | ||
37 | |||
38 | /* Vendors and devices. Sort key: vendor first, device next. */ | ||
39 | #define IPACK1_VENDOR_ID_RESERVED1 0x00 | ||
40 | #define IPACK1_VENDOR_ID_RESERVED2 0xFF | ||
41 | #define IPACK1_VENDOR_ID_UNREGISTRED01 0x01 | ||
42 | #define IPACK1_VENDOR_ID_UNREGISTRED02 0x02 | ||
43 | #define IPACK1_VENDOR_ID_UNREGISTRED03 0x03 | ||
44 | #define IPACK1_VENDOR_ID_UNREGISTRED04 0x04 | ||
45 | #define IPACK1_VENDOR_ID_UNREGISTRED05 0x05 | ||
46 | #define IPACK1_VENDOR_ID_UNREGISTRED06 0x06 | ||
47 | #define IPACK1_VENDOR_ID_UNREGISTRED07 0x07 | ||
48 | #define IPACK1_VENDOR_ID_UNREGISTRED08 0x08 | ||
49 | #define IPACK1_VENDOR_ID_UNREGISTRED09 0x09 | ||
50 | #define IPACK1_VENDOR_ID_UNREGISTRED10 0x0A | ||
51 | #define IPACK1_VENDOR_ID_UNREGISTRED11 0x0B | ||
52 | #define IPACK1_VENDOR_ID_UNREGISTRED12 0x0C | ||
53 | #define IPACK1_VENDOR_ID_UNREGISTRED13 0x0D | ||
54 | #define IPACK1_VENDOR_ID_UNREGISTRED14 0x0E | ||
55 | #define IPACK1_VENDOR_ID_UNREGISTRED15 0x0F | ||
56 | |||
57 | #define IPACK1_VENDOR_ID_SBS 0xF0 | ||
58 | #define IPACK1_DEVICE_ID_SBS_OCTAL_232 0x22 | ||
59 | #define IPACK1_DEVICE_ID_SBS_OCTAL_422 0x2A | ||
60 | #define IPACK1_DEVICE_ID_SBS_OCTAL_485 0x48 | ||
61 | |||
29 | struct ipack_bus_ops; | 62 | struct ipack_bus_ops; |
30 | struct ipack_driver; | 63 | struct ipack_driver; |
31 | 64 | ||