]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoMFC 1.6:
rodrigc [Fri, 2 Feb 2007 13:48:19 +0000 (13:48 +0000)]
MFC 1.6:
  Try to avoid a possible infinite loop when parsing an invalid
  kernel dump file.

  PR:             108229
  Submitted by:   Jessica Han <jessicah juniper net>

17 years agoMFC:
remko [Fri, 2 Feb 2007 07:42:44 +0000 (07:42 +0000)]
MFC:

  Fix a typo in ata-queue.c

  PR:             kern/107100
  Submitted by:   Stephen J. Roznowski <sjr at comcast dot net>
  Approved by:    sos

and

  Add the SMART command to the ATA instruction set.
  When the disk has an error, it will now print SMART
  instead of 'Unknown CMD'.

  PR:             kern/93368
  Submitted by:   Garry Belka <garry at NetworkPhysics dot COM>
  Approved by:    sos

Approved by: sos (implicitly with the previous two commits)

17 years agoMFC: rev. 1.31
brueffer [Fri, 2 Feb 2007 07:29:51 +0000 (07:29 +0000)]
MFC: rev. 1.31

Add the 3Com 3c996-SX.

17 years agoMFC rev 1.4: remove screen and ttyy#; replace ttyd# with ttyu#.
marcel [Fri, 2 Feb 2007 04:28:24 +0000 (04:28 +0000)]
MFC rev 1.4: remove screen and ttyy#; replace ttyd# with ttyu#.

17 years agoMFC rev 1.2: remove stale header.
marcel [Fri, 2 Feb 2007 04:25:01 +0000 (04:25 +0000)]
MFC rev 1.2: remove stale header.

17 years agoMFC if_re.c rev 1.76 to RELENG_6.
yongari [Fri, 2 Feb 2007 00:48:55 +0000 (00:48 +0000)]
MFC if_re.c rev 1.76 to RELENG_6.
  Don't set RL_CFG1_FULLDUPLEX bit. The RL_CFG1_FULLDUPLEX bit in
  config register 1 is only valid on 8129.

17 years ago- Don't forget to reset the M_VLANTAG when removing a tag,
ru [Thu, 1 Feb 2007 14:32:37 +0000 (14:32 +0000)]
- Don't forget to reset the M_VLANTAG when removing a tag,
  otherwise bad things may happen.  [1]

- More diff redux to HEAD.

Submitted by: Vsevolod Lobko [1]

17 years agoMFC: Document the acceptable values for the id parameter.
mpp [Thu, 1 Feb 2007 09:02:28 +0000 (09:02 +0000)]
MFC:  Document the acceptable values for the id parameter.

17 years agoMFC: Make quota exit with a non-zero status when the user
mpp [Thu, 1 Feb 2007 08:46:42 +0000 (08:46 +0000)]
MFC:  Make quota exit with a non-zero status when the user
is over quota.

17 years agoMFC: Quota system cleanup & disallow negative ids when accouting for
mpp [Thu, 1 Feb 2007 04:45:43 +0000 (04:45 +0000)]
MFC:  Quota system cleanup & disallow negative ids when accouting for
quota usage.

ffs/ffs_alloc.c rev 1.143
ffs/ffs_snapshot.c rev 1.132
ufs/quota.h rev 1.29
ufs/ufs_quota.c rev 1.86 - 1.88
ufs/ufs_vfsops.c rev 1.48

17 years agoMFC: quotacheck.c 1.27 - 1.29
mpp [Thu, 1 Feb 2007 04:36:40 +0000 (04:36 +0000)]
MFC:  quotacheck.c 1.27 - 1.29

Quota system cleanup.

17 years agoMFC: Sync up with HEAD. Revs 1.18 1.19.
mpp [Thu, 1 Feb 2007 04:31:57 +0000 (04:31 +0000)]
MFC:  Sync up with HEAD.  Revs 1.18 1.19.

17 years agoMFC: Fix for a vnode lock leak in nfs_create() in the event of an error.
mohans [Wed, 31 Jan 2007 23:11:15 +0000 (23:11 +0000)]
MFC: Fix for a vnode lock leak in nfs_create() in the event of an error.
Spotted by ups@.

