]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
16 years agounbreak build on arm: sade is like sysinstall, it cannot be built on an
sam [Mon, 29 Oct 2007 22:53:45 +0000 (22:53 +0000)]
unbreak build on arm: sade is like sysinstall, it cannot be built on an
architecture where libdisk is not supported

16 years agoMFC: remove some no-longer-needed _FREEFALL_CONFIG hacks.
peter [Mon, 29 Oct 2007 21:47:56 +0000 (21:47 +0000)]
MFC: remove some no-longer-needed _FREEFALL_CONFIG hacks.

16 years agoMFC to RELENG_6 part of kern_intr.c revision 1.142:
emaste [Mon, 29 Oct 2007 21:10:03 +0000 (21:10 +0000)]
MFC to RELENG_6 part of kern_intr.c revision 1.142:

  - Don't do the interrupt storm protection stuff for software interrupt
    handlers.

16 years agoMFC 1.62: Fix reading of files that use pax 'size' attribute
kientzle [Mon, 29 Oct 2007 03:29:21 +0000 (03:29 +0000)]
MFC 1.62:    Fix reading of files that use pax 'size' attribute
to store size.  In particular, the pax 'size' attribute is required
for any file over 8G.

This seems to fix tar -cf - | tar -xf - when there are files
over 8G in the heirarchy being copied.

16 years agoMFC: ng_ppp(4) MPSAFE.
bmah [Sun, 28 Oct 2007 21:44:01 +0000 (21:44 +0000)]
MFC:  ng_ppp(4) MPSAFE.

16 years agoMFC: 1.31
mtm [Sun, 28 Oct 2007 21:13:23 +0000 (21:13 +0000)]
MFC: 1.31
Allow adding a user(s) to additional groups in batch mode as well.

Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
      (modulo minor changes)

16 years agoMFC 1.166: make dev.ath.N.ledpin have an immediate effect
sam [Sun, 28 Oct 2007 18:14:57 +0000 (18:14 +0000)]
MFC 1.166: make dev.ath.N.ledpin have an immediate effect

16 years agoMFC from 1.113: correct reason code returned when a sta tries to
sam [Sun, 28 Oct 2007 18:04:15 +0000 (18:04 +0000)]
MFC from 1.113: correct reason code returned when a sta tries to
associate to an ap operating with WPA/RSN but without a WPA/RSN ie

16 years agoMFC ng_base.c rev 1.136-1.137, netgraph.h rev 1.69, ng_socket.c rev 1.83
mav [Sun, 28 Oct 2007 17:52:08 +0000 (17:52 +0000)]
MFC ng_base.c rev 1.136-1.137, netgraph.h rev 1.69, ng_socket.c rev 1.83

Implement new apply callback mechanism to handle item forwarding.
When item forwarded, refence counter is incremented, when item
processed, counter decremented. When counter reaches zero,
apply handler is getting called.
It allows to report connect() call status only when it is really completed.

Reviewed by: julian
Approved by: re (kensmith)

16 years agoMFC from 1.110: check xrates is not null before deref
sam [Sun, 28 Oct 2007 17:48:21 +0000 (17:48 +0000)]
MFC from 1.110: check xrates is not null before deref

16 years agoMFC 1.87: Close longstanding race dropping inactive stations; grab
sam [Sun, 28 Oct 2007 17:46:39 +0000 (17:46 +0000)]
MFC 1.87: Close longstanding race dropping inactive stations; grab
a reference to the node before starting the work, otherwise the
node may go away before a reference is made in ieee80211_send_mgmt.

16 years agoMFC: 1.50 (partial)
marius [Sun, 28 Oct 2007 16:13:38 +0000 (16:13 +0000)]
MFC: 1.50 (partial)

Let pcib_write_ivar() return 0 instead of ENOENT when setting
PCIB_IVAR_BUS.

16 years agoMFC: SA-07:08.openssl, coretemp(4), em(4) 6.6.6, awk 1 May 2007
bmah [Sun, 28 Oct 2007 04:43:28 +0000 (04:43 +0000)]
MFC:  SA-07:08.openssl, coretemp(4), em(4) 6.6.6, awk 1 May 2007
update, tzdata2007h.

