Commit Graph

11051 Commits

Author SHA1 Message Date
tsutsui
f804115722 www.netbsd.org -> www.NetBSD.org 2009-10-24 06:36:39 +00:00
snj
f1289940c2 Remove another instance of cl's acknowledgement. 2009-10-23 17:56:20 +00:00
snj
ef84f5b0c5 Zero out this file. All of these entries are legal.common material. 2009-10-23 17:54:17 +00:00
snj
76df7715c8 Zero out this file. All three valid acknowledgements already exist
in legal.common.
2009-10-23 17:47:01 +00:00
snj
8487bea492 Brad Grantham's acknowledgement is in mac68k and macppc. 2009-10-23 17:41:56 +00:00
snj
5146eaf9ec briggs' acknowledgement is in mac68k and newsmips, where it belongs. 2009-10-23 17:39:08 +00:00
snj
e733f7e349 Matt DeBergalis' acknowledgement is now in mac68k and next68k only. 2009-10-23 17:34:58 +00:00
snj
b0808d9801 dbj already has an acknowledgement in legal.common. 2009-10-23 17:33:17 +00:00
snj
2ea1faab7f The Ludd entry already exists in legal.common, where it mostly belongs,
and the "Adam Glass, David Jones, and Gordon Ross" entry should not
exist at all.
2009-10-23 17:29:15 +00:00
snj
5fd6d0c9f6 TooLs GmbH already has an acknowledgement in legal.common. 2009-10-23 17:19:03 +00:00
snj
189eccebb4 Both Wasabi and TooLs GmbH have acknowledgements in legal.common, where
they belong.
2009-10-23 17:18:14 +00:00
snj
28f1d41d46 David Jones does not have his own ad clause. 2009-10-23 17:15:47 +00:00
snj
98df1f6f5d scw's ad clause is no more. 2009-10-23 17:14:35 +00:00
snj
3bb8a1b780 Jukka Marin's ad clause is no more. 2009-10-23 16:57:21 +00:00
wiz
dc0cd1890b Properly remove w95boot(8).
Hi Ty!
2009-10-23 08:32:06 +00:00
snj
ec5fc95b0b Remove Ichiro FUKUHARA's acknowledgement. 2009-10-23 07:04:57 +00:00
snj
234fa894da cl's ad clause is no more. 2009-10-23 05:37:18 +00:00
snj
0b4b7c9ca3 Jukka Marin's acknowledgement is in amiga/legal, where it belongs. 2009-10-23 05:28:25 +00:00
snj
f969d5134a Prune a bunch of acknowledgements that do not exist. It seems someone
previously took the liberty of expanding a few big combined
acknowledgements into separate acknowledgements. Tisk tisk.
2009-10-23 05:26:49 +00:00
snj
93aee5b3c9 Neil Carson's ad clause is no more. 2009-10-23 04:51:36 +00:00
snj
1c377745f3 Remove "Ian F. Darwin and others" 2009-10-23 03:54:38 +00:00
snj
6bc3f015a3 Remove entry for Gordon W. Ross (the "Gordon Ross" entry has to stay
for now, though).
2009-10-23 03:42:42 +00:00
snj
1283a41a57 Dale Rahn's ad clause is no more. 2009-10-23 03:28:55 +00:00
snj
5e5f899590 Brini's acknowledgement already appears in legal.common. 2009-10-23 02:56:01 +00:00
snj
16febe258c Remove Brad Pepers' acknowledgement. 2009-10-23 02:53:22 +00:00
tsarna
074b6b7f4d Remove w95boot(8) manpage, long past being useful. 2009-10-22 23:04:59 +00:00
snj
e8d81bad46 Remove attribution for Gordon W. Ross and Leo Weppelman. 2009-10-22 20:31:24 +00:00
snj
596e03f685 Remove soren@ and Onno van der Linden's acknowledgements. 2009-10-22 18:59:30 +00:00
snj
a7f7ede450 Remove Todd C. Miller's acknowledgement. 2009-10-22 01:38:53 +00:00
snj
febb7cce65 Drop 3rd and 4th clauses. Approved by gwr@ (copyright holder). 2009-10-21 23:12:09 +00:00
joerg
f57729a773 Hook up mdocml. 2009-10-21 22:59:06 +00:00
snj
5821fa1147 Remove acknowledgements for leo@ and thomas@. 2009-10-21 22:10:45 +00:00
snj
5455170368 jmcneill's ad clause is gone. 2009-10-21 16:13:36 +00:00
abs
b5fa4b8f63 update to generate something closer to common/termcap 2009-10-21 11:35:19 +00:00
snj
23b867cb21 Remove one of christos' ad clauses. 2009-10-21 05:45:35 +00:00
snj
102ff8abb7 reed@ no longer has any ad clauses in the tree. 2009-10-21 05:42:11 +00:00
yamt
b7fa496839 fix a typo in a comment 2009-10-21 02:31:44 +00:00
snj
550147bd6a Remove 3rd and 4th clauses in christos' license. OK christos. 2009-10-21 01:07:44 +00:00
snj
4933e803dc nisimura and reinoud's ad clauses are no more. 2009-10-21 00:35:35 +00:00
snj
9aea77f19b Mats O Jansson's ad clause is no more. 2009-10-21 00:03:42 +00:00
jmmv
05cbb20f70 Account for the t_exitstatus to t_exit rename and the new t_wait tests in
tests/util/sh.
2009-10-20 22:00:38 +00:00
jnemeth
5214d3defb new manpage for modctl(2) 2009-10-20 04:44:33 +00:00
snj
2efebb6654 Mark Brinicombe's acknowledgement (well, this variety of it) is in
legal.common, where it belongs.
2009-10-20 01:41:44 +00:00
snj
fa54d41099 Remove the "Mats O Jansson and Charles D. Cranor" acknowledgement. 2009-10-20 00:32:11 +00:00
snj
f34f162dd3 David Miller's entry is already in ../sparc/legal, where it belongs. 2009-10-19 19:13:13 +00:00
snj
06ceccf7ec Remove duplicates of ad clauses from the Alice Group (which is already
in legal.common, where it belongs).
2009-10-19 19:07:39 +00:00
snj
95ce14f35a bouyer's ad clause is no more. 2009-10-19 19:02:21 +00:00
snj
e8bef1ce03 Eduardo Horvath's ad clause is no more. 2009-10-19 18:23:28 +00:00
pooka
d33c69eb5f bump minor for puffs_setmntinfo() 2009-10-18 20:26:33 +00:00
stacktic
352ae111a3 Corrected messages. 2009-10-18 19:31:53 +00:00
snj
97b1a7252f Prune Pfaller. 2009-10-18 18:23:29 +00:00
snj
83085f01e5 adrianp's ad clause is no more. 2009-10-18 14:24:17 +00:00
snj
d510cc4c2e agc's ad clause is no more. 2009-10-18 14:22:39 +00:00
ahoka
ff77aac2d4 Give the option to use tmpfs for /tmp in sysinst instead of the older
mfs on i386 and amd64. Should be enabled on other platforms with reliable
tmpfs too.
2009-10-18 12:09:48 +00:00
snj
e8f6e7d7c7 Kill two duplicate lines. 2009-10-18 01:40:44 +00:00
agc
205394f300 Move to a 2-clause BSD license 2009-10-17 23:43:22 +00:00
snj
8e88c7b893 Move Microsoft out of legal.common and into evbarm, where it belongs.
I forgot to do this when I added it in 1.52.
2009-10-17 22:33:55 +00:00
tsutsui
63b86ac36f Build miniroot binaries for sparc with -Os to shrink instfs.tgz
for the second boot floppy which use miniroot objects.

