]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoMFC: less 3.9.4
delphij [Tue, 29 Aug 2006 18:36:51 +0000 (18:36 +0000)]
MFC: less 3.9.4

17 years agoMFC: 1.25: Add an example of how to set up a 3-wire serial terminal.
ru [Tue, 29 Aug 2006 16:31:11 +0000 (16:31 +0000)]
MFC: 1.25: Add an example of how to set up a 3-wire serial terminal.

17 years agoMFC:
emax [Mon, 28 Aug 2006 16:44:06 +0000 (16:44 +0000)]
MFC:

Define mtu as u_int16_t not as int. This should fix problem with rfcomm
on sparc64.

Reported by: Andrew Belashov <bel at orel dot ru>
Tested by: Andrew Belashov <bel at orel dot ru>

17 years agoMFC: Make use of stoppcbs[] for running threads.
jhb [Mon, 28 Aug 2006 15:02:57 +0000 (15:02 +0000)]
MFC: Make use of stoppcbs[] for running threads.

17 years agoMFC: Remove special handling for PC == 0.
jhb [Mon, 28 Aug 2006 15:02:27 +0000 (15:02 +0000)]
MFC: Remove special handling for PC == 0.

17 years agoMFC: rev. 1.169 (applicable parts)
brueffer [Mon, 28 Aug 2006 09:10:46 +0000 (09:10 +0000)]
MFC: rev. 1.169 (applicable parts)

Add several missing NIC drivers, remove an obsolete one (ix).

Approved by: rwatson (mentor)

17 years agoMFC 1.21:
simon [Mon, 28 Aug 2006 08:46:49 +0000 (08:46 +0000)]
MFC 1.21:

Move the setup of "diskless" /etc magic files from install_etc() to a
separate function which is called right after install_etc().

17 years agoMFC: Install scripts laundry.
ru [Mon, 28 Aug 2006 08:16:06 +0000 (08:16 +0000)]
MFC: Install scripts laundry.