16 years agoMFC version 1.27:
dougb [Sun, 28 Oct 2007 00:30:18 +0000 (00:30 +0000)]
MFC version 1.27:
1. Determine the location of the rndc* binaries relative to $command
2. Make the stop routine work more like rc.subr's, but try rndc first
3. Allow the rndc.key file to be owned by root OR the named_uid user

16 years agoFix kernel memory leakage when policy routing is used with NAT.
darrenr [Sat, 27 Oct 2007 16:54:25 +0000 (16:54 +0000)]
Fix kernel memory leakage when policy routing is used with NAT.
(Already fixed in -HEAD)

PR: kern/100098
Submitted by: Daniel Larsson <Daniel.Larsson@servicefactory.com>
Reviewed by: darrenr
Approved by: darrenr
Obtained from: Daniel Larsson <Daniel.Larsson@servicefactory.com>

16 years agoMFC ata-chipset.c (1.199), ata-pci.h (1.78):
simon [Sat, 27 Oct 2007 10:51:33 +0000 (10:51 +0000)]
MFC ata-chipset.c (1.199), ata-pci.h (1.78):

  Add PCI IDs for Intel ICH9.

Tested by: pav

16 years agoUpdate to version 3.60.04.006. This adds support newer SAS controllers. This
scottl [Fri, 26 Oct 2007 23:51:46 +0000 (23:51 +0000)]
Update to version 3.60.04.006.  This adds support newer SAS controllers.  This
is a partial MFC of what went into HEAD/RELENG_7; the locking changes that
constitude the other part do not apply to RELENG_6.

Many thanks to 3Ware/AMCC for their continued support of FreeBSD.

Submitted by: Manjunath Ranganathaiah
Approved by: re

16 years agoMFC: Add a -z flag to nfsstat which zeros the NFS statistics after
jhb [Fri, 26 Oct 2007 22:06:55 +0000 (22:06 +0000)]
MFC: Add a -z flag to nfsstat which zeros the NFS statistics after
displaying them.

16 years agoMFC: (revision 1.45)
ariff [Fri, 26 Oct 2007 20:48:18 +0000 (20:48 +0000)]
MFC: (revision 1.45)

- Gigabyte G33-S2H fixup, due to the present of multiple competing
  codecs. Codec at address 0 seems purely digital, or perhaps an HDMI
  interface. Let the driver skip it and continue scanning the codecs
  starting with address 2 (Realtek ALC885).
  * Due to possibilities of future similar cases, put enough logic
    in hdac_scan_codecs() to force codec scanning starting from
    XX address via tunable "hint.pcm.%d.codec_index".

  Reported / Tested by: Toomas Pelberg <toomasp@gmx.net>

- Trivial headphone / speaker automute fixup for Fujitsu-Siemens
  AMILO Si 1848 laptop.

  Reported / Tested by: Ed <ed@bsd.it>

- Trivial headphone / speaker automute fixup for Fujitsu-Siemens
  Lifebook S7020D laptop.

  Reported / Tested by: Jaromir Dvoracek <jarek@ataxo.com>

- Some smart vendor trying to create interplanetary wormhole by
  screwing pci config space during their BIOS update. The side effects
  of their failure attempt includes mutilated hardware id, broken
  speaker automuting and loosing the entire analog CD connectivity,
  thus causing enough collateral damages to collapse the entire
  universe.  Move along with it.

  Please exercise extra cautious when applying BIOS updates.

  Reported / Tested by: Pietro Cerutti <gahr@gahr.ch>
                        - assembled laptop, based on the MSI-1034
                          (662) which is now becoming MSI-034A.

- Fix no sound issues (on headphones) for Lenovo ThinkCentre A55 due
  to global automute table entry which is not applicable for
  non-laptops.

  Reported / Tested by: Piotr Smyrak <piotr.smyrak@heron.pl>

- Speaker mute control for HP DC7700 since the front headphone jack
  does not generate any interesting unsolicited signal/response.

  Reported / Tested by: tyop @ irc.freenode.net

16 years agoNote deprecation of rc.d/nfslocking.
mtm [Fri, 26 Oct 2007 17:22:30 +0000 (17:22 +0000)]
Note deprecation of rc.d/nfslocking.

