Commit Graph

142075 Commits

Author SHA1 Message Date
martti
ecde67984b Define INET6 only if ${USE_INET6} != "no" 2005-12-28 11:58:23 +00:00
martti
e2030cd2f7 Define INET and INET6 or things break when linking in fil.o (hi christos!) 2005-12-28 11:54:45 +00:00
christos
7f94fc6d62 PR/25605: Frank Kardel: getty leaves ttymodes at read login state when
exec-ing pppd. Fixed as suggested.
2005-12-28 09:43:05 +00:00
christos
97dec287fc make the kernel link without options INET.
XXX: this is of dubious use.
2005-12-28 09:29:48 +00:00
christos
5994b27932 compile with no options INET 2005-12-28 09:18:46 +00:00
christos
3b45b5fde4 We don't have access to in_cksum() if no INET. 2005-12-28 09:15:32 +00:00
skrll
227a982c5d More ro src breakage. 2005-12-28 09:10:26 +00:00
christos
fffd2322a9 make this compile with no INET option 2005-12-28 09:08:20 +00:00
christos
08e11b2039 make this compile with no INET options. 2005-12-28 09:05:54 +00:00
skrll
684a2bc8e2 Don't try and create/cleanup symlinks before objdirs are created.
Doesn't everyone use ro src?
2005-12-28 08:44:27 +00:00
kurahone
3a97f79ed6 Added support for the IP22 IOC's parallel port (PI1).
Code contributed by Joe Britt.

