This project proposal is a subtask of smp networking and is elegible for funding independently.
The goal of this project is to split out obvious PR*_xxx that should have
never been dispatched through the pr_usrreq/pr_ctloutput. Note that
pr_ctloutput should be replaced by pr_getopt/pr_setopt:
PRU_CONTROL->pr_ioctlPRU_PURGEIF->pr_purgeifPRC0_GETOPT->pr_getoptPRC0_GETOPT->pr_setopt
It's expected that pr_drain will just schedule a
kernel continuation such as:
pr_init->int pr_init(void *dsc);int pr_fini(void *dsc)
![[NetBSD Logo]](http://www.NetBSD.org/images/NetBSD-smaller.png)