17 years agoMFC: Fix compile with BCE_DEBUG.
jhb [Wed, 31 Jan 2007 22:57:10 +0000 (22:57 +0000)]
MFC: Fix compile with BCE_DEBUG.

17 years agoMFC: Add a locked variant of bce_ifmedia_upd() and add missing locking
jhb [Wed, 31 Jan 2007 22:55:08 +0000 (22:55 +0000)]
MFC: Add a locked variant of bce_ifmedia_upd() and add missing locking
to bce_ifmedia_upd().

17 years agoMFC: protect against multiple inclusions
luigi [Wed, 31 Jan 2007 10:44:04 +0000 (10:44 +0000)]
MFC: protect against multiple inclusions

17 years agoMFC: 1.148, 1.149:
rodrigc [Wed, 31 Jan 2007 02:49:44 +0000 (02:49 +0000)]
MFC: 1.148, 1.149:
Properly parse "longname", "longnames", "shortname", "shortnames",
"nowin95", "win95" mount options.

Requested by: Tomas Doskocil <dosky gravastar cz>

17 years agoMFC if_re.c rev 1.83 to RELENG_6.
yongari [Wed, 31 Jan 2007 00:24:11 +0000 (00:24 +0000)]
MFC if_re.c rev 1.83 to RELENG_6.
  It seems that enabling Tx and Rx before setting descriptor DMA
  addresses shall access invalid descriptor DMA addresses on PCIe
  hardwares and then panicked the system.
  To fix it set descriptor DMA addresses before enabling Tx and Rx
  such that hardware can see valid descriptor DMA addresses. Also
  set RL_EARLY_TX_THRESH before starting Tx and Rx.

17 years agoRevert 1.1.2.2 as linker_release_module is not in RELENG_6. Will have to
mlaier [Tue, 30 Jan 2007 23:54:49 +0000 (23:54 +0000)]
Revert 1.1.2.2 as linker_release_module is not in RELENG_6.  Will have to
look for a better way and will compile test "trivial changes" in the future.

Noticed by: marcel, tinderbox
Pointy hat to: mlaier

17 years agoCheck the return value of bus_setup_intr() when setting up the
marius [Tue, 30 Jan 2007 15:44:16 +0000 (15:44 +0000)]
Check the return value of bus_setup_intr() when setting up the
over-temperature and power-fail interrupts.

17 years agoMFC: if_re.c 1.82, if_rlreg.h 1.64
marius [Tue, 30 Jan 2007 14:16:24 +0000 (14:16 +0000)]
MFC: if_re.c 1.82, if_rlreg.h 1.64

o In re_newbuf() and re_encap() if re_dma_map_desc() aborts the mapping
  operation as it ran out of free descriptors or if there are too many
  segments in the first place, call bus_dmamap_unload() in order to
  unload the already loaded segments.
  For trying to map the defragmented mbuf (chain) in re_encap() this
  introduces re_dma_map_desc() setting arg.rl_maxsegs to 0 as a new
  failure mode. Previously we just ignored this case, corrupting our
  view of the TX ring.
o In re_txeof():
  - Don't clear IFF_DRV_OACTIVE unless there are at least 4 free TX
    descriptors. Further down the road re_encap() will bail if there
    aren't at least 4 free TX descriptors, causing re_start() to
    abort and prepend the dequeued mbuf again so it makes no sense
    to pretend we could process mbufs again when in fact we won't.
    While at it replace this magic 4 with a macro RL_TX_DESC_THLD
    throughout this driver.
  - Don't cancel the watchdog timeout as soon as there's at least one
    free TX descriptor but instead only if all descriptors have been
    handled. It's perfectly normal, especially in the DEVICE_POLLING
    case, that re_txeof() is called when only a part of the enqueued
    TX descriptors have been handled, causing the watchdog to be
    disarmed prematurely.
o In re_encap():
  - If m_defrag() fails just drop the packet like other NIC drivers
    do. This should only happen when there's a mbuf shortage, in which
    case it was possible to end up with an IFQ full of packets which
    couldn't be processed as they couldn't be defragmented as they
    were taking up all the mbufs themselves. This includes adjusting
    re_start() to not trying to prepend the mbuf (chain) if re_encap()
    has freed it.
  - Remove dupe initialization of members of struct rl_dmaload_arg to
    values that didn't change since trying to process the fragmented
    mbuf chain.
    While at it remove an unused member from struct rl_dmaload_arg.
