120057 Commits

Author SHA1 Message Date
imp
5e9c6ea0cd MFC: don't special case arm 2006-08-18 21:43:47 +00:00
ru
a1940e0b6c MFC: 1.54: Add FreeBSD 6.2. 2006-08-18 20:01:43 +00:00
dwmalone
7601b46861 MFC: Give the same timestamp for each packet to all BPF listeners. 2006-08-18 15:58:16 +00:00
dwmalone
0a88aea41e MFC: Avoid unwanted sign extension of indexed byte load in bpf code. 2006-08-18 15:55:27 +00:00
dwmalone
0e88827d5b MFC: Avoid changing line while processing syslog prios. 2006-08-18 15:54:13 +00:00
dwmalone
0b38d9751d Sync with -current: -e option, some typo fixes, new ICMP codes. 2006-08-18 15:52:57 +00:00
rwatson
f8c5bd6483 Merge if_tun.c:1.158 from HEAD to RELENG_6:
Add kqueue support to if_tun.  Loosely based on if_tap changes.

  Two almost identical patches based on the if_tap work were submitted
  via GNATS; I started out with the patch in 100796 from David Gilbert,
  but could have easily started with the patch from Vilmos Nebehaj which
  I found only later.

  PR:             93976, 100796
2006-08-18 14:05:17 +00:00
rwatson
672943c042 Merge vfs_lookup.c:1.92 from HEAD to RELENG_6:
We now spell "inode" as "vnode" in the VFS layer, so update comment
  for new world order.

  Pointed out by: mckusick
2006-08-18 14:03:29 +00:00
yar
21b7848c16 MFC:
Optionally pad outgoing frames to the minimum of 60 bytes (excl. FCS)
  before tagging them.  This can help to work around brain-damage in some
  switches that fail to pad a frame after untagging it if its length drops
  below the minimum.  This option is blessed by IEEE Std 802.1Q (2003 Ed.),
  paragraph C.4.4.3.b.  It's controlled by sysctl net.link.vlan.soft_pad.

	src/sys/net/if_vlan.c		rev. 1.110
	src/share/man/man4/vlan.4	rev. 1.31-1.32
2006-08-18 10:48:11 +00:00
imp
42823b9de8 MFC: at91 boot loaders 2006-08-17 22:57:08 +00:00
marcel
9f538c223f MFC: rev. 1.6 (gdb_machdep,c); 1.4 & 1.5 (gdb_machdep.h)
o  Correct PC register number
o  Implement gdb_cpu_signal() to map SIGTRAP correctly
2006-08-17 21:26:56 +00:00
marcel
04fc7a9e6d MFC rev. 1.16: Fix off-by-one. 2006-08-17 21:23:16 +00:00
jhb
f43913bbec MFC: Typo fix. 2006-08-17 19:55:35 +00:00
jhb
9701d35e4f MFC several DDB improvements including the simpler 'ps', 'show proc',
'show thread' (currently doesn't work due to a ddb bug that in 6.x
that causes 'show thread' to be treated as 'show threads'), 'show lockmgr',
'show sleepchain', 'show lockchain', 'show allchains', 'show locktree',
'show sleepq', and 'show turnstile'.
2006-08-17 19:53:06 +00:00
ru
be090b2671 MFC: amdsmb(4) and nfsmb(4). 2006-08-17 11:01:26 +00:00
cvs2svn
749428c6ce This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-08-17 10:55:50 +00:00
ru
017da17c4c MFC: Include bsd.own.mk early so existence check using ${SHAREDIR}
actually works.
2006-08-17 10:38:26 +00:00
krion
f17fa45c3c MFC: perform.c: 1.16
date: 2006/08/12 18:32:51;  author: krion;  state: Exp;  lines: +1 -1
  Fix "pkg_version -Io" coredump, if some packages have no origin at all

  PR:             bin/101932
  Submitted by:   novel, sat
2006-08-17 08:06:11 +00:00
takawata
95397b15bc Improve exception string format. Remove debug messages on notify handler.
MFC: 1.11, 1.12

