33c33
< * $FreeBSD: head/sys/dev/sio/sio.c 51088 1999-09-08 13:46:54Z peter $
---
> * $FreeBSD: head/sys/dev/sio/sio.c 51654 1999-09-25 16:21:39Z phk $
309a310
> static void comstop __P((struct tty *tp, int rw));
341,342d341
< static d_stop_t siostop;
< static d_devtotty_t siodevtotty;
351c350
< /* stop */ siostop,
---
> /* stop */ nostop,
353,354c352,353
< /* devtotty */ siodevtotty,
< /* poll */ ttpoll,
---
> /* devtotty */ nodevtotty,
> /* poll */ ttypoll,
1212a1212
> tp->t_stop = comstop;
1339c1339
< siostop(tp, FREAD | FWRITE);
---
> comstop(tp, FREAD | FWRITE);
2378c2378
< siostop(tp, rw)
---
> comstop(tp, rw)
2418,2433d2417
< 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 >= NSIOTOT)
< return (NULL);
< return (dev->si_tty);
< }
<
< * $FreeBSD: head/sys/dev/sio/sio.c 51088 1999-09-08 13:46:54Z peter $
---
> * $FreeBSD: head/sys/dev/sio/sio.c 51654 1999-09-25 16:21:39Z phk $
309a310
> static void comstop __P((struct tty *tp, int rw));
341,342d341
< static d_stop_t siostop;
< static d_devtotty_t siodevtotty;
351c350
< /* stop */ siostop,
---
> /* stop */ nostop,
353,354c352,353
< /* devtotty */ siodevtotty,
< /* poll */ ttpoll,
---
> /* devtotty */ nodevtotty,
> /* poll */ ttypoll,
1212a1212
> tp->t_stop = comstop;
1339c1339
< siostop(tp, FREAD | FWRITE);
---
> comstop(tp, FREAD | FWRITE);
2378c2378
< siostop(tp, rw)
---
> comstop(tp, rw)
2418,2433d2417
< 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 >= NSIOTOT)
< return (NULL);
< return (dev->si_tty);
< }
<