]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoMFC: rev. 1.21 + 1.22
brueffer [Thu, 15 Feb 2007 17:19:38 +0000 (17:19 +0000)]
MFC: rev. 1.21 + 1.22

Don't reference the non-existant lkm(4), use .Nm instead
since lkm is the name of an api.

17 years agoMFC:
le [Wed, 14 Feb 2007 19:57:15 +0000 (19:57 +0000)]
MFC:

  Add support for Huawei Technologies Mobile card (3G).

  Submitted by:  Thorsten Schroeder <ths_AT_dev.io>

17 years agoAdd a couple of missing breaks that are harmless, though the first one
jhb [Wed, 14 Feb 2007 17:04:05 +0000 (17:04 +0000)]
Add a couple of missing breaks that are harmless, though the first one
missing meant that a PCI-PCI bridge that supported MSI but didn't support
PCIY_SUBVENDOR (or the MSI capability came after the subvendor cap) would
have garbage in its subvendor ID.

17 years agoMFC rev 1.98:
bms [Wed, 14 Feb 2007 13:39:01 +0000 (13:39 +0000)]
MFC rev 1.98:
  Import macros IN_LINKLOCAL(), IN_PRIVATE(), IN_LOCAL_GROUP(), IN_ANY_LOCAL().
  This is not a functional change.

  IN_LINKLOCAL() tests if an address falls within the IPv4 link-local prefix.
  IN_PRIVATE() tests if an address falls within an RFC 1918 private prefix.
  IN_LOCAL_GROUP() tests if an address falls within the statically assigned
  link-local multicast scope specified in RFC 2365.
  IN_ANY_LOCAL() tests for either of IN_LINKLOCAL() or IN_LOCAL_GROUP().

  As with the existing macros in the FreeBSD netinet stack, comparisons
  are performed in host-byte order.

See also: RFC 1918, RFC 2365, RFC 3927
Obtained from: NetBSD (dyoung@)

17 years agoMFC rev 1.75:
bms [Wed, 14 Feb 2007 13:35:11 +0000 (13:35 +0000)]
MFC rev 1.75:
  In the ICMP6 path to handle FQDN 'who-are-you' queries, check that the
  packet header mbuf is non-NULL before trying to create a duplicate of it.

PR: 95957
Reviewed by: ume

17 years agoMFC rev. 1.15: fix race with execve().
kib [Wed, 14 Feb 2007 10:24:50 +0000 (10:24 +0000)]
MFC rev. 1.15: fix race with execve().

17 years agoMFC 1.41:
pav [Wed, 14 Feb 2007 09:37:15 +0000 (09:37 +0000)]
MFC 1.41:

  Fix a bug in 1.40 - it missed three occurences in pkg_info which leads to
  (null)/file output.

17 years agoMFC 1.63:
pav [Wed, 14 Feb 2007 09:29:33 +0000 (09:29 +0000)]
MFC 1.63:

  Rewrite the udf_read() routine to use a file vnode instead of the devvp vnode.
  The code is modelled after cd9660, including support for simple read-ahead
  courtesy of clustered read.

  Fix udf_strategy to DTRT.

  This change fixes sendfile(2) not to send out garbage.

17 years agoMFC: "empty" format support
kientzle [Wed, 14 Feb 2007 08:29:35 +0000 (08:29 +0000)]
MFC: "empty" format support
PR: bin/108607

17 years agoMFC rev. 1.158: increment requests counter right before send out
maxim [Tue, 13 Feb 2007 15:38:17 +0000 (15:38 +0000)]
MFC rev. 1.158: increment requests counter right before send out
an ARP query actually.  Otherwise the code could lead to the
spurious EHOSTDOWN errors.

17 years agoMFC archive_read.c rev. 1.29:
cperciva [Tue, 13 Feb 2007 07:31:22 +0000 (07:31 +0000)]
MFC archive_read.c rev. 1.29:
  Don't reference a NULL pointer.

MFC archive_read_support_compression_none.c rev. 1.14:
  Print off_t by casting to intmax_t and using %jd.
  Ask the client skipper to handle requests > SSIZE_MAX if the API works.

17 years agoMFC: New unionfs implementation from Daichi GOTO and Masanori OZAWA,
rodrigc [Tue, 13 Feb 2007 05:56:43 +0000 (05:56 +0000)]
MFC: New unionfs implementation from Daichi GOTO and Masanori OZAWA,
     which fixes many locking and crashing problems in the previous
     implementation.  kib@ helped a lot by eliminating a source
     of deadlocks encountered with unionfs with these commits:
       rev. 1.50 of src/sys/fs/deadfs/dead_vnops.c
       rev. 1.97 of src/sys/kern/vfs_lookup.c