This is workaround for PR install/42146, and ok'ed by mrg@.
2009-10-17 12:45:20 +00:00
joerg
29e22ac027 Allow setting an empty base directory. FTP server like tnftpd do not
allow ftp://foo//bar and similar URLs.
2009-10-16 19:01:03 +00:00
snj
e935072840 Fix typo: obslete -> obsolete. 2009-10-16 06:05:47 +00:00
snj
cdbb9fa706 Obsolete is obsolete. Remove an unnecessary ",xorg" from libint10_g.a. 2009-10-16 06:01:16 +00:00
jym
6ddc6bb7bf Remove pool_cache_invalidate_local(9) from the sets, and mark the
entries as obsolete.

Noted by haad@. Thanks!
2009-10-15 22:59:12 +00:00
pooka
54db3a033b add rump public interface headers 2009-10-14 17:30:50 +00:00
tron
0667eece80 As the directory "/etc/zfs" is created unconditionally it should not depend
on the "MKZFS" flag. Problem pointed out by Havard Eidnes in private e-mail.
2009-10-13 10:18:35 +00:00
njoly
41e0378a31 +hdaudioctl.debug 2009-10-12 18:04:55 +00:00
tron
a0aa4993bd Add "/etc/zfs" directory. 2009-10-12 09:33:34 +00:00
nakayama
e06b352701 Add .cat and .man tag properly to zfs man pages. 2009-10-11 12:47:38 +00:00
pooka
fed1ab4ee0 raidframe works well enough now to initialize parity, so install it. 2009-10-11 11:26:40 +00:00
sborrill
f549e36e60 Add hdaudioctl(8), a tool to manipulate hdaudio(4) devices.
It offer the following subcommands:
	list - shows all child codec
	get - get a plist of the chosen codec's widget configuration
	set - forcibly reconfigure a specified codec from a plist
	graph - generate a graphviz file for the specified codec