16 years agoMFC: eval.c 1.54, sh.1 1.125
stefanf [Fri, 26 Oct 2007 10:23:27 +0000 (10:23 +0000)]
MFC: eval.c 1.54, sh.1 1.125

The exit status of a case statement where none of the patterns is matched
is supposed to be 0, not the status of the previous command.

16 years agoBump __FreeBSDversion for wide and single byte ctype separation
delphij [Thu, 25 Oct 2007 19:52:22 +0000 (19:52 +0000)]
Bump __FreeBSDversion for wide and single byte ctype separation
MFC.  While the change does not break backward binary
compatibility, it will potentially cause programs compiled on
a new world not to run on older RELENG_6 systems, so we have
to make it possible to distungish between old and new states.

16 years agoMFC: rev. 1.14
mtm [Thu, 25 Oct 2007 18:02:10 +0000 (18:02 +0000)]
MFC: rev. 1.14
Check if /sbin/nextboot exists before running it.

PR:             93466
Submitted by:   Mats Palmgren

16 years agoMFC: rev. 1.6 and 1.7
mtm [Thu, 25 Oct 2007 17:20:22 +0000 (17:20 +0000)]
MFC: rev. 1.6 and 1.7

revision 1.6
date: 2007/05/17 11:33:08;  author: mtm;  state: Exp;  lines: +3 -3
o Use the --detach option to kdc(8) instead of using the shell
  background operator '&'.

  PR: conf/102722

o No need to include $kerberos5_server_flags in $command_args as
  rc.subr(8) will take care of this.

revision 1.7
Partial backout of rev. 1.6, but instead of putting kerberos5_server_flags
back in command_args, put it where rc.subr(8) expects it: kerberos5_flags.

16 years agoMFC: Clear the flags in the persistent keyboard data for ukbd0 when
jhb [Thu, 25 Oct 2007 16:56:15 +0000 (16:56 +0000)]
MFC: Clear the flags in the persistent keyboard data for ukbd0 when
init_keyboard() or kbd_register() fails.

16 years agoPartial MFC of rev. 1.18:
mtm [Thu, 25 Oct 2007 16:48:16 +0000 (16:48 +0000)]
Partial MFC of rev. 1.18:
The mountd daemon creates a pidfile so use it.

16 years agoMFC:
mtm [Thu, 25 Oct 2007 14:58:33 +0000 (14:58 +0000)]
MFC:
    rc.d/var rc.d/tmp:
    Remove unnecessary subshell constructs.

    rc.d/clean rc.d/initrandom:
    Remove unnecessary semi-colon at the end of a command line.

16 years agoMFC:
mtm [Thu, 25 Oct 2007 14:36:12 +0000 (14:36 +0000)]
MFC:
  Eliminate global symbols starting with an underscore from rc.d
  scripts, except for mdconfig* and jail.  Such symbols are reserved
  for the rc.subr internals.  Most scripts can be fixed by just
  declaring _foo symbols as local: few scripts actually need them to
  be global.

16 years agoMFC:
mtm [Thu, 25 Oct 2007 14:04:19 +0000 (14:04 +0000)]
MFC:
  o Implement the stop_boot subroutine [1]. This subroutine can be used by
    scripts in rc.d to stop rc(8) from booting into multi-user mode when
    a critical or severe error condition is encountered.

  o Modify scripts in etc/rc.d that already implemented this functionality
    independently.

  o Document it.

  [1] - This subroutine was implemented in FreeBSD in rc.d/fsck. I moved it
        to rc.subr(8). Our version differs slightly in that it takes an
        optional argument to stop the boot even if "autoboot" is not set.

  Obtained from: NetBSD

16 years ago- The breakage of ctype(3) is fixed now. Update the entry.
rafan [Thu, 25 Oct 2007 12:49:21 +0000 (12:49 +0000)]
- The breakage of ctype(3) is fixed now. Update the entry.

16 years agoMFC lib/Makefile rev. 1.221
rafan [Thu, 25 Oct 2007 12:45:39 +0000 (12:45 +0000)]
MFC lib/Makefile rev. 1.221

  Make sure libc is installed before all other shared libraries. Other
  libraries might depend on versioned symbols from libc.

This fixes breakage introduced by ctype(3) MFC.

