diff options
author | kato <kato@FreeBSD.org> | 1998-06-15 13:06:33 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1998-06-15 13:06:33 +0000 |
commit | 988417407e086921c2d671b950dfb21c59811a28 (patch) | |
tree | 04670433654da316091dcb8538ece863234771e7 /sys/pc98 | |
parent | a91f714a56e003af39380834e9380961dc96b0d7 (diff) | |
download | FreeBSD-src-988417407e086921c2d671b950dfb21c59811a28.zip FreeBSD-src-988417407e086921c2d671b950dfb21c59811a28.tar.gz |
Sync with sys/i386/isa/syscons.c revision 1.263.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/pc98/syscons.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/pc98/pc98/syscons.c b/sys/pc98/pc98/syscons.c index 311e6d1..7988b4d 100644 --- a/sys/pc98/pc98/syscons.c +++ b/sys/pc98/pc98/syscons.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.c,v 1.86 1998/05/17 11:53:30 phk Exp $ + * $Id: syscons.c,v 1.87 1998/06/08 08:55:46 kato Exp $ */ #include "sc.h" @@ -153,6 +153,7 @@ static scr_stat main_console; static scr_stat *console[MAXCONS]; #ifdef DEVFS static void *sc_devfs_token[MAXCONS]; +static void *sc_vga_devfs_token; static void *sc_mouse_devfs_token; static void *sc_console_devfs_token; #endif @@ -924,6 +925,7 @@ scattach(struct isa_device *dev) for (vc = 0; vc < MAXCONS; vc++) sc_devfs_token[vc] = devfs_add_devswf(&scdevsw, vc, DV_CHR, UID_ROOT, GID_WHEEL, 0600, "ttyv%n", vc); + sc_vga_devfs_token = devfs_link(sc_devfs_token[0], "vga"); sc_mouse_devfs_token = devfs_add_devswf(&scdevsw, SC_MOUSE, DV_CHR, UID_ROOT, GID_WHEEL, 0600, "sysmouse"); sc_console_devfs_token = devfs_add_devswf(&scdevsw, SC_CONSOLE, DV_CHR, |