Commit Graph

82236 Commits

Author SHA1 Message Date
rumble
ec5b122721 Regen. 2006-07-20 13:12:32 +00:00
rumble
4d3ba0cd44 Beautify. 2006-07-20 13:12:01 +00:00
rumble
db767e167c Add entries for the Phobos G100, G130 and Set Engineering GIO Fast Ethernet
cards.
2006-07-20 13:11:27 +00:00
bjh21
5bdcc8987d -mshort-load-words has been removed in GCC 4. It was only an optimisation,
so just stop using it.
2006-07-20 10:53:12 +00:00
rumble
b0631951f9 Disable haltwo(4) by default. The driver does not properly determine when
the audio hardware is not present and causes a hang on Challenge-S systems.

Approved by pooka@ and sekiya@.
2006-07-20 10:37:25 +00:00
cube
2d03dc4c3e Fix an obvious overlook (struct fileassoc_hook is not defined in
fileassoc.h anymore).  I could say "please compile-test", but then, I'm not
doing it either for that commit.
2006-07-20 09:00:41 +00:00
kochi
c8920f2898 eliminate bogus acpi debug #define symbols 2006-07-20 05:05:26 +00:00
ad
fe65535924 Try again.. Move l_cred into the startzero section, and fix the define.
Doesn't change the layout of struct lwp.
2006-07-20 00:17:10 +00:00
ad
464ac13fb4 Bump version to NetBSD 3.99.23 (LWP creds). 2006-07-19 22:29:25 +00:00
ad
c0f87b2ba1 Move l_acflag into the section that gets zeroed in newlwp(). 2006-07-19 22:06:09 +00:00
ad
2b79369c7e - Hold a reference to the process credentials in each struct lwp.
- Update the reference on syscall and user trap if p_cred has changed.
- Collect accounting flags in the LWP, and collate on LWP exit.
2006-07-19 21:11:37 +00:00
tsutsui
2c2371cf55 Adjust comments. 2006-07-19 19:29:02 +00:00
tsutsui
82cc83ca42 Set cpuspeed for HP_400 and HP_425 explicitly. 2006-07-19 19:25:48 +00:00
tsutsui
4c07c7291c Adapt stand sources to changes of intio device offset macro. 2006-07-19 19:23:56 +00:00
tsutsui
e4b249fede oops, fix typo 2006-07-19 18:28:58 +00:00
tsutsui
d0e89b46cb - strncpy() -> strlcpy()
- adjust buffer length
2006-07-19 18:25:40 +00:00
tsutsui
83ed44a817 some KNF 2006-07-19 17:32:15 +00:00
tsutsui
f94698e954 Define base address offsets of intio devices in intioreg.h
and replace various magic numbers with the macro.
2006-07-19 17:21:23 +00:00
tsutsui
33663964ec Use iobase address passed from attach args. 2006-07-19 17:18:03 +00:00
tsutsui
d72fb94231 - use __arraycount()
- remove parentheses from return values
2006-07-19 16:23:41 +00:00
tsutsui
6b93d0f87d Use CPUFLAGS="-march=vr5000 -mabi=32". 2006-07-19 15:33:53 +00:00
blymn
36c3e07ffa Add destination file vnode to rename checking. 2006-07-19 12:45:19 +00:00
blymn
ee551118c6 Add extra argument to rename check to check destination file. 2006-07-19 12:44:11 +00:00
kent
9f8e1fe441 fix crash by reading a mixer value with AD1981HD codec, which
has invalid connection lists.
2006-07-19 02:40:18 +00:00
itohy
67d67209d7 Make new device (vendor 0x1317, product 0x9511) work as AN983. 2006-07-18 14:26:57 +00:00
itohy
3cb3cfb1dd Regen from pcidevs rev 1.807. 2006-07-18 14:21:02 +00:00
itohy
060bfcacf0 Identify vendor 0x1317, product 0x9511 as ADMtek AN983B,
since OpenSolaris says it is "ADMTek Comet 983b".
2006-07-18 14:19:14 +00:00
tsutsui
fd040c4006 Add and update misc items. 2006-07-18 13:24:39 +00:00
tsutsui
e621e8f3df - always enable options MIPS3_ENABLE_CLOCK_INTR so that spllowerclock(9)
works properly
  (XXX: the real fix is to implement proper CLFK_BASEPRI())