o In re_start() remove a abandoned, banal comment. The corresponding
  code was moved to re_attach() some time ago.

17 years agoMFC: if_re.c 1.80, if_rlreg.h 1.63
marius [Tue, 30 Jan 2007 14:00:59 +0000 (14:00 +0000)]
MFC: if_re.c 1.80, if_rlreg.h 1.63

- Use the re_tick() callout instead of if_slowtimo() for driving
  re_watchdog() in order to avoid races accessing if_timer.
- Use bus_get_dma_tag() so re(4) works on platforms requiring it;
  though for RELENG_6 this is a NOOP so far and just MFC'ed for diff
  reduction.
- Remove invalid BUS_DMA_ALLOCNOW when creating the parent DMA tag
  and the tags that are used for static memory allocations.
- Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that.
- Remove an unused variable in re_intr().

17 years agoMFC, subr_firmware.c 1.7:
mlaier [Tue, 30 Jan 2007 12:46:05 +0000 (12:46 +0000)]
MFC, subr_firmware.c 1.7:
  In case we are supplied with an imagename that matches a module, but not a
  firmware in that module (eventhough this is a programming error) - drop
  the reference to the module again.

  Submitted by: Benjamin Close

17 years agoMFC: 1.70 (partial), 1.74
marius [Tue, 30 Jan 2007 10:55:32 +0000 (10:55 +0000)]
MFC: 1.70 (partial), 1.74

- Sync descriptions of RL_HWREV_8168_SPIN{1,2} with HEAD (merge botch
  of rev. 1.70 in rev. 1.46.2.17).
- Consistently use if_printf() only in interface methods: if_start(),
  if_watchdog, etc., or in functions used only in these methods.
  In all other functions in the driver use device_printf().

17 years agoMFC auditing hooks for sparc64
csjp [Mon, 29 Jan 2007 21:32:18 +0000 (21:32 +0000)]
MFC auditing hooks for sparc64

NOTE: this is compile tested only

17 years agoMFC the AUDIT_SYSCALL_{EXIT|ENTER} macros. This unbreaks auditing for
csjp [Mon, 29 Jan 2007 17:48:33 +0000 (17:48 +0000)]
MFC the AUDIT_SYSCALL_{EXIT|ENTER} macros. This unbreaks auditing for
amd64 by allocating and committing audit records for syscalls. It should
be noted that the submission of userspace records are not affected by
this bug.

17 years agoMerge manual pages for ng_deflate(4) and ng_pred1(4).
glebius [Mon, 29 Jan 2007 09:53:20 +0000 (09:53 +0000)]
Merge manual pages for ng_deflate(4) and ng_pred1(4).

17 years agoMFC:
rodrigc [Sun, 28 Jan 2007 18:01:28 +0000 (18:01 +0000)]
MFC:
Convert mount_msdosfs to use nmount().

17 years agoInclude <stdio.h> for vsnprintf().
rodrigc [Sun, 28 Jan 2007 17:52:28 +0000 (17:52 +0000)]
Include <stdio.h> for vsnprintf().

17 years agoMFC 1.18:
rodrigc [Sun, 28 Jan 2007 17:47:05 +0000 (17:47 +0000)]
MFC 1.18:
In build_iovec(), if passed in len is -1, check to see if
val is NULL before doing strlen() to calculate new len.

17 years agoMFC:
rodrigc [Sun, 28 Jan 2007 17:42:06 +0000 (17:42 +0000)]
MFC:
Add build_iovec_argf() function.

17 years agoBump __FreeBSD_version for MFC of ng_deflate(4) and ng_pred1(4)
glebius [Sun, 28 Jan 2007 17:19:19 +0000 (17:19 +0000)]
Bump __FreeBSD_version for MFC of ng_deflate(4) and ng_pred1(4)
netgraph nodes and new features in ng_ppp(4).

17 years agoMerge the ng_deflate(4) and ng_pred1(4) nodes.
glebius [Sun, 28 Jan 2007 17:14:57 +0000 (17:14 +0000)]
Merge the ng_deflate(4) and ng_pred1(4) nodes.

Submitted by: Alexander Motin <mav alkar.net>