Discussed with: delphij, ru
Approved by: re (kensmith)

16 years ago- Add a note about ctype(3) breakage. A proper fix is being working on,
rafan [Thu, 25 Oct 2007 06:45:29 +0000 (06:45 +0000)]
- Add a note about ctype(3) breakage. A proper fix is being working on,
  should be committed soon. Before that, advice users not to upgrade
  world. Also add instructions about how to recover from it.

Discussed with: delphij

16 years agoTemporary fix for polling.
simokawa [Thu, 25 Oct 2007 06:10:19 +0000 (06:10 +0000)]
Temporary fix for polling.
- fwohci_arcv() has a problem if the number of packets to be processed
  is limited.
- RELENG_7 and -current already have a same workaround.

Reported by: ikob
PR: kern/85434

16 years agoMFC: syscons.c rev. 1.453 and syscons.h rev. 1.88
simokawa [Thu, 25 Oct 2007 06:09:15 +0000 (06:09 +0000)]
MFC: syscons.c rev. 1.453 and syscons.h rev. 1.88

Serialize output routine of terminal emulator (te_puts()) by a lock.

16 years agoMFC of 1.11
edwin [Thu, 25 Oct 2007 03:52:42 +0000 (03:52 +0000)]
MFC of 1.11

Teach makewhatis.c to treat .SS with the same severity as .SH.

At least one port (net-mgmt/net-snmp) creates man-pages which are
in the format:

.SH NAME
The Net-SNMP agent \- The snmp agent responds to SNMP queries from manag
ement stations.

.PP
.SS "Modules"

At this moment, makewhatis determines the end of the .SH NAME section
as where it finds .SH again, but there is none here, is it "terminated"
by the .SS.

PR: bin/116706
Submitted by: edwin@

16 years agoMFC revisions 1.13 of NETWORKING and 1.37 of resolv:
dougb [Wed, 24 Oct 2007 21:36:09 +0000 (21:36 +0000)]
MFC revisions 1.13 of NETWORKING and 1.37 of resolv:
1. Make resolv order deterministic by REQUIRE'ing it in NETWORKING,
and having resolv REQUIRE netif.
2. Tighten up the code and fix whitespace in resolv

16 years agoMFC if_lagg.c r1.20, if_lagg.h r1.11
thompsa [Wed, 24 Oct 2007 21:19:02 +0000 (21:19 +0000)]
MFC if_lagg.c r1.20, if_lagg.h r1.11

  Fix two panics in lagg. Updating a pointer with shared locking and a double
  mbuf free.

16 years agoMFC r1.181
thompsa [Wed, 24 Oct 2007 21:15:54 +0000 (21:15 +0000)]
MFC r1.181
  Check for multicast destination on bpf injected packets.

16 years agoBring all files up to date with HEAD, which includes:
dougb [Wed, 24 Oct 2007 21:09:34 +0000 (21:09 +0000)]
Bring all files up to date with HEAD, which includes:
1. Misc. typo fixes
2. Lots of duplicate removal in the limerick file
3. Some updates to freebsd-tips

And most recently:
MFC fortunes 1.242: The original version of "The Guy in the Glass" with
proper attribution. See also http://www.theguyintheglass.com/

MFC fortunes 1.243, fortunes-o.real 1.23, and limerick 1.12:
Fix a few small typos and remove a duplicate

16 years agoMFC ctype(3) fix for UTF-8 locale. See original commit log for details.
rafan [Wed, 24 Oct 2007 14:32:33 +0000 (14:32 +0000)]
MFC ctype(3) fix for UTF-8 locale. See original commit log for details.

PR: 116363
Reported by: Petr Hroudny <petr.hroudny at gmail.com>
Patched by: ache
Reviewed by: i18n@
Approved by: re (kensmith)
OK-ed by: portmgr

16 years agoMFC 1.39: Grrr, a fix for the rman_set_rid() stuff I missed in my earlier
jhb [Wed, 24 Oct 2007 12:36:25 +0000 (12:36 +0000)]
MFC 1.39: Grrr, a fix for the rman_set_rid() stuff I missed in my earlier
MFC.

