Commit Graph

142656 Commits

Author SHA1 Message Date
apb
3df0642b27 * Give regpkg the ability to create binary syspkg packages (*.tgz files).
The new "-t binpkgdir" option requests this action.
* Make it pay attention to DESTDIR.
* Make it work for unprivileged builds using METALOG.
* Add "force" and "update" modes.
* Add "quiet" mode.  There was already a "verbose" mode.
* Add several new command line args in support of the above.
* Make much more use of shell functions.
* Replace the old way of choosing syspkg version numbers.
  The new way gives numbers derived from concatenating the OS
  version [from osrelease.sh or $(uname -r)], a "tiny" version [from
  distrib/sets/versions, default 0], and a date [from RCS time stamps or
  file system time stamps].
* Add @blddep lines to the PLIST (in addition to the @pkgdep lines
  that were previously added).
* Use host tools such as pax, cksum, and db, to do more or less the
  same work that was previously done by pkg_create (which is not a host
  tool).  No longer attempt to use pkg_create.

Reviewed by agc
2006-01-04 14:14:35 +00:00
apb
faa76ace30 Add a new "-I realprefix" arg. When making syspkgs, we need to use
"-P ${DESTDIR} -I /". ("-I" chosen for similarity to pkg_create.)

XXX: makeplist seems to be quite broken, in that it looks at the files
and directories that are actually present in DESTDIR, whereas I
thought its job was to provide an list of what *should* be there,
regardless of what is *actually* there.  Fixing this seems to require
a change to the format of the "lists" files, so that they can
unambiguously identify directories.

Reviewed by agc
2006-01-04 13:57:04 +00:00
apb
1983ec7bd3 Instead of printing "./foo/bar optional" for implicitly required
directories, print "./foo/bar optional type=dir".

Reviewed by agc
2006-01-04 13:46:13 +00:00
apb
267577ae49 Use "$*", not "$@", where we want a space-separated list of words. 2006-01-04 13:40:23 +00:00
apb
0eb2a59a6d . "${rundir}/sets.subr", overlooked in previous commit. 2006-01-04 13:38:18 +00:00
apb
a879495374 Add quotes to some shell variables overlooked in previous commit. 2006-01-04 13:35:55 +00:00
skrll
73b7bdcee7 A couple of fixes to make libpthread really shared, i.e. not have text re-
locations:

	- Don't declare pthread__switch_away global
	- Do the PIC dance for pthread__switch_return_point and
	  pthread__locked_switch. Ideally these (and other) symbols would
	  be hidden.

Thanks to uwe@, dyoung@ and elad@ for help.

XXX sh3 is still to be done.
XXX vax does strange things.
2006-01-04 12:43:43 +00:00
tsutsui
42f41cb707 Add spllpt() macro for lpt at puc. Requrested by Florian Stoehr.
XXX: IMHO, MI lpt(4) should not use such its own priority level...
2006-01-04 12:29:21 +00:00
yamt
3ff2a40ab7 add a missing putiobuf in the previous. pointed by Thomas Klausner. 2006-01-04 10:30:26 +00:00
yamt
690d424f28 - add simple functions to allocate/free a buffer for i/o.
- make bufpool static.
2006-01-04 10:13:05 +00:00
oster
35f400bfd9 We need to mark used spares as failed if they encounter IO errors!
Commit fixes problem reported (privately) by Jeff Rizzo.


XXX: Note that we are still are unable to allow a reconstruct of
a failed spare -- it's easy enough to attempt to do it, but the
code in rf_ContinueReconstructFailedDisk() isn't anywhere close to
ready to allow it.  Yet another reason why the whole disk/spare thing
needs to be re-worked. *sigh*
2006-01-04 04:56:41 +00:00
dogcow
cbb55b0a6f comment out ACPI_ACTIVATE_DEV; it seems to cause more problem than it's worth
(e.g. multiple PRs and the general symptom of cd0 losing interrupts.)
2006-01-04 04:33:14 +00:00
perry
c9e98eabc1 de-__P, ANSIfy prototypes 2006-01-04 01:58:05 +00:00
perry
10e955c2f8 de-__P, ANSIfy prototypes 2006-01-04 01:44:06 +00:00
perry
d310ebb16a de-__P, ANSIfy prototypes 2006-01-04 01:30:21 +00:00
perry
ee5c979c9f de-__P, ANSIfy prototypes, and kill register 2006-01-04 01:17:54 +00:00
perry
c2e350ed82 de-__P, add ANSI prototypes, and a teeny bit of KNF. 2006-01-04 01:05:19 +00:00
rpaulo
ef64dcf615 Kill __P. 2006-01-04 00:15:50 +00:00
peter
cd07804bde Remove unnecessary #ifdef hpcarm + includes. 2006-01-03 23:14:23 +00:00
peter
631bbf5e0c * Improve description header.
* Fix a typo.
* Remove unneeded includes.
2006-01-03 23:11:00 +00:00
peter
d68b0fc147 Add (commented out) options for color customization.
Enable customized output by default.
2006-01-03 23:01:51 +00:00
peter
95c56a8f9f Remove sl, it's already defined in IPAQ. 2006-01-03 22:59:49 +00:00
yamt
789fa21531 fix a deadlock due to a spl problem. 2006-01-03 22:25:48 +00:00
apb
d09e15652b Add apb 2006-01-03 21:34:05 +00:00
bouyer
4f02289d67 Make stts a no-op as clts already is
Always call HYPERVISOR_fpu_taskswitch() at the end of npxsave_lwp().

