summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-04 17:08:13 +0000
committerbde <bde@FreeBSD.org>1995-11-04 17:08:13 +0000
commit6073486300a2c7430d184a9a41ad42bcb0c4345c (patch)
treea314bfc13d707ab8df235edc500e88916380d16d /sys/dev/sio
parente2427bd86958366ec25f29d70bb5c148c61a704b (diff)
downloadFreeBSD-src-6073486300a2c7430d184a9a41ad42bcb0c4345c.zip
FreeBSD-src-6073486300a2c7430d184a9a41ad42bcb0c4345c.tar.gz
Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the
misplaced extern declarations (mostly prototypes of interrupt handlers) that this exposed. The prototypes should be moved back to the driver sources when the functions are staticalized. Added idempotency guards to <machine/conf.h>. "ioconf.h" can't be included when building LKMs so define a wart in bsd.kmod.mk to help guard against including it.
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 18d7a45..2337ea3 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
- * $Id: sio.c,v 1.115 1995/10/22 15:38:05 bde Exp $
+ * $Id: sio.c,v 1.116 1995/11/04 13:23:43 bde Exp $
*/
#include "sio.h"
@@ -251,8 +251,7 @@ struct com_s {
*/
/* Interrupt handling entry points. */
-void siointr __P((int unit));
-void siointrts __P((int unit));
+inthand2_t siointrts;
void siopoll __P((void));
/* Device switch entry points. */
OpenPOWER on IntegriCloud