tag | line | file | source code |
hwcfg | 2100 | drivers/char/scc.c | struct scc_hw_config hwcfg; |
hwcfg | 2125 | drivers/char/scc.c | memcpy_fromfs(&hwcfg, (void *) arg, sizeof(hwcfg)); |
hwcfg | 2127 | drivers/char/scc.c | if (hwcfg.irq == 2) hwcfg.irq = 9; |
hwcfg | 2129 | drivers/char/scc.c | if (!Ivec[hwcfg.irq].used && hwcfg.irq) |
hwcfg | 2131 | drivers/char/scc.c | if (request_irq(hwcfg.irq, scc_isr, SA_INTERRUPT, "AX.25 SCC")) |
hwcfg | 2132 | drivers/char/scc.c | printk("z8530drv: Warning --- could not get IRQ %d\n", hwcfg.irq); |
hwcfg | 2134 | drivers/char/scc.c | Ivec[hwcfg.irq].used = 1; |
hwcfg | 2137 | drivers/char/scc.c | if (hwcfg.vector_latch) |
hwcfg | 2138 | drivers/char/scc.c | Vector_Latch = hwcfg.vector_latch; |
hwcfg | 2140 | drivers/char/scc.c | if (hwcfg.clock == 0) |
hwcfg | 2141 | drivers/char/scc.c | hwcfg.clock = DEFAULT_CLOCK; |
hwcfg | 2147 | drivers/char/scc.c | Outb(hwcfg.ctrl_a, 0); |
hwcfg | 2149 | drivers/char/scc.c | OutReg(hwcfg.ctrl_a,R13,0x55); /* is this chip really there? */ |
hwcfg | 2152 | drivers/char/scc.c | if (InReg(hwcfg.ctrl_a,R13) != 0x55 ) |
hwcfg | 2160 | drivers/char/scc.c | SCC_Info[2*Nchips ].ctrl = hwcfg.ctrl_a; |
hwcfg | 2161 | drivers/char/scc.c | SCC_Info[2*Nchips ].data = hwcfg.data_a; |
hwcfg | 2162 | drivers/char/scc.c | SCC_Info[2*Nchips+1].ctrl = hwcfg.ctrl_b; |
hwcfg | 2163 | drivers/char/scc.c | SCC_Info[2*Nchips+1].data = hwcfg.data_b; |
hwcfg | 2165 | drivers/char/scc.c | SCC_ctrl[2*Nchips ] = hwcfg.ctrl_a; |
hwcfg | 2166 | drivers/char/scc.c | SCC_ctrl[2*Nchips+1] = hwcfg.ctrl_b; |
hwcfg | 2171 | drivers/char/scc.c | SCC_Info[2*Nchips+chan].special = hwcfg.special; |
hwcfg | 2172 | drivers/char/scc.c | SCC_Info[2*Nchips+chan].clock = hwcfg.clock; |
hwcfg | 2173 | drivers/char/scc.c | SCC_Info[2*Nchips+chan].brand = hwcfg.brand; |
hwcfg | 2174 | drivers/char/scc.c | SCC_Info[2*Nchips+chan].option = hwcfg.option; |
hwcfg | 2175 | drivers/char/scc.c | SCC_Info[2*Nchips+chan].enhanced = hwcfg.escc; |
hwcfg | 2186 | drivers/char/scc.c | chan? hwcfg.data_b : hwcfg.data_a, |
hwcfg | 2187 | drivers/char/scc.c | chan? hwcfg.ctrl_b : hwcfg.ctrl_a, |