]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
16 years agoMFC: Add ZFS support.
jhb [Tue, 12 Feb 2008 20:27:33 +0000 (20:27 +0000)]
MFC: Add ZFS support.

16 years agoMFC: Use cpu_spinwait() in DELAY().
jhb [Tue, 12 Feb 2008 20:22:29 +0000 (20:22 +0000)]
MFC: Use cpu_spinwait() in DELAY().

16 years agoMFC: Relax the check for a PCI-express chipset.
jhb [Tue, 12 Feb 2008 20:21:35 +0000 (20:21 +0000)]
MFC: Relax the check for a PCI-express chipset.

16 years agoMFC: Add a note pointing to build(7) for more info.
jhb [Tue, 12 Feb 2008 20:19:34 +0000 (20:19 +0000)]
MFC: Add a note pointing to build(7) for more info.

16 years agoMFC: Map 'boot' to GPT_ENT_TYPE_FREEBSD_BOOT when parsing UUIDs.
jhb [Tue, 12 Feb 2008 19:23:37 +0000 (19:23 +0000)]
MFC: Map 'boot' to GPT_ENT_TYPE_FREEBSD_BOOT when parsing UUIDs.

16 years agoMFC: Properly handle ACPI table headers that cross a page boundary when
jhb [Tue, 12 Feb 2008 19:20:10 +0000 (19:20 +0000)]
MFC: Properly handle ACPI table headers that cross a page boundary when
looking for the MADT during early boot.

16 years agoMFC: Remove a conditional that is always true.
jhb [Tue, 12 Feb 2008 19:16:53 +0000 (19:16 +0000)]
MFC: Remove a conditional that is always true.

16 years agoMFC: Use pause(9) instead of tsleep() on a stack variable.
jhb [Tue, 12 Feb 2008 19:15:21 +0000 (19:15 +0000)]
MFC: Use pause(9) instead of tsleep() on a stack variable.

16 years agoMFC: Use cpu_spinwait() in DELAY().
jhb [Tue, 12 Feb 2008 19:14:01 +0000 (19:14 +0000)]
MFC: Use cpu_spinwait() in DELAY().

16 years agoMFC: 1.30
marius [Mon, 11 Feb 2008 20:42:36 +0000 (20:42 +0000)]
MFC: 1.30

- Fix a typo in a comment.
- Fix whitespace according to style(9).
- Sync the comment describing why we have to wait in nsphy_reset()
  with nsphyter_reset(). It's true that the manual tells to not do a
  reset within 500us of applying power but that's unlikely the cause
  of problems seen here. Generally having to wait 500us after a reset
  however is.

16 years agoWith doc-hat, MFC cpio.5
remko [Mon, 11 Feb 2008 13:14:16 +0000 (13:14 +0000)]
With doc-hat, MFC cpio.5

This unbreaks the current build.

16 years agoMFC rev 1.18 timed.8
remko [Mon, 11 Feb 2008 08:14:58 +0000 (08:14 +0000)]
MFC rev 1.18 timed.8

  Typo fix.

  Spotted by: brueffer

16 years agoMFC rev 1.10, 1.11 nve.4
remko [Mon, 11 Feb 2008 07:51:05 +0000 (07:51 +0000)]
MFC rev 1.10, 1.11 nve.4

  v1.10
  There is no list to stop, so dont use .El.

  Noticed by:   brueffer

  v1.11
  Language nit.

16 years agoMFC rev 1.70 bsdlabel.8
remko [Mon, 11 Feb 2008 07:48:12 +0000 (07:48 +0000)]
MFC rev 1.70 bsdlabel.8

  Remove redundant whitespace.

  Noticed by: brueffer

16 years agoMFC rev 1.23 access.2
remko [Mon, 11 Feb 2008 07:45:17 +0000 (07:45 +0000)]
MFC rev 1.23 access.2

  After issueing a ntpdate [1] I noticed it's already 2008, reflect that
  in the last modified date.

  Noticed by:     brueffer [1]

16 years agoMFC rev 1.21, 1.22 access.2
remko [Mon, 11 Feb 2008 07:20:12 +0000 (07:20 +0000)]
MFC rev 1.21, 1.22 access.2

  v1.21
  Fix some style nits.

  Prodded by:   brueffer

  v1.22
  Fix typo (s/existance/existence/)

  Noticed by:   ceri

