]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoMFC 1.61:
rodrigc [Thu, 8 Feb 2007 02:44:19 +0000 (02:44 +0000)]
MFC 1.61:
  Add noatime to the list of mount options that msdosfs accepts.

  PR:             108896
  Submitted by:   Eugene Grosbein <eugen grosbein pp ru>

17 years agoGrrr, missed a revision in the last MFC.
le [Wed, 7 Feb 2007 20:03:17 +0000 (20:03 +0000)]
Grrr, missed a revision in the last MFC.

17 years agoMFC:
le [Wed, 7 Feb 2007 19:52:33 +0000 (19:52 +0000)]
MFC:

Add support for various 3G datacards.

17 years agoMFC r1.3:
philip [Wed, 7 Feb 2007 09:27:42 +0000 (09:27 +0000)]
MFC r1.3:

  Fix hr.iso syscons keymap, making it possible to type < and >.

17 years agoMFC: rev 1.71/1.72
ade [Wed, 7 Feb 2007 09:15:04 +0000 (09:15 +0000)]
MFC: rev 1.71/1.72

Remove hard-coded limit (200) on maximum number of packages that can be
added with a single invocation of pkg_add, replacing it with something
rather more dynamic.

17 years agoMFC the upgrade to BIND 9.3.4
dougb [Wed, 7 Feb 2007 00:46:35 +0000 (00:46 +0000)]
MFC the upgrade to BIND 9.3.4

17 years agoMFC 1.75: ng_iface requiers neighbor cache as well.
ume [Tue, 6 Feb 2007 14:45:51 +0000 (14:45 +0000)]
MFC 1.75: ng_iface requiers neighbor cache as well.

17 years agoMFC 1.94
rodrigc [Tue, 6 Feb 2007 06:06:28 +0000 (06:06 +0000)]
MFC 1.94

Warn that "-t msdos" will be converted to "-t msdosfs".

PR: 79296
Submitted by: Nobuhiro Yasutomi <nobuhiro yasutomi nifty ne jp>

17 years agoMFC: 1.142
rodrigc [Tue, 6 Feb 2007 02:37:42 +0000 (02:37 +0000)]
MFC: 1.142

Check the actual sector size of the underlying media before mounting.
Prevents a kernel panic if you try to "mount_cd9660 /dev/acd0 /mnt" while
an audio CD is in the CD-ROM drive.

PR: 92269

17 years agoMFC: 1.73, 1.74, 1.84
rodrigc [Tue, 6 Feb 2007 01:16:09 +0000 (01:16 +0000)]
MFC: 1.73, 1.74, 1.84

Do not pass "noauto", "userquota", or "groupquota" mount options
down to nmount() or external mount programs.

PR: 108751
Reported and tested by: Neil Hoggarth <neil hoggarth me uk>

17 years agoMFC rev 1.133:
bms [Mon, 5 Feb 2007 12:39:53 +0000 (12:39 +0000)]
MFC rev 1.133:
  Be explicit in examples about the correct grammar for 'alias' and
  '-alias', and that 'add' and 'delete are in fact synonyms for these
  in the ifconfig(8) grammar.

  Use network prefixes explicitly specified in IETF RFCs for
  documentation purposes. (bz)

PR 102701
See also: RFC 3330, RFC 3849
Submitted by: bz

17 years agoMFC: Add support for another ATI IGP 340M (RS200M) AGP bridge.
flz [Mon, 5 Feb 2007 12:29:46 +0000 (12:29 +0000)]
MFC: Add support for another ATI IGP 340M (RS200M) AGP bridge.

    src/sys/pci/agp_ati.c: rev 1.2 -> 1.3

PR: kern/100958
Submitted by: Kazuo Dohzono <dohzono@axion-software.com>

17 years agoMFC
kib [Mon, 5 Feb 2007 11:38:26 +0000 (11:38 +0000)]
MFC
rev. 1.50 of src/sys/fs/deadfs/dead_vnops.c
rev. 1.97 of src/sys/kern/vfs_lookup.c

Introduce mp_crossmp placeholder vnode to fix LOR in vfs_lookup().