17 years agoSync ng_ppp(4) node with HEAD. This includes the rewrite of the PPP
glebius [Sun, 28 Jan 2007 17:14:08 +0000 (17:14 +0000)]
Sync ng_ppp(4) node with HEAD. This includes the rewrite of the PPP
stack and new options to specify the compression and encryption mode.

Submitted by: Alexander Motin <mav alkar.net>

17 years agosync w/ HEAD: factor common code in ath_tx_start to be used for
sam [Sun, 28 Jan 2007 06:10:12 +0000 (06:10 +0000)]
sync w/ HEAD: factor common code in ath_tx_start to be used for
raw packet injection support

17 years agoMFi386: revision 1.38.2.1.
nyan [Sun, 28 Jan 2007 05:49:02 +0000 (05:49 +0000)]
MFi386: revision 1.38.2.1.

  Sync with HEAD including support for reading any %crX register as well
  as some space savings.

17 years agoMFi386: revision 1.616.2.8.
nyan [Sun, 28 Jan 2007 05:44:56 +0000 (05:44 +0000)]
MFi386: revision 1.616.2.8.

  MFC: Sync sizes of physmap[], phys_avail[], and dump_avail[] and bump up
  the sizes to handle systems with very fragmented memory maps.

17 years agoMFC: half- and quarter-rate channel support
sam [Sun, 28 Jan 2007 04:27:52 +0000 (04:27 +0000)]
MFC: half- and quarter-rate channel support

17 years agoMFC: half- and quarter-rate channel support
sam [Sun, 28 Jan 2007 04:10:40 +0000 (04:10 +0000)]
MFC: half- and quarter-rate channel support
     enable write of most hw.ath sysctl knobs
     remove public safety band bandaids w/ more recent hal available
     allow net80211 to install default rate sets

17 years agoMFC: half- and quarter-rate channel support
sam [Sun, 28 Jan 2007 04:07:54 +0000 (04:07 +0000)]
MFC: half- and quarter-rate channel support
     900MHz channel support
     support for respecifying the channel set after attach
     default rate sets

17 years agoMFC: 1.199, 1.200, 1.219, 1.222
rodrigc [Sun, 28 Jan 2007 01:56:50 +0000 (01:56 +0000)]
MFC: 1.199, 1.200, 1.219, 1.222
Cleanups to vfs_donmount() function to better handle
"mount -u -o ro", "mount -r /usr", "mount -ar".

PR: 104687

17 years agoMFC 1.89, 1.90
rodrigc [Sun, 28 Jan 2007 01:24:57 +0000 (01:24 +0000)]
MFC 1.89, 1.90
Fix "mount -u -o ro" and "mount -u -o rw".

PR: 104687

17 years agoMFC 1.22:
rodrigc [Sun, 28 Jan 2007 01:06:18 +0000 (01:06 +0000)]
MFC 1.22:
Convert mount_ext2fs to a simple program which passes "-o option" to nmount().

PR: 104687

17 years agoMFC: mount.h 1.200, 1.217
rodrigc [Sat, 27 Jan 2007 21:02:57 +0000 (21:02 +0000)]
MFC: mount.h 1.200, 1.217
     vfs_mount.c 1.198, 1.243

Add vfs_mount_error() and vfs_deleteopt() functions.

17 years agosync with HEAD
sam [Sat, 27 Jan 2007 07:26:09 +0000 (07:26 +0000)]
sync with HEAD

17 years agoMFC: track v0.9.20.3 hal
sam [Sat, 27 Jan 2007 07:12:58 +0000 (07:12 +0000)]
MFC: track v0.9.20.3 hal

17 years agoMFC: v0.9.20.3 hal
sam [Sat, 27 Jan 2007 07:07:32 +0000 (07:07 +0000)]
MFC: v0.9.20.3 hal

17 years agoMFC copyright message correction: Make this a standard vanilla
kientzle [Sat, 27 Jan 2007 06:48:39 +0000 (06:48 +0000)]
MFC copyright message correction:  Make this a standard vanilla
  2-clause BSD license, update the year to 2007.

