Commit Graph

168582 Commits

Author SHA1 Message Date
joerg 2522c71658 Merge libarchive-2.5.0b. 2008-03-30 05:19:00 +00:00
joerg 3c19999f8f Import libarchive-2.5.0b:
- bsdpcio and bsdtar support more of the nbpax options
- linkify interface can handle all the known hardlink resolution
  strategies
- mtree support extended, now it can almost process METALOG directly
- compress(1)-like write support
- fix gname/uname mixup
2008-03-30 05:06:00 +00:00
tsutsui 8a19236fe5 One missed file in the previous commit:
> Split softc and device_t for zsc(4) and its children.

Pointed out by mrg@.
2008-03-30 01:41:36 +00:00
macallan e637592b65 enable PCI_VIA_TTYE0 for sparc(64), macppc and ofppc. Should probably be done
for prep as well.
2008-03-29 23:26:15 +00:00
chris 248e511e80 Add missing bracing for some THUMB_CODE. 2008-03-29 22:05:15 +00:00
phx 232fdde483 Activate genfb, pckbc, pckbd, pms, wskbd, wsmouse and wsdisplay.
Those devices work reliable on a Pegasos2 system with serial console and
with a real keyboard/monitor.
2008-03-29 21:55:32 +00:00
christos c7a574ed9e make this compile 2008-03-29 20:40:52 +00:00
dholland 132066c541 Fix broken build. hi skrll :-) 2008-03-29 20:15:54 +00:00
mlelstv 1155fc6c2d add <der.h> header used by external software. 2008-03-29 19:58:37 +00:00
tsutsui 02cb47cab2 Split softc and device_t for zsc(4) and its children.
XXX we should restructure MI APIs and make it really machine independent.
2008-03-29 19:15:34 +00:00
skrll 38b9530a91 Fix unsed variable when DEBUG isn't defined. 2008-03-29 18:49:13 +00:00
matt 32d5b0e7f0 Fix more direct references to cd_devs to device_lookup_private 2008-03-29 17:55:35 +00:00
matt 73cb9d1894 Don't use device_private on xx_cd.cd_devs[n],
use device_lookup_private(&xx_cd, n) instead.
2008-03-29 17:52:46 +00:00
wiz 18ba1efdd8 Install /usr/include/gssapi.h; this file is needed since applications
using Heimdal expect ``#include <gssapi.h>'' to work in combination
with the ``krb5-config --cflags'' output.

Ok mlelstv.
2008-03-29 17:51:42 +00:00
matt 3504316292 Don't use device_lookup to get softc, use device_lookup_private. 2008-03-29 17:51:08 +00:00
kiyohara 1368789634 Sorry forgot.
Split device_t/softc, and cosmetic change.
2008-03-29 17:50:36 +00:00
jmcneill b3ac884c36 Add RCSID to top of file. 2008-03-29 17:40:22 +00:00
ad 75ffa7cd83 Make TCICDEBUG / TCICISADEBUG compile. 2008-03-29 17:36:45 +00:00
ad 72afc67c95 Check the status registers for garbage before wasting seconds trying to
reset a board that isn't present.
2008-03-29 17:27:50 +00:00
ad 625a7a611a Waiting 5s for the card to reset during probe is not cool! 2008-03-29 17:13:03 +00:00
dholland 5b571a159f Add a note clarifying that getprogname() results are not trustable in a
setugid environment. Prompted by PR 38327 discussion.
2008-03-29 16:51:40 +00:00
ad bd1204e3c8 Make it compile again. 2008-03-29 16:36:14 +00:00
kiyohara 64e7d595e1 Split device_t/softc.
And cosmetic change.
2008-03-29 16:22:53 +00:00
tsutsui 9826f6af3a - don't forget to set sc_dev
- use aprint_*() variants
2008-03-29 15:59:57 +00:00
skrll c36ab687e9 Tidyup the attachment of various devices in the same way as OpenBSD and
use the same name.

