Commit Graph

64 Commits

Author SHA1 Message Date
lukem fa4442cae4 - in local), only run $0.local if it is an existing file
(prevents spurious warning for mfs /dev, amongst other things)
- for mipsco, news68k, newsmips: ensure that "umask 77" is run after $0.local
- for playstation2: add local) target, and use in all)  (for consistency)
2002-08-09 02:39:15 +00:00
scottr ceb5ffc06a Add bpf devices to raminst (for dhclient). 2002-07-10 15:45:17 +00:00
wiz b097765198 Update comment on how to regenerate MAKEDEV(8) after changing the
MAKEDEV script. Not that anybody acts on it, but it's nicer if it's correct.
2002-06-18 13:40:14 +00:00
christos 4bef4356c3 Add device creation support for systrace. 2002-06-17 16:21:03 +00:00
shiba a26fd009c9 Add IDE drive support.
Note:
   (1) Character device major number chages to 49 from 48(in my original
       code). So it is necessary to rebuild device files.
   (2) Must use Booter 2.0.0a10 or later.
   (3) Default mode is cpu busy wait. It is defined by flags 0x1000.
       It will be more slow than before.
       No flags means hardware interrupt mode. But it might be able to
       get no interrupts.

Support machines:
   (1) Quadra 630 series
   (2) PowerBook 150

Non tested machine:
   (1) PowerBook 190 series

Approved by: briggs
2002-04-27 19:29:08 +00:00
simonb f5612134fc Remove trailing semicolons from lines that don't need them.
TABify many lines.
2002-03-13 01:26:54 +00:00
lukem 6b68804273 various cleanups inspired by etc.i386/MAKEDEV:
* use "ln -fs foo bar" instead of "rm -f bar; ln -s foo bar"

* remove unnecessary chown root or chgrp wheel directives; older code here
  didn't bother doing this, so why be inconsistent

* when making directories, don't use -p and don't redirect stdout to /dev/null

* clean up whitespace

* wrap the main parser code in a function makedev(), and call makedev
  instead of "sh $0". (this is a bit faster)

* don't barf when we have fdesc mounted; just skip the devices fdesc provides


(these files should really be automagically generated...)
2002-03-04 14:02:29 +00:00
toshii 0d030b3347 Use a tab instead of 7 spaces. 2002-03-03 14:15:58 +00:00
atatat 681a706ec7 Change a 62 to a 16, so that the proper number of slots is skipped.
Fixes PR 15650.
2002-02-25 07:34:55 +00:00
tls 59b84cdaa8 Fix minor mistake made while increasing number of pty devices: where we had
"pty0 pty1 pty2 pty3" before, for a total of 64 device nodes, we now want
just "pty0" for a total of 62 -- the original commit had "pty0 pty1" for a
total of 124, which ate too many inodes and made "ls /dev" a bit messy.
2002-02-02 20:58:43 +00:00
tls 1977a7b24e Add support for many more (930 or 992) ptys than the current 256.
Changes taken from the i386 MAKEDEV.  Note that the unusual use of 'dd'
to index an array was chosen because 'dd' is on all ports' install media.

