reinoud
2b4d7aaa9a
When reusing a directory free space slot and thus finding it on the free space
...
list, do free it back into the pool!
2008-12-28 17:11:26 +00:00
christos
437cf02e63
Don't try to ffs_update VT_NON vnodes
2008-12-28 16:27:00 +00:00
jmcneill
b00a79bf8f
PR# port-i386/40284: add AMD Geode CS5536 audio driver; add gcscaudio(4)
...
to i386 GENERIC and ALL kernels
2008-12-28 15:18:21 +00:00
jmcneill
63b42fed50
PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
...
SHIMIZU Ryo <ryo@nerv.org>
2008-12-28 15:16:24 +00:00
he
e7afb03eca
Wrap #include "opt_ppcarch.h" in #ifdef _KERNEL_OPT, to allow
...
lib/librump to build for evbppc.
2008-12-28 10:23:11 +00:00
tsutsui
970121f868
Use the global kernel_pmap_ptr pointer in each MD pmap_bootstrap.c
...
(where MMU is not enabled yet) and make kernel_pmap_store static again.
Also consistently use uintptr_t on address conversion in RELOC() macro.
Tested on hp300 (PA != VA) and news68k (PA == VA).
2008-12-28 05:15:59 +00:00
christos
55d90fae57
- Don't autounload modules loaded during boot. In my case, ffs got unloaded
...
because my cdrom takes too long to initialize.
- Consistently print error messages in all error cases.
2008-12-28 03:21:02 +00:00
tsutsui
fd6ad22aed
Clear bp->b_oflags (introduced on vmlocking2 merge) before read
...
rather than calling brelse(9) after read.
Tested by Tuomo Makinen on port-atari.
Should fix pool panics during installation reported by David Ross
on port-atari:
http://mail-index.NetBSD.org/port-atari/2008/11/13/msg000113.html
and actually close PR port-atari/39850.
2008-12-28 03:13:59 +00:00
cegger
074ef1779e
add stub for sendsig_sigcontext().
...
I leave this to our vax guys to implement it.
Implementing it is another step to make vax kernels build again.
2008-12-27 16:26:06 +00:00
tsutsui
8a0754e5d7
Account idepth in all interrupt handlers in locore.s.
2008-12-27 16:17:24 +00:00
tsutsui
d79dc17147
Sprinkle volatile to bus_space(9) access functions.
2008-12-27 16:14:12 +00:00
tsutsui
d88429017d
Regen from miidevs rev 1.80:
...
> Fix a botched comment.
2008-12-27 10:39:04 +00:00
tsutsui
aa50416355
Fix a botched comment.
2008-12-27 10:38:15 +00:00
tsutsui
ff822508cf
Regen from pcidevs rev 1.971:
...
> Fix tyop in previous.
2008-12-27 10:36:09 +00:00
tsutsui
62631acb1a
Fix tyop in previous.
2008-12-27 10:35:08 +00:00
he
556cce3113
Follow up on the removal of MALLOC(), use malloc() instead.
2008-12-27 10:23:54 +00:00
jnemeth
5805e53b1d
regen for et (Agere) driver
2008-12-27 09:05:22 +00:00
jnemeth
8cb5cf0f62
PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) netowrk driver
2008-12-27 09:03:32 +00:00
jnemeth
7436f169a9
regen for et (Agere) driver
2008-12-27 08:56:50 +00:00
jnemeth
5b59b2b26d
PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) netowrk driver
2008-12-27 08:55:35 +00:00
he
ecff12ce83
Sprinkle #if NTCTRL > 0 so that this builds again without
...
warning that some static function is defined but never used.
2008-12-26 22:37:29 +00:00
macallan
efb62a12dd
move callout_init(sc->sc_tick_ch) before we're trying to callout_stop()
...
the ticker.
2008-12-26 18:51:19 +00:00
jmcneill
4fcf0eb13c
Remove pm_Heads check in msdosfs_mountfs; this value isn't really used,
...
FreeBSD and OpenBSD both removed this check years ago, and this makes an
8GB Memory Stick Pro Duo formatted with a PSP work.
2008-12-26 03:38:52 +00:00
tsutsui
3cf9bfd3aa
Set all default geometry parameters (not only secpercyl and secsize)
...
before readdisklabel(9) on DIOCGDINFO so that we can get correct
media size via the ioctl. (usually floppy doesn't have a real disklabel)
Tested on i386 with 1.44M floppy.
2008-12-24 16:56:28 +00:00
christos
7c095a5af7
provide an snprintb(3) format for status
2008-12-23 20:52:07 +00:00
cegger
269bf411e8
catch up with x86/x86/cpu.c: move from malloc to kmem
2008-12-23 20:06:16 +00:00
christos
7d7f0ed270
make this actually work.
2008-12-23 16:34:44 +00:00
christos
738294fb85
Add a convenience config file to build non-modular kernels for testing purposes.
2008-12-23 16:29:53 +00:00
cegger
deb772b2e1
move from malloc to kmem
2008-12-23 15:41:21 +00:00
cegger
713413c736
move from malloc to kmem
2008-12-23 15:31:20 +00:00
jmcneill
db842c7394
add pseudo-device drvctl
2008-12-23 13:14:22 +00:00
tsutsui
59f24f5fbc
Remove obsolete options SYSTRACE.
2008-12-23 13:04:56 +00:00
cegger
f1b926ed8b
ffs_update: sprinkle KASSERTs
2008-12-23 11:32:08 +00:00
jmorse
b400d28c38
Fix UVC webcam output by:
...
- Storing updated video format after user changes format
- Round up number of xfers queued to multiple of 8, due to ehci inefficiencies
- Remove random debugging line I slipped in earlier
2008-12-23 03:22:29 +00:00
matt
a97f53109f
Baby steps to a working driver. transmit works. receive sometimes works
...
but the h/w is doing really weird shit.
2008-12-23 02:15:10 +00:00
macallan
02142ba757
convert to wscons, while there add some missing wsdisplay drivers
2008-12-22 23:47:16 +00:00
macallan
698f27a0ae
make this compile again with NWSDISPLAY==0
2008-12-22 23:46:22 +00:00
rmind
d2fec2fc4f
sys_shmat: initialise shmid of shmmap entry earlier. Now error path,
...
i.e. shm_delete_mapping, wont use random value.
2008-12-22 13:49:17 +00:00
ad
f1ec31c6b1
Add a comment.
2008-12-22 12:18:48 +00:00
ad
0472423773
PR kern/40246 current panics when removing swap devices
...
Someone was smoking crack when they decided to unconditionally OR FSYNC_VFS
into the flags for block devices.
2008-12-22 11:46:33 +00:00
blymn
215b203640
Pay more attention to the state of the RF kill switch, such as don't
...
bring the interface up when the RF is off.
2008-12-22 11:32:04 +00:00
haad
9401ff0b03
Remove DM_TABLE_DEPS it is not used in kernel driver and it breaks build
...
of libdevmapper because it clashes with DM_TABLE_DEPS from dm-ioctl.h.
2008-12-22 02:20:04 +00:00
haad
1016f02c61
Remove done task and add new one.
2008-12-22 02:18:53 +00:00
roy
108e90401a
When removing routes automatically added, remove the flag from the associated
...
address.
When changing routes automatically addded, move the flag to the new assoicated
address.
2008-12-21 19:12:43 +00:00
roy
2e3d0e5e22
The automatic addition of a subnet route should not error if a manually
...
added route already exists. Fixes PR kern/40133.
2008-12-21 19:07:35 +00:00
he
dfe654dcfc
Follow up the removal of the MALLOC() macro, use malloc() instead.
2008-12-21 18:01:42 +00:00
cegger
beb4d1e5cc
undo turn malloc flags to enums.
...
Requested by christos.
Keep malloc flag defines in kernel section.
2008-12-21 17:49:55 +00:00
tsutsui
b33bc5602e
__inline -> inline
2008-12-21 17:43:49 +00:00
tsutsui
ba2bffa213
Tweak some comments and labels to sync with hp300.
2008-12-21 17:43:32 +00:00
tsutsui
6a29394250
Remove obsolete code for old software interrupt emulation.
...
The MI softint(9) handles it in the kernel threads nowadays.
Note "Emulation of VAX REI instruction" is still there to handle ASTs.
2008-12-21 17:42:05 +00:00