16 years agoMFC: Three files that I accidentally left out of the big MFC to 7-STABLE.
kientzle [Mon, 11 Feb 2008 01:00:27 +0000 (01:00 +0000)]
MFC:  Three files that I accidentally left out of the big MFC to 7-STABLE.

16 years agoMFC: Implementation of new archive_entry_strmode() function.
kientzle [Mon, 11 Feb 2008 00:56:59 +0000 (00:56 +0000)]
MFC: Implementation of new archive_entry_strmode() function.

16 years agoMFC: libarchive 2.4.12
kientzle [Mon, 11 Feb 2008 00:31:09 +0000 (00:31 +0000)]
MFC: libarchive 2.4.12
 * Formats are now only bid once per file, not once per entry
   (Affects archive_read.c, most format readers, internals manpage)
 * Correct tar/cpio history in libarchive_formats manpage
 * Avoid unnecessary copies in {write,read}_compression_none
   (significant performance boost for uncompressed archives!)
 * Protect against zero-length writes in gzip/bzip2 compressors
 * Tar reader: improve hardlink length heuristics, GNU tar --posix
   --sparse support, related fixes to SCHILY.realsize handling
 * Cpio reader: recover from sync errors
 * Cpio writer: pad symlinks properly in newc format
 * Ar writer: close out empty archive correctly
 * Zip reader: ignore PK00 header, code cleanups from des@
 * Iso9660 reader: support device node entries
 * archive_write_disk: support hardlinks with bodies, enforce
    maximum file size
 * Reconnect progress callback from archive_read_extract()
 * New: archive_entry_strmode()
 * New: mtree reader
 * New: "linkresolver" makes it easier to do hardlink resolution
 * UUencode test reference files (be nice to CVS)
 * New test: exercise very large entries (2G up to 1T) in tar archives
 * New test: Detailed verification of cpio odc and newc formats
 * New test: Various strategies for restoring multiple links to a file
 * New tests: Various compatibility checks against gzip, zip, old tar, etc.
 * New test: cpio recovery from damaged archives
 * New test: mtree reading
 * Improved statistics reporting from test harness
 * Plus minor portability improvements

16 years agoMFC revision 1.32:
delphij [Mon, 11 Feb 2008 00:24:59 +0000 (00:24 +0000)]
MFC revision 1.32:
date: 2008/01/12 00:54:47;  author: delphij;  state: Exp;  lines: +4 -0
Plug memory leaks that is observed when argbuf or argspc is used in the
context.

Submitted by: Michal Vranek <michal.vran

16 years agoMFC: Various, including:
kientzle [Sun, 10 Feb 2008 23:24:16 +0000 (23:24 +0000)]
MFC: Various, including:
 * -l now always has the POSIX behavior (GNU tar recently adjusted their
   -l to comply with POSIX, so bsdtar no longer has to guess what the
   user really meant).
 * More complete COPYING information.
 * Various portability fixes and minor configuration changes.
This brings bsdtar into line with -CURRENT, except for one change that
relies on a new libarchive feature that hasn't been MFCed yet.

16 years agoMFC: conf/files 1.1266; dev/mii/miidevs 1.48; dev/mii/nsphyter.c 1.1;
marius [Sun, 10 Feb 2008 16:02:50 +0000 (16:02 +0000)]
MFC: conf/files 1.1266; dev/mii/miidevs 1.48; dev/mii/nsphyter.c 1.1;
     dev/mii/nsphyterreg.h 1.1; modules/mii/Makefile 1.32

Add a driver for the National Semiconductor DP83815, DP83843 and
DP83847 PHYs.

PR: 112654

16 years agoMFC: 1.31
marius [Sun, 10 Feb 2008 15:24:12 +0000 (15:24 +0000)]
MFC: 1.31

Sort values according to style.Makefile(5).

16 years agoMFC: netstat.h 1.53; route.c 1.86
marius [Sun, 10 Feb 2008 15:19:05 +0000 (15:19 +0000)]
MFC: netstat.h 1.53; route.c 1.86

Fix netname() and routename() on big-endian LP64 archs.

16 years agoMFC r1.3: "Document the return type for gelf_fsize(3)."
jkoshy [Sun, 10 Feb 2008 14:42:17 +0000 (14:42 +0000)]
MFC r1.3: "Document the return type for gelf_fsize(3)."