16 years agoMFC: Optimize for size on pc98.
nyan [Wed, 24 Oct 2007 11:50:07 +0000 (11:50 +0000)]
MFC: Optimize for size on pc98.

16 years agoCheat slightly - not really 6.3-STABLE yet but it's not 6.2-STABLE
kensmith [Tue, 23 Oct 2007 23:45:14 +0000 (23:45 +0000)]
Cheat slightly - not really 6.3-STABLE yet but it's not 6.2-STABLE
either; this is close enough...

16 years agoMake people aware we're entering the FreeBSD-6.3 release cycle.
kensmith [Tue, 23 Oct 2007 23:41:24 +0000 (23:41 +0000)]
Make people aware we're entering the FreeBSD-6.3 release cycle.

16 years agoMFC: rev. 1.61: remove the need to forward declare statics.
obrien [Tue, 23 Oct 2007 16:07:30 +0000 (16:07 +0000)]
MFC: rev. 1.61: remove the need to forward declare statics.

16 years agoMFC:
daichi [Tue, 23 Oct 2007 03:38:32 +0000 (03:38 +0000)]
MFC:
This changes give nullfs correctly work with latest unionfs.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)

16 years agoMFC:
daichi [Tue, 23 Oct 2007 03:37:10 +0000 (03:37 +0000)]
MFC:
Added whiteout behavior option. ``-o whiteout=always'' is default mode
(it is established practice) and ``-o whiteout=whenneeded'' is less
disk-space using mode especially for resource restricted environments
like embedded environments. (Contributed by Ed Schouten. Thanks)

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)

16 years agoMFC:
daichi [Tue, 23 Oct 2007 03:34:58 +0000 (03:34 +0000)]
MFC:
Fixed un-vrele issue of upper layer root vnode of  unionfs.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)

16 years agoMFC:
daichi [Tue, 23 Oct 2007 03:33:43 +0000 (03:33 +0000)]
MFC:
Added NULL check code pointed out by Coverity. (via Stanislav
Sedov. Thanks)

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)

16 years agoMFC:
daichi [Tue, 23 Oct 2007 03:32:17 +0000 (03:32 +0000)]
MFC:
  - It has been become MPSAFE.
  - Fixed lock panic issue under MPSAFE.
  - Fixed panic issue whenever it locks vnode with reclaim.
  - Fixed lock implementations not conforming to vnode_if.src style.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)

16 years agoMFC:
daichi [Tue, 23 Oct 2007 03:30:13 +0000 (03:30 +0000)]
MFC:
Fixed vnode unlock/vrele untreated issues whenever errors have
occurred during some treatments.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)

16 years agoMFC:
daichi [Tue, 23 Oct 2007 03:28:22 +0000 (03:28 +0000)]
MFC:
  - Added support for vfs_cache on unionfs. As a result, you can use
    applications that use procfs on unionfs.
  - Removed unionfs internal cache mechanism because it has
    vfs_cache support instead. As a result, it just simplified code of
    unionfs.
  - Fixed kern/111262 issue.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)

16 years agoMFC:
daichi [Tue, 23 Oct 2007 03:26:37 +0000 (03:26 +0000)]
MFC:
Added treatments to prevent readdir infinity loop using with Linux binary
compatibility feature.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)

16 years agoMFC:
daichi [Tue, 23 Oct 2007 03:24:37 +0000 (03:24 +0000)]
MFC:
Changed it frees unneeded memory ASAP.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)

16 years agoMFC:
daichi [Tue, 23 Oct 2007 03:22:48 +0000 (03:22 +0000)]
MFC:
Improved access permission check treatments.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)

16 years agoholy shit! that was checked out in RELENG_6.. back it out and put it in the right...
julian [Sun, 21 Oct 2007 04:22:46 +0000 (04:22 +0000)]
holy shit! that was checked out in RELENG_6.. back it out and put it in the right branch!

16 years agoNote the renaming of kthread_xxx to kproc_xxx in 800002
julian [Sun, 21 Oct 2007 04:17:29 +0000 (04:17 +0000)]
Note the renaming of kthread_xxx to kproc_xxx in 800002

16 years agoMFC: Remove sparc64 & PowerPC MD 'reboot' and 'halt' commands and make them
obrien [Fri, 19 Oct 2007 16:48:43 +0000 (16:48 +0000)]
MFC: Remove sparc64 & PowerPC MD 'reboot' and 'halt' commands and make them
     MI.  'reboot' is an alias for 'reset'.