Submitted by: daichi, Masanori OZAWA <ozawa ongs co jp>

17 years agoMFC: rev. 1.29 + 1.30
brueffer [Mon, 12 Feb 2007 21:24:56 +0000 (21:24 +0000)]
MFC: rev. 1.29 + 1.30

- Use the standard section 4 SYNOPSIS
- Utilize .Nm

17 years agoMFC: Don't send interrupts to CPUs disabled via lapic hints.
jhb [Mon, 12 Feb 2007 21:20:43 +0000 (21:20 +0000)]
MFC: Don't send interrupts to CPUs disabled via lapic hints.

17 years agoMFC: Do not set B_NOCACHE on buffers when releasing them in flushbuflist().
jhb [Mon, 12 Feb 2007 19:08:29 +0000 (19:08 +0000)]
MFC: Do not set B_NOCACHE on buffers when releasing them in flushbuflist().
If B_NOCACHE is set the pages of vm backed buffers will be invalidated.
However clean buffers can be backed by dirty VM pages so invalidating them
can lead to data loss.
Add support for flush dirty page in the data invalidation function
of some network file systems.

This fixes data losses during vnode recycling (and other code paths
using invalbuf(*,V_SAVE,*,*)) for data written using an mmaped file.

17 years agoMFC: Sync up bus_dma(9) to rev 1.39 (except for rev 1.37 since 6.x doesn't
jhb [Mon, 12 Feb 2007 17:57:14 +0000 (17:57 +0000)]
MFC: Sync up bus_dma(9) to rev 1.39 (except for rev 1.37 since 6.x doesn't
have a real bus_get_dma_tag()) and add MLINK for bus_dmamap_load_mbuf_sg().
Prompted by a user who noticed the bus_dmamap_sync ops stuff was still
wrong in 6.x.

Reported by: Jason Harmening <jason.harmening at gmail>

17 years agoMFC rev 1.39:
bms [Mon, 12 Feb 2007 12:52:54 +0000 (12:52 +0000)]
MFC rev 1.39:
  When fast-forwarding is enabled, do not forward directed IPv4 broadcasts
  to locally attached broadcast networks.

  Note well: This relies on the layer 2 route cloning behaviour in BSD.

PR: 98799
Tested by: Dmitry Sergienko

17 years agoMFC: rev. 1.71 + part of 1.69
brueffer [Mon, 12 Feb 2007 05:37:55 +0000 (05:37 +0000)]
MFC: rev. 1.71 + part of 1.69

- Document NetCell NC3000 and NC5000 support.
- New supported ALI and ServerWorks chipsets.

17 years agoMFC: Add support for the NetCell NC3000/5000 series SATA RAID cards.
rink [Sun, 11 Feb 2007 23:46:45 +0000 (23:46 +0000)]
MFC: Add support for the NetCell NC3000/5000 series SATA RAID cards.

Reviewed by: sos
Approved by: imp (mentor)

17 years agoMention that the 'zonelimit' issue has been fixed on -HEAD and RELENG_6.
delphij [Sun, 11 Feb 2007 19:04:57 +0000 (19:04 +0000)]
Mention that the 'zonelimit' issue has been fixed on -HEAD and RELENG_6.

Confirmed by: mohans

17 years agoMFC: 1.24, 1.26
marius [Sun, 11 Feb 2007 18:10:58 +0000 (18:10 +0000)]
MFC: 1.24, 1.26

- In rlphy_service() for the MII_TICK case don't bother to check whether
  the currently selected media is of type IFM_AUTO as auto-negotiation
  doesn't need to be kicked anyway.
- In rlphy_status() just use if_dname instead of determining the name
  of the parent NIC via device_get_name(device_get_parent(sc->mii_dev)).
- Use mii_phy_add_media() instead of mii_add_media() so the latter can
  be eventually retired.
- Take advantage of mii_phy_setmedia().
- Fix some whitespace nits and remove commented out code that just can't
  be used with RealTek PHYs.

17 years agoMFC: 1.17
marius [Sun, 11 Feb 2007 18:05:42 +0000 (18:05 +0000)]
MFC: 1.17

- In qsphy_service() for the MII_TICK case don't bother to check whether
  the currently selected media is of type IFM_AUTO as auto-negotiation
  doesn't need to be kicked anyway.
- Don't set MIIF_NOISOLATE so qsphy(4) can be used in configurations
  with multiple PHYs. There doesn't seem to be a problem with isolating
  QS6612 per se nor in combination with the NICs they're used with.
- Use mii_phy_add_media() instead of mii_add_media() so the latter can
  be eventually retired.
- Take advantage of mii_phy_setmedia().

Obtained from: NetBSD (except for the first item)

17 years agoMFC: 1.26, 1.28
marius [Sun, 11 Feb 2007 18:03:22 +0000 (18:03 +0000)]
MFC: 1.26, 1.28

- Don't add IFM_NONE when used in combination with pcn(4) as for MII
  loopback to work PCnet chips additionally need to be placed into
  external loopback mode which pcn(4) doesn't do so far.
- In nsphy_service() just use if_dname instead of determining the name
  of the parent NIC via device_get_name(device_get_parent(sc->mii_dev)).
- Don't set MIIF_NOISOLATE, except for when used in combination with a
  NIC that wedges when isolating the PHYs, so nsphy(4) can be used in
  configurations with multiple PHYs.
- Use mii_phy_add_media() instead of mii_add_media() so the latter can
  be eventually retired.
- Take advantage of mii_phy_setmedia() (requires the MIIF_FORCEANEG
  added in sys/dev/mii/mii_physubr.c 1.22.2.3, sys/dev/mii/miivar.h
  1.15.14.2).
- Implement a separate nsphy_reset(). There are two reasons for this:
  1) This PHY can take an inordinate amount of time to reset if media
     is attached; under fairly normal circumstances up to nearly one
     second. This is because it appears to go through an implicit auto-
     negotiation cycle as part of the reset.
  2) During reset and auto-negotiation, the BMCR will clear the reset
     bit before the process is complete. It will return 0 until the
     process is complete and it's safe to access the PHY again.

  This is the first of two changes required to make the combination of
  Am79c971 and DP83840A found on certain HP cards and on-board in IBM
  machines work.
