Commit Graph

176254 Commits

Author SHA1 Message Date
christos
6127c68e1c cast dev_t's to int32_t because XXX: sysctl can't change size. This should
be not a problem since tty's live in the low part of the dev range.
2008-12-28 19:46:47 +00:00
christos
ab515b681b fix dev_t formats. 2008-12-28 19:36:30 +00:00
christos
6be0c3f194 fix time_t and dev_t formats 2008-12-28 19:35:12 +00:00
christos
909ffa3267 prepare for 64 bit dev_t 2008-12-28 19:30:33 +00:00
christos
0e48247bcf back out previous, and do it the better way. 2008-12-28 18:38:27 +00:00
christos
3ff2f379f6 In the "tool" case, pretend we don't have futimes because there is no visible
prototype for futimes without _NETBSD_SOURCE being defined. When we will do
a __RENAME() in futimes this will not work. XXX: This is a hack, better ideas
welcome.
2008-12-28 18:34:58 +00:00
christos
644d31b987 if mtime == 0, make it 1 because the code expects 0 time to mean that the
file does not exist
2008-12-28 18:32:54 +00:00
christos
266b18d880 prepare for time_t 64 2008-12-28 18:31:51 +00:00
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
6ed7894fd9 note gcscaudio(4) addition 2008-12-28 15:23: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
ad
ebaaa8cf7a Some things to do on major bump. 2008-12-28 11:01:58 +00:00
ad
12c911ef99 Add more items for major bump. 2008-12-28 10:59:20 +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
christos
0001b92828 rename nv_int -> nv_num and make it long long, so that dev_t will fit when
we change it.
2008-12-28 01:23:46 +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
wiz
b52bc84da9 Sort errors. 2008-12-26 21:02:28 +00:00
hannken
7586bc881e Make restore work for Linux dump volumes by ignoring extended attribute
records on these volumes.  Tested with Centos 5.2.

Reviewed by: Manuel Bouyer <bouyer@netbsd.org>
2008-12-26 19:26:04 +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
a2f8108745 The kernel now accepts BPB with heads > 255, so don't limit the number
of drive heads.
2008-12-26 04:23:17 +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
christos
09799eeb1f add pw_getpwconf 2008-12-26 00:52:45 +00:00
christos
16338b1c19 document pw_getpwconf. 2008-12-26 00:49:28 +00:00
jmmv
dc96dedd00 Install the Cards file used by xorgconfig. 2008-12-25 12:45:56 +00:00
ghen
349ed9999e Add X.org support for the Colemak keyboard layout, see http://colemak.com
(it's been included in upstream xkeyboard-config, but not in xkbdata).
2008-12-25 12:12:17 +00:00
christos
aa3382cd31 remove sin{6,}_len linux does not have it. From Timo Teras. 2008-12-24 20:20:52 +00:00
christos
6c532322d2 I was wrong. addr is actually set. 2008-12-24 19:05:48 +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
16b17fbeab - make this compile by zeroing out the whole structure not just bogus fields.
- set length field of sockets appropriately.
- mark bogus no-op code (I don't understand what the author intended here).
2008-12-24 15:25:44 +00:00
pgoyette
16866faca8 Remove duplicate entry for 7x13.pcf.gz 2008-12-24 15:04:19 +00:00
haad
7f1b6ba871 Link with -ledit, too so we can use readline support which is used for
lvm shell.
2008-12-24 02:11:53 +00:00
haad
3660eb0b59 Enable readline support which is defined by editline in the NetBSD. 2008-12-24 02:10:56 +00:00
dsl
e4be9d4f2c Treat '\\' as a possible terminator for a loop control variable.
(Typically an escaped \: of a nested modifier.)
2008-12-23 21:56:38 +00:00