summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/cx.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 08:16:23 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 08:16:23 +0000
commitc86f0c7a71e7ade3e38b325c186a9cf374e0411e (patch)
tree176f04f674860c7cfae9ac5d2ff4d4e1d73cb2b7 /sys/i386/isa/cx.c
parent423ba8f9bc23d93bfc244aca9b12563b1c9de90d (diff)
downloadFreeBSD-src-c86f0c7a71e7ade3e38b325c186a9cf374e0411e.zip
FreeBSD-src-c86f0c7a71e7ade3e38b325c186a9cf374e0411e.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'sys/i386/isa/cx.c')
-rw-r--r--sys/i386/isa/cx.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/i386/isa/cx.c b/sys/i386/isa/cx.c
index c075baa..c66f645 100644
--- a/sys/i386/isa/cx.c
+++ b/sys/i386/isa/cx.c
@@ -93,7 +93,7 @@ int cxopen (dev_t dev, int flag, int mode, struct proc *p)
unsigned short port;
struct tty *tp;
int error = 0;
-
+
if (unit == UNIT_CTL) {
print (("cx: cxopen /dev/cronyx\n"));
return (0);
@@ -226,7 +226,7 @@ int cxclose (dev_t dev, int flag, int mode, struct proc *p)
cx_chan_t *c = cxchan[unit];
struct tty *tp;
int s;
-
+
if (unit == UNIT_CTL)
return (0);
tp = c->ttyp;
@@ -260,18 +260,18 @@ int cxread (dev_t dev, struct uio *uio, int flag)
{
int unit = UNIT (dev);
struct tty *tp;
-
+
if (unit == UNIT_CTL)
return (EIO);
tp = cxchan[unit]->ttyp;
return ((*linesw[tp->t_line].l_read) (tp, uio, flag));
}
-
+
int cxwrite (dev_t dev, struct uio *uio, int flag)
{
int unit = UNIT (dev);
struct tty *tp;
-
+
if (unit == UNIT_CTL)
return (EIO);
tp = cxchan[unit]->ttyp;
@@ -569,7 +569,7 @@ int cxparam (struct tty *tp, struct termios *t)
unsigned short port = c->chip->port;
int clock, period, s;
cx_cor1_async_t cor1;
-
+
if (t->c_ospeed == 0) {
/* Clear DTR and RTS. */
s = spltty ();
@@ -684,7 +684,7 @@ struct tty *cxdevtotty (dev_t dev)
return (cxchan[unit]->ttyp);
}
-
+
int cxselect (dev_t dev, int flag, struct proc *p)
{
int unit = UNIT (dev);
OpenPOWER on IntegriCloud