17 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_6'.
cvs2svn [Sun, 4 Feb 2007 13:31:06 +0000 (13:31 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.

17 years agoMFC:
stefanf [Sun, 4 Feb 2007 10:42:30 +0000 (10:42 +0000)]
MFC:
1.30: Correct exit status for type/command builtin.
1.31: Use eaccess instead of access.

17 years agoMFC rev. 1.112
erwin [Sun, 4 Feb 2007 10:41:20 +0000 (10:41 +0000)]
MFC rev. 1.112
  Add gnustep and ports-mgmt ports categories.

17 years agoPartial MFC (buffer.h 1.14, buffer.c 1.30)
ariff [Sun, 4 Feb 2007 06:17:48 +0000 (06:17 +0000)]
Partial MFC (buffer.h 1.14, buffer.c 1.30)

Fix huge memory leak within sound buffer (during channel destruction,
buffer resizing, etc.) that was here since eon. Free all (unmanaged)
allocated buffer through sndbuf_destroy() in case we forgot to call
sndbuf_free(). For a managed buffer (mostly hw specific managed buffer),
either provide CHANNEL_FREE() method with appropriate return value to
invoke semi-automatic sndbuf_free() or simply do it on their own. If
everything is failed, sndbuf_destroy() will come to the rescue as a
final measure.

17 years agoPartial MFC (revision 1.27)
ariff [Sun, 4 Feb 2007 06:17:14 +0000 (06:17 +0000)]
Partial MFC (revision 1.27)

Fix apparent memory leak (during vchan destruction) that was here
since eon.

17 years agoMFC: Merge from DRM upstream:
flz [Sat, 3 Feb 2007 20:01:54 +0000 (20:01 +0000)]
MFC: Merge from DRM upstream:
  - Add support for Intel 965 Express chipsets.
  - Add support for R200 vertex programs, along with minor bugfixes.
  - Add support for vblank synchronization to pipe B of Intel hardware
    (laptop screens).

      src/sys/dev/drm/i915_drm.h: rev 1.3 -> 1.4
      src/sys/dev/drm/radeon_drm.h: rev 1.13 -> 1.14
      src/sys/dev/drm/i915_irq.c: rev 1.3 -> 1.4
      src/sys/dev/drm/radeon_state.c: rev 1.21 -> 1.22
      src/sys/dev/drm/i915_dma.c: rev 1.3 -> 1.4
      src/sys/dev/drm/radeon_cp.c: rev 1.18 -> 1.19
      src/sys/dev/drm/drmP.h: rev 1.16 -> 1.17
      src/sys/dev/drm/drm_drv.c: rev 1.5 -> 1.6
      src/sys/dev/drm/mach64_drm.h: rev 1.2 -> 1.3
      src/sys/dev/drm/drm_pciids.h: rev 1.6 -> 1.7
      src/sys/dev/drm/i915_drv.h: rev 1.3 -> 1.4
      src/sys/dev/drm/radeon_drv.h: rev 1.15 -> 1.16

17 years agoMFC: %s/tranport/transport/
wilko [Sat, 3 Feb 2007 16:40:19 +0000 (16:40 +0000)]
MFC:  %s/tranport/transport/

17 years agoMFC: sbin/geom/class/eli/geom_eli.c 1.19
pjd [Sat, 3 Feb 2007 16:09:10 +0000 (16:09 +0000)]
MFC: sbin/geom/class/eli/geom_eli.c 1.19

When the following conditions are meet:
- First configured key is based only on keyfile (no passphrase).
- Device is attached.
- User changes first key (setkey) from keyfile to passphrase and doesn't
  specify number of iterations (with -i option).
...geli(8) won't store calculated number of iterations in metadata.
This result in device beeing unaccesable after detach.

One can recover from this situation by guessing number of iterations
generated, storing it in metadata and trying to attach device.
Recovery procedure isn't nice, but one's data is not lost.

Reported by: Thomas Nickl <T.Nickl@gmx.net>

17 years agoMFC: sbin/geom/misc/subr.c 1.7
pjd [Sat, 3 Feb 2007 16:08:11 +0000 (16:08 +0000)]
MFC: sbin/geom/misc/subr.c 1.7
sbin/geom/misc/subr.h 1.8

Implement gctl_change_param() function, which changes value of existing
parameter.

17 years agoMFC:
mlaier [Sat, 3 Feb 2007 13:46:18 +0000 (13:46 +0000)]
MFC:
  bce(4), ipw(4), iwi(4), ral(4), udav(4), ural(4) support ALTQ in RELENG_6
  as well.

17 years agoBump .Dd.
bms [Sat, 3 Feb 2007 11:57:44 +0000 (11:57 +0000)]
Bump .Dd.

17 years agoMFC rev 1.132:
bms [Sat, 3 Feb 2007 11:57:09 +0000 (11:57 +0000)]
MFC rev 1.132:
 Add an EXAMPLES section for ifconfig(8).

PR: bin/102701
Obtained from: OpenBSD

17 years agoMFC:
bms [Sat, 3 Feb 2007 04:01:22 +0000 (04:01 +0000)]
MFC:
 Drop all received data mbufs from a socket's queue if the MT_SONAME
 mbuf is dropped, to preserve the invariant in the PR_ADDR case.

PR: kern/38495
Submitted by: James Juran
Reviewed by: sam, rwatson
Obtained from: NetBSD

17 years agoMFC revisions 1.308, 1.309, and 1.312
alc [Sat, 3 Feb 2007 03:14:21 +0000 (03:14 +0000)]
MFC revisions 1.308, 1.309, and 1.312
  Pass VM_PROT_EXECUTE to vm_fault() instead of VM_PROT_READ if the page
  fault was caused by an instruction fetch.

  Differentiate between data and instruction fetch in the fatal
  page fault trap handler.

17 years agoMFC revision 1.133
alc [Sat, 3 Feb 2007 02:57:02 +0000 (02:57 +0000)]
MFC revision 1.133
  Define the additional page fault error codes that are implemented
  by amd64.

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).