@@ -134,7 +134,7 @@ static int cm108_write (char *name, int iomask, int iodata);
134
134
135
135
// CM108B is 0012.
136
136
// CM119B is 0013.
137
- // CM108AH is 013c programmable by MSEL and MODE pin.
137
+ // CM108AH is 0139 or 013c programmable by MSEL and MODE pin.
138
138
// CM119A is 013A programmable by MSEL and MODE pin.
139
139
140
140
// To make matters even more confusing, these can be overridden
@@ -144,7 +144,8 @@ static int cm108_write (char *name, int iomask, int iodata);
144
144
#define CMEDIA_PID1_MIN 0x0008 // range for CM108, CM109, CM119 (no following letters)
145
145
#define CMEDIA_PID1_MAX 0x000f
146
146
147
- #define CMEDIA_PID_CM108AH 0x013c // CM108AH
147
+ #define CMEDIA_PID_CM108AH 0x0139 // CM108AH
148
+ #define CMEDIA_PID_CM108AH_2 0x013c // CM108AH
148
149
#define CMEDIA_PID_CM108B 0x0012 // CM108B
149
150
#define CMEDIA_PID_CM119A 0x013a // CM119A
150
151
#define CMEDIA_PID_CM119B 0x0013 // CM119B
@@ -162,7 +163,7 @@ static int cm108_write (char *name, int iomask, int iodata);
162
163
// Device VID PID Number of GPIO
163
164
// ------ --- --- --------------
164
165
// CM108 0d8c 0008-000f * 4
165
- // CM108AH 0d8c 0139 * 3 Has GPIO 1,3,4 but not 2
166
+ // CM108AH 0d8c 0139/013c * 3 Has GPIO 1,3,4 but not 2
166
167
// CM108B 0d8c 0012 3 Has GPIO 1,3,4 but not 2
167
168
// CM109 0d8c 0008-000f * 8
168
169
// CM119 0d8c 0008-000f * 8
@@ -190,6 +191,7 @@ static int cm108_write (char *name, int iomask, int iodata);
190
191
191
192
#define GOOD_DEVICE (v ,p ) ( (v == CMEDIA_VID && ((p >= CMEDIA_PID1_MIN && p <= CMEDIA_PID1_MAX) \
192
193
|| p == CMEDIA_PID_CM108AH \
194
+ || p == CMEDIA_PID_CM108AH_2 \
193
195
|| p == CMEDIA_PID_CM108B \
194
196
|| p == CMEDIA_PID_CM119A \
195
197
|| p == CMEDIA_PID_CM119B )) \
0 commit comments