2009-10-11 08:57:54 +00:00
mrg
1a79cac984 libprop minor got bumped. HI BAD! 2009-10-11 08:19:57 +00:00
bad
6947118ad3 Implement prop_array_externalize_to_pref(), prop_array_copyin(),
prop_dictionary_externalize_to_pref() and prop_dictionary_copyin()
as discussed in the thread:
http://mail-index.netbsd.org/tech-kern/2009/07/29/msg005594.html

Bump libprop shlib minor.
2009-10-10 18:06:53 +00:00
snj
f01642e2c0 - Don't extract xetc to /, but rather in /.sysinst (like etc) so that we
don't blow away existing config files.
- Wait until all sets have been unpacked to run postinstall.  Previously
  we ran it after extracting etc, which meant that /var/db/obsolete/ was
  not fully populated.
2009-10-09 21:11:31 +00:00
njoly
c9e443d2ee Restrict libzpool_p.a to MKPROFILE=yes builds. 2009-10-09 21:06:01 +00:00
njoly
836ae0cec5 Small typo fix, s/profilb/proflib/. 2009-10-09 16:55:40 +00:00
njoly
e85582ef93 + {zfs,zpool,ztest,zdb}.debug 2009-10-09 16:38:01 +00:00
tsutsui
0b175ba43d Add ${DISTRIBDIR}/common/termcap (which superseded local one) to IMAGEDEPENDS. 2009-10-09 15:59:27 +00:00
tsutsui
5a95051509 Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBDIR}/common/termcap.
2009-10-09 15:56:25 +00:00
tron
974700b523 Add './usr/lib/libzpool_p.a' to 'comp-zfs-proflib'. 2009-10-09 13:44:59 +00:00
haad
3cfb1f5f16 Add entries for pool_cache_invalidate_local manpages. (hi jym@) 2009-10-09 09:34:22 +00:00
haad
5054c08e3a Fix sets files for MKZFS enabled builds move debuging libs to proper place
and add html flags for html manpages.