Must have been funny to someone.
2008-03-29 15:59:25 +00:00
tsutsui 9dd0b2634a Remove an extra newline added in rev 1.18.
It will be put in the following clockattach().
2008-03-29 15:59:03 +00:00
chris a3aadfe6ff Fix LOCKDEBUG build on arm by:
* converting simple_{un}lock to mutex_enter/exit
* Using UVM_OBJ_INIT & DESTROY for the uvm_object in the pmap structure
2008-03-29 15:52:09 +00:00
skrll 5886a5273b Need to pull in kobj_machdep.c for options MODULAR 2008-03-29 15:34:19 +00:00
reed 99fa634a69 Reset DHCP values before use. If you first chose DHCP, then later
chose manual, the generated rc.conf has dhclient details instead
of defaultroute.  (Noticed this when dhclient ran successfully,
but network failed so I entered network settings manually.)
Now only defines dhclient rc.conf variables when DHCP is used
else defines the defaultroute.
2008-03-29 15:19:53 +00:00
tsutsui e9abc1656c Fix typo. 2008-03-29 14:34:13 +00:00
jmcneill 2bd589c8a4 Fix paths in CODE REFERENCES section. 2008-03-29 14:12:59 +00:00
ad bd9b59aafe selwakeup: convert a while() loop into a do/while() since the first test
isn't needed.
2008-03-29 14:08:35 +00:00
ad 96a6231c10 callout_halt: remove unneeded extern decl. 2008-03-29 14:07:23 +00:00
he 73e50f111b Do like the non-__OPTIMIZE_SIZE__ variant, and compile memset() unless
BZERO is defined, instead of requiring MEMSET to be defined.

Avoids violating the principle of least astonishment, and also fixes
the build of stand/ and kernels for (at least) alpha.
2008-03-29 14:03:22 +00:00
ad c7e03d2b58 callout_destroy: fix assertion to not fire when a callout is destroying
its own handle. PR kern/38324.
2008-03-29 14:00:55 +00:00
yamt 9230a9b039 ansify. from Christoph Egger. 2008-03-29 13:48:00 +00:00
jmcneill 2529ffb3cf Fix printf in ACPI_DEBUG case, pointed out by mlelstv@ 2008-03-29 13:33:12 +00:00
yamt c585603ac5 route_intr: fill a correct member of sockproto. (sp_family -> sp_protocol) 2008-03-29 13:00:43 +00:00
tsutsui 64c8120f2a Fix wrong type. 2008-03-29 12:51:49 +00:00
he a58a2cddc0 Make the size-optimized memset() actually conform to the man page
by returning the first arg.
2008-03-29 12:25:32 +00:00
mjf e523c765c2 Add lii.0. Pointed out by mlelstv@ 2008-03-29 12:03:47 +00:00
apb cd12700971 If SHELL_BUILTIN is defined (as will be the case when building external
builtins such as the printf command), then hide a few declarations.

This allows the shell to build again, fixing a problem with
"error" being declared as a function here, and as a variable in
.../usr.bin/printf/printf.c.
2008-03-29 09:58:00 +00:00
apb d6d9ccc8ad * define SHELL_BUILTIN, which other headers may use to hide some of their
symbols if appropriate.  For example, error.h will use it to hide
  declarations that should not be seen by external builtins such as printf.
* The shell's outfmt() function returns void, but the standard fprintf()
  function returns int.  Similarly for several other functions that are
  redefined via macros in bltin.h.  Add a _RETURN_INT macro to do the
  necessary conversion.
* Delete some declarations that appear in error.h.
* Add comments on some #else/#endif lines.
2008-03-29 09:55:40 +00:00
apb 074a931bf5 Remove trailing ';' in definitions of out1c and out2c macros. 2008-03-29 09:49:52 +00:00
ragge a24df7ca50 Include sys/param.h before file.h, to avoid redefinition of MIN. 2008-03-29 09:40:41 +00:00
blymn ec0989aac6 Remove erroneous byteswap of flags - the flags are byteswapped when
assigned to the tx struct.
2008-03-29 09:38:42 +00:00
blymn 7c7e3e8c0d Clean up trailing whitespace. 2008-03-29 09:36:29 +00:00
tsutsui 30a5080cfd One more missed file on migration of struct device sc_dev -> device_t sc_dev. 2008-03-29 09:16:19 +00:00
tsutsui 8d17a1295b Split softc/device_t for oosiop(4) and osiop(4), with misc cosmetic changes. 2008-03-29 09:11:35 +00:00
mlelstv 23aa31d043 PPC systems predating prep and running the mvmeppc port
have compatible hardware.
2008-03-29 09:01:35 +00:00