16 years agoMFC [r1.3 libelf_data.c, r1.5 elf.3]:
jkoshy [Sun, 10 Feb 2008 14:34:36 +0000 (14:34 +0000)]
MFC [r1.3 libelf_data.c, r1.5 elf.3]:
  "Sections of type SHT_GNU_versym use ELF type ELF_T_HALF.  Update manual
   page and code to match."

16 years agoMFC rev 1.9 nve.4
remko [Sun, 10 Feb 2008 12:35:04 +0000 (12:35 +0000)]
MFC rev 1.9 nve.4

  Add 1000baseTX support for the nve driver, which is known here and there.

  Also mention that the driver sometimes returns '10baseTX' as output instead
  of 100baseTX (which is the case at that moment).

  PR: docs/115284
  Submitted by: Julian Stacey Jhs <jhs at berklix dot org>
  MFC After: 3 days

16 years agoMFC rev 1.17 timed.8
remko [Sun, 10 Feb 2008 12:32:59 +0000 (12:32 +0000)]
MFC rev 1.17 timed.8

  Enhance descriptions in the timed manual.

  PR: docs/115445
  Submitted by: "Julian Stacey" <jhs at berklix dot org>
  MFC After: 3 days

16 years agoMFC rev 1.69 bsdlabel.8
remko [Sun, 10 Feb 2008 12:31:06 +0000 (12:31 +0000)]
MFC rev 1.69 bsdlabel.8

  Attempt to describe the ''auto'' type a bit better in the default
  section (if nothing had been specified, or if the auto type had
  been specified, a default layout is used).

  PR: docs/116047
  Submitted by: Ian Smith <smithi at nimnet dot asn dot au>
  Minor modifications by me.

16 years agoMFC rev 1.20 access.2
remko [Sun, 10 Feb 2008 12:28:30 +0000 (12:28 +0000)]
MFC rev 1.20 access.2

  Make the warning a bit less 'broad' then it used to be. The access
  is seems to be a problem for SUID applications, which we like to
  prevent as much as possible.

  PR: docs/39530
  Submitted by: Soren Spies <sspies at apple dot com>
  MFC After: 3 days

16 years agoMFC rev 1.22 hosts.equiv.5
remko [Sun, 10 Feb 2008 12:26:03 +0000 (12:26 +0000)]
MFC rev 1.22 hosts.equiv.5

  Improve readability for the hosts.equiv file regarding the notation
  of hostnames.

  PR: docs/35953
  Submitted by: "Gary W. Swearingen" <swear at blarg dot net>
  With minor modifications by me.

16 years agoMFC rev 1.153 nfs_srvsubs.c
remko [Sun, 10 Feb 2008 11:19:34 +0000 (11:19 +0000)]
MFC rev 1.153 nfs_srvsubs.c

Use nfsrv_destroycache() only once, else it crashes the server.

  PR: kern/118152
  Submitted by: Bjoern Groenvall <bg at sics dot se>
  Approved by: imp (mentor, a while ago already), jhb
  MFC After: 3 days

Approved by: imp (mentor, implicit)