16 years agoMFC:
mtm [Fri, 19 Oct 2007 08:16:30 +0000 (08:16 +0000)]
MFC:

  rmuser.8 rev. 1.24,1.24 : Typo fixes.

  adduser.8 rev. 1.57-1.59: Typo and markup fixes
            rev. 1.56:
            Add adding_user.8 to SEE ALSO, note that usernames may
            contain any character but not being with a hyphen,
            similar to adding_user.8.

            PR:     35732

16 years agoMFC:
mtm [Fri, 19 Oct 2007 07:55:52 +0000 (07:55 +0000)]
MFC:
rev. 1.10
The POP daemon's temporary mail file has a leading dot ('.').
This was lost in the shell script rewrite of the rmuser command.

16 years agoMFC: archive_write_set_format_cpio.c 1.12
kientzle [Fri, 19 Oct 2007 03:50:48 +0000 (03:50 +0000)]
MFC: archive_write_set_format_cpio.c 1.12
MFC: archive_write_set_format_cpio_newc.c 1.2

Non-regular files should have zero-length bodies.  libarchive
flags this to clients by updating the entry description when
it writes the header.

16 years agoMFC: Allow recursion on the 'zones' internal UMA zone.
jhb [Thu, 18 Oct 2007 18:45:53 +0000 (18:45 +0000)]
MFC: Allow recursion on the 'zones' internal UMA zone.

16 years agoMFC of src/share/zoneinfo
edwin [Thu, 18 Oct 2007 13:05:49 +0000 (13:05 +0000)]
MFC of src/share/zoneinfo
MFV: tzdata2007h

16 years agoMFC 1.15: Return EOF immediately for non-regular files, don't
kientzle [Thu, 18 Oct 2007 05:19:44 +0000 (05:19 +0000)]
MFC 1.15:  Return EOF immediately for non-regular files, don't
return an empty block first.  In particular, this fixes a bogus
warning from bsdtar when restoring directories from ZIP archives.

Also, correct the return values at EOF to include the correct
offset.

16 years agoMFC:
cognet [Wed, 17 Oct 2007 23:29:02 +0000 (23:29 +0000)]
MFC:
arm/xscale/i80321/i80321_timer.c 1.8
arm/xscale/i80321/std.iq31244 rev 1.3
conf/options.arm rev 1.6
The IQ80321 clock is 200MHz, but the IQ31244 is 198MHz, so add a kernel option
to override the frequency

16 years agoMFC: Fix for a race where out of order loading of NFS attrs into the
jhb [Wed, 17 Oct 2007 16:07:10 +0000 (16:07 +0000)]
MFC: Fix for a race where out of order loading of NFS attrs into the
nfsnode could lead to attrs being stale.

16 years agoOops. Remove a debug printf.
cognet [Tue, 16 Oct 2007 21:32:19 +0000 (21:32 +0000)]
Oops. Remove a debug printf.

Spotted out by: delphij

16 years agoMFC the reimplementation of ARM_USE_SMALL_ALLOC.
cognet [Tue, 16 Oct 2007 21:24:44 +0000 (21:24 +0000)]
MFC the reimplementation of ARM_USE_SMALL_ALLOC.

16 years agoMFC rev 1.33/
cognet [Tue, 16 Oct 2007 21:13:59 +0000 (21:13 +0000)]
MFC rev 1.33/
date: 2007/06/10 12:33:01;  author: cognet;  state: Exp;  lines: +2 -1
Initialize the dma tag's bounce_zone to NULL if we didn't allocate it.

16 years agoUse 16 - 1 instead of 16 as the align argument of uma_zcreate(), as it's
cognet [Tue, 16 Oct 2007 21:10:26 +0000 (21:10 +0000)]
Use 16 - 1 instead of 16 as the align argument of uma_zcreate(), as it's
what is expected.

16 years agoMFC rev 1.32:
cognet [Tue, 16 Oct 2007 19:59:50 +0000 (19:59 +0000)]
MFC rev 1.32:
date: 2007/06/07 21:51:09;  author: cognet;  state: Exp;  lines: +3 -4
There's no nobounce_dmamap on arm.