Patch received from Pierre Allegraud and reviewed by me.
2009-10-09 00:48:33 +00:00
snj
f69ea56c7a Move libdrm headers up one level (out of the X11 directory) to match
the rest of the world and fix the inconsistency with libdrm.pc.
Fixes PR xsrc/42126.
2009-10-08 19:06:49 +00:00
snj
6a8c1d0dab /usr/X11R7/lib/X11/xkb/symbols/pc went from a directory to a file, so on
upgrades we need to remove it before extracting the xbase set, otherwise
we end up in a puddle of suck.
2009-10-08 06:41:43 +00:00
snj
792e83fe67 Sync evbppc contents with reality. 2009-10-08 05:28:22 +00:00
haad
fe1c828484 Add MKZFS file so building a release works for others, too. 2009-10-07 22:22:18 +00:00
rmind
43533de20b Add callback(9) man page. Reviewed and improved by <wiz>, thanks! 2009-10-05 23:44:10 +00:00
haad
fbd1c01117 Add zfs sets and needed veriables to hook zfs into the build. ZFS on i386
need still one fix othervise it should be ready for testing.
2009-10-05 22:32:58 +00:00
njoly
056741ede7 Add dns-sd.debug and mdnsd.debug 2009-10-05 14:52:36 +00:00
tsarna
94ebcd4993 Add nss_mdns, a nsswitch plugin for host lookups vis mDNS ("Bonjour"),
eg "hostname.local".  This is a work in progress, but basically
functional. (note: this requires mdnsd to be running.)
2009-10-05 03:54:17 +00:00
christos
bcebfd5088 document f{dim,min,max}{,l,f} 2009-10-04 22:10:42 +00:00
christos
2c4ca624c6 bump libm. 2009-10-04 22:06:34 +00:00
martin
b7d9979e0d When creating /etc/fstab:
for the first swap partition use type sw,dp instead of sw, so dump device
gets configured correctly if swap is not on the second partition.
Fixes PR install/42148.
2009-10-03 12:00:00 +00:00
elad
53ca19a3b3 First part of secmodel cleanup and other misc. changes:
- Separate the suser part of the bsd44 secmodel into its own secmodel
    and directory, pending even more cleanups. For revision history
    purposes, the original location of the files was

        src/sys/secmodel/bsd44/secmodel_bsd44_suser.c
        src/sys/secmodel/bsd44/suser.h

  - Add a man-page for secmodel_suser(9) and update the one for
    secmodel_bsd44(9).

  - Add a "secmodel" module class and use it. Userland program and
    documentation updated.

  - Manage secmodel count (nsecmodels) through the module framework.
    This eliminates the need for secmodel_{,de}register() calls in
    secmodel code.

  - Prepare for secmodel modularization by adding relevant module bits.
    The secmodels don't allow auto unload. The bsd44 secmodel depends
    on the suser and securelevel secmodels. The overlay secmodel depends
    on the bsd44 secmodel. As the module class is only cosmetic, and to
    prevent ambiguity, the bsd44 and overlay secmodels are prefixed with
    "secmodel_".

  - Adapt the overlay secmodel to recent changes (mainly vnode scope).

  - Stop using link-sets for the sysctl node(s) creation.

  - Keep sysctl variables under nodes of their relevant secmodels. In
    other words, don't create duplicates for the suser/securelevel
    secmodels under the bsd44 secmodel, as the latter is merely used
    for "grouping".

  - For the suser and securelevel secmodels, "advertise presence" in
    relevant sysctl nodes (sysctl.security.models.{suser,securelevel}).

  - Get rid of the LKM preprocessor stuff.

  - As secmodels are now modules, there's no need for an explicit call
    to secmodel_start(); it's handled by the module framework. That
    said, the module framework was adjusted to properly load secmodels
    early during system startup.

  - Adapt rump to changes: Instead of using empty stubs for securelevel,
    simply use the suser secmodel. Also replace secmodel_start() with a
    call to secmodel_suser_start().

  - 5.99.20.

Testing was done on i386 ("release" build). Spearated module_init()
changes were tested on sparc and sparc64 as well by martin@ (thanks!).

Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/09/25/msg006135.html
2009-10-02 18:50:12 +00:00
nakayama
d61a38f649 Port lom(4) driver for LOMlite lights out management hardware monitor
and watchdog timer from OpenBSD.

It supports the LOMlite found on Sun Netra t1 and the LOMlite2 found
on Sun Netra T1/X1 and Sun Fire V100/V120.
2009-10-02 15:09:16 +00:00
tsarna
1f4f234ea9 Introduce allocaddrinfo(3) to make writing getaddrinfo() nss plugins easier.
Discussed on tech-net.
2009-10-02 02:45:28 +00:00
tron
65817d0cbb Build the "MONOLITHIC" kernel configuration by default and include
in the release.

Using the modularise "GENERIC" kernel on an existing NetBSD 5.0 system
is difficult and error-prone. The "MONOLITHIC" kernel provides an
easy way to test a new kernel or to upgrade an existing system.
2009-10-01 11:51:03 +00:00
jmcneill
c197f0ba14 In get_descr(), initialize dd_descr to an empty string before probing
ATA and SCSI identification. Fixes issues with xbd and raid.
2009-10-01 10:41:03 +00:00
jmcneill
521589e2d5 add wb(4) man page. 2009-09-30 22:32:04 +00:00
tsarna
0778784561 Correct version number for libdns_sd to match last-minute change 2009-09-30 03:41:12 +00:00
ahoka
f4909cdf5b Give a chance for dhcpcd to work by mounting a memory backed /var/db and
/var/run. Also create an empty lease file in /tmp/dhcpcd-lease.

