Sync with sys/isa/sio.c revision 1.241.

This commit is contained in:
KATO Takenori 1999-05-11 08:38:28 +00:00
parent 6048ba838c
commit 09a41d3082
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47002
2 changed files with 6 additions and 4 deletions

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: sio.c,v 1.94 1999/05/10 09:14:40 kato Exp $
* $Id: sio.c,v 1.95 1999/05/10 09:37:37 kato Exp $
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* from: i386/isa sio.c,v 1.234
*/
@ -4160,7 +4160,7 @@ siocnprobe(cp)
struct consdev siocons = {
NULL, NULL, siocngetc, siocncheckc, siocnputc,
NULL, makedev(CDEV_MAJOR, 0), CN_NORMAL,
NULL, 0, CN_NORMAL,
};
extern struct consdev *cn_tab;
@ -4199,6 +4199,7 @@ siocnattach(port, speed)
siocnopen(&sp, siocniobase, comdefaultrate);
splx(s);
siocons.cn_dev = makedev(CDEV_MAJOR, 0);
cn_tab = &siocons;
return 0;
}

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: sio.c,v 1.94 1999/05/10 09:14:40 kato Exp $
* $Id: sio.c,v 1.95 1999/05/10 09:37:37 kato Exp $
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* from: i386/isa sio.c,v 1.234
*/
@ -4160,7 +4160,7 @@ siocnprobe(cp)
struct consdev siocons = {
NULL, NULL, siocngetc, siocncheckc, siocnputc,
NULL, makedev(CDEV_MAJOR, 0), CN_NORMAL,
NULL, 0, CN_NORMAL,
};
extern struct consdev *cn_tab;
@ -4199,6 +4199,7 @@ siocnattach(port, speed)
siocnopen(&sp, siocniobase, comdefaultrate);
splx(s);
siocons.cn_dev = makedev(CDEV_MAJOR, 0);
cn_tab = &siocons;
return 0;
}