17 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_6'.
cvs2svn [Mon, 28 Aug 2006 08:13:57 +0000 (08:13 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.

17 years agoMFC r1.218
thompsa [Mon, 28 Aug 2006 02:54:14 +0000 (02:54 +0000)]
MFC r1.218
 Move the bridge hook after the loopback check so that IFF_SIMPLEX is honoured
 on member interfaces.

17 years agoMFC r1.79
thompsa [Mon, 28 Aug 2006 02:53:22 +0000 (02:53 +0000)]
MFC r1.79
 The bridge cant hear its own transmissions so set IFF_SIMPLEX.

17 years agoMFC: 1.10
marius [Sun, 27 Aug 2006 12:42:55 +0000 (12:42 +0000)]
MFC: 1.10

Remove the DPMS code in creator_blank_display().

17 years agoMFC:
marck [Sun, 27 Aug 2006 07:58:20 +0000 (07:58 +0000)]
MFC:

  Remove config(8)'s knowledge about NMBCLUSTERS, no code in /sys
  knows about it any more.

  Remove references to NMBCLUSTERS which is obsoleted.

  PR:             100427

  Revision  Changes    Path
  1.1373    +1 -4      src/sys/conf/NOTES
  1.552     +0 -1      src/sys/conf/options
  1.42      +1 -1      src/sys/boot/common/help.common
  1.86      +2 -4      src/sys/boot/common/loader.8

17 years agoMFC: amdsmb(4), nfsmb(4), bpf(4) timestamp change, logger(1) -P,
bmah [Sat, 26 Aug 2006 14:09:54 +0000 (14:09 +0000)]
MFC:  amdsmb(4), nfsmb(4), bpf(4) timestamp change, logger(1) -P,
traceroute(8) -e, traceroute(8) complete ICMP unreachable message
decoding.

17 years agoMFC:
brueffer [Sat, 26 Aug 2006 11:32:52 +0000 (11:32 +0000)]
MFC:

- em(4) updated to version 6.1.4
- stge(4) added

17 years agoMFC rev. 1.42: Undefine __DATE__ in order to avoid placing a build
cperciva [Sat, 26 Aug 2006 11:30:24 +0000 (11:30 +0000)]
MFC rev. 1.42:  Undefine __DATE__ in order to avoid placing a build
timestamp into /usr/sbin/{named, lwresd}.

17 years agoMFC 1.64: If rawname returns NULL, deal with it appropriately.
mjacob [Fri, 25 Aug 2006 17:11:04 +0000 (17:11 +0000)]
MFC 1.64: If rawname returns NULL, deal with it appropriately.

17 years agoMFC: Add identifier for the Epson CX3650 all-in-one scanner function.
bms [Fri, 25 Aug 2006 13:01:33 +0000 (13:01 +0000)]
MFC: Add identifier for the Epson CX3650 all-in-one scanner function.
This enables the scanner function on these devices to be detected
and probed by uscanner(4), but only when ulpt is not loaded.

PR: usb/92462

17 years agoMFC: Block a variety of signals which may affect reboot(8), before killing
bms [Fri, 25 Aug 2006 12:55:50 +0000 (12:55 +0000)]
MFC: Block a variety of signals which may affect reboot(8), before killing
init(8), to avoid losing a race to them and dying before being able
to call reboot(2).

PR: bin/64664
Submitted by: maxim
Obtained from: NetBSD

17 years agoMFC: Add a new command-line option, -P, which allows the user to specify
bms [Fri, 25 Aug 2006 12:47:58 +0000 (12:47 +0000)]
MFC: Add a new command-line option, -P, which allows the user to specify
an arbitrary port to which syslog messages are to be sent.

PR: bin/54026

17 years agoMerge a bunch of changes from HEAD. The most significant are:
glebius [Fri, 25 Aug 2006 12:38:27 +0000 (12:38 +0000)]
Merge a bunch of changes from HEAD. The most significant are:

- 6.1.4 driver merge
- Fix RX path under mbuf shortage conditions
- Fix TX path under mbuf shortage conditions

17 years agoMFC: Fix a signedness bug.
cperciva [Fri, 25 Aug 2006 12:36:54 +0000 (12:36 +0000)]
MFC: Fix a signedness bug.

Security: Local DoS

17 years agoMFC: 1.50: Fix path to a file in an example.
ru [Fri, 25 Aug 2006 08:38:48 +0000 (08:38 +0000)]
MFC: 1.50: Fix path to a file in an example.

17 years agoMFC: Add ypserv to the REQUIRE list.
flz [Fri, 25 Aug 2006 00:34:49 +0000 (00:34 +0000)]
MFC: Add ypserv to the REQUIRE list.

      src/etc/rc.d/ypxfrd: rev 1.6 -> 1.7

Reported by: David Thompson <dat1965@yahoo.com>
Discussed on: -rc (brooks)

17 years agoMFC: Xbox support, IPFIREWALL_FORWARD_EXTENDED removed (behavior
bmah [Thu, 24 Aug 2006 14:47:33 +0000 (14:47 +0000)]
MFC:  Xbox support, IPFIREWALL_FORWARD_EXTENDED removed (behavior
enabled by default), IPFilter 4.1.13.

17 years agoFix build breakage.
glebius [Thu, 24 Aug 2006 14:06:59 +0000 (14:06 +0000)]
Fix build breakage.

17 years agoAdd missing file from MFC
guido [Thu, 24 Aug 2006 13:31:32 +0000 (13:31 +0000)]
Add missing file from MFC

17 years agoMFC: -j 1.10 -j 1.13
rik [Thu, 24 Aug 2006 11:17:48 +0000 (11:17 +0000)]
MFC: -j 1.10 -j 1.13

  ----------------------------
  revision 1.13
  date: 2006/08/23 23:51:29;  author: rik;  state: Exp;  lines: +1 -1
  Fix path for source file in files.FOO.
  ----------------------------
  revision 1.12
  date: 2006/08/09 21:23:42;  author: rik;  state: Exp;  lines: +122 -22
  - Added ability to provide (optional) path to the kernel sources
  - Added check of dirs used by example generator
  - Fixed path for ${s}/conf/files.FOO and include it via files
    directive from config file
  - Changed kernel configuration example with the driver: it is
    not produced by copying Generic but by including it
  - KDB is added to config (for DDB)
  - Added module building instead and fixed kernel building

  Reviewed by:  julian@
  ----------------------------
  revision 1.11
  date: 2006/08/09 20:57:24;  author: rik;  state: Exp;  lines: +57 -32
  Added copyright templete
  Fixed compilation

  Reviewed by:  julian@
  ----------------------------

Requested by: yar@

17 years agoMFC: -j 1.21 -j 1.24
rik [Thu, 24 Aug 2006 11:13:30 +0000 (11:13 +0000)]
MFC: -j 1.21 -j 1.24

  ----------------------------
  revision 1.24
  date: 2006/08/09 10:53:26;  author: rik;  state: Exp;  lines: +24 -3
  - Added 'files "files.FOO"' to config for inclusion of user specific files.
  - Added KDB option to config file (for DDB).
  - Added ability to compile custom kernel.

  Discussed with: julian@
  ----------------------------
  revision 1.23
  date: 2006/08/06 11:06:35;  author: rik;  state: Exp;  lines: +32 -19
  - Added ability to provide (optional) path to the kernel sources
  - Fixed path for ${s}/conf/files.FOO and a note that it should be merged into
    corresponding file to be able to compile the kernel
  - Changed kernel configuration example with the driver: it is not produced by
    copying Generic but by including it
  - Changed from automatic module building to asking an user if it whants to

  Reviewed by:    julian@
  ----------------------------
  revision 1.22
  date: 2006/08/06 11:04:22;  author: rik;  state: Exp;  lines: +9 -12
  Fix compilation.

  Reviewed by:    julian@
  ----------------------------

Requested by: yar@

17 years agoMFC rev 1.65:
yar [Thu, 24 Aug 2006 10:32:40 +0000 (10:32 +0000)]
MFC rev 1.65:

  Allow for setting negative priority (niceness) when $foo_user is non-root.
  The order in _doit must be "nice su", not "su nice", for that.
  In addition, don't ignore the exit status from "cd $foo_chdir".

17 years agoMFC rev.1.14:
kib [Thu, 24 Aug 2006 10:16:01 +0000 (10:16 +0000)]
MFC rev.1.14:
Note that LK_UPGRADE may drop the shared lock before taking the
exclusive one.

Reviewed and edited by: tegge
Approved by: pjd (mentor)

17 years agoMFC: ipfilter 4.1.13
guido [Thu, 24 Aug 2006 07:37:12 +0000 (07:37 +0000)]
MFC: ipfilter 4.1.13

17 years agoMFC: Remove IPFIREWALL_FORWARD_EXTENDED as an option.
julian [Thu, 24 Aug 2006 05:40:16 +0000 (05:40 +0000)]
MFC: Remove IPFIREWALL_FORWARD_EXTENDED as an option.
Allow that behaviour by default.
Reviewed by: glebius

17 years agoCorrect buffer overflow in the handling of LCP options in ppp(4)
cperciva [Wed, 23 Aug 2006 22:06:08 +0000 (22:06 +0000)]
Correct buffer overflow in the handling of LCP options in ppp(4)

Security: FreeBSD-SA-06:18.ppp

17 years agoMFC revs 1.20 and 1.21 to RELENG_6:
thomas [Wed, 23 Aug 2006 17:24:30 +0000 (17:24 +0000)]
MFC revs 1.20 and 1.21 to RELENG_6:
* Use setproctitle(3) to provide identification of the client and server
  processes
* style fix of above.

17 years agoMFC: FreeBSD/xbox.
rink [Wed, 23 Aug 2006 16:28:03 +0000 (16:28 +0000)]
MFC: FreeBSD/xbox.

Added files missed during the import.

Reminded by: ?yvind Kolbu <oyvind@kolbu.ws>
Reviewed by: imp
Approved by: imp

17 years agoMFC rev. 1.74 to RELENG_6:
thomas [Wed, 23 Aug 2006 12:42:22 +0000 (12:42 +0000)]
MFC rev. 1.74 to RELENG_6:
Clarify documentation of '-L' command line switch.

17 years agosendmail has been upgraded from 8.13.6 to 8.13.8
gshapiro [Wed, 23 Aug 2006 03:48:05 +0000 (03:48 +0000)]
sendmail has been upgraded from 8.13.6 to 8.13.8

17 years agoForced commit to .mc files to force creation of new .cf files for mergemaster.
gshapiro [Wed, 23 Aug 2006 03:40:18 +0000 (03:40 +0000)]
Forced commit to .mc files to force creation of new .cf files for mergemaster.

17 years agoMFC: sendmail 8.13.8
gshapiro [Wed, 23 Aug 2006 03:39:12 +0000 (03:39 +0000)]
MFC: sendmail 8.13.8

17 years agoMFC: sync /etc/network.subr and /etc/pccard_ether and their defaults
brooks [Tue, 22 Aug 2006 19:41:49 +0000 (19:41 +0000)]
MFC: sync /etc/network.subr and /etc/pccard_ether and their defaults
with HEAD.  Key changes include:
 - Support a limited set of punctuation in interface names ".-/+" by
   converting them to '_' before looking up interface variables.
 - Don't flush routes by default when an interface is removed.
 - Don't generate unnecessicary noise on startup when interfaces are
   renamed.

PR:   conf/92433

17 years agoMFC: FreeBSD/xbox support, as per the patch posted to arch@
rink [Tue, 22 Aug 2006 16:52:42 +0000 (16:52 +0000)]
MFC: FreeBSD/xbox support, as per the patch posted to arch@

A kernel with 'options XBOX' will be bootable on a Microsoft Xbox (it will do
nothing extra if booted on a non-xbox i386)

The /sys/i386/conf/XBOX kernel configuration file contains a kernel with
support for all XBOX peripherals.

Approved by: imp (mentor)
Reviewed by: arch@ (no objection)

17 years ago- Sync comment and variable names fixes with HEAD (removed accidentally two
flz [Tue, 22 Aug 2006 12:14:57 +0000 (12:14 +0000)]
- Sync comment and variable names fixes with HEAD (removed accidentally two
months ago during backout).

Approved by: cperciva (mentor)

17 years agoMFC rev. 1.97:
kib [Tue, 22 Aug 2006 11:04:01 +0000 (11:04 +0000)]
MFC rev. 1.97:
Lock the vnode around the call to VOP_GETATTR. Move the locked code
and vn_fullpath (that call malloc(..., M_WAITOK)) from under the
vm object lock, since sleep is not allowed while holding the mutex.

Being there, wrap VOP_GETATTR call with conditional Giant aquire.
Currently this is (almost) noop because pseudofs is Giant-locked.

Approved by: pjd (mentor)

17 years agoMFC revs 1.87, 1.88:
yar [Tue, 22 Aug 2006 08:25:17 +0000 (08:25 +0000)]
MFC revs 1.87, 1.88:

A column title, =foo, can only be at the end of the argument to -o.
Multiple column titles can be changed with the same number of -o's.

17 years agoMFC: ich.c, 1.67 to RELENG_6:
yongari [Tue, 22 Aug 2006 02:37:03 +0000 (02:37 +0000)]
MFC: ich.c, 1.67 to RELENG_6:
 Add inverted amplifier sense quirks for Compaq Presario B3800

17 years agoMFC r1.76 - 1.78
thompsa [Tue, 22 Aug 2006 00:26:41 +0000 (00:26 +0000)]
MFC r1.76 - 1.78

 - Call bridge_span before dropping the lock
 - Tidy up unneeded lock asserts

17 years agoSync with -current:
dwmalone [Mon, 21 Aug 2006 15:59:48 +0000 (15:59 +0000)]
Sync with -current:

- allow matching on subject: ranges of uid, ranges of gid, jail id
  and object: ranges of uid, ranges of gid, filesystem, object is
  suid, object is sgid, object matches subject uid/gid, object type.

This involves an ABI change between the kernel module and libugidfw,
but no change between applications and ugidfw.

17 years agoMFC:
flz [Mon, 21 Aug 2006 15:06:38 +0000 (15:06 +0000)]
MFC:

  Add two new scripts (mdconfig/mdconfig2) to replace old ramdisk{,-own}
  scripts. These scripts handle vnode backed md(4) devices.

  Two new variables have been introduced to be able to populate the md(4)
  device once it has been mounted (mdconfig_*_files and mdconfig_*_cmd).

  Use should be as easy as:

  mdconfig_md0="-t malloc -s 10m"
  mdconfig_md1="-t vnode -f /var/foo.img"

  See rc.conf(5) for more information and description of the additional
  variables.

      src/etc/rc.d/Makefile: rev 1.71 -> 1.72
      src/etc/rc.d/mdconfig: rev 1.3
      src/etc/rc.d/mdconfig2: rev 1.3
      src/share/man/man5/rc.conf.5: rev 1.296 -> 1.297

Approved by: cperciva (mentor)

17 years agoMFC (1.40, 1.41): Adding more antiques came from the RELENG_4(or prior) era:
avatar [Mon, 21 Aug 2006 14:42:58 +0000 (14:42 +0000)]
MFC (1.40, 1.41): Adding more antiques came from the RELENG_4(or prior) era:
sbin/nfsd, sbin/mount_portal and sbin/kget.

17 years agoMFC: When we receive an out-of-window SYN for an "ESTABLISHED" connection,
dwmalone [Mon, 21 Aug 2006 10:39:13 +0000 (10:39 +0000)]
MFC: When we receive an out-of-window SYN for an "ESTABLISHED" connection,
ACK the SYN as required by RFC793.

17 years agoMFC 1.120: Fix RELENG_4 code version- isp_roles wasn't getting
mjacob [Mon, 21 Aug 2006 00:48:37 +0000 (00:48 +0000)]
MFC 1.120: Fix RELENG_4 code version- isp_roles wasn't getting
initialized so it ended up defaulting to ISP_ROLE_NONE. My testing
hadn't caught it because I was deliberatly setting role via ioctl.

17 years agoMFC rev. 1.14: simple strcpy/strcat replacement.
maxim [Sun, 20 Aug 2006 20:31:10 +0000 (20:31 +0000)]
MFC rev. 1.14: simple strcpy/strcat replacement.

17 years agoMFC rev. 1.34: fix the date of LZ 129 Hindenburg crash.
maxim [Sun, 20 Aug 2006 20:25:55 +0000 (20:25 +0000)]
MFC rev. 1.34: fix the date of LZ 129 Hindenburg crash.

17 years agoMFC: Make net.inet.ip.portrange.reservedhigh and
dwmalone [Sun, 20 Aug 2006 19:28:43 +0000 (19:28 +0000)]
MFC: Make net.inet.ip.portrange.reservedhigh and
net.inet.ip.portrange.reservedlow apply to IPv6 aswell as IPv4. Update
a cut'n'paste comment so that it is a bit more up to date.

17 years agoMFC:
imp [Sun, 20 Aug 2006 05:23:07 +0000 (05:23 +0000)]
MFC:
Radio Shack USB Cable
Prolific Pharos
Willcom W-SIM
HAMLET exagerate XUR232

No functional changes to the driver, so at worst, I've merged support
for devices that didn't work before and though i think they should
work now, they don't.  Please let me know if there are problems.

17 years agoMFC: Merge all the usb devices from current. I need one, and there's
imp [Sun, 20 Aug 2006 05:20:07 +0000 (05:20 +0000)]
MFC: Merge all the usb devices from current.  I need one, and there's
no reason not to merge them all.

17 years agoMFC rev. 1.25:
yar [Sun, 20 Aug 2006 03:59:53 +0000 (03:59 +0000)]
MFC rev. 1.25:

  Enumerate all cases where -i is applicable.

17 years agoMFC: don't special case arm
imp [Fri, 18 Aug 2006 21:43:47 +0000 (21:43 +0000)]
MFC: don't special case arm

17 years agoMFC: 1.54: Add FreeBSD 6.2.
ru [Fri, 18 Aug 2006 20:01:43 +0000 (20:01 +0000)]
MFC: 1.54: Add FreeBSD 6.2.

17 years agoMFC: Give the same timestamp for each packet to all BPF listeners.
dwmalone [Fri, 18 Aug 2006 15:58:16 +0000 (15:58 +0000)]
MFC: Give the same timestamp for each packet to all BPF listeners.

17 years agoMFC: Avoid unwanted sign extension of indexed byte load in bpf code.
dwmalone [Fri, 18 Aug 2006 15:55:27 +0000 (15:55 +0000)]
MFC: Avoid unwanted sign extension of indexed byte load in bpf code.

17 years agoMFC: Avoid changing line while processing syslog prios.
dwmalone [Fri, 18 Aug 2006 15:54:13 +0000 (15:54 +0000)]
MFC: Avoid changing line while processing syslog prios.

17 years agoSync with -current: -e option, some typo fixes, new ICMP codes.
dwmalone [Fri, 18 Aug 2006 15:52:57 +0000 (15:52 +0000)]
Sync with -current: -e option, some typo fixes, new ICMP codes.

17 years agoMerge if_tun.c:1.158 from HEAD to RELENG_6:
rwatson [Fri, 18 Aug 2006 14:05:17 +0000 (14:05 +0000)]
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

17 years agoMerge vfs_lookup.c:1.92 from HEAD to RELENG_6:
rwatson [Fri, 18 Aug 2006 14:03:29 +0000 (14:03 +0000)]
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

17 years agoMFC:
yar [Fri, 18 Aug 2006 10:48:11 +0000 (10:48 +0000)]
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

17 years agoMFC: at91 boot loaders
imp [Thu, 17 Aug 2006 22:57:08 +0000 (22:57 +0000)]
MFC: at91 boot loaders

17 years agoMFC: rev. 1.6 (gdb_machdep,c); 1.4 & 1.5 (gdb_machdep.h)
marcel [Thu, 17 Aug 2006 21:26:56 +0000 (21:26 +0000)]
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

17 years agoMFC rev. 1.16: Fix off-by-one.
marcel [Thu, 17 Aug 2006 21:23:16 +0000 (21:23 +0000)]
MFC rev. 1.16: Fix off-by-one.

17 years agoMFC: Typo fix.
jhb [Thu, 17 Aug 2006 19:55:35 +0000 (19:55 +0000)]
MFC: Typo fix.

17 years agoMFC several DDB improvements including the simpler 'ps', 'show proc',
jhb [Thu, 17 Aug 2006 19:53:06 +0000 (19:53 +0000)]
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'.

17 years agoMFC: amdsmb(4) and nfsmb(4).
ru [Thu, 17 Aug 2006 11:01:26 +0000 (11:01 +0000)]
MFC: amdsmb(4) and nfsmb(4).

17 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_6'.
cvs2svn [Thu, 17 Aug 2006 10:55:50 +0000 (10:55 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.

17 years agoMFC: Include bsd.own.mk early so existence check using ${SHAREDIR}
ru [Thu, 17 Aug 2006 10:38:26 +0000 (10:38 +0000)]
MFC: Include bsd.own.mk early so existence check using ${SHAREDIR}
actually works.

17 years agoMFC: perform.c: 1.16
krion [Thu, 17 Aug 2006 08:06:11 +0000 (08:06 +0000)]
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

17 years agoImprove exception string format. Remove debug messages on notify handler.
takawata [Thu, 17 Aug 2006 03:38:41 +0000 (03:38 +0000)]
Improve exception string format. Remove debug messages on notify handler.
MFC: 1.11, 1.12

PR: 100671
Submitted by:henrik at brixandersen.dk

17 years agoMFC:
sobomax [Thu, 17 Aug 2006 01:23:21 +0000 (01:23 +0000)]
MFC:
  Use proper trap code for the EXC_ALI traps. This fixes SIGBUS during
  unaligned 64-bits load/stores.

17 years agoMFC:
sobomax [Thu, 17 Aug 2006 01:20:36 +0000 (01:20 +0000)]
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.

17 years agoMFC if_xl.c, 1.205 to RELENG_6:
yongari [Thu, 17 Aug 2006 00:13:07 +0000 (00:13 +0000)]
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().

17 years agoMFC if_xl.c, 1.204 to RELENG_6:
yongari [Thu, 17 Aug 2006 00:11:07 +0000 (00:11 +0000)]
MFC if_xl.c, 1.204 to RELENG_6:
  Make sure to check frames in Tx queue are empty before clearing
  watchdog timer.

17 years agoMFC rgephy.c, 1.11 to RELENG_6:
yongari [Thu, 17 Aug 2006 00:08:26 +0000 (00:08 +0000)]
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).

17 years agoMFC if_stge.c, 1.2 to RELENG_6:
yongari [Thu, 17 Aug 2006 00:05:51 +0000 (00:05 +0000)]
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.

17 years agoMFC if_sk.c, 1.130 to RELENG_6:
yongari [Thu, 17 Aug 2006 00:03:58 +0000 (00:03 +0000)]
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.

17 years agoMFC if_hme.c, 1.49 to RELENG_6:
yongari [Thu, 17 Aug 2006 00:01:09 +0000 (00:01 +0000)]
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.

17 years agoMFC 1.13: Improve the way we'll detect video devices as per ACPI 3.0.
bruno [Wed, 16 Aug 2006 13:51:05 +0000 (13:51 +0000)]
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

17 years agoMFC: 1.73: Fix printing of integer Celsius.
ru [Wed, 16 Aug 2006 13:08:22 +0000 (13:08 +0000)]
MFC: 1.73: Fix printing of integer Celsius.

17 years agoMFC 1.17-1.20:
simon [Wed, 16 Aug 2006 11:20:49 +0000 (11:20 +0000)]
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.

17 years agoMFC: rev. 1.20
brueffer [Wed, 16 Aug 2006 09:44:10 +0000 (09:44 +0000)]
MFC: rev. 1.20

Convert to the standard section 4 SYNOPSIS layout.

17 years agoMFC rev. 1.20: s/shmid_ds/msqid_ds/.
maxim [Wed, 16 Aug 2006 09:38:34 +0000 (09:38 +0000)]
MFC rev. 1.20: s/shmid_ds/msqid_ds/.

17 years agoMFC: bring resume code up to HEAD, including resume_beep and man page.
njl [Wed, 16 Aug 2006 04:01:49 +0000 (04:01 +0000)]
MFC: bring resume code up to HEAD, including resume_beep and man page.

17 years agoMFC rev. 1.102:
yar [Tue, 15 Aug 2006 19:43:32 +0000 (19:43 +0000)]
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.

17 years agoMFC revision 1.225
alc [Tue, 15 Aug 2006 18:48:51 +0000 (18:48 +0000)]
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().

17 years agoMFC revision 1.360
alc [Tue, 15 Aug 2006 17:51:02 +0000 (17:51 +0000)]
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.

17 years agoMFC rev. 1.71, 1.72:
yar [Tue, 15 Aug 2006 15:59:25 +0000 (15:59 +0000)]
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.

17 years agoAdd entry for VScom PCI-200Li
phk [Tue, 15 Aug 2006 15:04:41 +0000 (15:04 +0000)]
Add entry for VScom PCI-200Li

(Not quite a MFC becuase of the good work Marcel did here in -current)

17 years agoMFC: Add forgotten -q to usage() and SYNOPSIS.
ru [Tue, 15 Aug 2006 12:41:10 +0000 (12:41 +0000)]
MFC: Add forgotten -q to usage() and SYNOPSIS.

17 years agoMFC 1.18: Conditionally include sys/mkdev.h on platforms that need it.
kientzle [Tue, 15 Aug 2006 04:12:21 +0000 (04:12 +0000)]
MFC 1.18: Conditionally include sys/mkdev.h on platforms that need it.

17 years agoMFC 1.17: Don't let the "recursive add" check trigger if it was never set.
kientzle [Tue, 15 Aug 2006 04:04:00 +0000 (04:04 +0000)]
MFC 1.17: Don't let the "recursive add" check trigger if it was never set.

17 years agoMFC 1.47: Remove two unused variables
kientzle [Tue, 15 Aug 2006 03:54:41 +0000 (03:54 +0000)]
MFC 1.47: Remove two unused variables