17 years agoMFC: synchronize libarchive with FreeBSD-CURRENT. This includes
kientzle [Sat, 27 Jan 2007 06:44:54 +0000 (06:44 +0000)]
MFC: synchronize libarchive with FreeBSD-CURRENT.  This includes
the following:

 * License updates.
 * Fixes for FreeBSD/arm
 * New read_open_filename, read_open_memory
 * New write_open_filename, write_open_memory
 * Write-blocking cleanup (cperciva@)
 * Adjust API so read_open/write_open funcs only need public API
 * Portability improvements (casts, include guards, etc.)
 * Properly pad sparse archive entries with blocks of zero bytes (cperciva@)
 * Correct copy of data to file when very large reads are possible
 * Be more flexible about dir permissions to avoid some fixups
 * Correct skip handling for entries over 2G (cperciva@)
 * ISO9660: skip entries faster, support entries over 2G
 * Tar: correct position accounting when skipping large entries (cperciva@)
 * Support unbuffered write as a special case (blocksize=0) (cperciva@)
 * Documentation corrections, improvements
 * Spelling corrections (cperciva@)
 * Improve some internal error returns

A few of these changes break the API/ABI and are therefore conditional
on the version number.  FreeBSD 6 will continue to use libarchive 1.x,
which will continue to use the old API/ABI.  When all of these changes
are ready, the libarchive version number will be changed in -CURRENT
to enable the new API.  Hopefully, this will allow the actual source
to remain identical between FreeBSD 6 and 7; only the version
parameters in the Makefile will be different.

17 years agoMFC 1.203: drop softc lock when passing rx frames up the stack
sam [Sat, 27 Jan 2007 06:37:41 +0000 (06:37 +0000)]
MFC 1.203: drop softc lock when passing rx frames up the stack

17 years agoMFC 1.202: split wi_start int locked+unlocked variants and use the
sam [Sat, 27 Jan 2007 06:36:51 +0000 (06:36 +0000)]
MFC 1.202: split wi_start int locked+unlocked variants and use the
   unlocked one from the isr to eliminate a recursive lock

17 years agoMFC: nuke compatibility cruft
sam [Sat, 27 Jan 2007 05:51:29 +0000 (05:51 +0000)]
MFC: nuke compatibility cruft

17 years agoMFC 1.156: mark tx/rx descriptors COHERENT
sam [Sat, 27 Jan 2007 05:46:57 +0000 (05:46 +0000)]
MFC 1.156: mark tx/rx descriptors COHERENT

17 years agoMFC rev 1.26: Fix multicast.
scottl [Sat, 27 Jan 2007 00:05:56 +0000 (00:05 +0000)]
MFC rev 1.26: Fix multicast.

17 years agoMFC: Document LD_UTRACE.
jhb [Fri, 26 Jan 2007 16:33:03 +0000 (16:33 +0000)]
MFC: Document LD_UTRACE.

