summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-10-25 21:13:42 +0000
committerjhb <jhb@FreeBSD.org>2000-10-25 21:13:42 +0000
commit9a534580a41b7a27ccdec44cc503b64a6d9086c2 (patch)
tree8a3ef53350ece962ee0eecf38940de99bfcc9fad /sys
parenta44cd632f8f516ee197f078459dd450e7853816c (diff)
downloadFreeBSD-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')
-rw-r--r--sys/dev/cy/cy.c6
-rw-r--r--sys/dev/cy/cy_isa.c6
-rw-r--r--sys/i386/isa/cy.c6
3 files changed, 9 insertions, 9 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;
diff --git a/sys/i386/isa/cy.c b/sys/i386/isa/cy.c
index 3cd2b6f..a3997f9 100644
--- a/sys/i386/isa/cy.c
+++ b/sys/i386/isa/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;
OpenPOWER on IntegriCloud