File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,15 @@ int __init amiga_parse_bootinfo(const struct bi_record *record)
180
180
dev -> slotsize = be16_to_cpu (cd -> cd_SlotSize );
181
181
dev -> boardaddr = be32_to_cpu (cd -> cd_BoardAddr );
182
182
dev -> boardsize = be32_to_cpu (cd -> cd_BoardSize );
183
+
184
+ /* CS-LAB Warp 1260 workaround */
185
+ if (be16_to_cpu (dev -> rom .er_Manufacturer ) == ZORRO_MANUF (ZORRO_PROD_CSLAB_WARP_1260 ) &&
186
+ dev -> rom .er_Product == ZORRO_PROD (ZORRO_PROD_CSLAB_WARP_1260 )) {
187
+
188
+ /* turn off all interrupts */
189
+ pr_info ("Warp 1260 card detected: applying interrupt storm workaround\n" );
190
+ * (uint32_t * )(dev -> boardaddr + 0x1000 ) = 0xfff ;
191
+ }
183
192
} else
184
193
pr_warn ("amiga_parse_bootinfo: too many AutoConfig devices\n" );
185
194
#endif /* CONFIG_ZORRO */
Original file line number Diff line number Diff line change 449
449
#define ZORRO_PROD_VMC_ISDN_BLASTER_Z2 ZORRO_ID(VMC, 0x01, 0)
450
450
#define ZORRO_PROD_VMC_HYPERCOM_4 ZORRO_ID(VMC, 0x02, 0)
451
451
452
+ #define ZORRO_MANUF_CSLAB 0x1400
453
+ #define ZORRO_PROD_CSLAB_WARP_1260 ZORRO_ID(CSLAB, 0x65, 0)
454
+
452
455
#define ZORRO_MANUF_INFORMATION 0x157C
453
456
#define ZORRO_PROD_INFORMATION_ISDN_ENGINE_I ZORRO_ID(INFORMATION, 0x64, 0)
454
457
You can’t perform that action at this time.
0 commit comments