163928 Commits

Author SHA1 Message Date
ad
ae87f94d1d Bump libc/libpthread minor for thr_curcpu()/pthread_curcpu_np(). 2007-11-27 21:06:41 +00:00
ad
4084ca7f3f Add thr_curcpu(), pthread_curcpu_np(). 2007-11-27 20:58:26 +00:00
ad
d5e9b90716 Fix a warning with _LP64. 2007-11-27 20:55:03 +00:00
christos
c98098ca80 Add aligned(16) in savefpu like the i386 port has. Suggested by Matthias
Drochner.
2007-11-27 18:23:03 +00:00
reinoud
1783f9c4fa Pullup fixes from UDF RW support project. This commit fixes the
mmc_discinfo conceptional bug and also vastly improves VAT searching.
2007-11-27 18:10:42 +00:00
reinoud
9c2e200bb1 Pullup fixes from UDF write development project. This patch fixes a
conceptional bug in mmc_discinfo, improves DVD+R feature detection and
prevents corruption of mmc_trackinfo readout on some devices that return
short trackinfo structures.
2007-11-27 18:06:37 +00:00
pooka
25e04cd80d regen: assert l == curlwp in NDINIT 2007-11-27 15:52:56 +00:00
pooka
94b846957b Do some dynamic analysis for the next few days: KASSERT that
l == curlwp in NDINIT
2007-11-27 15:52:26 +00:00
christos
8f2e876039 Shuffle things around so that pcb_savefpu goes back to be aligned in a 16
bit boundary. Noted by Arto Huusko.
2007-11-27 15:49:48 +00:00
pooka
69668a6b81 regen 2007-11-27 15:27:51 +00:00
pooka
064cfb563e pull in rev 1.54 of namei.h 2007-11-27 15:27:30 +00:00
jnemeth
3b39a4f529 Add a comment after the copyright boiler plate describing how to
"regenerate" this file.
2007-11-27 13:38:23 +00:00
tsutsui
726acbb131 Use powerof2() macro in <sys/param.h> rather than a homegrown version. 2007-11-27 13:31:10 +00:00
tsutsui
fdc8440c81 - use prop_dictionary_set_bool() to set "aic7xxx-use-target-defaults" property
- set "override_ultra" property against not all but only built-in ahc
2007-11-27 13:26:37 +00:00
haad
8a4a986b56 Add myself to the list of NetBSD developers. 2007-11-27 13:04:01 +00:00
pooka
f9379f7719 a_l -> curlwp 2007-11-27 11:37:27 +00:00
pooka
6a3d9a187d Remove "puffs_cid" from the puffs interface following l-removal
from the kernel vfs interfaces.  puffs_cc_getcaller(pcc) can be
used now should the same information be desired.
2007-11-27 11:31:17 +00:00
dogcow
6c09f19fb4 and one more lwp removal victim 2007-11-27 11:25:29 +00:00
hannken
8b99233008 When using bus_space_map() on the ISA bus unstride the address. Since
Rev. 1.13 of sys/arch/powerpc/powerpc/bus_space.c the address will be
strided by memio_map().
2007-11-27 10:59:24 +00:00
hannken
3b59dbb195 Bump SYMTAB_SPACE so that it fits again. 2007-11-27 10:55:27 +00:00
elad
3862950e53 Add a NOTES section to the manual, indicating that kauth(9) is still under
active development and its ABI (and possibly API) may change between
NetBSD versions.

This is critical to, for example, LKMs, where there might be a case of them
being built using one version of the ABI and used on system with another.

The main concern for "ABI" here is the set of KAUTH_* actions and requests
that is (for now) an enum. This note is likely to be removed as kauth(9)
is stablized -- hopefully before NetBSD 5.0.

