diff options
Diffstat (limited to 'sys/dev/sio/sio.c')
-rw-r--r-- | sys/dev/sio/sio.c | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 33d02fb3c303..b2e75d9565ad 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -271,26 +271,26 @@ struct com_s { }; #ifdef COM_ESP -static int espattach __P((struct com_s *com, Port_t esp_port)); +static int espattach (struct com_s *com, Port_t esp_port); #endif static timeout_t siobusycheck; -static u_int siodivisor __P((u_long rclk, speed_t speed)); +static u_int siodivisor (u_long rclk, speed_t speed); static timeout_t siodtrwakeup; -static void comhardclose __P((struct com_s *com)); -static void sioinput __P((struct com_s *com)); -static void siointr1 __P((struct com_s *com)); -static void siointr __P((void *arg)); -static int commctl __P((struct com_s *com, int bits, int how)); -static int comparam __P((struct tty *tp, struct termios *t)); -static void siopoll __P((void *)); -static void siosettimeout __P((void)); -static int siosetwater __P((struct com_s *com, speed_t speed)); -static void comstart __P((struct tty *tp)); -static void comstop __P((struct tty *tp, int rw)); +static void comhardclose (struct com_s *com); +static void sioinput (struct com_s *com); +static void siointr1 (struct com_s *com); +static void siointr (void *arg); +static int commctl (struct com_s *com, int bits, int how); +static int comparam (struct tty *tp, struct termios *t); +static void siopoll (void *); +static void siosettimeout (void); +static int siosetwater (struct com_s *com, speed_t speed); +static void comstart (struct tty *tp); +static void comstop (struct tty *tp, int rw); static timeout_t comwakeup; -static void disc_optim __P((struct tty *tp, struct termios *t, - struct com_s *com)); +static void disc_optim (struct tty *tp, struct termios *t, + struct com_s *com); char sio_driver_name[] = "sio"; static struct mtx sio_lock; @@ -2703,17 +2703,17 @@ struct siocnstate { }; #ifndef __alpha__ -static speed_t siocngetspeed __P((Port_t, u_long rclk)); +static speed_t siocngetspeed(Port_t, u_long rclk); #endif -static void siocnclose __P((struct siocnstate *sp, Port_t iobase)); -static void siocnopen __P((struct siocnstate *sp, Port_t iobase, int speed)); -static void siocntxwait __P((Port_t iobase)); +static void siocnclose (struct siocnstate *sp, Port_t iobase); +static void siocnopen (struct siocnstate *sp, Port_t iobase, int speed); +static void siocntxwait (Port_t iobase); #ifdef __alpha__ -int siocnattach __P((int port, int speed)); -int siogdbattach __P((int port, int speed)); -int siogdbgetc __P((void)); -void siogdbputc __P((int c)); +int siocnattach(int port, int speed); +int siogdbattach(int port, int speed); +int siogdbgetc(void); +void siogdbputc(int c); #else static cn_probe_t siocnprobe; static cn_init_t siocninit; |