16 years agoMake td_sqqueue explicitely signed, as we compare it with >= 0. On arm,
cognet [Tue, 16 Oct 2007 19:57:36 +0000 (19:57 +0000)]
Make td_sqqueue explicitely signed, as we compare it with >= 0. On arm,
char defaults to unsigned.

16 years agoMFC rev 1.78:
cognet [Tue, 16 Oct 2007 19:52:11 +0000 (19:52 +0000)]
MFC rev 1.78:
revision 1.78
date: 2007/02/05 10:33:39;  author: kevlo;  state: Exp;  lines: +0 -1
<sys/sx.h> is unneeded.

16 years agoMFC: less v409
delphij [Mon, 15 Oct 2007 17:01:30 +0000 (17:01 +0000)]
MFC: less v409

16 years agoMFC:
sepotvin [Mon, 15 Oct 2007 02:43:39 +0000 (02:43 +0000)]
MFC:
- Fix a small bit slip in PCIM_PCAP_D[0-2]PME defines.
- Add the definitions for D3PME_COLD and D3PME_HOT capabilities.

Approved by: njl (mentor)

16 years agoMFC rev.1.108: fix the issue when "ipfw(8) show" produces "not" twice.
maxim [Sun, 14 Oct 2007 08:58:01 +0000 (08:58 +0000)]
MFC rev.1.108: fix the issue when "ipfw(8) show" produces "not" twice.

16 years agoMFC: Use the correct pid when checking to see whether or not the
jhb [Fri, 12 Oct 2007 19:38:39 +0000 (19:38 +0000)]
MFC: Use the correct pid when checking to see whether or not the
/proc/<pid> directory is visible to the current thread.

16 years agoMFC rev. 1.35:
kib [Fri, 12 Oct 2007 10:24:21 +0000 (10:24 +0000)]
MFC rev. 1.35:
Deny attempt to malloc unbounded amount of the memory.
Convert malloc()/bzero() to malloc(M_ZERO).

16 years agoFix the duplicate include stanza.
jfv [Fri, 12 Oct 2007 07:49:33 +0000 (07:49 +0000)]
Fix the duplicate include stanza.
PR: 117125

16 years agoMFC rev. 1.18-1.21
mav [Fri, 12 Oct 2007 05:09:13 +0000 (05:09 +0000)]
MFC rev. 1.18-1.21
 - Fix thread safety.
 - Make some optimizations.

16 years agoFix SUBDIR expansion and reduce diff from HEAD.
jkim [Thu, 11 Oct 2007 23:47:28 +0000 (23:47 +0000)]
Fix SUBDIR expansion and reduce diff from HEAD.

16 years agoSync to HEAD.
thompsa [Thu, 11 Oct 2007 20:29:41 +0000 (20:29 +0000)]
Sync to HEAD.

16 years agoMFC if_bridge.c r1.103, if_bridge.4 r1.29
thompsa [Thu, 11 Oct 2007 20:28:53 +0000 (20:28 +0000)]
MFC if_bridge.c r1.103, if_bridge.4 r1.29
  Allow additional packet filtering on the physical interface for locally
  destined packets, disabled by default.

PR:             kern/116051
Submitted by:   Eygene Ryabinkin

16 years agoMFC r1.17
thompsa [Thu, 11 Oct 2007 20:23:33 +0000 (20:23 +0000)]
MFC r1.17
  Use the -n flag on ifconfig so that dhclient does not cause the kernel module
  to be reloaded when the interface is torn down.

16 years agoMFC ifconfig.8 r1.138, ifconfig.c r1.131
thompsa [Thu, 11 Oct 2007 20:20:39 +0000 (20:20 +0000)]
MFC ifconfig.8 r1.138, ifconfig.c r1.131

 Add the -n flag for disabling automatic module loading

16 years agoNote less v408 MFC.
delphij [Thu, 11 Oct 2007 18:54:35 +0000 (18:54 +0000)]
Note less v408 MFC.

16 years agoMFC: less v408.
delphij [Thu, 11 Oct 2007 18:51:44 +0000 (18:51 +0000)]
MFC: less v408.

