aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cy
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2000-10-25 21:13:42 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2000-10-25 21:13:42 +0000
commit49e0078b0f0f3ac31278b74d2542e25085a4fb3a (patch)
tree4bb67af2f01d99bf047db3095446212a9b14d921 /sys/dev/cy
parentdeb5cdfd957cb40dd47ee31c464205a99f98a93a (diff)
Notes
Diffstat (limited to 'sys/dev/cy')
-rw-r--r--sys/dev/cy/cy.c6
-rw-r--r--sys/dev/cy/cy_isa.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index 3cd2b6f7bb766..a3997f9981d98 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -335,7 +335,7 @@ static void siointr1 __P((struct com_s *com));
#endif
static int commctl __P((struct com_s *com, int bits, int how));
static int comparam __P((struct tty *tp, struct termios *t));
-static swihand_t siopoll;
+static void siopoll __P((void *arg));
static int sioprobe __P((struct isa_device *dev));
static void siosettimeout __P((void));
static int siosetwater __P((struct com_s *com, speed_t speed));
@@ -607,7 +607,7 @@ cyattach_common(cy_iobase, cy_align)
com_addr(unit) = com;
splx(s);
- if (sio_ih == NULL)
+ if (sio_ih == NULL) {
cdevsw_add(&sio_cdevsw);
sio_ih = sinthand_add("tty:sio", &tty_ithd, siopoll, NULL,
SWI_TTY, 0);
@@ -1754,7 +1754,7 @@ sioioctl(dev, cmd, data, flag, p)
}
static void
-siopoll()
+siopoll(void *arg)
{
int unit;
int intrsave;
diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c
index 3cd2b6f7bb766..a3997f9981d98 100644
--- a/sys/dev/cy/cy_isa.c
+++ b/sys/dev/cy/cy_isa.c
@@ -335,7 +335,7 @@ static void siointr1 __P((struct com_s *com));
#endif
static int commctl __P((struct com_s *com, int bits, int how));
static int comparam __P((struct tty *tp, struct termios *t));
-static swihand_t siopoll;
+static void siopoll __P((void *arg));
static int sioprobe __P((struct isa_device *dev));
static void siosettimeout __P((void));
static int siosetwater __P((struct com_s *com, speed_t speed));
@@ -607,7 +607,7 @@ cyattach_common(cy_iobase, cy_align)
com_addr(unit) = com;
splx(s);
- if (sio_ih == NULL)
+ if (sio_ih == NULL) {
cdevsw_add(&sio_cdevsw);
sio_ih = sinthand_add("tty:sio", &tty_ithd, siopoll, NULL,
SWI_TTY, 0);
@@ -1754,7 +1754,7 @@ sioioctl(dev, cmd, data, flag, p)
}
static void
-siopoll()
+siopoll(void *arg)
{
int unit;
int intrsave;