| 305 | } |
| 306 | |
| 307 | static int |
| 308 | nexus_setup_intr(device_t dev, device_t child, struct resource *res, int flags, |
| 309 | driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) |
| 310 | { |
| 311 | |
| 312 | if ((rman_get_flags(res) & RF_SHAREABLE) == 0) |
| 313 | flags |= INTR_EXCL; |
| 314 | |
| 315 | return(intr_setup_irq(child, res, filt, intr, arg, flags, cookiep)); |
| 316 | } |
| 317 | |
| 318 | static int |
| 319 | nexus_teardown_intr(device_t dev, device_t child, struct resource *r, void *ih) |
nothing calls this directly
no test coverage detected