add __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS to machine/types.h for

following ports:

	acorn26, amiga, hpcarm, sparc, sparc64

This was proposed by Martin Husemann at teck-kern@ in May to properly
test whether softintr can be established for all IPL, or only for
IPL_SOFT*.  OKed by acorn26, hpcarm and sparc port masters.
This commit is contained in:
bsh 2003-08-06 00:43:53 +00:00
parent e6583feed7
commit fbf0aea004
4 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: types.h,v 1.4 2003/01/08 00:00:05 thorpej Exp $ */ /* $NetBSD: types.h,v 1.5 2003/08/06 00:43:54 bsh Exp $ */
#ifndef _ACORN26_TYPES_H_ #ifndef _ACORN26_TYPES_H_
#define _ACORN26_TYPES_H_ #define _ACORN26_TYPES_H_
@ -6,5 +6,6 @@
#include <arm/arm26/types.h> #include <arm/arm26/types.h>
#define __HAVE_GENERIC_SOFT_INTERRUPTS #define __HAVE_GENERIC_SOFT_INTERRUPTS
#define __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS
#endif /* _ACORN26_TYPES_H_ */ #endif /* _ACORN26_TYPES_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: types.h,v 1.14 2002/02/28 03:17:25 simonb Exp $ */ /* $NetBSD: types.h,v 1.15 2003/08/06 00:43:54 bsh Exp $ */
#ifndef _MACHINE_TYPES_H_ #ifndef _MACHINE_TYPES_H_
#define _MACHINE_TYPES_H_ #define _MACHINE_TYPES_H_
@ -6,6 +6,7 @@
#include <m68k/types.h> #include <m68k/types.h>
#define __HAVE_GENERIC_SOFT_INTERRUPTS #define __HAVE_GENERIC_SOFT_INTERRUPTS
#define __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS
#define __BROKEN_CONFIG_UNIT_USAGE #define __BROKEN_CONFIG_UNIT_USAGE

View File

@ -1,4 +1,4 @@
/* $NetBSD: types.h,v 1.6 2002/02/28 03:17:28 simonb Exp $ */ /* $NetBSD: types.h,v 1.7 2003/08/06 00:43:54 bsh Exp $ */
#ifndef _HPCARM_TYPES_H_ #ifndef _HPCARM_TYPES_H_
#define _HPCARM_TYPES_H_ #define _HPCARM_TYPES_H_
@ -8,5 +8,6 @@
#define __HAVE_DEVICE_REGISTER #define __HAVE_DEVICE_REGISTER
#define __HAVE_NWSCONS #define __HAVE_NWSCONS
#define __HAVE_GENERIC_SOFT_INTERRUPTS #define __HAVE_GENERIC_SOFT_INTERRUPTS
#define __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS
#endif #endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: types.h,v 1.32 2003/04/28 23:16:25 bjh21 Exp $ */ /* $NetBSD: types.h,v 1.33 2003/08/06 00:43:53 bsh Exp $ */
/* /*
* Copyright (c) 1992, 1993 * Copyright (c) 1992, 1993
@ -93,6 +93,7 @@ typedef paddr_t psize_t;
#define __HAVE_DEVICE_REGISTER #define __HAVE_DEVICE_REGISTER
#define __HAVE_GENERIC_SOFT_INTERRUPTS #define __HAVE_GENERIC_SOFT_INTERRUPTS
#define __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS
#ifdef SUN4U #ifdef SUN4U
#define __HAVE_CPU_COUNTER /* sparc64 has %tick */ #define __HAVE_CPU_COUNTER /* sparc64 has %tick */