- prepare an independent statclock(9) handler which use MIPS3 CPU internal
  clock interrupt. Enabled by options ENABLE_INT5_STATCLOCK, but not enabled
  by default.
2006-07-18 12:51:01 +00:00
tsutsui
fe55d37a26 Remove obsolete comment. 2006-07-18 12:21:42 +00:00
salo
36848f108e G/C apm_power_print() for APM_POWER_PRINT case, make it compile.
ok <christos>
2006-07-17 21:04:17 +00:00
christos
52f01eaf1c remove lhs cast for gcc4 2006-07-17 19:29:31 +00:00
gdamore
df112a3055 Wait a little longer, because some devices (eg bt3c) take a few seconds to
enable when they are loading firmware so we need to wait a bit longer.

Patch from Iain Hibbert, at his request.
2006-07-17 19:20:16 +00:00
elad
8ee43586ab move the fileassoc_delete_file() call above the VOP_REMOVE() one, yamt@
says vp might not be valid after it.
2006-07-17 19:05:36 +00:00
ad
e7447d9340 - Always make p->p_cred a private copy before modifying.
- Share credentials among processes when forking.
2006-07-17 15:29:06 +00:00
ad
16fc727817 Just use proc0.p_cred where root credentials are needed, instead of
allocating a new kauth_cred_t.
2006-07-17 14:49:16 +00:00
ad
2af3d29e01 - Don't cast kauth_cred_t to (struct ucred *), just set pc_ucred = NULL.
- Fill ucred::cr_ref.
2006-07-17 14:47:02 +00:00
ad
55a5faa1ef - Only acquire cr_lock when changing cr_refcnt.
- When freeing, test the value of cr_refcnt from inside the lock perimiter.
- Change some uint16_t/uint32_t types to u_int.
- KASSERT(cr_refcnt > 0) in appropriate places.
- KASSERT(cr_refcnt == 1) when changing the credential.
2006-07-17 14:37:20 +00:00
christos
ef1750eb29 make APM_POWER_PRINT compile. 2006-07-17 13:23:46 +00:00
martin
5958a5d814 This requires <sys/lock.h> - make it include it directly. 2006-07-17 11:38:56 +00:00
martin
d91f1187f9 Back out previous - it apparently was not even compile tested. 2006-07-17 11:36:50 +00:00
christos
7358f7042d PR/34007: Noriyuki Shiota: vmstat fails on the multiboot kernel booted by
GRUB-0.97. Initialize some previously unititiazed ELF header fields.
2006-07-16 21:16:22 +00:00
elad
77de54cbf0 get rid of CURTAIN() macro. inline the last use of it, together
with a nice XXX comment (assigned to me of course) that we should
be doing this differently.
2006-07-16 21:13:00 +00:00
elad
d4410e6fde CURTAIN() -> KAUTH_GENERIC_CANSEE. 2006-07-16 20:21:42 +00:00
elad
d9a7152c3e add KAUTH_GENERIC_CANSEE, which is like the KAUTH_PROCESS_CANSEE, only
for two kauth_cred_t rather than kauth_cred_t and struct proc *.

advise against using it in the man-page; it should be used only in cases
where we either don't have an object-specific op or when we can't easily
use one.
2006-07-16 20:10:11 +00:00
elad
9be7229906 expose less api; prompted by yamt@. 2006-07-16 19:37:55 +00:00
kardel
e804524e26 fix another t{s,v}tohz() fallout (invalid remaining time)
now passes regression/sys/kern/sleeping
2006-07-16 19:23:11 +00:00
elad
c6d34abf63 oops, forgot to commit that one. thanks Arnaud Lacombe. 2006-07-16 18:49:29 +00:00
cube
b1b29cb4ae Remove that example. It was obsolete even before 3.0 release. 2006-07-16 10:52:22 +00:00
yamt
402cb9eb95 adapt to vfs_copyinfh -> vfs_copyinfh_alloc rename. 2006-07-16 07:52:02 +00:00