i8259.c (b27df67248d3ae61d7814f18e363954254935090) | i8259.c (40d50cf7ca956183f3a573bc21082e1c7d04fa7b) |
---|---|
1/* 2 * i8259 interrupt controller driver. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 7 * 2 of the License, or (at your option) any later version. 8 */ --- 184 unchanged lines hidden (view full) --- 193 /* remove chip and handler */ 194 set_irq_chip_and_handler(virq, NULL, NULL); 195 196 /* Make sure it's completed */ 197 synchronize_irq(virq); 198} 199 200static int i8259_host_xlate(struct irq_host *h, struct device_node *ct, | 1/* 2 * i8259 interrupt controller driver. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 7 * 2 of the License, or (at your option) any later version. 8 */ --- 184 unchanged lines hidden (view full) --- 193 /* remove chip and handler */ 194 set_irq_chip_and_handler(virq, NULL, NULL); 195 196 /* Make sure it's completed */ 197 synchronize_irq(virq); 198} 199 200static int i8259_host_xlate(struct irq_host *h, struct device_node *ct, |
201 u32 *intspec, unsigned int intsize, | 201 const u32 *intspec, unsigned int intsize, |
202 irq_hw_number_t *out_hwirq, unsigned int *out_flags) 203{ 204 static unsigned char map_isa_senses[4] = { 205 IRQ_TYPE_LEVEL_LOW, 206 IRQ_TYPE_LEVEL_HIGH, 207 IRQ_TYPE_EDGE_FALLING, 208 IRQ_TYPE_EDGE_RISING, 209 }; --- 90 unchanged lines hidden --- | 202 irq_hw_number_t *out_hwirq, unsigned int *out_flags) 203{ 204 static unsigned char map_isa_senses[4] = { 205 IRQ_TYPE_LEVEL_LOW, 206 IRQ_TYPE_LEVEL_HIGH, 207 IRQ_TYPE_EDGE_FALLING, 208 IRQ_TYPE_EDGE_RISING, 209 }; --- 90 unchanged lines hidden --- |