16 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_7'.
cvs2svn [Sat, 9 Feb 2008 05:16:27 +0000 (05:16 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_7'.

16 years agoMFC 1.4: add opaque pointer to tx ampdu state for drivers
sam [Fri, 8 Feb 2008 21:29:12 +0000 (21:29 +0000)]
MFC 1.4: add opaque pointer to tx ampdu state for drivers

16 years agonote addition of m_collapse
sam [Fri, 8 Feb 2008 21:26:25 +0000 (21:26 +0000)]
note addition of m_collapse

16 years agobump for addition of m_collapse
sam [Fri, 8 Feb 2008 21:01:39 +0000 (21:01 +0000)]
bump for addition of m_collapse

16 years agoMFC: promote ath_defrag to m_collapse
sam [Fri, 8 Feb 2008 20:58:19 +0000 (20:58 +0000)]
MFC: promote ath_defrag to m_collapse

16 years agoMFC: 1.75: Revise TECHNICAL DETAILS.
ru [Fri, 8 Feb 2008 14:01:02 +0000 (14:01 +0000)]
MFC: 1.75: Revise TECHNICAL DETAILS.

16 years agoMFC version 1.14, from the 4 February 2008 update:
dougb [Thu, 7 Feb 2008 20:56:34 +0000 (20:56 +0000)]
MFC version 1.14, from the 4 February 2008 update:
IPv6 addresses for 6 of the root name servers!

16 years agoMFC revision 1.13
lulf [Thu, 7 Feb 2008 12:21:21 +0000 (12:21 +0000)]
MFC revision 1.13
- Add extra paths for GEOM_LIBRARY_PATH to the fixit environment to enable all
  geom commands in a chrooted environment on the livefs cd.

PR: misc/120169
Approved by: pjd (mentor)

16 years ago- Forced commit to note that revision 1.19.2.1 log was misspelled and that comma
lulf [Thu, 7 Feb 2008 12:17:18 +0000 (12:17 +0000)]
- Forced commit to note that revision 1.19.2.1 log was misspelled and that comma
  should be spelled as colon.

Approved by: pjd (mentor)

16 years agoMFC revision 1.21
lulf [Thu, 7 Feb 2008 12:13:48 +0000 (12:13 +0000)]
MFC revision 1.21
- Update geom(8) to explain that GEOM_LIBRARY_PATH can take a comma-separated
  list of paths.

Approved by: pjd (mentor)

16 years agoMFC revision 1.34
lulf [Thu, 7 Feb 2008 12:10:47 +0000 (12:10 +0000)]
MFC revision 1.34
- Make geom commands handle multiple library paths in the GEOM_LIBRARY_PATH
  environment variable using ':' as a separator.

Approved by: pjd (mentor)

16 years agoMFC rev 1.5:
marck [Thu, 7 Feb 2008 10:22:14 +0000 (10:22 +0000)]
MFC rev 1.5:

  There is no PUC_FASTINTR option anymore.

16 years agoMFC 1.35:
rink [Thu, 7 Feb 2008 07:36:31 +0000 (07:36 +0000)]
MFC 1.35:
Allow watch(8) to use more than 10 snp* devices. This limitation was purely
due to the way watch(8) looks for available snoop devices.

PR: bin/118286
Submitted by: Mykola Zubach <zuborg@advancedhosters.com>
Reviewed by: rwatson, csjp, imp (all a long time ago)
Approved by: imp (mentor) (long time ago)

16 years agoMFC 1.14:
rink [Thu, 7 Feb 2008 07:31:16 +0000 (07:31 +0000)]
MFC 1.14:
Fix bootparamd on 64 bit platforms - at least amd64 was broken due to the
code believing long == 64 bits and using it to store/compare IPv4 addresses.

PR: bin/112163
Submitted by: Tyler Spivey <tspivey@pcdesk.net>
Reviewed by: imp
Approved by: imp (mentor)

16 years agoMFC rev 1.4: fix a bug in hexadecimal formatting of the CHAP digest:
pb [Wed, 6 Feb 2008 23:57:11 +0000 (23:57 +0000)]
MFC rev 1.4: fix a bug in hexadecimal formatting of the CHAP digest:
bytes >= 0x80 were formatted as 0xff, causing the authentication
to fail.

Note: fast MFC to RELENG_7 and RELENG_7_0 to get the changes in
time for 7.0-RC2.

Approved by: re (kensmith)

16 years agoMFC:
mav [Wed, 6 Feb 2008 21:52:55 +0000 (21:52 +0000)]
MFC:
Add option to set packets per second limits instead of default
bits per second ones.

16 years agoMFC:
mav [Wed, 6 Feb 2008 21:44:45 +0000 (21:44 +0000)]
MFC:
Do not use bcmp() to compare two bytes with constants.

16 years agoMFC rev. 1.47
mav [Wed, 6 Feb 2008 21:08:58 +0000 (21:08 +0000)]
MFC rev. 1.47
Implement stack protection based on GET_STACK_USAGE() macro.
This fixes system panics possible with complicated netgraph setups
and allows to avoid unneded extra queueing for stack unwrapping.

16 years agoMFC ng_base.c rev. 1.141-1.146:
mav [Wed, 6 Feb 2008 20:50:50 +0000 (20:50 +0000)]
MFC ng_base.c rev. 1.141-1.146:
Implement stack protection based on GET_STACK_USAGE() macro.
This fixes system panics possible with complicated netgraph setups
and allows to avoid unneded extra queueing for stack unwrapping.

16 years agoRevert rev. 1.128, we have a hard link generated from new
delphij [Wed, 6 Feb 2008 19:45:45 +0000 (19:45 +0000)]
Revert rev. 1.128, we have a hard link generated from new
hptrr(4) to rr232x.

Pointed out by: bruffer
Pointy hat to: delphij

16 years agoReflect rr232x(4) manpage removal
delphij [Wed, 6 Feb 2008 18:51:15 +0000 (18:51 +0000)]
Reflect rr232x(4) manpage removal

16 years agoMFC: rt2560.c 1.19
sephe [Wed, 6 Feb 2008 12:05:04 +0000 (12:05 +0000)]
MFC: rt2560.c 1.19
     rt2560var.h 1.4
     rt2560reg.h 1.3
Various bug fixes for 2560 parts of ral(4)

Approved by: sam (mentor)

16 years agoFix a symbol conflict between hptrr and hptmv
scottl [Wed, 6 Feb 2008 08:33:15 +0000 (08:33 +0000)]
Fix a symbol conflict between hptrr and hptmv

16 years agoAdd a note that the hptrr driver supersedes the rr232x driver.
scottl [Wed, 6 Feb 2008 03:35:55 +0000 (03:35 +0000)]
Add a note that the hptrr driver supersedes the rr232x driver.

16 years agoMFC revision: 1.83, 1.85, 1.86
iwasaki [Wed, 6 Feb 2008 01:44:44 +0000 (01:44 +0000)]
MFC revision: 1.83, 1.85, 1.86

Add NOP-message polling to ciss_periodic().
Disable adapter by detecting adapter is dead.

Reviewed by: scottl
Approved by: re (kensmith)

16 years agoMFC revistion: 1.244
iwasaki [Wed, 6 Feb 2008 01:38:04 +0000 (01:38 +0000)]
MFC revistion: 1.244

Enter the sleep state immediately without waiting for timeout if
devd(8) is not running such as the system in single user mode.

Approved by: re (kensmith)

16 years agoMFC revision: subr_bus.c:1.204, bus.h:1.79
iwasaki [Wed, 6 Feb 2008 01:34:18 +0000 (01:34 +0000)]
MFC revision: subr_bus.c:1.204,  bus.h:1.79

Add devctl_process_running() so that power management system driver
can check whether devd(8) is running.

Approved by: re (kensmith)

16 years agoUpdate the hptrr driver to version 1.2. This adds port multiplier support
scottl [Wed, 6 Feb 2008 01:02:20 +0000 (01:02 +0000)]
Update the hptrr driver to version 1.2.  This adds port multiplier support
for several cards.  See the Highpoint website for more information.  Again,
many thanks to Highpoint for their continued support of FreeBSD.

16 years agoDon't pollute the mbuf helper routine namespace
kmacy [Tue, 5 Feb 2008 22:20:16 +0000 (22:20 +0000)]
Don't pollute the mbuf helper routine namespace

16 years agoMFC rev. 1.23-1.24
mav [Tue, 5 Feb 2008 19:48:04 +0000 (19:48 +0000)]
MFC rev. 1.23-1.24
 - Avoid data copying when it is possible. bpf_filter() is able to work
directly on mbuf chain
 - Prepare hooks direct pointers on setup to avoid heavy ng_findhook() calls
during operarion.

16 years agoMFC rev. 1.34
mav [Tue, 5 Feb 2008 19:33:03 +0000 (19:33 +0000)]
MFC rev. 1.34
Move all possible node logic out of the rcvdata() function
to the newhook()/disconnect().
Unify function names with other nodes.

16 years agoMFC rev. 1.89-1.91
mav [Tue, 5 Feb 2008 19:24:09 +0000 (19:24 +0000)]
MFC rev. 1.89-1.91
Implement Session-ID hashing to improve receive performance scalability
for big number of concurrent sessions.

16 years agoMFC 1.115: fix use with altq
sam [Tue, 5 Feb 2008 18:27:54 +0000 (18:27 +0000)]
MFC 1.115: fix use with altq

Submitted by: sephe

16 years agoMFC 1.2:
simon [Tue, 5 Feb 2008 18:10:31 +0000 (18:10 +0000)]
MFC 1.2:
  Unbreak detection of cryptodev support for FreeBSD which was broken
  with OpenSSL 0.9.8 import.

  Note that this does not enable cryptodev by default, as it was the
  case with OpenSSL 0.9.7 in FreeBSD base, but this change makes it
  possible to enable cryptodev at all.

16 years agoMFC: 1.17 (style nit)
obrien [Tue, 5 Feb 2008 17:35:29 +0000 (17:35 +0000)]
MFC:  1.17 (style nit)

16 years agoMFC revision 1.24
csjp [Tue, 5 Feb 2008 15:09:24 +0000 (15:09 +0000)]
MFC revision 1.24
Whitespace fix

16 years agoMFC revision 1.23
csjp [Tue, 5 Feb 2008 14:34:37 +0000 (14:34 +0000)]
MFC revision 1.23
Make sure we handle listen() and eliminate console messages for unknown
event types.

16 years agoMFC changes from 1.14 for sys/lock.c and 1.127+1.128 for thread/thr_kern.c
julian [Mon, 4 Feb 2008 19:59:40 +0000 (19:59 +0000)]
MFC changes from 1.14 for sys/lock.c and 1.127+1.128 for thread/thr_kern.c
this copes with the fact that during a fork the child may get
really screwy state in the threading system due to the
sudden vaporisation of it's sibling threads.

16 years agoMFC 1.15: updates for additional chip support
sam [Mon, 4 Feb 2008 03:33:55 +0000 (03:33 +0000)]
MFC 1.15: updates for additional chip support

MFC after: 3 days

16 years agoMFC 1.8: correct typo that broke check when handling addba response
sam [Mon, 4 Feb 2008 03:32:56 +0000 (03:32 +0000)]
MFC 1.8: correct typo that broke check when handling addba response

MFC after: 3 days

16 years agoMFC 1.50: correct tx rate displayed by list sta
sam [Mon, 4 Feb 2008 03:31:28 +0000 (03:31 +0000)]
MFC 1.50: correct tx rate displayed by list sta

MFC after: 3 days

16 years agoMFC 1.49: fix list mac
sam [Mon, 4 Feb 2008 03:30:27 +0000 (03:30 +0000)]
MFC 1.49: fix list mac

MFC after: 3 days

16 years agoMFC: Fix some bugs in dealing with DCMD's without data. MegaCli was sending
ambrisko [Sun, 3 Feb 2008 22:32:52 +0000 (22:32 +0000)]
MFC: Fix some bugs in dealing with DCMD's without data.  MegaCli was sending
down some DCMD's without any data.  Thanks to Dell and LSI for helping
to provide clues to figure out this problem.  Now MegaCli can upgrade
the firmware and should work identical when run on Linux.

16 years agoMFC: rev. 1.406 + 1.407
brueffer [Sun, 3 Feb 2008 17:32:25 +0000 (17:32 +0000)]
MFC: rev. 1.406 + 1.407

MLINK hptrr(4) to rr232x(4).

16 years agoMFC:
brueffer [Sun, 3 Feb 2008 16:26:17 +0000 (16:26 +0000)]
MFC:

The rr232x driver has been removed, kill it here as well.

16 years agoUpdate the hptiop manual page for the new driver.
scottl [Sun, 3 Feb 2008 16:19:27 +0000 (16:19 +0000)]
Update the hptiop manual page for the new driver.

16 years agoUpdate the hptiop driver to version 1.3. This adds support for the 4xxx
scottl [Sun, 3 Feb 2008 16:18:55 +0000 (16:18 +0000)]
Update the hptiop driver to version 1.3.  This adds support for the 4xxx
series of SAS adapters.  Thanks again to Highpoint for their continued
support of FreeBSD.

16 years agoMFC: rev. 1.553
brueffer [Sun, 3 Feb 2008 12:13:02 +0000 (12:13 +0000)]
MFC: rev. 1.553

Don't build the rr232x module, it has been removed.

Approved by: rwatson (mentor)

16 years agoMFC rev 1.95,1.96 mountd.c
matteo [Sun, 3 Feb 2008 10:45:36 +0000 (10:45 +0000)]
MFC rev 1.95,1.96 mountd.c
MFC rev 1.30 mountd.8

16 years agoRevert previous commit.
mav [Sun, 3 Feb 2008 10:30:45 +0000 (10:30 +0000)]
Revert previous commit.
glebius@ noticed that it was not a bug, but undocumented feature.

16 years agoMFC if_msk.c rev 1.24 to RELENG_7.
yongari [Sun, 3 Feb 2008 08:12:58 +0000 (08:12 +0000)]
MFC if_msk.c rev 1.24 to RELENG_7.
  Add MSI support for 88E8058(Yukon EC Ultra). Unlike other Yukon II
  family 88E8058 supports only one MSI message. Teach msk(4) to handle
  that case.

16 years agoMFC msk.4 rev 1.5 to RELENG_7.
yongari [Sun, 3 Feb 2008 08:06:28 +0000 (08:06 +0000)]
MFC msk.4 rev 1.5 to RELENG_7.
  Add 88E8058 to the list of supported hardware.

16 years agoMFC if_msk.c rev 1.23, if_mskreg.h 1.10 to RELENG_7.
yongari [Sun, 3 Feb 2008 07:57:04 +0000 (07:57 +0000)]
MFC if_msk.c rev 1.23, if_mskreg.h 1.10 to RELENG_7.
  Add device id for 88E8058(Yukon EC Ultra) which is found on 3rd
  generation MacBooks.
  Unfortunately 88E8058 supports one MSI message so msk(4) needs more
  generic way to handle the MSI capability.

  PR:   118110

16 years agoMFC if_msk.c rev 1.22, if_mskreg.h 1.9 to RELENG_7.
yongari [Sun, 3 Feb 2008 07:48:13 +0000 (07:48 +0000)]
MFC if_msk.c rev 1.22, if_mskreg.h 1.9 to RELENG_7.
  Make phy respond only at address 0. This makes phy driver attached
  only at address 0 which is supposed to be the only valid phy address
  on Marvell PHY. The more correct solution would be masking PHY
  address ranges allowable in PHY probe routine. Unfortunately,
  FreeBSD has no way to retrict the PHY address ranges or to pass special
  flags to PHY driver.
  This change assumes that PHY hardwares attached to msk(4) would be
  Marvell made 88E11xx PHY.

  With this changes the phantom phys attached on 88E8036(Yukon FE)
  should disappear.

16 years agoMFC if_msk.c rev 1.21 to RELENG_7.
yongari [Sun, 3 Feb 2008 07:39:33 +0000 (07:39 +0000)]
MFC if_msk.c rev 1.21 to RELENG_7.
   o Don't hardcode that Yukon FE has 16KB SRAM. In fact, Yukon FE has
     only 4KB SRAM.
   o Rework setting Tx/Rx RAM buffer size. Give receiver 2/3 of memory
     and round it down to the multiple of 1024. The RAM buffer size of
     Yukon II should be multiple of 1024. This fixes bogus RAM buffer
     configuration used in Yukon FE.

16 years agoMFC if_msk.c rev 1.20, if_mskreg.h rev. 1.8 to RELENG_7
yongari [Sun, 3 Feb 2008 07:35:04 +0000 (07:35 +0000)]
MFC if_msk.c rev 1.20, if_mskreg.h rev. 1.8 to RELENG_7
  Drop maintaing hardware feature(bug) lists for Yukon II. We don't have
  publicly available datasheet for Yukon II and don't know what
  bug/workaround exist for the specific hardware revision. Also I don't
  think the vendor will release hardware errata in near future.
  The hardware feature lists were not used at all except setting water
  mark registers. Since msk(4) should know exact chip model/revision
  number to decide which hardware capability could be used the extra
  feature lists were redundant.

16 years agoRemove the rr232x manual page.
scottl [Sun, 3 Feb 2008 07:31:49 +0000 (07:31 +0000)]
Remove the rr232x manual page.

16 years agoRemove the rr232x driver. It has been superseced by the hptrr driver.
scottl [Sun, 3 Feb 2008 07:28:39 +0000 (07:28 +0000)]
Remove the rr232x driver.  It has been superseced by the hptrr driver.

16 years agoMFC if_msk.c rev 1.19, if_mskreg.h rev. 1.7 to RELENG_7
yongari [Sun, 3 Feb 2008 07:26:11 +0000 (07:26 +0000)]
MFC if_msk.c rev 1.19, if_mskreg.h rev. 1.7 to RELENG_7
  Various fixes for EC Ultra.
   o Enable jumbo frame support for EC Ultra and disable jumbo frame
     for FE.
   o Enable store and forward mode for standard MTU sized frame.
   o Enable TSO for EC Ultra. However TSO/checksum offload is disabled
     for jumbo frame case. Because EC Ultra can't use store and forward
     mode for jumbo frame TSO/checksum offload is not available.
   o Adjust Tx GMAC almost empty threshold value and add a jumbo frame
     water mark. The maic value was obtained from Marvell's sk98lin
     driver.
   o Fix EC Ultra chip revision number.

16 years agoMFC e1000phy.c, rev 1.20 to RELENG_7
yongari [Sun, 3 Feb 2008 05:32:55 +0000 (05:32 +0000)]
MFC e1000phy.c, rev 1.20 to RELENG_7
  Reset autonegotation timer if media option is not IFM_AUTO.
  Make mii_ticks advance, autonegiation is retried every
  mii_anegticks seconds.

16 years agoMFC if_re.c, rev 1.100 to RELENG_7
yongari [Sun, 3 Feb 2008 05:18:14 +0000 (05:18 +0000)]
MFC if_re.c, rev 1.100 to RELENG_7
  By definition promiscuous mode should see all unicast frames as well
  as multicast/broadcast frames. Previously re(4) ignored multicast
  frames in promiscuous mode. The RTL8169 datasheet was not clear
  how it handles multicast frames in promiscuous mode.

  PR: kern/118572

16 years agoMFC if_txp.c, rev 1.48 to RELENG_7.
yongari [Sun, 3 Feb 2008 04:16:26 +0000 (04:16 +0000)]
MFC if_txp.c, rev 1.48 to RELENG_7.
  Read MII_ANAR register and get common denominator ability.

  PR: 92599

16 years agoMFC fix for IEEE 802.3 compliance of auto-negotiation process.
yongari [Sun, 3 Feb 2008 04:12:06 +0000 (04:12 +0000)]
MFC fix for IEEE 802.3 compliance of auto-negotiation process.
  IEEE 802.3 Annex 28B.3 explicitly specifies the following relative
  priorities of the technologies supported by 802.3 Selector Field
  value.

  1000BASE-T full duplex
  1000BASE-T
  100BASE-T2 full duplex
  100BASE-TX full duplex
  100BASE-T2
  100BASE-T4
  100BASE-TX
  10BASE-T full duplex
  10BAST-T

  However PHY drivers didn't honor the order such that 100BASE-T4 had
  higher priority than 100BASE-TX full duplex. Fix that long standing
  bugs such that have PHY drivers choose the highest common denominator
  ability.
  Fix a bug in dcphy which inadvertently aceepts 100BASE-T4.

  PR: 92599

16 years agoMFV: remove files not part of version 4.23.
obrien [Sat, 2 Feb 2008 18:28:31 +0000 (18:28 +0000)]
MFV: remove files not part of version 4.23.

16 years agoMFC rev. 1.15
mav [Sat, 2 Feb 2008 15:48:05 +0000 (15:48 +0000)]
MFC rev. 1.15
Run expire even without export hook connected.

16 years agoMFC: rev 1.1.1.7 - fix -p.
obrien [Sat, 2 Feb 2008 07:48:06 +0000 (07:48 +0000)]
MFC: rev 1.1.1.7 - fix -p.

16 years agoMFC 1.7: use m_gethdr to populate the rx ring
sam [Sat, 2 Feb 2008 06:49:57 +0000 (06:49 +0000)]
MFC 1.7: use m_gethdr to populate the rx ring

16 years agoMerge uipc_sockbuf.c:1.175, uipc_socket.c:1.304, uipc_syscalls.c:1.264,
rwatson [Fri, 1 Feb 2008 22:51:40 +0000 (22:51 +0000)]
Merge uipc_sockbuf.c:1.175, uipc_socket.c:1.304, uipc_syscalls.c:1.264,
sctp_input.c:1.67, sctp_peeloff.c:1.17, sctputil.c:1.73,
socketvar.h:1.161 from HEAD to RELENG_7:

  Correct two problems relating to sorflush(), which is called to flush
  read socket buffers in shutdown() and close():

  - Call socantrcvmore() before sblock() to dislodge any threads that
    might be sleeping (potentially indefinitely) while holding sblock(),
    such as a thread blocked in recv().

  - Flag the sblock() call as non-interruptible so that a signal
    delivered to the thread calling sorflush() doesn't cause sblock() to
    fail.  The sblock() is required to ensure that all other socket
    consumer threads have, in fact, left, and do not enter, the socket
    buffer until we're done flushin it.

  To implement the latter, change the 'flags' argument to sblock() to
  accept two flags, SBL_WAIT and SBL_NOINTR, rather than one M_WAITOK
  flag.  When SBL_NOINTR is set, it forces a non-interruptible sx
  acquisition, regardless of the setting of the disposition of SB_NOINTR
  on the socket buffer; without this change it would be possible for
  another thread to clear SB_NOINTR between when the socket buffer mutex
  is released and sblock() is invoked.

  Reviewed by:    bz, kmacy
  Reported by:    Jos Backus <jos at catnook dot com>