Searched hist:300871 (Results 1 - 2 of 2) sorted by relevance
/freebsd-11.0-release/sys/dev/gpio/ | ||
H A D | gpiobusvar.h | diff 300871 Fri May 27 20:53:31 MDT 2016 ian Don't wrap the declaration of gpio_alloc_intr_resource() in #ifdef INTRNG, wrap the implementation so that it returns an error if INTRNG support is not available. It should be possible to write a non-INTRNG implementation of this function some day. In the meantime, there is code that contains calls to this function (so the decl is needed), but have runtime checks to avoid calling it in the non-INTRNG case. |
H A D | gpiobus.c | diff 300871 Fri May 27 20:53:31 MDT 2016 ian Don't wrap the declaration of gpio_alloc_intr_resource() in #ifdef INTRNG, wrap the implementation so that it returns an error if INTRNG support is not available. It should be possible to write a non-INTRNG implementation of this function some day. In the meantime, there is code that contains calls to this function (so the decl is needed), but have runtime checks to avoid calling it in the non-INTRNG case. |
Completed in 90 milliseconds