33c33
< * $FreeBSD: head/sys/pc98/cbus/sio.c 51202 1999-09-12 13:44:54Z nyan $
---
> * $FreeBSD: head/sys/pc98/cbus/sio.c 51654 1999-09-25 16:21:39Z phk $
256c256
< * siostop())
---
> * comstop())
429a430
> static void comstop __P((struct tty *tp, int rw));
461,462d461
< static d_stop_t siostop;
< static d_devtotty_t siodevtotty;
471c470
< /* stop */ siostop,
---
> /* stop */ nostop,
473,474c472,473
< /* devtotty */ siodevtotty,
< /* poll */ ttpoll,
---
> /* devtotty */ nodevtotty,
> /* poll */ ttypoll,
1948a1948
> tp->t_stop = comstop;
2130c2130
< siostop(tp, FREAD | FWRITE);
---
> comstop(tp, FREAD | FWRITE);
3615c3615
< siostop(tp, rw)
---
> comstop(tp, rw)
3681,3696d3680
< 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/pc98/cbus/sio.c 51202 1999-09-12 13:44:54Z nyan $
---
> * $FreeBSD: head/sys/pc98/cbus/sio.c 51654 1999-09-25 16:21:39Z phk $
256c256
< * siostop())
---
> * comstop())
429a430
> static void comstop __P((struct tty *tp, int rw));
461,462d461
< static d_stop_t siostop;
< static d_devtotty_t siodevtotty;
471c470
< /* stop */ siostop,
---
> /* stop */ nostop,
473,474c472,473
< /* devtotty */ siodevtotty,
< /* poll */ ttpoll,
---
> /* devtotty */ nodevtotty,
> /* poll */ ttypoll,
1948a1948
> tp->t_stop = comstop;
2130c2130
< siostop(tp, FREAD | FWRITE);
---
> comstop(tp, FREAD | FWRITE);
3615c3615
< siostop(tp, rw)
---
> comstop(tp, rw)
3681,3696d3680
< 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);
< }
<