| 385 | } |
| 386 | |
| 387 | static int |
| 388 | nexus_set_resource(device_t dev, device_t child, int type, int rid, |
| 389 | rman_res_t start, rman_res_t count) |
| 390 | { |
| 391 | struct nexus_device *ndev = DEVTONX(child); |
| 392 | struct resource_list *rl = &ndev->nx_resources; |
| 393 | |
| 394 | /* XXX this should return a success/failure indicator */ |
| 395 | resource_list_add(rl, type, rid, start, start + count - 1, count); |
| 396 | |
| 397 | return(0); |
| 398 | } |
| 399 | |
| 400 | static int |
| 401 | nexus_deactivate_resource(device_t bus, device_t child, int type, int rid, |
nothing calls this directly
no test coverage detected