PR:	100671
Submitted by:henrik at brixandersen.dk
2006-08-17 03:38:41 +00:00
sobomax
5d55962f01 MFC:
Use proper trap code for the EXC_ALI traps. This fixes SIGBUS during
  unaligned 64-bits load/stores.
2006-08-17 01:23:21 +00:00
sobomax
3cd908da50 MFC:
Remove mention of the `W' flag, which has been turned to no-op by the
  neworder change. Keep the option in a config file parser, to not
  violate POLA.
2006-08-17 01:20:36 +00:00
yongari
0935e2c9df MFC if_xl.c, 1.205 to RELENG_6:
Don't reset Tx threshold value whenever xl_init_locked() is called.
  Instead the threshould is initialized in device attach. Later the
  threshold could be increased in Tx underrun error and the new
  threshold should be used in xl_init_locked().
2006-08-17 00:13:07 +00:00
yongari
9681e88630 MFC if_xl.c, 1.204 to RELENG_6:
Make sure to check frames in Tx queue are empty before clearing
  watchdog timer.
2006-08-17 00:11:07 +00:00
yongari
e96dbe1dee MFC rgephy.c, 1.11 to RELENG_6:
Due to the poor PHY documentation from RealTek I can't sure but I
  think the RealTek PHY needs driver to set RGEPHY_BMCR_AUTOEN bit of
  RGEPHY_MII_BMCR register and proper ANAR register setting for manual
  media type selection.
  This fixes long standing manual media type selection bug in rgephy(4).
2006-08-17 00:08:26 +00:00
yongari
b8992ed382 MFC if_stge.c, 1.2 to RELENG_6:
Fix invalid reference of mbuf chains.
  Use proper pointer dereference to inform modified mbuf chains to
  caller.
2006-08-17 00:05:51 +00:00
yongari
2d876a0fd9 MFC if_sk.c, 1.130 to RELENG_6:
Fix invalid reference of mbuf chains.
  Use proper pointer dereference to inform modified mbuf chains to
  caller.
2006-08-17 00:03:58 +00:00
yongari
5e59371e39 MFC if_hme.c, 1.49 to RELENG_6:
Fix invalid reference of mbuf chains.
  Use proper pointer dereference to inform modified mbuf chains to
  caller.

  While I'm here perform checksum offload setup after loading DMA
  maps as m_defrag(9) can return new mbuf chains.
2006-08-17 00:01:09 +00:00
bruno
01602b63f8 MFC 1.13: Improve the way we'll detect video devices as per ACPI 3.0.
PR:		100271
Requested by:	john AT utzweb DOT net
Submitted by:	hrs
Reviewed by:	njl
Approved by:	njl
2006-08-16 13:51:05 +00:00
ru
66e8b3e7dc MFC: 1.73: Fix printing of integer Celsius. 2006-08-16 13:08:22 +00:00
simon
a12fc9e149 MFC 1.17-1.20:
- In addition to -b (suppress builds) add -k (suppress kernel build) and
  -w (suppress world).
- Create the diskless magic files in /etc during the install_etc()
  step instead of setup_nanobsd().
- When creating the NanoBSD disk image, install boot blocks from the
  newly-built world, in preference to those from the host system.
- 'make distribution' must be run from src, not src/etc.
2006-08-16 11:20:49 +00:00
brueffer
d600b6cae3 MFC: rev. 1.20
Convert to the standard section 4 SYNOPSIS layout.
2006-08-16 09:44:10 +00:00
maxim
cc4082734d MFC rev. 1.20: s/shmid_ds/msqid_ds/. 2006-08-16 09:38:34 +00:00
njl
5e31df241f MFC: bring resume code up to HEAD, including resume_beep and man page. 2006-08-16 04:01:49 +00:00
yar
3f58dde83d MFC rev. 1.102:
Track interface department events and detach vlans from
departing trunk so that we don't get into trouble later
by dereferencing a stale pointer to dead trunk's things.
2006-08-15 19:43:32 +00:00
alc
e063b5f9c4 MFC revision 1.225
Use NET_LOCK_GIANT() and VFS_LOCK_GIANT() instead of unconditionally
  acquiring Giant in kern_sendfile().

  Guard against the forced reclamation of a vnode in kern_sendfile().
2006-08-15 18:48:51 +00:00
alc
38efc69c89 MFC revision 1.360
Ensure that vm_object_deallocate() doesn't dereference a stale object
  pointer: When vm_object_deallocate() sleeps because of a non-zero
  paging in progress count on either object or object's shadow,
  vm_object_deallocate() must ensure that object is still the shadow's
  backing object when it reawakens.  In fact, object may have been
  deallocated while vm_object_deallocate() slept.  If so, reacquiring
  the lock on object can lead to a deadlock.
2006-08-15 17:51:02 +00:00
yar
8e510b8b7e MFC rev. 1.71, 1.72:
Guess the number of arguments to a function somewhat better.
Now GCC likes to stick a "mov %eax, %FOO" instruction before
"addl $BAR, %esp" if the function just called returns an int,
which is a very common case in the kernel.

Return -1 from db_numargs() if number of args couldn't be guessed.
Use this later to indicate in backtrace output that args shown are
uncertain.
2006-08-15 15:59:25 +00:00
phk
be032acef1 Add entry for VScom PCI-200Li
(Not quite a MFC becuase of the good work Marcel did here in -current)
2006-08-15 15:04:41 +00:00
ru
0f18ac54a1 MFC: Add forgotten -q to usage() and SYNOPSIS. 2006-08-15 12:41:10 +00:00
kientzle
a6529ebe77 MFC 1.18: Conditionally include sys/mkdev.h on platforms that need it. 2006-08-15 04:12:21 +00:00
kientzle
39e05624ad MFC 1.17: Don't let the "recursive add" check trigger if it was never set. 2006-08-15 04:04:00 +00:00
kientzle
aeb96a35d9 MFC 1.47: Remove two unused variables 2006-08-15 03:54:41 +00:00
kientzle
5c16608d6a MFC 1.26: conditionally include sys/mkdev.h on platforms that need it. 2006-08-15 03:53:50 +00:00
ru
922707845d Revert accidental setting of default WORLD_FLAGS and KERNEL_FLAGS to
unsafe values in revision 1.887.2.11 by scottl@.
2006-08-14 11:04:04 +00:00
kib
8628014adb MFC rev. 1.33:
Always supply curthread as argument to nfs_asyncio and nfs_doio
in nfs_strategy. Otherwise, for some buffers, signals would be ignored
at the intr mounts.

Reviewed by:	mohan, cel
Approved by:	pjd (mentor)
2006-08-14 09:52:24 +00:00
brueffer
38fb0a2731 MFC: rev. 1.10 + 1.11
Indentation fixes
2006-08-14 05:07:18 +00:00
mr
59cda88043 Backout MFC 1.45 for now to get the kernel compilable again. 2006-08-13 11:01:57 +00:00
yar
cb8a8edaa8 MFC the most visible bits of the corrections by Darren Pilgrim:
src/games/fortune/datfiles/fortunes		1.224
	src/lib/libc/sys/kse.2				1.18
	src/share/doc/papers/timecounter/timecounter.ms	1.4
	src/share/man/man4/devctl.4			1.5
2006-08-12 20:30:10 +00:00
yar
43cc84ae19 MFC r1.19:
- Improve and extend mark-up.
  - Don't use full path in .Nm (we just don't do that).
  - Correct some frivolous and poorly rendering language,
    such as using possessive case for .Nm or .Fl .
  - Use the same capitalization for "user ID" as in setuid(2) and getuid(2).
  - Bring SEE ALSO in accord with the text.
2006-08-12 18:31:56 +00:00
njl
27d0adc930 MFC: man page updates 2006-08-12 00:55:49 +00:00