- Fix some whitespace nits.

Based on: NetBSD (except for the first and second item)

17 years agoMFC: if_pcn.c 1.74, 1.79 (sort of), 1.80; if_pcnreg.h 1.14
marius [Sun, 11 Feb 2007 17:21:59 +0000 (17:21 +0000)]
MFC: if_pcn.c 1.74, 1.79 (sort of), 1.80; if_pcnreg.h 1.14

- Fix obsolete comment.
- Extend references to lnc(4) by references to le(4) as the constraint
  described in the comment applies to the latter as well.
- Don't bother to include IDs of PCnet chips which are not supported
  by this driver and largely are not even PCI devices in pcn_chipid.
- Use device_printf(9)/if_printf(9) rather than implementing their
  functionality with printf(9).
- Sprinkle some const.

17 years agoMFC: 1.23
marius [Sun, 11 Feb 2007 16:21:04 +0000 (16:21 +0000)]
MFC: 1.23

- Rely on mii_phy_add_media() setting mii_anegticks as appropriate.
- Fix some whitespace nits.

17 years agoMFC: 1.17, 1.19
marius [Sun, 11 Feb 2007 16:09:11 +0000 (16:09 +0000)]
MFC: 1.17, 1.19

- Don't set MIIF_NOISOLATE so lxtphy(4) can be used in configurations
  with multiple PHYs. There doesn't seem to be a problem with isolating
  LXT970 per se nor in combination with the NICs they're used with and
  lxtphy(4) was already adding IFM_NONE anyway.
- Use mii_phy_add_media() instead of mii_add_media() so the latter can
  be eventually retired.
- Take advantage of mii_phy_setmedia().
- Fix some whitespace nits.

Obtained from: NetBSD

17 years agoMFC: acphy.c 1.17, amphy.c 1.18, brgphy.c 1.35, ciphy.c 1.3, dcphy.c 1.29,
marius [Sun, 11 Feb 2007 16:01:37 +0000 (16:01 +0000)]
MFC: acphy.c 1.17, amphy.c 1.18, brgphy.c 1.35, ciphy.c 1.3, dcphy.c 1.29,
     exphy.c 1.20, lxtphy.c 1.15, nsphy.c 1.24, pnaphy.c 1.16, pnphy.c 1.19,
     qsphy.c 1.15, rgephy.c 1.7, rlphy.c 1.22, tlphy.c 1.19, ukphy.c 1.18,
     xmphy.c 1.18

Use ansi function definitions in preference to K&R to reduce diffs
with NetBSD (and cause it looks cooler).

17 years agoMFC: bmtphy.c 1.11, gentbi.c 1.2, mii_physubr.c 1.27
marius [Sun, 11 Feb 2007 15:29:35 +0000 (15:29 +0000)]
MFC: bmtphy.c 1.11, gentbi.c 1.2, mii_physubr.c 1.27

