Commit Graph

130 Commits

Author SHA1 Message Date
mrg
00c85a89af add drm to the big comment at the top 2009-09-25 06:06:04 +00:00
christos
d7866d8f52 fix dri/drm confusiog 2009-09-24 14:53:36 +00:00
sborrill
b88195cfa1 hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio*	at pci? dev ? function ?
hdafg*		at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio
2009-09-06 17:25:55 +00:00
mrg
c4166bec0e fix previous to actually pay attention to the unit number.
noted by drochner.
2009-07-05 21:35:16 +00:00
mrg
74a0f508b7 create a /dev/dri/card0. fixes PR#40952. 2009-07-03 06:33:56 +00:00
christos
7d8bcc8fa4 makedir for real this time. 2009-06-14 21:34:15 +00:00
christos
cf38d7e34a Use makedir, from M. Levinson. 2009-06-14 20:01:04 +00:00
christos
3b863a2f5d absolute paths are not allowed here. from Anon Ymous 2009-06-14 13:18:02 +00:00
ad
63e35cb9ab Create /dev/zfs and /dev/zpool/. 2009-05-23 22:29:14 +00:00
elad
a31136d3d3 verified executable -> Veriexec. 2009-05-10 14:19:28 +00:00
jmcneill
68b4a04607 /dev/{r,}altmem?? 2009-03-12 00:19:36 +00:00
apb
04973974b4 * When testing whether the fdesc file system is mounted, parse the
output from mount(8) rather than df(1), because mount is more likely
  to be available on install media.  mount is invoked in a way that
  always prints an error message, and the content of the error message
  tells us whether fdesc is mounted.  This should fix PR 40316 from
  David Ross.
* Don't use negative variable names.  Instead of nofdesc=false, use
  fdesc_mounted=true.
* Add a comment explaining that MAKEDEV may be executed in an environment
  that is missing some common commands.
2009-01-03 08:49:03 +00:00
joerg
d235df969a Change the formula for tmpfs size. The per-inode memory usage is
higher than old estimate on 64bit platforms and the resulting tmpfs
wouldn't be able to hold the required number of devices.
2008-11-28 16:04:31 +00:00
ad
bf92e35013 Don't warn about missing MAKEDEV.local. It doesn't exist in some
environments.
2008-11-21 11:44:38 +00:00
uch
7d97b81648 add dialout device for scif, sci 2008-11-17 12:54:57 +00:00
jmcneill
9533ff8b39 My previous change should have read 'makedev video', not audio. 2008-11-12 13:14:28 +00:00
ad
0efea177e3 Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
jmcneill
76996204b2 Create /dev/videoN with all target 2008-09-14 13:59:54 +00:00
jmcneill
9be41b46ae Don't bother with /dev/video -> /dev/video0 symlink, nobody uses it 2008-09-14 13:58:25 +00:00
tsutsui
d6a9de7378 Move "makedev cfs" for the vcoda device from MI MAKEDEV.tmpl to
MD MAKEDEV.conf.  Not all ports have vcoda in their majors.foo files
and we shouldn't (re)assign major numbers on all ports before 5.0.

Should close PR port-sgimips/38962.
2008-09-13 11:46:18 +00:00
jmcneill
7f709a236a Add /dev/video* 2008-09-06 19:21:21 +00:00
apb
b09e1b8e1d Let "MAKEDEV ptm" create the /dev/pts directory. Requested
in pkgsrc-users by Christian Biere.
2008-07-13 15:22:39 +00:00
hauke
f5ede5dc2e Added driver for the Creative Systems Inc. Hurdler CPI parallel printer card.
Timecounter support for the Z8536 counters A + B is not complete, yet.

Reviewed by Martin Husemann.
2008-05-22 19:49:43 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
apb
af04b66a89 Remove an extraneous "%" from the end of a line. 2008-04-15 09:53:58 +00:00
apb
0a0e65b2a1 In the nooutput function, use {...} to ensure that shell messages
like "cmd: not found" are also redirected.

This should fix a problem reported by Chavdar Ivanov in which
the message "mtree: not found" appears during installation.
2008-04-15 09:52:41 +00:00
apb
b0ec85766d * Fix the problem with pax complaining "file would overwrite itself" for
already-existing device nodes.  This is done by invoking pax with its
  current working directory set to an empty temporary directory.

* Add "-t mtree" command line option, to force MAKEDEV to use "mtree
  -e -U" to create device nodes.  Here are some timings from "MAKEDEV
  ${method} all" on an i386 system; each method was executed three
  times, first in an empty directory, then twice in an already-populated
  directory:

    -m mknod
	    4.56 real         1.58 user         1.68 sys
	    2.96 real         1.37 user         1.48 sys
	    2.95 real         1.43 user         1.44 sys
    -p pax
	    1.80 real         0.18 user         0.62 sys
	    2.35 real         0.25 user         0.80 sys
	    2.38 real         0.24 user         0.82 sys
    -t mtree
	    1.62 real         0.22 user         0.44 sys
	    0.23 real         0.29 user         0.04 sys
	    0.24 real         0.28 user         0.05 sys

* If no command line options force a choice, then prefer mtree, pax, or
  mknod, in that order of preference.

No objections in tech-userlevel to an earlier version of this change.
2008-04-09 20:19:15 +00:00
dyoung
d3627477d7 Certain misguided people have complained, NetBSD only runs rare or
"retro" computers, but NetBSD also runs a growing number of rare
and retro add-on cards.  With this patch, NetBSD supports the IDEC
Supervision/16, a black&white image capture board for the 16-bit
ISA bus.  Approximate date of manufacture: 1991.  Total instances
known to be in use throughout the world: one.

