Commit Graph

172303 Commits

Author SHA1 Message Date
rtr
bb55518a93 crib modeline2c.awk from pkgsrc from Joerg Sonnenberger
- based on Perl script by Dirk Hohndel.
2008-08-09 01:22:08 +00:00
rtr
a026a85889 don't build .S versions right now. xorg auto<foo> doesn't build them
either as far as I can tell.  the .S versions don't even seem to have
the syms we need anyway
2008-08-09 01:18:20 +00:00
rtr
ecfa5502bd add some more libs we need for linking and running Xorg server 2008-08-09 01:16:39 +00:00
rtr
5e015a6a13 rename some directories and fix up the libs they produce so the goo in
Makefile.Xserver works building LDADD.foo
2008-08-09 01:15:19 +00:00
wiz
36539584db Fix Dd argument and remove superfluous empty line. 2008-08-08 22:48:24 +00:00
reinoud
b887c39003 Remove the need for the kernel option UDF_READWRITE to be able to write to
discs since writing is mature enough.
2008-08-08 18:25:56 +00:00
reinoud
40cac362ad Update the mount_udf(8) manpage to include the write support. 2008-08-08 18:22:01 +00:00
skrll
9a6d9381d2 Improve a comment. 2008-08-08 17:23:19 +00:00
skrll
5b8384a912 typo 2008-08-08 17:14:38 +00:00
skrll
39ccd97ff0 Note show uvmhist.
Bump date.
2008-08-08 17:14:09 +00:00
skrll
3ceaf8f8e4 Make "show uvmhist" available to all arches (not just sparc*) in ddb. 2008-08-08 17:09:28 +00:00
pooka
69b613ef54 exec file server via sh -c to get the benefit of PATH search. 2008-08-08 16:59:02 +00:00
skrll
e7901782b3 Comment whitespace. 2008-08-08 16:58:01 +00:00
christos
f6e1114503 Fix broken setitimer(). (Sverre Froyen) 2008-08-08 16:44:52 +00:00
bjs
91b72f6613 'if (error = 0)' -> 'if (error == 0)' 2008-08-08 16:21:44 +00:00
drochner
432ec04420 if initscr() fails, exit with a message rather than crash in the
next curses call
2008-08-08 16:10:47 +00:00
tsutsui
4578c8e434 Misc cosmetics:
- some KNF and ANSIfy
- use uintNN_t types
- remove a redundant declaration
- use __func__ to print a function name
- use PRIu64 to print uint64_t
- wrap long lines
2008-08-08 16:05:47 +00:00
tsutsui
42d0c1b9d0 Bump BOOTINFO_MAGIC to prevent old kernels (including netbsd-4) crashing
when bootinfo data is passed from newer bootloaders.