16 years agoSmall change, this will allow this driver version to be used
jfv [Thu, 11 Oct 2007 17:58:28 +0000 (17:58 +0000)]
Small change, this will allow this driver version to be used
on 6.2 RELEASE, you simply won't get MSI/X support.

16 years agoMFC: rev 1.6
ticso [Thu, 11 Oct 2007 17:32:20 +0000 (17:32 +0000)]
MFC: rev 1.6
declare struct tftphdr and embedded union as beeing packed, which is
required for arm.

16 years agoMFC: bwk's 01-May-2007 release
obrien [Wed, 10 Oct 2007 00:22:15 +0000 (00:22 +0000)]
MFC: bwk's 01-May-2007 release

16 years agoWhitespace chase after bad copy+paste.
edwin [Wed, 10 Oct 2007 00:09:08 +0000 (00:09 +0000)]
Whitespace chase after bad copy+paste.
Noticed by: John Baldwin

16 years agoStop applying patches at build time - instead apply directly to the files.
obrien [Tue, 9 Oct 2007 15:28:15 +0000 (15:28 +0000)]
Stop applying patches at build time - instead apply directly to the files.
I've seen this practice cause issues for vendors using our sources...

16 years agoMFC:
edwin [Tue, 9 Oct 2007 02:37:21 +0000 (02:37 +0000)]
MFC:

Describe the process of importing new zoneinfo data and updating
it into CVS.

PR:             conf/116901

16 years agoMFC some fixes to IPI_PREEMPT:
jhb [Mon, 8 Oct 2007 21:51:01 +0000 (21:51 +0000)]
MFC some fixes to IPI_PREEMPT:
- Use the proper bitmask tests for an IPI in the bitmap handler on amd64
  and i386.
- Don't test against idle priority, just the idle thread in the IPI_PREEMPT
  handlers.

16 years agoLast delta confused shared code API in the fix, this
jfv [Sun, 7 Oct 2007 03:11:31 +0000 (03:11 +0000)]
Last delta confused shared code API in the fix, this
corrects it.

16 years agoMFC: 1.15; 1.16
marius [Sat, 6 Oct 2007 20:50:18 +0000 (20:50 +0000)]
MFC: 1.15; 1.16

- Remove unused softc.
- Use the actual clock frequency of the PCI bus instead of assuming
  33MHz for calculating the latency timer values for its children.
  Inspired by NetBSD doing the same and Linux as well as OpenSolaris
  using a similar approach.
  While at it rename a variable and change its type to be more
  appropriate fuer values of PCI properties so the variable can be
  more easily reused.
- Initialize the cache line size register of PCI devices to a
  legal value; the cache line size is limited to 64 bytes by the
  Fireplane/Safari, JBus and UPA interconnection busses. Setting
  it to an unsupported value caused bad performance at least with
  GEM as it causes them to not do cache line bursts and to not
  issue cache line commands on the PCI bus.

16 years ago- Adhere style(9) (don't use function calls in initializers, use uintXX_t
marius [Sat, 6 Oct 2007 20:34:14 +0000 (20:34 +0000)]
- Adhere style(9) (don't use function calls in initializers, use uintXX_t
  instead of u_intXX_t).
- Use FBSDID.

16 years agoCouple corrections on the MFC, first POLLING had a 7.0
jfv [Sat, 6 Oct 2007 19:36:35 +0000 (19:36 +0000)]
Couple corrections on the MFC, first POLLING had a 7.0
interface left in, thanks to those that caught this.

Second, there was a 82571 fix in the last delta that
got missed, it has now been converted and added.

16 years agoMFC:
scf [Sat, 6 Oct 2007 03:15:15 +0000 (03:15 +0000)]
MFC:
Add fts_set_clientptr(3), fts_get_clientptr(3) and fts_get_stream(3) man
page links to fts(3).

    src/lib/libc/gen/Makefile.inc: rev 1.127 -> 1.128

Approved by: wes

16 years agoMFC of Intel driver version 6.6.6
jfv [Fri, 5 Oct 2007 22:49:08 +0000 (22:49 +0000)]
MFC of Intel driver version 6.6.6
This adds our new modular shared code, support for MSI/MSIX, hardware
support for newer adapters, and a variety of bug fixes.