Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/etc.i386 Add agp device(s)



details:   https://anonhg.NetBSD.org/src/rev/aa545564da99
branches:  trunk
changeset: 514778:aa545564da99
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Mon Sep 10 12:58:35 2001 +0000

description:
Add agp device(s)

diffstat:

 etc/etc.i386/MAKEDEV |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 1c07067467e3 -r aa545564da99 etc/etc.i386/MAKEDEV
--- a/etc/etc.i386/MAKEDEV      Mon Sep 10 12:51:42 2001 +0000
+++ b/etc/etc.i386/MAKEDEV      Mon Sep 10 12:58:35 2001 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.141 2001/09/03 18:37:15 drochner Exp $
+#      $NetBSD: MAKEDEV,v 1.142 2001/09/10 12:58:35 fvdl Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -127,6 +127,7 @@
 #      altq    ALTQ control interface
 #      vmegen* generic VME access
 #      wsfont* console font control
+#      agp*    AGP GARt devices
 #
 
 dialin=0
@@ -173,6 +174,7 @@
        sh $0 sysmon
        sh $0 bktr
        sh $0 ttyCZ0 ttyCY0
+       sh $0 agp0
        sh $0 altq
        sh $0 ed0 ed1
        ;;
@@ -800,6 +802,13 @@
        chmod 600 mly$unit
        ;;
 
+agp*)
+       unit=${i#agp};
+       rm -f agp$unit
+       mknod agp$unit c 82 $unit
+       if [ "$unit" = "0" ]; then ln -sf agp$unit agpgart; fi
+       chmod 644 agp$unit
+       ;;
 altq)
        mkdir -p altq
        chmod 755 altq



Home | Main Index | Thread Index | Old Index