Analogous to mii_add_media(), factor out the code for checking whether
the BMSR contains any media at all to mii_phy_add_media(). The majority
of the drivers currently using mii_phy_add_media() were missing such a
check anyway though.

17 years agoMFC: mii_physubr.c 1.26, miivar.h 1.19
marius [Sun, 11 Feb 2007 15:09:50 +0000 (15:09 +0000)]
MFC: mii_physubr.c 1.26, miivar.h 1.19

- Add a MIIF_FORCEANEG flag which forces an auto-negotiation to always
  take place if IFM_AUTO is selected. This allows drivers like nsphy(4),
  which need to force writing the ANAR according to the BMSR, to take
  advantage of mii_phy_setmedia(). [1]
- In mii_phy_reset() once the current media is set don't isolate the PHY
  corresponding to the instance of the currently selected media rather
  than unconditionally not isolating the PHY corresponding to instance 0.
  This saves a isolation-unisolation-cycle of the PHY corresponding to
  the currently selected media for the case were it isn't instance 0.
- Fix some whitespace nits. [1]

Obtained from: NetBSD [1]

17 years agoAdd missing MNT_ILOCK around some mnt_kern_flag accesses.
mohans [Sun, 11 Feb 2007 03:43:34 +0000 (03:43 +0000)]
Add missing MNT_ILOCK around some mnt_kern_flag accesses.

17 years agoMFC:
mohans [Sun, 11 Feb 2007 03:31:19 +0000 (03:31 +0000)]
MFC:

Fix for problems that occur when all mbuf clusters migrate to the mbuf packet
zone. Cluster allocations fail when this happens. Also processes that may have
blocked on cluster allocations will never be woken up. Thanks to rwatson for
an overview of the issue and pointers to the mbuma paper and his tool to dump
out UMA zones.

Reviewed by: andre@

17 years agoMFC :
mohans [Sun, 11 Feb 2007 03:13:54 +0000 (03:13 +0000)]
MFC :

Fix for a bug where only one process (of multiple) blocked on
maxpages on a zone is woken up, with the rest never being woken up as
a result of the ZFLAG_FULL flag being cleared. Wakeup all such blocked
procsses instead. This change introduces a thundering herd, but since
this should be relatively infrequent, optimizing this (by introducing
a count of blocked processes, for example) may be premature.

Reviewd by: ups@

17 years agoMFC:
mohans [Sun, 11 Feb 2007 03:07:46 +0000 (03:07 +0000)]
MFC:

Fixes up the handling of shared vnode lock lookups in the NFS client,
adds a FS type specific flag indicating that the FS supports shared
vnode lock lookups, adds some logic in vfs_lookup.c to test this flag
and set lock flags appropriately.

This change fixes the general problem of cascading vnode locks when an
NFS server goes down.

Ideally, we wouldn't need these changes, as enabling shared vnode lock
lookups globally would work. Unfortunately, UFS, for example isn't
ready for shared vnode lock lookups, crashing pretty quickly.

This change is the result of discussions with Stephan Uphoff (ups@).
Thanks to Kris for shaking out several bugs in NFS with shared vnode
lock lookups in current. MFC'ed per Kris' request.

Reviewed by: ups@

17 years agoMFC: SA-07:02.bind, BIND 9.3.4.
bmah [Sat, 10 Feb 2007 20:05:45 +0000 (20:05 +0000)]
MFC:  SA-07:02.bind, BIND 9.3.4.

17 years agoMFC:
mlaier [Sat, 10 Feb 2007 15:17:34 +0000 (15:17 +0000)]
MFC:
  Add ALTQ support for aue(4).

  Tested by: Greg Hennessy, Volker

17 years agoMFC rev 1.20:
bms [Sat, 10 Feb 2007 12:01:39 +0000 (12:01 +0000)]
MFC rev 1.20:
  Add lists of ICMP types and codes for user and developer reference.
  Cross-reference pf.conf(5) which is able to use these definitions.

PR: 85243
Submitted by: Daniel Gerzo
Obtained from: OpenBSD

17 years agoMFC: rev. 1.33 by joel
brueffer [Fri, 9 Feb 2007 21:22:32 +0000 (21:22 +0000)]
MFC: rev. 1.33 by joel

Remove reference to T/TCP.

17 years agoMFC: Fix iostat(8) to fully work on crash dumps.
jhb [Fri, 9 Feb 2007 14:48:55 +0000 (14:48 +0000)]
MFC: Fix iostat(8) to fully work on crash dumps.

