joerg
81e49626c4
GCC doesn't trace switch (foo & 7) completely, so add a default: abort()
...
to avoid warnings about unused variables.
Consistently use \t for the output function.
2009-08-17 14:15:07 +00:00
jakllsch
1788ee813d
A few new PCI register #defines:
...
- size of config and extended config space
- EFI ROM code type number
- extended capability list register bits
2009-08-17 14:11:09 +00:00
vanhu
eb15fbb554
do not use SADB_X_NAT_T_NEW_MAPPING to check system support for NAT-T, as at least FreeBSD doesn't have this define anymore
2009-08-17 13:52:14 +00:00
mbalmer
066a225399
unfold short lines, fold long line.
2009-08-17 12:44:44 +00:00
vanhu
82dd0659f2
include stddef.h so we have a chance to get the system offsetof if present
2009-08-17 12:00:53 +00:00
vanhu
c2c64af1e8
removed a self include
2009-08-17 11:59:10 +00:00
christos
3104786862
back out previous; luke says:
...
'@' is a reserved URI char per RFC 3986, use %40
2009-08-17 09:08:16 +00:00
cegger
ea28690bc6
buildfix: #include <sys/exec_aout.h>
2009-08-17 06:00:05 +00:00
cegger
e1ae8d7a46
buildfix: #include <sys/exec_aout.h>
2009-08-16 22:06:12 +00:00
christos
a9d1bfd0c5
provide compatibility for the older variant of kern.consdev, which used
...
a 32 bit dev_t. Reported by mrg.
2009-08-16 20:28:19 +00:00
dsl
fa81e78b3d
'depth' is used for the number of bytes into the key that the pointers
...
reference, when we want to find the record header put the larger value
into 'hdr_off' to avoid any confusion that the code might be changing
'depth'!
There is now no need to save the original value as 'odepth' in append.c.
All an a vague attempt to make this code slightly readable.
2009-08-16 20:02:04 +00:00
dsl
9ab8b68075
Replace all uses of sizeof(TRECHEADER) with REC_DATA_OFFSET - which
...
is defined as offsetof(RECHEADER, data). Delete TRECHEADER.
2009-08-16 19:53:43 +00:00
christos
f227975929
Version fts one more time! This is the most versioned API ever... Bump
...
fts_level from short to int to avoid a potential DoS.
From Maksymilian Arciemowicz
2009-08-16 19:33:38 +00:00
uwe
0c3bb10a56
options COMPAT_50
2009-08-16 19:12:55 +00:00
martin
f842f249ac
More missing <sys/exec_aout.h>
2009-08-16 18:43:08 +00:00
martin
73946a9cc9
More missing <sys/exec_aout.h> includes
2009-08-16 18:15:28 +00:00
martin
c69e3f0a0e
Add <sys/exec_aout.h> includes
2009-08-16 18:01:49 +00:00
skrll
ff1fab9942
Re-run mknative for crtstuff.
2009-08-16 17:36:26 +00:00
skrll
9f68db4a1a
Use += in previous so the flags from config/t-netbsd aren't lost.
2009-08-16 17:33:14 +00:00
pgoyette
f6f3b4be8a
Repair more fallout from the exec_aout.h change.
...
No guarantee that these are the "right" things to do, but they do allow
building of port-amd64 again.
2009-08-16 17:12:47 +00:00
martin
b507c43e16
Add missing include <sys/exec_aout.h>
2009-08-16 15:41:51 +00:00
martin
ff78bb583b
Include <sys/exec_aout.h> for a.out specific defines.
2009-08-16 15:39:30 +00:00
manu
a693f69b7e
Build COMPAT_DARWIN and COMPAT_MACH as a Xen domU too
2009-08-16 15:35:52 +00:00
tron
3ff8faf2b6
Add support for the Openmoko Freerunner to cdce(4) ported from FreeBSD.
...
The patch was supplied by Pierre Pronchery in PR kern/40049.
2009-08-16 14:18:49 +00:00
skrll
719e2eddb4
s/int/u_int/ for flags in pmap_enter and deal with this in rump.
...
Hi cegger.
2009-08-16 14:06:36 +00:00
skrll
4519d76c61
KNF
2009-08-16 14:02:08 +00:00
tron
e67b5654ff
Ignore the "-P" option as intended to make this work with e.g.
...
"fsck_flags=-pP" in "/etc/rc.conf".
Patch supplied by Pierre Pronchery in PR bin/41490.
2009-08-16 13:50:54 +00:00
matt
7b2f3a5640
Change include of <sys/exec.h> to <sys/exec_aout.h> since these files want
...
the a.out stuff.
2009-08-16 13:26:16 +00:00
martin
7867c1b262
Use a separately defined USBD_CONFIG_TIMEOUT when requesting a device
...
descriptor. I have a USB ATA device that spins up it's (removable) hard
disk and only returns the real descriptor if the disk is present - this
takes too long with the default 5 seconds timeout, so we were unable to
properly attach this device.
2009-08-16 13:20:40 +00:00
matt
20078a6d9f
Pull in a hunk from t-linux64 for compile flags for CRTSTUFF
2009-08-16 13:16:52 +00:00
martin
9c8005a99c
If we are attaching a high speed device, request a full size descriptor
...
block - we know the device will be able to handle it already.
This fixes a strange failure mode when attaching a (apparently non standard
conformant) USB ATA device I have, and *should* not cause any harm.
Apparently the device in question answered with the full descriptor despite
our short request - a failure mode not handled gracefully, leading to a
port reset. From Jeremy Morse.
2009-08-16 13:06:32 +00:00
yamt
6f5397de19
assertions
2009-08-16 11:06:37 +00:00
yamt
5fa695e8c1
reduce differences between x86 ports.
2009-08-16 11:04:48 +00:00
yamt
83723a32c5
fix a comment typo.
2009-08-16 11:02:24 +00:00
yamt
273f17a18a
kauth_cred_free: add an assertion.
2009-08-16 11:01:12 +00:00
yamt
77d977dcbc
assertion
2009-08-16 11:00:20 +00:00
yamt
d59302b0e4
struct lwp -> lwp_t for consistency
2009-08-16 10:59:25 +00:00
yamt
c55eff3413
g/c bio_ops.
2009-08-16 10:57:17 +00:00
yamt
894e4c4207
comments.
2009-08-16 10:57:01 +00:00
yamt
a052624ac4
remove a stale comment.
2009-08-16 10:51:21 +00:00
matt
3308ff5cbf
Only include <sys/exec_aout.h> if NLIST_AOUT is defined.
...
Don't define NLIST_AOUT for mips anymore.
2009-08-16 03:56:26 +00:00
christos
3ac3892a2a
use strrchr to find the last @ because we might want the username to contain
...
user@domain.
2009-08-16 02:49:23 +00:00
macallan
f2c548ef3a
add the missing wscons bits so this kernel builds again
...
needs testing on actual hardware which I don't have.
2009-08-16 00:24:59 +00:00
matt
c980adf2e1
Don't include <sys/exec_aout.h>. Let those who want it explicitly include it.
2009-08-15 23:46:02 +00:00
matt
209a0b42e3
Include <sys/exec_aout.h> explicitly instead of relying on <sys/exec.h> to
...
do it for us.
2009-08-15 23:44:57 +00:00
matt
7bb407d6e3
Include <sys/exec_aout.h> explicitly instead of relying on <sys/exec.h> to
...
do it for you.
2009-08-15 23:39:35 +00:00
dsl
59ede5ae24
Always add an REC_D char (usually \n) as the last sort key char - we
...
almost always need one.
But do ADD it, instead of overwriting the last byte of the last key since
that may be requesting the other end of the sort order.
There is no need to check for space for the line after adding the key,
but we might as well check before - just to optimise that case.
This might fix some of the sort bugs - but not the one I'm looking at!
2009-08-15 21:26:32 +00:00
wiz
e671c9cf08
Fix typo.
2009-08-15 20:44:56 +00:00
christos
bcbc23bd8f
add -p <tmpdir> option to override $TMPDIR from the command line like linux
...
has.
2009-08-15 20:02:28 +00:00
snj
0215f7165d
Fix a 13 year old buffer overrun. From Henning Petersen in
...
PR port-mvme68k/41857.
2009-08-15 19:16:45 +00:00