17 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_6'.
cvs2svn [Fri, 26 Jan 2007 10:19:09 +0000 (10:19 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.

17 years agoMFC 1.10: reduce user-visible namespace to just what is needed
sam [Fri, 26 Jan 2007 06:48:07 +0000 (06:48 +0000)]
MFC 1.10: reduce user-visible namespace to just what is needed

17 years agoMFC 1.3: fix typo
sam [Fri, 26 Jan 2007 06:46:39 +0000 (06:46 +0000)]
MFC 1.3: fix typo

17 years agoMFC 1.88: add entry points required by newer broadcom wireless driver
sam [Fri, 26 Jan 2007 06:45:33 +0000 (06:45 +0000)]
MFC 1.88: add entry points required by newer broadcom wireless driver

17 years agoMFC: device-independent implementation of AMRR tx rate control algorithm
sam [Fri, 26 Jan 2007 06:40:28 +0000 (06:40 +0000)]
MFC: device-independent implementation of AMRR tx rate control algorithm

17 years agoMFC 1.4:
glebius [Thu, 25 Jan 2007 21:44:06 +0000 (21:44 +0000)]
MFC 1.4:
  Update ip and tcp pointers after m_pullup().

  Submitted by: Alexander Motin <mav alkar.net>

17 years agoMFC 1.7, 1.8:
glebius [Thu, 25 Jan 2007 21:42:47 +0000 (21:42 +0000)]
MFC 1.7, 1.8:

  Return value PKT_ALIAS_FOUND_HEADER_FRAGMENT isn't an error case. The
  packet shouldn't be dropped.

  Submitted by: Alexander Motin <mav alkar.net>

  Correctly calculate length of IP header.

  Submitted by: Eugene Hartmann <eugene tpsb.com.ru>

17 years agoMFC 1.20 - 1.24:
glebius [Thu, 25 Jan 2007 21:39:00 +0000 (21:39 +0000)]
MFC 1.20 - 1.24:
- Use bitcount32() from sys/systm.h instead of my own.
- Use hash functions with better distribution.
- Break long line.

17 years agoMFC 1.13:
glebius [Thu, 25 Jan 2007 21:35:43 +0000 (21:35 +0000)]
MFC 1.13:
  Recognize 802.1q frames in Ethernet input and process them.

  PR: kern/101162
  Submitted by: CoolDavid (Tseng Guo-Fu) <cooldavid cdpa.nsysu.edu.tw>

17 years agoMFC 1.2: add rate knob for net80211 rate control modules
sam [Thu, 25 Jan 2007 17:40:09 +0000 (17:40 +0000)]
MFC 1.2: add rate knob for net80211 rate control modules

17 years agoMFC 1.43: add rate control debug msg bit
sam [Thu, 25 Jan 2007 17:39:21 +0000 (17:39 +0000)]
MFC 1.43: add rate control debug msg bit

17 years agoMFC 1.41: fix handling of ssid "-" etc
sam [Thu, 25 Jan 2007 17:29:04 +0000 (17:29 +0000)]
MFC 1.41: fix handling of ssid "-" etc

17 years agoMFC: 1.12: Fix definitions of kilobits etc.
ru [Thu, 25 Jan 2007 14:28:02 +0000 (14:28 +0000)]
MFC: 1.12: Fix definitions of kilobits etc.

PR: bin/106116

17 years agoMFC: Add various utrace's to the ELF runtime linker/loader.
jhb [Tue, 23 Jan 2007 22:31:45 +0000 (22:31 +0000)]
MFC: Add various utrace's to the ELF runtime linker/loader.

17 years agoMFC: Fix some edge cases in detach.
jhb [Tue, 23 Jan 2007 22:17:48 +0000 (22:17 +0000)]
MFC: Fix some edge cases in detach.

17 years agoMFC: Wrap propagate_priority() in a critical section to prevent unwanted
jhb [Tue, 23 Jan 2007 22:16:33 +0000 (22:16 +0000)]
MFC: Wrap propagate_priority() in a critical section to prevent unwanted
preemptions.

17 years agoMFC: Parse utrace(2) entries generated by malloc(3).
jhb [Tue, 23 Jan 2007 22:14:14 +0000 (22:14 +0000)]
MFC: Parse utrace(2) entries generated by malloc(3).

17 years agoMFC: Fix some edge cases in detach() and a memory leak if we fail to talk
jhb [Tue, 23 Jan 2007 21:55:47 +0000 (21:55 +0000)]
MFC: Fix some edge cases in detach() and a memory leak if we fail to talk
to the BMC.

17 years agoAdd errata entry for IPv6 over gif(4) problems.
bmah [Tue, 23 Jan 2007 17:00:59 +0000 (17:00 +0000)]
Add errata entry for IPv6 over gif(4) problems.

17 years agoMFC revisions 1.48-1.50:
cperciva [Tue, 23 Jan 2007 12:13:29 +0000 (12:13 +0000)]
MFC revisions 1.48-1.50:
 * Print error messages where appropriate, and print the right one.
 * Properly handle errors in archive_write_close.
 * Correct resource leak in @<archive> handling.

17 years agoMFC: support for separate CPU Cx idle states
njl [Tue, 23 Jan 2007 07:21:23 +0000 (07:21 +0000)]
MFC: support for separate CPU Cx idle states

17 years agoMFC: sync to HEAD
thompsa [Mon, 22 Jan 2007 19:48:50 +0000 (19:48 +0000)]
MFC: sync to HEAD
 - markup fixes
 - spelling
 - RSTP section

17 years agoMFC:
flz [Mon, 22 Jan 2007 17:57:30 +0000 (17:57 +0000)]
MFC:

  Fix USB printer Xerox WorkCentre M15 adding a quirk to bypass
  reported bidirectional functionality.

      src/sys/dev/usb/usbdevs: rev 1.276 -> 1.277
      src/sys/dev/usb/usb_quirks.c: rev 1.54 -> 1.55

PR: usb/104704
Submitted by: Eygene <rea-fbsd@codelabs.ru>

17 years agoMFC: Introduce mixer_enable (default: YES).
flz [Mon, 22 Jan 2007 17:51:17 +0000 (17:51 +0000)]
MFC: Introduce mixer_enable (default: YES).

      src/etc/rc.d/mixer: rev 1.6 -> 1.7
      src/share/man/man5/rc.conf.5: rev 1.307 -> 1.308
      src/etc/defaults/rc.conf: rev 1.297 -> 1.298

PR: conf/101268
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>

17 years agoMFC revisions 1.92, 1.94 and 1.95.
ceri [Sun, 21 Jan 2007 17:41:54 +0000 (17:41 +0000)]
MFC revisions 1.92, 1.94 and 1.95.

17 years agoMFC rev. 1.13:
markus [Sun, 21 Jan 2007 02:32:06 +0000 (02:32 +0000)]
MFC rev. 1.13:
  - Grammar fixes
  - Reword some sentences
  - Use .Cm for arguments
  - s/CAVEAT/CAVEATS/

Approved by: emax (mentor)

17 years agoMFC rev. 1.83:
markus [Sun, 21 Jan 2007 02:27:40 +0000 (02:27 +0000)]
MFC rev. 1.83:

  Fix a buffer overflow iff USB_DEBUG is set, hw.usb.ums.debug is > 5 and the
  total size of all input reports is < 6.

Approved by: emax (mentor)

17 years agoMFC Rapid Spanning Tree support.
thompsa [Sun, 21 Jan 2007 00:18:34 +0000 (00:18 +0000)]
MFC Rapid Spanning Tree support.

This fully syncs bridgestp* and if_bridge* to HEAD with the exception of the
default spanning tree protocol being v1 and not rstp.

17 years agoMFC: Extend the nsswitch to support Services, Protocols and Rpc
ume [Sat, 20 Jan 2007 14:59:12 +0000 (14:59 +0000)]
MFC: Extend the nsswitch to support Services, Protocols and Rpc
databases.

include/nsswitch.h: 1.4 (partly)
include/rpc/rpcent.h: 1.3, 1.4
lib/libc/net/Makefile.inc: 1.59 (partly)
lib/libc/net/getproto.c: 1.6 (partly)
lib/libc/net/getprotoent.c: 1.8 (partly)
lib/libc/net/getprotoname.c: 1.6 (partly)
lib/libc/net/getservbyname.c: 1.9
lib/libc/net/getservbyport.c: 1.9
lib/libc/net/getservent.c: 1.22 (partly)
lib/libc/net/netdb_private.h: 1.12
lib/libc/rpc/getrpcent.c: 1.15 (partly)

17 years agoMFC revision 1.4
delphij [Sat, 20 Jan 2007 07:05:55 +0000 (07:05 +0000)]
MFC revision 1.4
date: 2006/12/20 17:10:53;  author: delphij;  state: Exp;  lines: +5 -0
On amd64 platform, use linux32 headers so 32-bit Linux applications
would be able to work with aac(4).

This approach is used by some other drivers as well.  However, we
need a more generic way to do this in order to avoid having to
special case headers in individual drivers for each platform.

Obtained from:  Adaptec (version b11518)

17 years agoMFC 1.74: Avoid infinite loop if nicmp6 and nip6 are not on the same mbuf.
ume [Sat, 20 Jan 2007 06:22:31 +0000 (06:22 +0000)]
MFC 1.74: Avoid infinite loop if nicmp6 and nip6 are not on the same mbuf.
NetBSD PR 34994+35333

17 years agoMFC Makefile revision 1.53 (with changes)
csjp [Sat, 20 Jan 2007 02:25:36 +0000 (02:25 +0000)]
MFC Makefile revision 1.53 (with changes)
MFC login.c revision 1.102
MFC login.h revision 1.6

- Conditional build of audit based on NO_AUDIT

17 years agoMFC audit_private.h revision 1.12
csjp [Sat, 20 Jan 2007 02:24:06 +0000 (02:24 +0000)]
MFC audit_private.h revision 1.12
MFC audit_arg.c revision 1.7

- Change the type we are using for struct sockaddr storage

17 years agoMFC if_tap.c revision 1.65
csjp [Sat, 20 Jan 2007 02:23:39 +0000 (02:23 +0000)]
MFC if_tap.c revision 1.65

- Do not unconditionally report success on write(2)

17 years agoMFC hosts.allow revision 1.22
csjp [Sat, 20 Jan 2007 02:19:57 +0000 (02:19 +0000)]
MFC hosts.allow revision 1.22

Since NIS is an RPC based service, add a note that when adjusting access
controls in NIS, similar access controls should be considered for the
rpcbind as well.

17 years agoMFC df.c revision 1.66
csjp [Sat, 20 Jan 2007 02:19:09 +0000 (02:19 +0000)]
MFC df.c revision 1.66

Based on The Open Group Base Specifications Issue 6 IEEE Std 1003.1, our
current implementation of df(1) is does not properly format the output under
certain conditions. Right now -kP and -Pk are not the same thing. Further,
when we set the BLOCKSIZE environment variable, we use "1k" instead of "1024",
making the header display incorrectly.

17 years agoMFC: Change the life cycle of bpf interface objects to close attach/detach
jhb [Fri, 19 Jan 2007 23:01:34 +0000 (23:01 +0000)]
MFC: Change the life cycle of bpf interface objects to close attach/detach
races with bpf(4).  This includes shims to preserve the ABI for any old
modules.  For more details see the commit log for 1.166 of sys/net/bpf.c.

17 years agoMFC if_bce.c (1.23-24), if_bcereg.h (1.11):
delphij [Thu, 18 Jan 2007 16:14:19 +0000 (16:14 +0000)]
MFC if_bce.c (1.23-24), if_bcereg.h (1.11):

 - Instead of if_watchdog/if_timer interface use our own timer
   that piggybacks on bce_tick() callout.
 - Instead of unconditionally resetting the controller, try to
   skip the reset in case we got a pause frame, like em(4) did.
 - Lock bce_tick() using callout_init_mtx().

17 years agoMFC rev. 1.34, 1.36: markup nits, document SO_TIMESTAMP and SO_BINSTAMP.
maxim [Thu, 18 Jan 2007 11:08:44 +0000 (11:08 +0000)]
MFC rev. 1.34, 1.36: markup nits, document SO_TIMESTAMP and SO_BINSTAMP.

17 years agoMFC rev. 1.110: FreeBSD 6.2-RELEASE, copyright years++.
maxim [Thu, 18 Jan 2007 11:05:18 +0000 (11:05 +0000)]
MFC rev. 1.110: FreeBSD 6.2-RELEASE, copyright years++.

17 years agoMFC r1.82
thompsa [Thu, 18 Jan 2007 02:02:03 +0000 (02:02 +0000)]
MFC r1.82
 Use LIST_FOREACH_SAFE instead of a hand rolled version.

17 years agoMFC: ifbridge.c r1.5, ifconfig.8 r1.126, if_bridge.c r1.87, if_bridgevar.h r1.17
thompsa [Thu, 18 Jan 2007 00:08:00 +0000 (00:08 +0000)]
MFC: ifbridge.c r1.5, ifconfig.8 r1.126, if_bridge.c r1.87, if_bridgevar.h r1.17

 Add a new address cache type called sticky. On an interface marked sticky any
 address learned by the bridge is made permanent, the address will not age out
 and most importantly will not migrate to another interface.

 This can be used to stop mac address poisoning or clients roaming in much the
 same way as static entries without the hassle of preloading the table.

17 years agoMFC revs. 1.115 - 1.117: fix lines misorder, typo, wrap long lines.
maxim [Wed, 17 Jan 2007 02:45:35 +0000 (02:45 +0000)]
MFC revs. 1.115 - 1.117: fix lines misorder, typo, wrap long lines.

17 years agoUse canonical address for security Web page.
bmah [Tue, 16 Jan 2007 20:31:50 +0000 (20:31 +0000)]
Use canonical address for security Web page.

17 years agoNew errata: Separate doc disk, wrong geli(8) reference, arcmsr(4),
bmah [Tue, 16 Jan 2007 20:28:35 +0000 (20:28 +0000)]
New errata:  Separate doc disk, wrong geli(8) reference, arcmsr(4),
unp_gc.patch, zonelimit issue.