Note old bootloaders can still load newer kernels.
2008-08-08 15:07:52 +00:00
skrll
d25ea6c235 g/c exec_map 2008-08-08 14:41:50 +00:00
pooka
96a0d293a7 Don't create a new proc structure for kthreads (pid == 0).
XXX: this routine should probably do better accounting and consistency
checks as well.
2008-08-08 14:40:07 +00:00
martin
3c5d438020 Apply patch from Yasuoka Masahiko in PR kern/39321: fix length check
when parsing pppoe discovery phase packets.
2008-08-08 14:31:00 +00:00
pooka
44053cbe13 Avoid pid 0
XXX: pid allocation should not be done here.
2008-08-08 14:16:24 +00:00
hauke
9588641dc1 No WAPBL (ffs journaling) for memory-strapped machines. 2008-08-08 13:59:24 +00:00
pooka
0fca7fa92c minor nit: fix header #ifndef namespacing 2008-08-08 13:57:59 +00:00
pooka
3ad5d8db21 KASSERT works better with == instead of = 2008-08-08 13:02:10 +00:00
hannken
b05e82aae1 Make the console on com0 detection work again. 2008-08-08 09:50:19 +00:00
simonb
c86b901a9e Don't run off the end of the bootconf.desc[] array when printing out
the boot menu choices.  Fixes problems with funny display when MAXMENU
or more "menu" items are in /boot.cfg.
2008-08-08 07:48:32 +00:00
apb
553ee2109e Don't bomb if we can't detect the top level obj directory name.
Apparently there are things you can do in the environment or mk.conf
to set your object directory in a way that the previous code couldn't
detect.  (This is an interim measure until we can properly detect and
create the top level object directory in all cases.)
2008-08-08 07:30:42 +00:00
uebayasi
714c16bc3e ttywrite: g/c an unused variable (cnt). 2008-08-08 07:18:03 +00:00
hannken
e553a8ce92 Remove an unneeded include to make it compile again. 2008-08-08 06:29:21 +00:00
dogcow
1b552055c3 %d -> %zd for size_t 2008-08-08 06:26:58 +00:00
dogcow
8b3b4956d6 fix "warning: 'npv' may be used uninitialized in this function" 2008-08-08 06:21:09 +00:00
simonb
0885333839 Allow the "log" option to be chosen for filesystems. Move "log"
and "softdep" to top of menu to chose filesystem options.
2008-08-08 02:54:06 +00:00
oster
ef887ad15c Since we're printing loc2 and loc3, make the headings match what we print.
Spotted by Paul Goyette on current-users.
2008-08-07 22:26:14 +00:00
pooka
a1e2d21c3e pg->flags &= PG_CLEAN --> &= ~PG_CLEAN;
Fixes at least writing to the fs for msdosfs.
2008-08-07 21:02:29 +00:00
plunky
772d60cfb9 convert some [left behind] compat code to use new sockopt API 2008-08-07 20:15:32 +00:00
reinoud
c3d5fdb471 Don't panic on read-errors but set flag that the packet is doomed. Its not
clear if i could read the individual sectors correctly since the entire
read packet is also one big ECC block.
2008-08-07 15:54:12 +00:00
tsutsui
c1e7fb3d43 Comment out options MACE_NEEDS_DELAYS.
Fixed mec(4) driver will (hopefully) work without it.
2008-08-07 15:14:40 +00:00
tsutsui
792cb95ad3 - check TX_RING pointer in MEC_INT_STATUS in mec_rxintr() (from OpenBSD)
- preserve the last TX descriptor to avoid wraparound (as per Linux driver)
- check IFQ_IS_EMPTY() on calling mec_start() in mec_intr()
- clear IFF_OACTIVE only if a number of descriptors are freed in mec_txintr()

Seems to fix mec(4) hangup problem (and silent reboot by crime watchdog)
on heavy load.  Tested by martin@ and Jorge Acereda Macia on port-sgimips.
(though Jorge still has some problem, but this should have fixed one issue)
2008-08-07 15:05:02 +00:00
tsutsui
a311d7b2e9 In crime_attach(), call crime_watchdog_disable() rather than
writing zero to the CRIME registers implicitly.
2008-08-07 14:44:29 +00:00
tsutsui
e1beb9f83b Fix a typo so that the crimedog is actually shut up. 2008-08-07 14:36:49 +00:00
pooka
3d8b145f98 some more todo points 2008-08-07 11:15:20 +00:00
skrll
371a852414 memcpy'ing a sleepq (TAILQ) doesn't work.
Re-init the condvar after memcpy'ing so that the TAILQ is valid.

regress/sys/kern/lockf now completes rather than failing in cv_wait_sig
with KASSERT(cv_has_waiters()).
2008-08-07 07:42:06 +00:00
mrg
22e7e15fc7 list most of the correct libs/depends. not so many link errors now. 2008-08-07 06:37:20 +00:00
cegger
bbae282081 make this compile as proposed by dholland@ 2008-08-07 06:20:14 +00:00
matt
8f5842cc04 Use IF32_bits instead of I32_bit | F32_bit 2008-08-07 04:18:21 +00:00
matt
a960a1f973 Commit missing part of __HAVE_FAST_SOFTINTS support. 2008-08-07 04:17:25 +00:00
matt
8ce4fe62cc Remove unneeded cast. 2008-08-07 04:16:26 +00:00
matt
188b29fdf8 Now that pmap allocates ncolors for memhook, use them to properly memory. 2008-08-07 04:15:52 +00:00
matt
d80307c31b Only call dosoftints() is ci_intr_depth == 0 2008-08-07 04:11:07 +00:00