Um, fix botch in previous.

This commit is contained in:
tsutsui 2010-06-26 03:49:52 +00:00
parent 995d4be272
commit fee87accc6
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: zs_ap.c,v 1.26 2010/06/26 03:44:49 tsutsui Exp $ */
/* $NetBSD: zs_ap.c,v 1.27 2010/06/26 03:49:52 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: zs_ap.c,v 1.26 2010/06/26 03:44:49 tsutsui Exp $");
__KERNEL_RCSID(0, "$NetBSD: zs_ap.c,v 1.27 2010/06/26 03:49:52 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -296,7 +296,8 @@ zs_ap_attach(device_t parent, device_t self, void *aux)
/*
* Now safe to install interrupt handlers.
*/
zsc->zsc_si = softint_establish(SOFTINT_SERIAL, zssoft, zsc);
zsc->zsc_si = softint_establish(SOFTINT_SERIAL,
(void (*)(void *))zsc_intr_soft, zsc);
apbus_intr_establish(1, /* interrupt level ( 0 or 1 ) */
NEWS5000_INT1_SCC, 0, /* priority */
zshard_ap, zsc, apa->apa_name, apa->apa_ctlnum);

View File

@ -1,4 +1,4 @@
/* $NetBSD: z8530var.h,v 1.10 2008/03/29 19:15:35 tsutsui Exp $ */
/* $NetBSD: z8530var.h,v 1.11 2010/06/26 03:49:52 tsutsui Exp $ */
/*
* Copyright (c) 1992, 1993
@ -111,7 +111,6 @@ void zs_write_data(struct zs_chanstate *cs, uint8_t val);
int zs_print(void *, const char *);
int zshard(void *);
void zssoft(void*);
int zs_get_speed(struct zs_chanstate *);
void (*zs_delay)(void);