diff options
Diffstat (limited to 'sys/i4b/layer4/i4b_i4bdrv.c')
-rw-r--r-- | sys/i4b/layer4/i4b_i4bdrv.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/i4b/layer4/i4b_i4bdrv.c b/sys/i4b/layer4/i4b_i4bdrv.c index 648a097..e17ad85 100644 --- a/sys/i4b/layer4/i4b_i4bdrv.c +++ b/sys/i4b/layer4/i4b_i4bdrv.c @@ -91,13 +91,6 @@ static struct cdevsw i4b_cdevsw = { static void i4battach(void *); PSEUDO_SET(i4battach, i4b_i4bdrv); -#if __FreeBSD_version >= 501113 -#ifndef TTIPRI -/* don't want to include tty.h just to get this */ -#define TTIPRI (PSOCK + 1) -#endif -#endif - /*---------------------------------------------------------------------------* * interface attach routine *---------------------------------------------------------------------------*/ @@ -827,7 +820,7 @@ i4bputqueue(struct mbuf *m) if(selflag) { selflag = 0; - selwakeuppri(&select_rd_info, TTIPRI); + selwakeuppri(&select_rd_info, I4BPRI); } } @@ -870,6 +863,6 @@ i4bputqueue_hipri(struct mbuf *m) if(selflag) { selflag = 0; - selwakeuppri(&select_rd_info, TTIPRI); + selwakeuppri(&select_rd_info, I4BPRI); } } |