This fixes the FPU problems detected by paranoia on a NetBSD/Xen guest.
Based on patch sent by Paul Ripke on port-xen, but reworked by me.
Should fix port-xen/30977.
2006-01-03 20:18:51 +00:00
apb
0bee96eab7 Ensure that (almost) all shell variables in distrib/sets/* scripts are
used with curly braces and quotes, as in "${var}".

Also ensure that command substitution is quoted, as in "$(command)", and
convert `command` to $(command).

Reviewed by agc
2006-01-03 18:31:09 +00:00
apb
3a0b541193 Add shell variables defined in sets.subr for almost all commands used
by scripts in distrib/sets/*.  This is intended to be useful when cross
building.  Only trivial commands like echo, cat, and rm are excluded
from this treatment.

While I am here, make ${MTREE} and ${DB} follow the pattern used by most
other such variables.

Reviewed by agc.
2006-01-03 16:40:16 +00:00
kent
de8198c18c support for 8ch playback with STAC9221D codec.
Thanks to Tomokatsu HAYAKAWA.
2006-01-03 15:43:04 +00:00
apb
26d8593b50 Move default values for several shell variables into sets.subr.
Reviewed by agc
2006-01-03 15:42:42 +00:00
kent
ce56ff707e ALC260: improve readability of mixer item names. 2006-01-03 15:31:15 +00:00
kent
a2e0795bf5 - make this compile with AZALIA_DEBUG
Thanks to Tomokatsu HAYAKAWA.
- introduce WIDGET_CHANNELS macro
2006-01-03 14:16:28 +00:00
yamt
463bed6af1 de-__P. 2006-01-03 12:59:49 +00:00
yamt
6fce056253 mark /usr/include/nfs/nfs_var.h obsolete. 2006-01-03 12:49:36 +00:00
yamt
dbf3dbe4b0 don't install nfs_var.h. 2006-01-03 12:47:51 +00:00
yamt
27dc8f3f48 move function prototypes from nfs.h to nfs_var.h. 2006-01-03 12:30:46 +00:00
yamt
7416ebb551 nfssvc_nfsd: reduce a chance for a slow peer to capture all our threads.
instead of sleeping to wait for the socket to send our reply,
just hand-off our reply to the thread which is holding the socket.
2006-01-03 12:30:01 +00:00
yamt
a5da6cae5b remove a few unnecessary caddr_t casts. 2006-01-03 11:41:50 +00:00
yamt
acff143090 improve nfsd locking.
- don't bother to take nfs_sndlock when doing nfsrv_rcv.
  unlike client, we never reconnect.
- nfsrv_getstream: fix the case that m_split sleeps.
- free socket in nfsrv_slpderef rather than nfsrv_zapsock.
  fix race with nfssvc_nfsd.
- while i'm here, remove NFSD_WAITING and NFSD_REQINPROG
  as they are redundant.
- some comments and assertions.
2006-01-03 11:41:03 +00:00
rumble
b4ad7ed6ec Typo: add a missing article. 2006-01-03 02:17:22 +00:00
rumble
a2cdb58340 Mention that some IBM Etherjet cards are X3201-3's. 2006-01-03 02:15:15 +00:00
rumble
fffc3b7bd8 Fix a little comment typo. 2006-01-03 02:11:57 +00:00
rumble
809e7519ba Fix the comment. It is perfectly valid to have a kernel that supports
MIPS1 and MIPS3. However, we need a separate config due to different
start addresses.
2006-01-03 02:09:02 +00:00
rumble
a8a473f44e As noted in sys/dev/pci/cs4280.c, the cs461x chips are not fully supported
and the wss(4) or sb(4) drivers should be used instead. The man page
previously implied full support.
2006-01-03 01:59:25 +00:00
uwe
6922812a19 Spell HP 620LX correctly.
A comment about scif(4) should refer SCIFCONSOLE.  SCICONSOLE is for sci(4).
Add a comment before hd64461if, so that it's clear it's not for PERSONA only.
Add (commented out) HD64461{PCMCIA,VIDEO}_DEBUG, HD64461VIDEO_HWACCEL.
2006-01-03 01:47:37 +00:00
rumble
71b162b8f8 I believe that the VME bus is optional, but a GIO bus is always found. 2006-01-03 01:41:54 +00:00
rumble
c1a87362c3 Note that not all gio bus devices require the use of the HPC. Also, mention
existence in the 4D/3x series and the three GIO bus types.
2006-01-03 01:35:52 +00:00
uwe
ba99e8a02c Nuke __P. 2006-01-03 01:29:46 +00:00
rumble
b7eab49e74 Fix several typos and improve english. 2006-01-03 01:22:51 +00:00
uwe
68ef13b0ba HD64461VIDEO options now come from "opt_hd64461video.h". 2006-01-03 01:15:47 +00:00
uwe
63bf4c684b Properly defflag HD64461VIDEO_HWACCEL to opt_hd64461pcmcia.h (new file).
Put HD64461VIDEO_DEBUG there as well to minimize impact on unrelated
sources.
2006-01-03 01:15:04 +00:00