This form of this change comes from Andrew Brown; the original idea to
bump the number of ptys this way comes from Brian Marcotte at Panix.
2002-02-02 07:04:44 +00:00
abs b537fda1d5 Move 'wscons' to directly after 'std'. Various MAKEDEVs had it pretty much
at the end, and as wscons (actually ttyE0) is required to login on the console,
it is probably better that an out of space MAKEDEV fail on some other device.
2002-01-21 16:19:17 +00:00
oster e474b1951e Update the various MAKEDEV's to reflect the default of 8 RAIDframe devices. 2002-01-19 18:59:17 +00:00
manu 8f66a3364c Added clockctl 2002-01-13 14:18:35 +00:00
wiz b83df16226 Standardize ch* and uk* descriptions. 2001-12-19 18:29:56 +00:00
wiz 864c94c933 Standardize scsibus* description. 2001-12-19 17:58:05 +00:00
mason db8e04e0f8 Move to a default of 64 PTYs in "all" targets. Normalize "floppy" and
"minimal" targets to use 16 PTYs.
2000-07-27 18:43:14 +00:00
scottr 29cb4c7412 Merge wscons work onto the main development branch. 2000-02-14 07:12:34 +00:00
tsutsui cac7cebd3e - rename (revert) normal memory disk device name /dev/mdX -> /dev/mdXa
- now raw partitions are used for memory disk ioctls
2000-01-21 12:28:22 +00:00
tsutsui e2c4e62e16 Correct md* entries. 1999-12-18 03:09:44 +00:00
fredb 2fad6a7a8e Make cfs0 for Venus/Coda file system, by default (PR 8625). 1999-11-05 09:57:06 +00:00
ad 652f0f8841 Back out previous 1999-10-18 22:41:23 +00:00
ad 993ac32fff Final chown user.group -> chown user:group changes. 1999-10-06 22:26:14 +00:00
hubertf 018c7b4f42 Tidy up comments a bit, to make the manpages generated from the a bit
nicer. Also, add a comment on how to re-generate the manpages if the
MAKEDEV file was changed.
1999-09-18 00:23:35 +00:00
ender 75fd3e78bb From Dave Huang (khym@bga.com) in PR 8059: the MAKEDEV script was trying
to create ttyNN as the dialout device instead of dtyNN.
1999-07-25 00:47:40 +00:00
wrstuden 3b55c25ad2 Teach both mac68k and macppc to create dialout devices. Modeled after
etc.i386/MAKEDEV's support.
1999-07-22 18:46:26 +00:00
ender 3423145ca4 Add md0 to the raminst target. 1999-03-26 08:45:25 +00:00
scottr 37c5e1f843 Some machines actually do have two floppy drives. 1999-02-23 14:56:26 +00:00
ender 332dbe4b37 Fix a typo noticed by Frederick Bruckman (fb@enteract.com) in PR#7023. 1999-02-21 00:34:43 +00:00
scottr 150ff2fe29 Add fd*, and create fd0 in the default set of devices. 1999-02-18 07:36:57 +00:00
oster 8bfd722a35 Added RAID devices for everyone! 1998-11-13 04:49:01 +00:00
thorpej 7490553d67 Add /dev/scsibus* device nodes. 1998-10-15 21:22:51 +00:00
tv 60ac257eb3 Fixes PR #3858: /dev/fd uniformly updated in MAKEDEV to make directory
(and file nodes) owned by root.wheel, and /dev/fd directory mode 755.  Now
it matches mtree (and the rest of the system's permissions/owner layout).
1997-11-26 03:09:23 +00:00
fair ffa1ced6be add appropriate entry to make "random" as documented in rnd(4).
add "random" entry to "all".
1997-11-20 05:57:38 +00:00
lukem fcbf94775b * add enss* to ss*
* st* has perms 660 not 640
* invoke MAKEDEV.local as $0.local, and reset umask afterwards
1997-08-22 11:26:01 +00:00
perry 07a71fdfd0 Make MAKEDEV and MAKEDEV.local mutually consistant. Reported in
pr #2596 by Tatoku Ogaito, but my fix is different from his.
This is purely an aesthetic change.
1997-07-31 04:08:15 +00:00
phil ffde90f14b Make all tty??/pty?? pairs that can be opened by openpty().
Remove use of awk for generating names.
Make all consistent as possible.
Closes PR 3420.
1997-07-23 01:29:36 +00:00
phil 840d172649 Make all MAKEDEVs make fd/* similar. No need for awk or expr.
Inspired by PR 3420.  Some MAKEDEVS had the fd separated out
of std and fd added to std.
1997-07-22 23:13:05 +00:00
veego a902cc2ba7 Added a new device entry for ipfilter: /dev/ipauth 1997-07-07 22:26:51 +00:00
thorpej 7f29bb4668 Add ipnat and ipstate at the appropriate minor numbers off the ipfilter
device.
1997-05-31 23:52:55 +00:00
scottr 60474c3689 Whoops. That's asc0, rather than simply asc. 1997-02-19 07:53:42 +00:00
scottr 6b91a6b891 Add asc device 1997-02-11 08:01:03 +00:00
scottr 3fb4736258 ipl is device major 35, not 36. 1997-01-26 08:11:21 +00:00
briggs c794772836 PTY Master is 5, slave is 4. This has been wrong for a long time. How? 1997-01-22 19:31:37 +00:00
scottr 9781227389 Add ipl device. 1997-01-13 23:38:43 +00:00
pk 4bb3612c55 Device rename: `rd' => `md' 1997-01-01 23:46:17 +00:00
scottr d4f266fe78 Add missing generic devices, and avoid expr(1) in the way that
Mycroft did in the i386 MAKEDEV.
1996-11-21 08:28:44 +00:00
briggs 6e9db54b20 Make grf units 2 and 3. 1996-02-03 15:02:42 +00:00
thorpej c404162937 New-style RCS ids. 1995-10-09 02:19:36 +00:00
briggs f85c70984a Make 12 bpfs for all instead of 4. 1995-10-03 20:21:26 +00:00