14 #include <linux/errno.h>
17 #include <linux/module.h>
18 #include <linux/types.h>
26 #define ASP_VER_OFFSET 0x20
28 #define ASP_LED_ADDR 0xf0800020
30 #define VIPER_INT_WORD 0xFFFBF088
38 switch (dev->
id.sversion) {
39 case 0x71: irq = 9;
break;
40 case 0x72: irq = 8;
break;
41 case 0x73: irq = 1;
break;
42 case 0x74: irq = 7;
break;
43 case 0x75: irq = (dev->
hw_path == 4) ? 5 : 6;
break;
44 case 0x76: irq = 10;
break;
45 case 0x77: irq = 11;
break;
46 case 0x7a: irq = 13;
break;
47 case 0x7b: irq = 13;
break;
48 case 0x7c: irq = 3;
break;
49 case 0x7d: irq = 4;
break;
50 case 0x7f: irq = 13;
break;
56 switch (dev->
id.sversion) {
57 case 0x73: irq = 2;
break;
58 case 0x76: irq = 0;
break;
71 #define ASP_INTERRUPT_ADDR 0xf0800000
79 asp.name = (asp.version == 1) ?
"Asp" :
"Cutoff";
83 asp.name, asp.version, (
unsigned long)dev->
hpa.start);
112 #ifdef CONFIG_CHASSIS_LCD_LED
129 .probe = asp_init_chip,