mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-09 13:42:56 +00:00
- Catch up to new software interrupt code.
- Add a missing curly brace. Noticed by: phk
This commit is contained in:
parent
deb5cdfd95
commit
49e0078b0f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67584
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user