Reviewed by <sekiya> and <kurahone>.
2005-12-28 08:31:09 +00:00
christos
cab48fd783 PR/5901: Felix A. Croes: PPP fast queue blocks traffic at normal priority.
Applied fix, similar to the one suggested in the PR. We use a counter to
limit the number of consecutive packets accepted from the fast queue. This
number can be set via ioctl, but this has not been implemented. Since there
are only 2 queues other proposed solutions such as ALTQ are overkill and
they have not been implemented in the past 7 years. Now LCP echos can be
used to detect that the line is up.
2005-12-28 08:13:24 +00:00
skrll
504686f15c Don't try and create/cleanup symlinks before objdirs are created.
Doesn't everyone use ro src?
2005-12-28 08:04:44 +00:00
christos
5de69f0012 fix compilation on LP64 machines. 2005-12-28 06:03:15 +00:00
dbj
ab8cc62009 add missing quote in subshell invocation.
bash complains without it.
2005-12-28 03:54:07 +00:00
he
4c57d328c8 Make this build again by using ${S}/../common/lib/libc/Makefile.inc,
after the libc/libkern consolidation.
2005-12-27 23:20:50 +00:00
reinoud
d1e514c58e Fix obvious typo in the man page of mount_cd9660:
-The behaviour is cotrollable by the
+The behaviour is controllable by the
2005-12-27 17:40:49 +00:00
chs
074111feef use panic() instead of cpu_reboot() for unhandled kernel traps. 2005-12-27 17:28:27 +00:00
chs
599510004a use %z when printing a sizeof. 2005-12-27 17:25:41 +00:00
chs
89a8f7b8c9 change errors returned for various operations on "/" to conform to SUSv3.
as discussed on tech-kern some time back.
2005-12-27 17:24:07 +00:00
perry
e67ad767f5 inline -> __inline for selected things (specifically, the header
file is POSIX visible and the usage isn't #ifdef _KERNEL)

Discussed with core. I may need to go farther than this but for now
compilations done with gcc -ansi (i.e. firefox) will be okay.
2005-12-27 17:21:28 +00:00
chs
6cb72218d4 switch macppc to use the MI zstty driver.
add macppc's ZS_TXDMA hooks there.
2005-12-27 17:20:54 +00:00
jmmv
d9585f8d92 Improve a comment in the patch I sent (handle DM6 DDO partition) based
on hubertf@'s comments.  Hmm...  I didn't even notice this was already
committed.
2005-12-27 15:45:09 +00:00
jmmv
025f48088b Note the addition of the -s option to mbrlabel(8). 2005-12-27 15:38:51 +00:00
jmmv
fbb8b4076f Add an option (-s) to specify which sector to read to parse the partition
table.  Useful if the disk has remapping drivers installed into it (such as
Ontrack Disk Manager).

Added as an option instead of automatic behavior to let the user scan any
of the two partition tables at will.
2005-12-27 15:37:56 +00:00
martti
8e96d77b7b ipf 4.1.10 2005-12-27 15:24:55 +00:00
martti
10f294ab64 Make the list of files more readable (so it's easier to add and remove files). 2005-12-27 15:23:28 +00:00
martti
ac29c41761 Removed ip_rules.c and ip_rules.h 2005-12-27 15:19:38 +00:00
hubertf
cfc5c5528b Xref newfs_msdos, noted by rabioli on Freenode #NetBSD 2005-12-27 14:49:28 +00:00
he
daa2326eba Make this build again after the libc/libkern consolidation by referring
to common/lib/libc/Makefile.inc via ${S}/..

Add use of ashrdi3.c inet_addr.c strncpy.c strlen.c, from common/lib.
2005-12-27 12:38:53 +00:00
he
7675f83375 Make this build again after the libc/libkern consolidation by referring
to common/lib/libc/Makefile.inc via ${S}/../
2005-12-27 12:29:05 +00:00
yamt
87a5de2d3d add rcsid. 2005-12-27 11:29:30 +00:00
tsutsui
d5f01723d6 Don't redefine _LOCORE if it's already defined.
Some Makefiles for standalone programs already have it.

XXX Old src/sys/lib/libkern/arch/mips/memcpy.S had some #ifdef MIPS3_5900
XXX which added some extra nops, but this new common bcopy.S doesn't.
2005-12-27 11:23:53 +00:00
yamt
1c535f7467 sacom_attach_subr: don't try to initialize a lock which doesn't exist. 2005-12-27 11:10:06 +00:00
yamt
a30f264f2a don't rename bswap{16,32} if defined(_KERNEL) || defined(_STANDALONE).
(they are hidden by gcc-optimized versions, though.)
2005-12-27 09:38:11 +00:00
yamt
987ddf0a22 make alpha kernel buildable again.
don't add __ prefix to bswap{16,32}
if defined(_KERNEL) || defined(_STANDALONE).
2005-12-27 09:22:08 +00:00
yamt
43308ea339 fix build of bzero.
XXX is it better to remove it as i386?
2005-12-27 08:49:35 +00:00
yamt
1722e429b8 lack of COMMON_ARCHDIR is not fatal. 2005-12-27 08:43:05 +00:00
yamt
bdaa56955a print a meaningful error rather than "Need an operator". 2005-12-27 07:31:45 +00:00
yamt
7ee50ca690 cpu_exec_aout_makecmds: make this compilable after ktrace-lwp merge. 2005-12-27 07:25:57 +00:00
chs
0545b6e0cb changes for making DIAGNOSTIC not change the kernel ABI:
- for structure fields that are conditionally present,
   make those fields always present.
 - for functions which are conditionally inline, make them never inline.
 - remove some other functions which are conditionally defined but
   don't actually do anything anymore.
 - make a lock-debugging function conditional on only LOCKDEBUG.

as discussed on tech-kern some time back.
2005-12-27 04:06:45 +00:00
ross
0d8bcff6f5 Fix typo inside PPC_OEA64 2005-12-27 02:19:27 +00:00
chs
33d70de438 remove the COM_MPLOCK option. always include the spinlock in the softc
and always call the simple_* locking functions.  the locking functions
are compiled out if they are not needed anyway, so a separate option
for this doesn't gain anything.

this also fixes the serial console on my alpha ES40 (which doesn't make much
sense since the com driver should still be under the big lock on alpha,
but whatever).
2005-12-27 00:46:38 +00:00
cube
16b23e6e66 More ktrace-lwp merge fallout: netbsd_elf32_signature's prototype has
changed.  Too bad C doesn't have signatures in symbols.

Fixes PR#32388 by Nicolas Joly.
2005-12-27 00:36:00 +00:00
chs
688c44a9a0 hold kernel_lock while calling printf() in scdebug_*. 2005-12-27 00:28:08 +00:00
chs
36bb975558 hold kernel_lock while calling systrace_exit().
fixes PR 25856.
2005-12-27 00:27:34 +00:00
chs
0c8753dfd8 in systrace_make_msg(), sleep uninterruptibly while waiting for
the response from the systrace daemon, so that the message protocol
between the kernel and the daemon doesn't get out of sync.
fixes PR 29654.
2005-12-27 00:26:58 +00:00
yamt
3e450009f4 socreate: fix a null dereference on nfs reconnect, introduced by ktrace-lwp. 2005-12-27 00:00:29 +00:00
perry
7f9541e925 u_intN_t -> uintN_t
Someone really should update this whole document to reflect current
reality. It is valuable but very, very old.
2005-12-26 20:04:46 +00:00
perry
e1834435d5 note the intN_t, uintN_t types.
XXX this document is rather musty. It needs a general update.
2005-12-26 20:00:04 +00:00