diff --git a/sys/sys/interrupt.h b/sys/sys/interrupt.h index 9c44d81a619..7788bcd98cc 100644 --- a/sys/sys/interrupt.h +++ b/sys/sys/interrupt.h @@ -82,6 +82,19 @@ struct ithd { #define SWI_SWITCH 0x1 #define SWI_DELAY 0x2 /* implies NOSWITCH */ +/* + * Software interrupt bit numbers in priority order. The priority only + * determines which swi will be dispatched next; a higher priority swi + * may be dispatched when a nested h/w interrupt handler returns. + */ +#define SWI_TTY 0 +#define SWI_NET 1 +#define SWI_CAMNET 2 +#define SWI_CAMBIO 3 +#define SWI_VM 4 +#define SWI_TQ 5 +#define SWI_CLOCK 6 + extern struct ithd *tty_ithd; extern struct ithd *clk_ithd; extern void *net_ih; diff --git a/sys/sys/ipl.h b/sys/sys/ipl.h index 009104d7f8c..94b567d9816 100644 --- a/sys/sys/ipl.h +++ b/sys/sys/ipl.h @@ -38,17 +38,4 @@ #include -/* - * Software interrupt bit numbers in priority order. The priority only - * determines which swi will be dispatched next; a higher priority swi - * may be dispatched when a nested h/w interrupt handler returns. - */ -#define SWI_TTY 0 -#define SWI_NET 1 -#define SWI_CAMNET 2 -#define SWI_CAMBIO 3 -#define SWI_VM 4 -#define SWI_TQ 5 -#define SWI_CLOCK 6 - #endif /* !_SYS_IPL_H_ */