| 272 | |
| 273 | #ifdef SMP |
| 274 | static int |
| 275 | ciu_bind_intr(device_t bus, device_t child, struct resource *res, int cpu) |
| 276 | { |
| 277 | struct intr_event *event; |
| 278 | int irq; |
| 279 | |
| 280 | irq = rman_get_start(res); |
| 281 | if (irq <= CIU_IRQ_EN0_END) |
| 282 | event = ciu_en0_intr_events[irq - CIU_IRQ_EN0_BEGIN]; |
| 283 | else |
| 284 | event = ciu_en1_intr_events[irq - CIU_IRQ_EN1_BEGIN]; |
| 285 | |
| 286 | return (intr_event_bind(event, cpu)); |
| 287 | } |
| 288 | #endif |
| 289 | |
| 290 | static int |
nothing calls this directly
no test coverage detected