christos
0ca4fa8e5b
revert previous; ctags has been fixed.
2009-03-28 18:43:20 +00:00
pooka
46d9c48ff8
regen: new syscalls
2009-03-28 16:34:34 +00:00
pooka
5e0d2571db
mark a bunch of syscalls as RUMP
2009-03-28 16:33:40 +00:00
christos
0482d9b884
Add firmware for the 5000 from:
...
http://www.intellinuxwireless.org/iwlwifi/downloads/ \
iwlwifi-5000-ucode-5.4.A.11.tar.gz
2009-03-28 16:16:02 +00:00
pooka
4ff44dd1fe
remove troublesome printf specifier
2009-03-28 15:17:16 +00:00
he
cb69d4f55d
Don't include the AMD stuff if SMALLPROG is defined.
...
Brings the size of the sparc INSTALL ramdisk image under control again.
2009-03-28 12:19:51 +00:00
mrg
7e57d1b381
put the max_paddr DEBUG message under DUMP_DEBUG option.
2009-03-28 01:45:17 +00:00
christos
ae102ccd34
remove debugging code.
2009-03-27 21:48:26 +00:00
christos
419fb993b6
fix off-by-one bug that did not add a tag for "foo" in
...
"typedef struct foo { int x; } foo_t";
as intended.
2009-03-27 21:48:05 +00:00
ad
cf4d738d95
Remove -mtune, we'll let the compiler pick a good default (the current
...
default sucks).
2009-03-27 21:04:35 +00:00
drochner
bf4f01a782
Rearrange TSC inter-CPU synchronization code so that the gory details
...
are dealt with in x86/tsc.c and callers don't have to care that much.
Also add some comments and make some variables static.
approved by ad (a while ago)
2009-03-27 19:53:19 +00:00
drochner
94b97e7a5b
regenerated after i386 gcc configuration change (assume i486)
2009-03-27 19:38:43 +00:00
drochner
a6062b3d34
Use "i486" as GNU_ARCH for i386 so that the toolchain and libraries
...
can use instructions which were not available on the original i386
(eg cmpxchg). Due to some strangeness in gcc's i386 support this needs
an extra --with-arch=i486 configure argument for gcc to have the desired
effect, see my post "i386 vs i486, some inconsistencies" to tech-toolchain
some weeks ago.
I'm not happy to break compatibility, but since (a) kernel support
for i386 was removed and (b) i387 code was put into libm this is
just another coffin nail.
The gain is besides consistency and more efficient code that intel
atomar intrinsics can now be used by gcc. (which would need runtime
library support otherwise)
2009-03-27 19:36:55 +00:00
reed
b7b9ab25b1
Point to ifmedia(4) more. And refer to -m flag to (for media).
2009-03-27 19:33:22 +00:00
drochner
f3b654a431
-introduce a "COMMON_CONFIGURE_ARGS" variable which is included by
...
both CONFIGURE_ARGS and NATIVE_CONFIGURE_ARGS to reduce duplication
between tool and native configuration
-allow to pass a "--with-arch" argument to both configurations
2009-03-27 19:19:49 +00:00
dyoung
858d3b857c
If a sip(4) is powered down, then so is its PHY, so don't try to read
...
media status from the PHY.
2009-03-27 16:45:53 +00:00
dyoung
590c39d0f3
For legibility, unifdef -U__FreeBSD__ -D__NetBSD__. This compiles, but
...
it is not run-tested.
2009-03-27 16:15:24 +00:00
dyoung
7377de8f1d
Make this build on -current.
2009-03-27 16:10:50 +00:00
dyoung
a6cfb08d9c
If defined(_KERNEL), #include <sys/types.h>, otherwise #include
...
<stdbool.h>, for the bool definition that we need. intr.h only got the
definition by chance, before.
2009-03-27 16:09:24 +00:00
dyoung
103f0ed593
If defined(_KERNEL), #include <sys/types.h>, otherwise #include
...
<stdbool.h>, for the bool definition that we need. cpu.h only got the
definition by chance, before.
2009-03-27 16:07:37 +00:00
dyoung
098e562dfd
Explicitly #include <sys/device.h> and <sys/evcnt.h>. These files only
...
got the definitions they needed by chance, before.
2009-03-27 15:47:33 +00:00
pooka
c9e578684e
rump_virtif_create prototype
2009-03-27 13:47:53 +00:00
pooka
06dceb4d08
* make interface creation open /dev/tapn for interface n
...
* create "unique" enaddr
* do send in async context
2009-03-27 13:46:34 +00:00
pooka
7a82389053
shotgun approach to rump syscalls
2009-03-27 13:18:27 +00:00
tsutsui
f8fb75a405
Use bus_space(9) to access registers. SETREG() macro using bogus casts
...
against packed structures doesn't work on gcc4. (no character on screen)
See also:
http://mail-index.NetBSD.org/port-sparc/2003/11/11/0002.html
Should be pulled up to netbsd-4 and netbsd-5.
2009-03-27 12:25:41 +00:00
tsutsui
030266c11f
Check a correct bit for ip4csum-rx. Reported privately on PR kern/40955.
2009-03-27 12:19:17 +00:00
drochner
643809db9f
namespace sanity: TIMER_RELTIME is _NETBSD_SOURCE only
2009-03-27 11:06:26 +00:00
drochner
109046eebe
namespace sanity: SI_LWP and SI_NOINFO are _NETBSD_SOURCE only
2009-03-27 11:05:43 +00:00
drochner
083fa0419a
In sigput(), save the siginfo no matter whether SA_SIGINFO is set or not.
...
There are also sigtimedwait(2) et al. to catch signals without invoking
a signal handler. Fixes PR kern/41076 by Matteo Beccati (the first
test case, where the signal is sent before sigwaitinfo(2) gets called).
2009-03-27 10:58:38 +00:00
drochner
fb693f55f7
apply patches from upstream CVS to fix 3 security problems:
...
-ASN1 printing crash (CVE-2009-0590)
-Incorrect Error Checking During CMS verification (CVE-2009-0591)
-Invalid ASN1 clearing check (CVE-2009-0789)
2009-03-27 10:41:29 +00:00
hannken
3e6c1c5047
Document ipfilter_flags.
2009-03-27 09:11:36 +00:00
dholland
c963cec011
Add the other three PCI ids for the nvidia MCP65 SATA controller to
...
the quirk table. This way they attach as ahcisata and work, instead of
attaching as viaide and failing miserably.
Fixes PR kern/37826.
XXX: There are a bunch of additional MCP67 and MCP73 PCI ids that
XXX: should probably be added also, but I don't want to do that without
XXX: further investigation and testing.
2009-03-27 06:36:49 +00:00
pooka
696e7eae87
fix botch in previous
2009-03-27 06:35:10 +00:00
cegger
8c5327a270
use auto-negotiation for manual media type selection.
...
This should fix establishment of 10/100Mbps link on L1E.
Helpful to reduce watchdog timeout problems on L1 (age(4)) reported by Jochen Kunz.
From FreeBSD via OpenBSD.
2009-03-27 04:42:50 +00:00
gmcgarry
65b9855fd5
Replace gcc initialisers with c99 designated initialisers.
2009-03-26 22:22:14 +00:00
he
c05f1c0f90
Make the function declaration the same for the big-endian case as
...
for the little-endian case, and consistent with the libkern.h
declaration. Fixes build problem for at least hp700 and evbbarm-eb.
2009-03-26 22:18:14 +00:00
gmcgarry
a6dda89bce
Pass argument to __aligned() through __STRING() so that it is correctly expanded. Now __aligned(CACHE_LINE_SIZE) works with pcc.
2009-03-26 22:16:44 +00:00
joerg
70ea994ea4
Avoid .Xo/.Xc. Fix quoting of commands to give the intended effect.
2009-03-26 21:34:11 +00:00
pooka
f75bcfdea3
pretend to do some sort of cleanup in error branches
2009-03-26 20:05:07 +00:00
joerg
d478d391f3
Correctly terminate quotation.
2009-03-26 17:33:41 +00:00
joerg
7e2cf787af
Quote "..." at start of line.
2009-03-26 17:32:24 +00:00
drochner
c4bdad9349
fix typo in sigevent defaults
2009-03-26 16:55:37 +00:00
pooka
c67ff2932c
Don't abort() if the kernel complains we supplied an invalid type
...
for lookup, as this most likely means that the fs has some bad file
on it. Rather, just flag an error to the user and be happy.
2009-03-26 14:03:30 +00:00
wiz
61ae4edccb
New sentence, new line.
2009-03-26 09:56:17 +00:00
pooka
32852ecef0
Apply revisions 1.23 and 1.24 from FreeBSD to autocalculate the
...
necessary geometry when creating a file system directly to a file.
In addition, when creating, do not complain about the file not
being char special and do not try to execute device ioctl's on it.
2009-03-26 08:39:24 +00:00
pooka
02040931ba
Handle eof a bit differently. E.g. ffs and msdosfs seem to have
...
a quite different opinion about what happens in bmap beyond EOF,
so avoid calling it.
2009-03-26 08:22:22 +00:00
uebayasi
df37ad1752
Correct the order of arguments in EXAMPLE. Bump date.
2009-03-26 05:00:10 +00:00
macallan
31e90ebd10
add a few more register definitions, needed by the latest crime_drv.
2009-03-26 04:11:58 +00:00
taca
ad87c6c8be
Latest OpenSSH is 5.2/5.2p1.
2009-03-26 03:15:05 +00:00
mrg
b73a4b4545
avoid a useless uninitialised use, picked up by gcc -O3.
2009-03-26 01:52:24 +00:00