diff options
author | jhb <jhb@FreeBSD.org> | 2000-10-25 21:13:42 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-10-25 21:13:42 +0000 |
commit | 9a534580a41b7a27ccdec44cc503b64a6d9086c2 (patch) | |
tree | 8a3ef53350ece962ee0eecf38940de99bfcc9fad /sys/dev/cy | |
parent | a44cd632f8f516ee197f078459dd450e7853816c (diff) | |
download | FreeBSD-src-9a534580a41b7a27ccdec44cc503b64a6d9086c2.zip FreeBSD-src-9a534580a41b7a27ccdec44cc503b64a6d9086c2.tar.gz |
- Catch up to new software interrupt code.
- Add a missing curly brace.
Noticed by: phk
Diffstat (limited to 'sys/dev/cy')
-rw-r--r-- | sys/dev/cy/cy.c | 6 | ||||
-rw-r--r-- | sys/dev/cy/cy_isa.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c index 3cd2b6f..a3997f9 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 3cd2b6f..a3997f9 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; |