Skip to content

Commit 7d9521f

Browse files
committed
CM108AH is 0x013c / HS100 is never used ...
1 parent 220e7dd commit 7d9521f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Diff for: cm108.c

+3-5
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static int cm108_write (char *name, int iomask, int iodata);
134134

135135
// CM108B is 0012.
136136
// CM119B is 0013.
137-
// CM108AH is 0139 programmable by MSEL and MODE pin.
137+
// CM108AH is 013c programmable by MSEL and MODE pin.
138138
// CM119A is 013A programmable by MSEL and MODE pin.
139139

140140
// To make matters even more confusing, these can be overridden
@@ -144,11 +144,10 @@ static int cm108_write (char *name, int iomask, int iodata);
144144
#define CMEDIA_PID1_MIN 0x0008 // range for CM108, CM109, CM119 (no following letters)
145145
#define CMEDIA_PID1_MAX 0x000f
146146

147-
#define CMEDIA_PID_CM108AH 0x0139 // CM108AH
147+
#define CMEDIA_PID_CM108AH 0x013c // CM108AH
148148
#define CMEDIA_PID_CM108B 0x0012 // CM108B
149149
#define CMEDIA_PID_CM119A 0x013a // CM119A
150150
#define CMEDIA_PID_CM119B 0x0013 // CM119B
151-
#define CMEDIA_PID_HS100 0x013c // HS100
152151

153152
// The SSS chips seem to be pretty much compatible but they have only two GPIO.
154153
// https://irongarment.wordpress.com/2011/03/29/cm108-compatible-chips-with-gpio/
@@ -169,7 +168,6 @@ static int cm108_write (char *name, int iomask, int iodata);
169168
// CM119 0d8c 0008-000f * 8
170169
// CM119A 0d8c 013a * 8
171170
// CM119B 0d8c 0013 8
172-
// HS100 0d8c 013c 0
173171
//
174172
// SSS1621 0c76 1605 2 per ZL3AME, Can't find data sheet
175173
// SSS1623 0c76 1607,160b 2 per ZL3AME, Not in data sheet.
@@ -706,4 +704,4 @@ static int cm108_write (char *name, int iomask, int iodata)
706704

707705
/* end cm108.c */
708706

709-
707+

0 commit comments

Comments
 (0)