Deleted Added
full compact
30c30
< * $FreeBSD: head/sys/dev/cy/cy.c 50477 1999-08-28 01:08:13Z peter $
---
> * $FreeBSD: head/sys/dev/cy/cy.c 51654 1999-09-25 16:21:39Z phk $
126d125
< #define siodevtotty cydevtotty
139c138
< #define siostop cystop
---
> #define comstop cystop
182c181
< * siostop())
---
> * comstop())
349a349
> static void comstop __P((struct tty *tp, int rw));
373,374d372
< static d_stop_t siostop;
< static d_devtotty_t siodevtotty;
383c381
< /* stop */ siostop,
---
> /* stop */ nostop,
385,386c383,384
< /* devtotty */ siodevtotty,
< /* poll */ ttpoll,
---
> /* devtotty */ nodevtotty,
> /* poll */ ttypoll,
676a675
> dev->si_tty = tp;
723a723
> tp->t_stop = comstop;
856c856
< siostop(tp, FREAD | FWRITE);
---
> comstop(tp, FREAD | FWRITE);
2417c2417
< siostop(tp, rw)
---
> comstop(tp, rw)
2457,2472d2456
< static struct tty *
< siodevtotty(dev)
< dev_t dev;
< {
< int mynor;
< int unit;
<
< mynor = minor(dev);
< if (mynor & CONTROL_MASK)
< return (NULL);
< unit = MINOR_TO_UNIT(mynor);
< if ((u_int) unit >= NSIO)
< return (NULL);
< return (&sio_tty[unit]);
< }
<