XXX is this needed on other platforms too?
2009-09-30 00:32:08 +00:00
tsarna
a8bcd3b5c3 Multicast DNS ("Bonjour") support, based on Apple's mDNSResponder. 2009-09-29 23:56:26 +00:00
jmcneill
35a2c68409 enable viadrm kmod for i386 2009-09-27 12:46:39 +00:00
christos
6964e246ca Exit with 1 so that we stay in single user mode when sysinst exits with 'x'.
Otherwise things get messed up (no /dev). From Anon Ymous
2009-09-25 14:09:27 +00:00
njoly
4ec27f3dc9 Fix t_dlinfo debug name (add missing .debug). 2009-09-25 11:58:08 +00:00
pooka
7d89931c36 Add regression test to verify that linksets work correctly with rump. 2009-09-24 21:36:42 +00:00
pooka
b4d274c027 add regression tests for dlinfo() 2009-09-24 21:33:45 +00:00
he
8a59b02128 Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap.  Hi, abs@!
2009-09-24 21:04:45 +00:00
njoly
7121a760b4 Update boot.cfg banner/menu to reflect that installation floppies have
ACPI support.
2009-09-23 11:17:58 +00:00
njoly
ca00adb70e Cleanup some duplicated entries. 2009-09-23 09:18:31 +00:00
isaki
e4afee40f3 termcap.vt was removed.
http://mail-index.netbsd.org/source-changes/2009/09/20/msg001101.html
2009-09-22 02:50:11 +00:00
abs
2108b54359 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi			ansi/pc-term compatible with color
dumb|unknown		80-column dumb tty
hp300h			HP Catseye console
iris-ansi-ap		IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net	IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il	Sun Microsystems Inc. console with working insert-line
vt100|vt100-am		DEC VT100 (w/advanced video)
vt220-8			DEC VT220 8 bit terminal
vt220|vt200|vt300	DEC VT220 in vt100 emulation mode
wsvt25			NetBSD wscons in 25 line DEC VT220 mode
wsvt25m			NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite		NetBSD/x68k ITE
xterm|vs100		xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
2009-09-20 23:19:50 +00:00
abs
2383b0ce8e Ten identical list.inet6 files, or one common/list.inet6?
Not a difficult choice.
2009-09-20 22:50:50 +00:00
abs
bdf4da2bba Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
2009-09-20 22:46:10 +00:00
abs
1fabe01b0f remove references to disktab.{preinstall,shadow} 2009-09-20 22:44:06 +00:00
abs
fb1870e986 correct a comment about disktab 2009-09-20 22:43:00 +00:00
abs
6f653b39ef ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
2009-09-20 19:49:07 +00:00
abs
52f8f0673d Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)
2009-09-20 19:41:35 +00:00
abs
5edb620617 Alas poor dot.hdprofile. I knew him... not at all Horatio. (Remove) 2009-09-20 19:29:24 +00:00
apb
b89c187a0f Add new mtree tests 2009-09-19 21:51:47 +00:00
abs
eff3a12f1c defs.h:
- Re-order the md_*() definitions so they are in the order called
- Add some comments
- Remove obsolete md_set_no_x() definition
- Remove md_copy_filesystem()
- #if defined(DEBUG) declare backtowin(void) to avoid scattering
  externs in various md .c files

mbr.[ch]:
- Add a set_bios_geom_with_mbr_guess() which can be called by all
  the non x86 ports rather than copying the same code into arc,
  bebox, cobalt, evbmips, evbppc, hpcarm, hpcmips, landisk, ofppc,
  prep, sandpoint, and zaurus md.c

install.c:
- Remove now unnecessary call to md_copy_filesystem()

upgrade.c:
- Move move_aout_libs() here, and put under #ifdef AOUT2ELF
- Rather than having *every* md_update call wrefresh(curscr),
  wmove(stdscr, 0, 0), wclear(stdscr), and wrefresh(stdscr),
  move them here

arch/acorn26/md.c:
- Just include arch/acorn32/md.c, but add a note there warning
  about this, and while here add a note to i386/md.c that it
  is included by amd64