Coming soon; isvctl(8), the utility program for capturing 8-bit,
512x480 images at speeds of up to 6 frames per second.
2008-04-02 01:34:36 +00:00
christos
5a9c754ab2 Make makedir code optional for all directories (fd and altq) are affected.
This is so that md code that tries to call makedev altq or fd does not fail
when the file exists. This was reported in port-powerpc, when building /dev.
2008-03-05 02:29:51 +00:00
ad
2ecdf58c2c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
riz
ed16d9b321 Create drvctl as part of 'all'. 2007-12-17 04:29:50 +00:00
apb
f90ed3540d s/07555/0755/ in permissions of /dev file system. Thanks to
Dieter Roelants for the report.
2007-12-16 16:09:27 +00:00
apb
802860abdb When MAKEDEV creates a memory file system, let it try mount_tmpfs(8)
before falling back to mount_mfs(8).  Also calculate required number
of inodes more accurately.

Discussed in tech-userlevel.
2007-12-15 21:33:13 +00:00
apb
beae89cd6d In MAKEDEV.tmpl:
* Add a nooutput function to be used instead of redirecting to /dev/null,
  because /dev/null might not exist early in the boot sequence.  This
  should fix a bug in which the pax autodetection failed when used from
  init(8) with a read-only root file system without a /dev/null.
* Move most of the main program into a new makedev_main function,
  to allow reuse by MAKEDEV.local.

In MAKEDEV.local:
* Use the new makedev_main function defined in MAKEDEV.  This allows
  MAKEDEV.local to support all the options understood by MAKEDEV, instead
  of only a subset.  This should fix a bug in which the setup() function
  could try to use pax mode even though that was previously not supported.

In MAKEDEV.local man page:
* Update list of command line options.
* Don't explain all the options, just refer to MAKEDEV(8) man page.
* Remove BUGS section now that all MAKEDEV options are supported
  by MAKEDEV.local.
2007-12-15 17:28:09 +00:00
apb
280f9669d3 * Move duplicated code into a check_pax function, and improve the test
for whether pax is likely to be usable.
* Don't try to create an mfs with fewer than 10 inodes.
* Add a missing exit in an error case.
2007-12-11 11:51:19 +00:00
apb
c1da1584c4 Pass "-pe" flag to pax, otherwise the devices get created with
permissions modified by the umask.
2007-12-11 10:02:24 +00:00
apb
6d3d3ebe02 * MAKEDEV's "-M -M" option was always intended for use only by init(8).
Improve the documentation around that.
* The "-p pax", "-m mknod", and "-s" (mtree specfile) options should
  always have been mutually exclusive.  Now enforce that.
* The "-f" option didn't ever work with pax or mtree mode; document that,
  and make it an error to try something that won't work.
* Make pax mode the default, if no other options prevent this, and if
  "pax -w -M" appears to be usable.
* Add missing options to a usage message.
2007-12-09 08:46:16 +00:00
apb
5e14203889 Update some comments and remove an unnecessary eval. No functional change. 2007-12-08 17:52:34 +00:00
apb
3bc3600ea3 Add a linecount shell function, and use it to count the lines in the
output from MAKEDEV.local.

Fixes PR 37498 from dlagner at rambler.ru, using an idea from David
Laight.  The while loop in the old code is executed in a subshell, so it
can't make persistent modifications to the parent shell's variables.
2007-12-08 17:31:12 +00:00
pooka
b305014b90 add /dev/pud 2007-11-20 18:58:46 +00:00
pooka
005e676a62 Create /dev/putter and symlink /dev/puffs to it. 2007-11-13 13:14:25 +00:00
jmcneill
a5bfefb1b0 Add support for /dev/padN devices 2007-11-11 17:54:47 +00:00
gdt
0930138fa6 Make cfs (for coda) as part of all, conforming to the documentation
which says that "all" means "all known devices".
2007-11-03 19:33:36 +00:00
ad
18af8ee9bd Add cpuctl(8). For now this is not much more than a toy for debugging and
benchmarking that allows taking CPUs online/offline.
2007-08-04 11:02:56 +00:00
martti
94f749229e Create /dev/bio 2007-05-16 13:06:03 +00:00
dyoung
aa85121e03 Make './MAKEDEV local' work as expected, whether we are counting
the number of /dev nodes or not.
2007-03-21 23:07:00 +00:00
dyoung
46abb5c0e8 Remove whitespace from ends of lines. 2007-03-21 03:39:41 +00:00
apb
1f33f6e66f Test whether pax works; if not, fall back to mknod.
This is intended for use on install media that might not have pax.
2007-03-11 16:08:11 +00:00
apb
f5b5e05c27 * Add "-p pax" flag, to create all device nodes at once using pax,
instead of one by one using mknod.  This is much faster (speed
  increases of up to 20 times have been observed, but 3 to 5 times is
  more common).
* One "-M" flag will create the mfs file system but not redirect output
  to a temporary console; "-M -M" will also redirect output.
* Change the way we accumulate options to pass to MAKEDEV.local.
2007-03-11 15:52:30 +00:00
dsl
b1c0dd5ffc Replace hexprint with a version that is much faster for values > 15.
Since I managed to commit my alternate scheme for zeropad, delete
the commented out lines and replace the only other use.
I've not deleted the function itself though.
2007-03-09 19:16:47 +00:00