1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Modified pccnprobe to not set cn_tp = CONSOLE_TTY if __FreeBSD__ is

defined. This code should probably be yanked out.
This commit is contained in:
David Greenman 1994-03-08 15:17:41 +00:00
parent 07c2619554
commit 835b7809ab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1249
3 changed files with 6 additions and 6 deletions

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from:@(#)syscons.c 1.3 940129
* $Id: syscons.c,v 1.36 1994/03/02 20:28:38 guido Exp $
* $Id: syscons.c,v 1.37 1994/03/06 20:56:26 guido Exp $
*
*/
@ -1102,7 +1102,7 @@ void pccnprobe(struct consdev *cp)
/* initialize required fields */
cp->cn_dev = makedev(maj, NCONS);
cp->cn_pri = CN_INTERNAL;
#if defined(__386BSD__)
#if defined(__386BSD__) && !defined(__FreeBSD__)
cp->cn_tp = CONSOLE_TTY;
#endif
}

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from:@(#)syscons.c 1.3 940129
* $Id: syscons.c,v 1.36 1994/03/02 20:28:38 guido Exp $
* $Id: syscons.c,v 1.37 1994/03/06 20:56:26 guido Exp $
*
*/
@ -1102,7 +1102,7 @@ void pccnprobe(struct consdev *cp)
/* initialize required fields */
cp->cn_dev = makedev(maj, NCONS);
cp->cn_pri = CN_INTERNAL;
#if defined(__386BSD__)
#if defined(__386BSD__) && !defined(__FreeBSD__)
cp->cn_tp = CONSOLE_TTY;
#endif
}

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from:@(#)syscons.c 1.3 940129
* $Id: syscons.c,v 1.36 1994/03/02 20:28:38 guido Exp $
* $Id: syscons.c,v 1.37 1994/03/06 20:56:26 guido Exp $
*
*/
@ -1102,7 +1102,7 @@ void pccnprobe(struct consdev *cp)
/* initialize required fields */
cp->cn_dev = makedev(maj, NCONS);
cp->cn_pri = CN_INTERNAL;
#if defined(__386BSD__)
#if defined(__386BSD__) && !defined(__FreeBSD__)
cp->cn_tp = CONSOLE_TTY;
#endif
}