arch/*/md.c:
- By all means "Vive la difference", but we have 38 pairs of md.[ch],
  and they could not even agree on the order in which to list the
  md hooks, let alone formatting. Sort the md hooks to match the
  (now sane) order in def.sh, and try to normalise the formatting
- Also copy across some function level comments everywhere
- Ensure functions only used inside each md.c are defined as static
- Remove some now unused functions
- Some files had enable_rc_conf in #ifdef DEBUG. Add this to all
- bebox, evbppc and sandpoint were still playing broken games with
  copying the booted ramdisk to the target disk, the primary result
  of which was just to slow things down and ensure the target system
  lost the .profile extracted from the sets. Just kill this.
- For some ports md_update() called endwin(), and in others not.
  Take a cure from i386/amd64 and a few other more active ports,
  and update everything to match (no endwin())
- In a couple of cases correct port names in comments
- ANSIfy some lingering old style functions
- Consistently use "return 0;" rather than "return (0);"

More of the mbr code should be abstracted, along with the
get_ramsize() / set_swap() logic, but this is (more than)
enough for one day...

sysinst built for all ports but only runtime tested on amd64 & i386
2009-09-19 14:57:27 +00:00
abs
961dc58afe Add cobalt hp700 hpcarm landisk & ofppc to ALL_MACHINES list 2009-09-19 13:33:17 +00:00
tron
998ba1c3ac Fix typo in name. 2009-09-19 08:05:24 +00:00
snj
f2a7edf211 Only generate SHA512 and MD5 checksums for releases. 2009-09-19 07:09:53 +00:00
snj
7bc03db112 Update core group membership. 2009-09-19 06:18:01 +00:00
abs
7fb2fc21e2 Of the arious list files 28 said
PROG   usr/bin/gzip    usr/bin/gzcat usr/bin/gunzip
while 14 picked
    PROG   usr/bin/gzip    usr/bin/gunzip usr/bin/gzcat

Make them all choose the former. No functional change.
2009-09-18 10:49:08 +00:00
abs
d2e3664387 Merge four separate copies of list2sh.awk runlist.sh (three identical
and one with slightly less options). Release build verified on amiga,
bebox and evbsh3. Vax build fails for unrelated reason.
2009-09-18 09:24:58 +00:00
sborrill
a6c4554922 Add hdaudio headers 2009-09-17 08:55:19 +00:00
mrg
316b73f4dc add hdaudio files. 2009-09-17 07:40:44 +00:00
dyoung
a823c63033 Don't install config_activate links such as config_activate.9 ->
autoconf.9.  In the set list, mark the config_activate links
obsolete.
2009-09-16 22:52:40 +00:00
dyoung
36fffd8d02 In pmf(9), improve the implementation of device self-suspension
and make suspension by self, by drvctl(8), and by ACPI system sleep
play nice together.  Start solidifying some temporary API changes.

1. Extract a new header file, <sys/device_if.h>, from <sys/device.h> and
   #include it from <sys/pmf.h> instead of <sys/device.h> to break the
   circular dependency between <sys/device.h> and <sys/pmf.h>.

2. Introduce pmf_qual_t, an aggregate of qualifications on a PMF
   suspend/resume call.  Start to replace instances of PMF_FN_PROTO,
   PMF_FN_ARGS, et cetera, with a pmf_qual_t.

3. Introduce the notion of a "suspensor," an entity that holds a
   device in suspension.  More than one suspensor may hold a device
   at once.  A device stays suspended as long as at least one
   suspensor holds it.  A device resumes when the last suspensor
   releases it.

   Currently, the kernel defines three suspensors,

   3a the system-suspensor: for system suspension, initiated
      by 'sysctl -w machdep.sleep_state=3', by lid closure, by
      power-button press, et cetera,

   3b the drvctl-suspensor: for device suspension by /dev/drvctl
      ioctl, e.g., drvctl -S sip0.

   3c the system self-suspensor: for device drivers that suspend
      themselves and their children.  Several drivers for network
      interfaces put the network device to sleep while it is not
      administratively up, that is, after the kernel calls if_stop(,
      1).  The self-suspensor should not be used directly.  See
      the description of suspensor delegates, below.

   A suspensor can have one or more "delegates".  A suspensor can
   release devices that its delegates hold suspended.  Right now,
   only the system self-suspensor has delegates.  For each device
   that a self-suspending driver attaches, it creates the device's
   self-suspensor, a delegate of the system self-suspensor.

   Suspensors stop a system-wide suspend/resume cycle from waking
   devices that the operator put to sleep with drvctl before the cycle.
   They also help self-suspension to work more simply, safely, and in
   accord with expectations.

4. Add the notion of device activation level, devact_level_t,
   and a routine for checking the current activation level,
   device_activation().  Current activation levels are DEVACT_LEVEL_BUS,
   DEVACT_LEVEL_DRIVER, and DEVACT_LEVEL_CLASS, which respectively
   indicate that the device's bus is active, that the bus and device are
   active, and that the bus, device, and the functions of the device's
   class (network, audio) are active.

   Suspend/resume calls can be qualified with a devact_level_t.
   The power-management framework treats a devact_level_t that
   qualifies a device suspension as the device's current activation
   level; it only runs hooks to reduce the activation level from
   the presumed current level to the fully suspended state.  The
   framework treats a devact_level_t qualifying device resumption
   as the target activation level; it only runs hooks to raise the
   activation level to the target.

5. Use pmf_qual_t, devact_level_t, and self-suspensors in several
   drivers.

6. Temporarily add an unused power-management workqueue that I will
   remove or replace, soon.
2009-09-16 16:34:49 +00:00
abs
cebd4a38cb The ramdisk includes dmesg, so use it in preference to /kern/msgbuf 2009-09-16 10:40:02 +00:00
degroote
2d48ac808c Import pfsync support from OpenBSD 4.2
Pfsync interface exposes change in the pf(4) over a pseudo-interface, and can
be used to synchronise different pf.

This work was part of my 2009 GSoC

No objection on tech-net@
2009-09-14 10:36:48 +00:00
apb
06867cdace If there are errors in creating a ${set}.tgz tar file, then don't
just press on regardless.
2009-09-12 11:01:55 +00:00
phx
51108c4538 New header file <sys/disklabel_rdb.h>. 2009-09-12 10:33:44 +00:00
jnemeth
baf62bbf6a mention ./etc/mtree/set.<set name> 2009-09-12 09:24:32 +00:00
jnemeth
25c1684bb8 get rid of some prehistoric obsolete info 2009-09-12 09:21:31 +00:00
mrg
f5adb56565 fix build for HAVE_BINUTILS=219. 2009-09-11 22:36:53 +00:00
mrg
3832fa3fd6 add ./etc/mtree/set.modules so that modules.tgz is created with
actual files in it, rather than a 20 byte .gz file (ie, empty file.)


HI JNEMETH!
2009-09-11 22:32:50 +00:00
mrg
e553df3559 build binutils 2.19 compat libraries. this lets HAVE_BINUTILS=219
work for amd64, and probably for sparc64.
2009-09-11 16:01:58 +00:00
pooka
1b05a6d80a Add test case for PR kern/42020:
t_rnd (1/1): 1 test cases
    RNDADDDATA: Failed: Test case did not exit cleanly: Abort trap (core dumped)

Failed test cases:
    t_rnd:RNDADDDATA
2009-09-08 20:37:45 +00:00
pooka
c7ef14e487 Build and install cgd, disk and rnd rump device components. 2009-09-08 20:34:47 +00:00
skrll
8a770313a3 Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.

Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.

Update the sets lists and add conditionals for lib{bfd,opcodes}.
2009-09-08 07:08:00 +00:00
mrg
cfb8df7f4f install the fontconfig files into /etc/fonts/conf.avail, and symlink
the default ones into /etc/fonts/conf.d, as per default.

reported by jukka marin on netbsd-users.
2009-09-07 21:07:02 +00:00
mrg
2bd0cf0757 - do not create X11 subdirs always anymore
- we now only create them when building X11, and only create the ones
  we need (X11R6 xor X11R7)

- all these subdirs are now in the xbase set

- move the logic for running mtree into etc/mtree/Makefile

- split NetBSD.dist into 3 files, and have the build and postinstall handle
  creating a possibly merged one.  we still have a single installed file
  called "NetBSD.dist".
2009-09-07 19:34:29 +00:00
he
7a6a85f84e Move ./usr/tests/modules/Atffile from tests/mi to tests/module.mi.
This should get us building for evbppc again, which doesn't do modules.
2009-09-07 08:22:51 +00:00
jnemeth
d539a2c691 Install the new modules.tgz set. 2009-09-07 02:31:53 +00:00
jnemeth
fbeb8d3295 Create a modules.tgz set and move kernel modules into it. 2009-09-07 02:27:27 +00:00
pooka
f59c73ba56 Build & install rump_smbfs 2009-09-06 21:03:27 +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
macallan
b1e03052c7 add files for the sunleo driver 2009-09-05 22:38:45 +00:00
taca
91660997c8 Correct files' suffix of the previous commit. 2009-09-05 10:16:46 +00:00