diff options
Diffstat (limited to 'sys/dev/sio')
-rw-r--r-- | sys/dev/sio/sio.c | 46 | ||||
-rw-r--r-- | sys/dev/sio/sio_isa.c | 4 | ||||
-rw-r--r-- | sys/dev/sio/sio_pccard.c | 8 | ||||
-rw-r--r-- | sys/dev/sio/sio_pci.c | 6 | ||||
-rw-r--r-- | sys/dev/sio/sio_puc.c | 4 | ||||
-rw-r--r-- | sys/dev/sio/siovar.h | 6 |
6 files changed, 37 insertions, 37 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 33d02fb..b2e75d9 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; diff --git a/sys/dev/sio/sio_isa.c b/sys/dev/sio/sio_isa.c index 916d0f6..e1a3917 100644 --- a/sys/dev/sio/sio_isa.c +++ b/sys/dev/sio/sio_isa.c @@ -43,8 +43,8 @@ #include <isa/isareg.h> #include <isa/isavar.h> -static int sio_isa_attach __P((device_t dev)); -static int sio_isa_probe __P((device_t dev)); +static int sio_isa_attach (device_t dev); +static int sio_isa_probe (device_t dev); static device_method_t sio_isa_methods[] = { /* Device interface */ diff --git a/sys/dev/sio/sio_pccard.c b/sys/dev/sio/sio_pccard.c index c606312..571e822 100644 --- a/sys/dev/sio/sio_pccard.c +++ b/sys/dev/sio/sio_pccard.c @@ -45,10 +45,10 @@ #include <dev/sio/siovar.h> -static int sio_pccard_attach __P((device_t dev)); -static int sio_pccard_detach __P((device_t dev)); -static int sio_pccard_match __P((device_t self)); -static int sio_pccard_probe __P((device_t dev)); +static int sio_pccard_attach(device_t dev); +static int sio_pccard_detach(device_t dev); +static int sio_pccard_match(device_t self); +static int sio_pccard_probe(device_t dev); static device_method_t sio_pccard_methods[] = { /* Device interface */ diff --git a/sys/dev/sio/sio_pci.c b/sys/dev/sio/sio_pci.c index 6ea2930..e71b330 100644 --- a/sys/dev/sio/sio_pci.c +++ b/sys/dev/sio/sio_pci.c @@ -42,9 +42,9 @@ #include <pci/pcivar.h> -static int sio_pci_attach __P((device_t dev)); -static void sio_pci_kludge_unit __P((device_t dev)); -static int sio_pci_probe __P((device_t dev)); +static int sio_pci_attach(device_t dev); +static void sio_pci_kludge_unit(device_t dev); +static int sio_pci_probe(device_t dev); static device_method_t sio_pci_methods[] = { /* Device interface */ diff --git a/sys/dev/sio/sio_puc.c b/sys/dev/sio/sio_puc.c index a314de3..e2c694f 100644 --- a/sys/dev/sio/sio_puc.c +++ b/sys/dev/sio/sio_puc.c @@ -45,8 +45,8 @@ __FBSDID("$FreeBSD$"); #include <dev/sio/siovar.h> #include <dev/sio/sioreg.h> -static int sio_puc_attach __P((device_t dev)); -static int sio_puc_probe __P((device_t dev)); +static int sio_puc_attach(device_t dev); +static int sio_puc_probe(device_t dev); static device_method_t sio_puc_methods[] = { /* Device interface */ diff --git a/sys/dev/sio/siovar.h b/sys/dev/sio/siovar.h index a6ba168..44c84f4 100644 --- a/sys/dev/sio/siovar.h +++ b/sys/dev/sio/siovar.h @@ -63,9 +63,9 @@ #define CLR_FLAG(dev, bit) device_set_flags(dev, device_get_flags(dev) & ~(bit)) #endif /* PC98 */ -int sioattach __P((device_t dev, int xrid, u_long rclk)); -int siodetach __P((device_t dev)); -int sioprobe __P((device_t dev, int xrid, u_long rclk, int noprobe)); +int sioattach(device_t dev, int xrid, u_long rclk); +int siodetach(device_t dev); +int sioprobe(device_t dev, int xrid, u_long rclk, int noprobe); extern devclass_t sio_devclass; extern char sio_driver_name[]; |