* @brief Wrapper function for BUS_SET_RESOURCE(). * * This function simply calls the BUS_SET_RESOURCE() method of the * parent of @p dev. */
| 4817 | * parent of @p dev. |
| 4818 | */ |
| 4819 | int |
| 4820 | bus_set_resource(device_t dev, int type, int rid, |
| 4821 | rman_res_t start, rman_res_t count) |
| 4822 | { |
| 4823 | return (BUS_SET_RESOURCE(device_get_parent(dev), dev, type, rid, |
| 4824 | start, count)); |
| 4825 | } |
| 4826 | |
| 4827 | /** |
| 4828 | * @brief Wrapper function for BUS_GET_RESOURCE(). |
no test coverage detected