okay christos@
2007-11-27 10:50:09 +00:00
dogcow
3465a006e9 more VFS_STATVFS(x,y,z) fallout; change them to VFS_STATVFS(x,y). (hi, pooka!) 2007-11-27 09:47:15 +00:00
dogcow
1e02f40f0f fallout from the not-quite-complete curlwp removal.
I'm not sure why I had to monkey about with the includes to get VFS_SYNC to
reappear.
2007-11-27 09:14:21 +00:00
ad
c3a9a185b4 Tidy up the sigacts locking a bit: sigacts can be shared between
multiple processes.
2007-11-27 01:27:30 +00:00
dyoung
2db1c5cdfa Bug fix: in ath_init(), if ath_enable() fails, ATH_UNLOCK() before
returning.
2007-11-27 00:07:42 +00:00
dyoung
e45771984e Don't process the CAB queue twice in ath_tx_proc_q0123. 2007-11-26 23:54:48 +00:00
dyoung
37bdac8857 Eliminate redundant check for read-only mbuf data, since
M_TRAILINGSPACE() does a more complete check on NetBSD.
2007-11-26 23:52:40 +00:00
dyoung
84a52560a3 Bug fix: restore antenna diversity settings after reset. 2007-11-26 23:49:55 +00:00
dyoung
ecfc7c1996 Use device_xname(). Make device_printf() take a device_t argument.
Add __attribute__((__format__(__printf__,2,3))) to device_printf()
so that the compiler will help us detect bad arguments.

Retire unused subroutine m_defrag(), and unused declaration m_getcl().
2007-11-26 23:48:37 +00:00
ad
34db286793 Use the softint API. 2007-11-26 23:29:36 +00:00
ad
afa1151e21 IPL_STATCLOCK -> IPL_HIGH 2007-11-26 23:28:31 +00:00
he
0bfa260fce Remove a now-unused variable. 2007-11-26 23:16:15 +00:00
macallan
b795935f14 repeat after me: I will not test OF nodes for validity by checking for >0
since node numbers may well have 0x80000000 set
2007-11-26 23:13:37 +00:00
ad
e7b923f1b3 Adjust previous. 2007-11-26 22:48:57 +00:00
dyoung
ca57c50be5 Make this compile. Use callout_init() instead of ATH_CALLOUT_INIT(),
since callout_init() on FreeBSD and NetBSD are the same, now.
2007-11-26 20:45:01 +00:00
garbled
b0f4d9f970 Apply a set of patches from Frank Wille to make the genfb attachment work
better on ofppc.  In doing so, we also move a few functions around in
macppc and the generic ofw powerpc stuff to allow better sharing of code.
Also, introduce a model_init function.

move ofb_cons.c from macppc/dev to powerpc/oea and rename it to rascons.
This gets rid of some naming confusion, and makes it OFW-MI rather than
macppc specific.
2007-11-26 19:58:29 +00:00
pooka
8a64ceed6a "struct lwp *l" is a goner from VFS/VOP interfaces. 2007-11-26 19:11:11 +00:00
ad
d69bdfa8ed Update status of vmlocking branch. 2007-11-26 19:10:07 +00:00
pooka
c4de3009af 4.99.38: struct lwp gone from VFS/VOP interfaces 2007-11-26 19:04:28 +00:00
pooka
0aea761bea regen: remove struct lwp as a parameter to VOPs 2007-11-26 19:03:30 +00:00
pooka
61e8303e9d Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern
2007-11-26 19:01:26 +00:00
tnozaki
0d66ddd732 more PR/36938
- don't re-initialize internal-state when current locale is stateless encoding.
- fix testcase filedir problem.
2007-11-26 16:09:50 +00:00
christos
1b601e0085 Add dell latitude 420 in the list of machines that need special treatment
to silence speakers when headphones are plugged in. From Marcin Michal Jessa
2007-11-26 15:47:36 +00:00
tsutsui
e2199739d6 Misc cosmetics. 2007-11-26 15:46:48 +00:00
tsutsui
da1f43d88f Account e2fs_reserved_ngdb blocks accordingly in ext2fs_statvfs(). 2007-11-26 15:41:03 +00:00
christos
759df5a6a0 make cr2 64 bits. Requested by fvdl. 2007-11-26 15:38:29 +00:00
tnozaki
7e1ba00ce8 more PR/36938, restore internal-state if mbtowc() throw EILSEQ.
patch provided by Shiozaki-san, thanks.
2007-11-26 15:31:30 +00:00
christos
1f07a76abf fix substitutions. From Anon Ymous 2007-11-26 15:12:06 +00:00
joerg
1fa4940a62 Separate handling of __attribute__, __dead and __pure:
- define away __attribute__ if not running GCC or running GCC < 2.0.
- use __attribute__((__return__)) for GCC >= 2.5, keep other cases.
- use __attribute__((__pure__)) for GCC >= 29.6, keep other cases.
2007-11-26 14:52:34 +00:00
pooka
1b346350d5 In case the userspace wait is interrupted, don't use ERESTART as
the return value, rather use EINTR.

reported by Reinoud
2007-11-26 12:57:26 +00:00