17 years agoMFC: Teach pciconf(8) to list PCI capabilities via the new -c flag and
jhb [Fri, 9 Feb 2007 14:47:53 +0000 (14:47 +0000)]
MFC: Teach pciconf(8) to list PCI capabilities via the new -c flag and
update some cruft in the manpage.

17 years agoMFC: Add constants for PCIY_VENDOR, PCIY_DEBUG, and PCIY_EXPRESS.
jhb [Fri, 9 Feb 2007 14:43:45 +0000 (14:43 +0000)]
MFC: Add constants for PCIY_VENDOR, PCIY_DEBUG, and PCIY_EXPRESS.

17 years agoMFC: Change the PCI-X register constants to be relative to the PCI-X PCI
jhb [Fri, 9 Feb 2007 14:42:58 +0000 (14:42 +0000)]
MFC: Change the PCI-X register constants to be relative to the PCI-X PCI
capability and expand the constants some.  Update ahc(4) to track the
changes.

17 years agoMFC rev. 1.3 from HEAD,
schweikh [Fri, 9 Feb 2007 14:24:48 +0000 (14:24 +0000)]
MFC rev. 1.3 from HEAD,
  Comment the token after #endif, like we do everywhere else.
  Static analyzers like FlexeLint complain about it.

17 years agoMFC: Fix the subvendor ID for PCI-PCI bridges.
jhb [Fri, 9 Feb 2007 14:23:01 +0000 (14:23 +0000)]
MFC: Fix the subvendor ID for PCI-PCI bridges.

17 years agoMFC rev. 1.5. from HEAD,
schweikh [Fri, 9 Feb 2007 14:21:54 +0000 (14:21 +0000)]
MFC rev. 1.5. from HEAD,
  Properly parenthesize the __tg_is_complex() macro by moving a closing
  paren to where it belongs.

17 years agoMFC: Style fix: s/#define<space>/#define<tab>/.
jhb [Fri, 9 Feb 2007 14:16:30 +0000 (14:16 +0000)]
MFC: Style fix: s/#define<space>/#define<tab>/.

17 years agoMFC 1.52 - 1.54: Add SDHC subclass, MSI-X and HT register constants.
jhb [Fri, 9 Feb 2007 14:11:54 +0000 (14:11 +0000)]
MFC 1.52 - 1.54: Add SDHC subclass, MSI-X and HT register constants.

17 years agoSync dhclient and supporting code with CURRENT. In particular:
brooks [Fri, 9 Feb 2007 03:11:32 +0000 (03:11 +0000)]
Sync dhclient and supporting code with CURRENT.  In particular:
 - Introduce per-interface dhclient_flags_<ifn> and
   background_dhclient_<ifn> rc.conf variables.
 - Default to sending a client identifer.
 - When an invalid host name option is sent, delete it and accept the
   lease.
 - Fix usage, the call to getopt, and a typo in rc.d/dhclient.

17 years agoMFC rev 1.77:
cognet [Fri, 9 Feb 2007 00:19:58 +0000 (00:19 +0000)]
MFC rev 1.77:
Do not forget to call pmap_free_l2_bucket() in pmap_remove_pages().
This can fix the pmap-related panics reported on arm.

17 years agoMFC: Revert nd6.c revs. 1.67, 1.68, 1.69, 1.70 in an attempt to unbreak
bmah [Thu, 8 Feb 2007 22:52:56 +0000 (22:52 +0000)]
MFC:  Revert nd6.c revs. 1.67, 1.68, 1.69, 1.70 in an attempt to unbreak
IPv6 over point-to-point gif(4) tunnels.

(On this branch, the affected revisions are 1.48.2.14 and 1.48.2.15.)

nd6.c 1.73 -> 1.74

17 years agoMFC: Fix GDB_BUFSZ.
jhb [Thu, 8 Feb 2007 17:45:50 +0000 (17:45 +0000)]
MFC: Fix GDB_BUFSZ.

17 years agoMFC 1.18: Fix a typo in the device table that prevented 5708S adapters
jhb [Thu, 8 Feb 2007 16:18:02 +0000 (16:18 +0000)]
MFC 1.18: Fix a typo in the device table that prevented 5708S adapters
from being probed.

17 years agoMFC rev 1.29:
bms [Thu, 8 Feb 2007 12:46:14 +0000 (12:46 +0000)]
MFC rev 1.29:
  Fix an incorrect TCP-MD5 key length check for the !FAST_IPSEC case.

PR: 104422, 107520
MFC after: 3 days

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.