Browse Source

sync

OPENBSD_3_5
todd 21 years ago
parent
commit
23778bc1e2
1 changed files with 17 additions and 7 deletions
  1. +17
    -7
      src/etc/etc.pegasos/MAKEDEV

+ 17
- 7
src/etc/etc.pegasos/MAKEDEV View File

@ -3,9 +3,9 @@
# THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
# generated from:
#
# OpenBSD: etc.pegasos/MAKEDEV.md,v 1.1 2003/10/31 03:56:54 drahn Exp
# OpenBSD: MAKEDEV.mi,v 1.63 2003/10/15 02:01:04 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.8 2003/06/18 18:08:59 todd Exp
# OpenBSD: etc.pegasos/MAKEDEV.md,v 1.2 2004/01/12 23:32:24 todd Exp
# OpenBSD: MAKEDEV.mi,v 1.65 2004/01/12 22:31:34 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.9 2004/01/12 22:18:24 todd Exp
#
#
# Copyright (c) 2001,2002,2003 Todd T. Fries <todd@OpenBSD.org>
@ -58,7 +58,7 @@
# ugen* Generic device
# ulpt* Printer devices
# urio* Diamond Multimedia Rio 500
# utty* Serial ports
# ttyU* Serial ports
# uscanner* Scanners
# Special purpose devices:
# audio* audio device
@ -98,6 +98,14 @@ hex()
esac
}
alph2d()
{
local t="$1"
local p="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
local sub=${p%${t}*}
echo ${#sub}
}
h2d()
{
local s="$1"
@ -249,7 +257,7 @@ pci)
;;
usbs)
R utty0 utty1 ugen0 ugen1 ulpt0 ulpt1 uhid0 uhid1 uhid2 uhid3
R ttyU0 ttyU1 ugen0 ugen1 ulpt0 ulpt1 uhid0 uhid1 uhid2 uhid3
R uscanner0 urio0 usb0 usb1
;;
@ -322,8 +330,10 @@ uscanner*)
M uscanner$U c 74 $U 660
;;
utty*)
M utty$U c 66 $U 660
ttyU[0-9a-zA-Z])
U=${i#ttyU*}
o=$(alph2d $U)
M ttyU$U c 66 $o 660 dialer uucp
;;
urio*)


Loading…
Cancel
Save