16bca6d52Stoddvers(__file__, 2*dccf5042Sderaadt {-$OpenBSD: MAKEDEV.md,v 1.3 2002/02/09 16:59:50 deraadt Exp $-}, 36bca6d52Stoddetc.MACHINE)dnl 46bca6d52Stodddnl 56bca6d52Stodddnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org> 66bca6d52Stodddnl All rights reserved. 76bca6d52Stodddnl 86bca6d52Stodddnl Redistribution and use in source and binary forms, with or without 96bca6d52Stodddnl modification, are permitted provided that the following conditions 106bca6d52Stodddnl are met: 116bca6d52Stodddnl 1. Redistributions of source code must retain the above copyright 126bca6d52Stodddnl notice, this list of conditions and the following disclaimer. 136bca6d52Stodddnl 2. The name of the author may not be used to endorse or promote products 146bca6d52Stodddnl derived from this software without specific prior written permission. 156bca6d52Stodddnl 166bca6d52Stodddnl THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 176bca6d52Stodddnl INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 186bca6d52Stodddnl AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 196bca6d52Stodddnl THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 206bca6d52Stodddnl EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 216bca6d52Stodddnl PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 226bca6d52Stodddnl OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 236bca6d52Stodddnl WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 246bca6d52Stodddnl OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 256bca6d52Stodddnl ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 266bca6d52Stodddnl 276bca6d52Stodddnl 286bca6d52Stodd_TITLE(make) 296bca6d52Stodd_DEV(all) 30*dccf5042Sderaadt_DEV(ramdisk) 316bca6d52Stodd_DEV(std) 32b584bf77Stodd_DEV(ramd) 336bca6d52Stodd_DEV(loc) 346bca6d52Stodd_TITLE(tap) 356bca6d52Stodd_DEV(wt,10,3) 366bca6d52Stodd_DEV(st,14,5) 376bca6d52Stodd_DEV(ch,17) 386bca6d52Stodd_TITLE(dis) 396bca6d52Stodd_DEV(wd,3,0) 406bca6d52Stodd_DEV(flo,9,2) 416bca6d52Stodd_DEV(sd,13,4) 426bca6d52Stodd_DEV(cd,15,6) 436bca6d52Stodd_DEV(mcd,39,7) 446bca6d52Stodd_DEV(vnd,41,14) 456bca6d52Stodd_DEV(rd,17,17) 466bca6d52Stodd_DEV(ccd,18,16) 476bca6d52Stodd_DEV(raid,54,19) 486bca6d52Stodd_TITLE(cons) 496bca6d52Stodd_DEV(wscons) 506bca6d52Stodd_DEV(wsdisp,12) 516bca6d52Stodd_DEV(wskbd,67) 526bca6d52Stodd_DEV(wsmux,69) 536bca6d52Stodd_TITLE(point) 546bca6d52Stodd_DEV(mouse) 556bca6d52Stodd_DEV(wsmouse,68) 566bca6d52Stodd_TITLE(term) 576bca6d52Stodd_DEV(com,8) 586bca6d52Stodd_DEV(ttyc,38) 596bca6d52Stodd_TITLE(pty) 606bca6d52Stodd_DEV(tty,5) 616bca6d52Stodd_DEV(pty,6) 626bca6d52Stodd_TITLE(prn) 636bca6d52Stodd_DEV(lpt,16) 646bca6d52Stodd_DEV(lpa) 656bca6d52Stodd_TITLE(usb) 666bca6d52Stodd_DEV(usb,61) 676bca6d52Stodd_DEV(uhid,62) 686bca6d52Stodd_DEV(ugen,63) 696bca6d52Stodd_DEV(ulpt,64) 706bca6d52Stodd_DEV(urio,65) 716bca6d52Stodd_DEV(utty,66) 726bca6d52Stodd_DEV(uscan,77) 736bca6d52Stodd_TITLE(call) 746bca6d52Stodd_TITLE(spec) 756bca6d52Stodd_DEV(fdesc,22) 766bca6d52Stodd_DEV(cry,70) 776bca6d52Stodd_DEV(pf,73) 786bca6d52Stodd_DEV(bpf,23) 796bca6d52Stodd_DEV(speak,27) 806bca6d52Stodd_DEV(lkm,28) 816bca6d52Stodd_DEV(altq,74) 826bca6d52Stodd_DEV(au,42) 836bca6d52Stodd_DEV(rmidi,52) 846bca6d52Stodd_DEV(music,53) 856bca6d52Stodd_DEV(apm,21) 866bca6d52Stodd_DEV(tun,40) 876bca6d52Stodd_DEV(joy,26) 886bca6d52Stodd_DEV(pcmcia) 896bca6d52Stodd_DEV(rnd,45) 906bca6d52Stodd_DEV(uk,20) 916bca6d52Stodd_DEV(ss,19) 926bca6d52Stodd_DEV(ses,24) 936bca6d52Stodd_DEV(xfs,51) 946bca6d52Stodd_DEV(bktr,49) 956bca6d52Stodd_DEV(tuner,49) 966bca6d52Stodd_DEV(wdt,55) 976bca6d52Stodd_DEV(pctr,46) 986bca6d52Stodd_DEV(pci,72) 996bca6d52Stodd_DEV(iop,75) 1006bca6d52Stodd_DEV(radio,76) 1016bca6d52Stodd_DEV({-usbs-}) 1026bca6d52Stodd# 1036bca6d52Stodddnl 1046bca6d52Stodddivert(7)dnl 1056bca6d52Stodddnl 106*dccf5042Sderaadtramdisk) 107*dccf5042Sderaadt _recurse std wt0 fd0 wd0 wd1 sd0 sd1 tty00 tty01 rd0 1086bca6d52Stodd _recurse st0 cd0 ttyC0 random 1096bca6d52Stodd ;; 1106bca6d52Stodd 1116bca6d52Stodd_std(1,2,50,4,7) 1126bca6d52Stodd M xf86 c 2 4 600 1136bca6d52Stodd ;; 1146bca6d52Stodd 1156bca6d52Stoddttyc*) 1166bca6d52Stodd M ttyc$U c 38 $U 660 dialer uucp 1176bca6d52Stodd M cuac$U c 38 Add($U,128) 660 dialer uucp 1186bca6d52Stodd ;; 1196bca6d52Stodd 1206bca6d52Stoddmouse*) 1216bca6d52Stodd name=${i##mouse-} 1226bca6d52Stodd if [ ! -c $name ]; then 1236bca6d52Stodd $0 $name # make the appropriate device 1246bca6d52Stodd fi 1256bca6d52Stodd RMlist="$RMlist mouse" 1266bca6d52Stodd MKlist="$MKlist;ln -s $name mouse" 1276bca6d52Stodd ;; 128