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:
parent
07c2619554
commit
835b7809ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1249
@ -35,7 +35,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from:@(#)syscons.c 1.3 940129
|
* 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 */
|
/* initialize required fields */
|
||||||
cp->cn_dev = makedev(maj, NCONS);
|
cp->cn_dev = makedev(maj, NCONS);
|
||||||
cp->cn_pri = CN_INTERNAL;
|
cp->cn_pri = CN_INTERNAL;
|
||||||
#if defined(__386BSD__)
|
#if defined(__386BSD__) && !defined(__FreeBSD__)
|
||||||
cp->cn_tp = CONSOLE_TTY;
|
cp->cn_tp = CONSOLE_TTY;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from:@(#)syscons.c 1.3 940129
|
* 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 */
|
/* initialize required fields */
|
||||||
cp->cn_dev = makedev(maj, NCONS);
|
cp->cn_dev = makedev(maj, NCONS);
|
||||||
cp->cn_pri = CN_INTERNAL;
|
cp->cn_pri = CN_INTERNAL;
|
||||||
#if defined(__386BSD__)
|
#if defined(__386BSD__) && !defined(__FreeBSD__)
|
||||||
cp->cn_tp = CONSOLE_TTY;
|
cp->cn_tp = CONSOLE_TTY;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from:@(#)syscons.c 1.3 940129
|
* 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 */
|
/* initialize required fields */
|
||||||
cp->cn_dev = makedev(maj, NCONS);
|
cp->cn_dev = makedev(maj, NCONS);
|
||||||
cp->cn_pri = CN_INTERNAL;
|
cp->cn_pri = CN_INTERNAL;
|
||||||
#if defined(__386BSD__)
|
#if defined(__386BSD__) && !defined(__FreeBSD__)
|
||||||
cp->cn_tp = CONSOLE_TTY;
|
cp->cn_tp = CONSOLE_TTY;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user