]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/log
FreeBSD/stable/9.git
11 years agoMFC: r240249
andreast [Sat, 15 Sep 2012 17:47:44 +0000 (17:47 +0000)]
MFC: r240249
Fix loading of kernel modules at boot time for powerpc64.

Reported by: Mathias Breuninger

git-svn-id: svn://svn.freebsd.org/base/stable/9@240533 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240412:
emaste [Sat, 15 Sep 2012 02:58:02 +0000 (02:58 +0000)]
MFC r240412:

  According to a clarification at http://austingroupbugs.net/view.php?id=503
  ptsname may set errno, so avoid saving and restoring errno across the
  function.

PR: standards/171572

git-svn-id: svn://svn.freebsd.org/base/stable/9@240529 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240410:
emaste [Sat, 15 Sep 2012 02:52:19 +0000 (02:52 +0000)]
MFC r240410:

  Avoid mapping ENOENT to ENOTDIR for non-existent path components.

  The ENOTDIR mapping was introduced in r235266 for kern/128933 based on
  an interpretation of the somewhat ambiguous language in the POSIX realpath
  specification.  The interpretation is inconsistent with Solaris and Linux,
  a regression from 9.0, and does not appear to be permitted by the
  description of ENOTDIR:

       20 ENOTDIR Not a directory.  A component of the specified pathname
               existed, but it was not a directory, when a directory was
               expected.

PR: standards/171577

git-svn-id: svn://svn.freebsd.org/base/stable/9@240528 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240081:
trociny [Fri, 14 Sep 2012 18:45:14 +0000 (18:45 +0000)]
MFC r240081:

Free memory allocated by procstat_getfiles(), which may make difference
when procstat(1) is run with -a option.

Submitted by: Daniel Dettlaff <dmilith gmail com>

git-svn-id: svn://svn.freebsd.org/base/stable/9@240510 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240080:
trociny [Fri, 14 Sep 2012 18:44:23 +0000 (18:44 +0000)]
MFC r240080:

Add __BEGIN_DECLS and __END_DECLS to make libprocstat more C++-friendly.

Submitted by: Daniel Dettlaff <dmilith gmail com>

git-svn-id: svn://svn.freebsd.org/base/stable/9@240509 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239829:
pluknet [Fri, 14 Sep 2012 15:09:44 +0000 (15:09 +0000)]
MFC r239829:
  Follow r239818 and remove no more relevant vslock() ENOMEM error.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240503 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240026:
zont [Fri, 14 Sep 2012 14:23:17 +0000 (14:23 +0000)]
MFC r240026:
- Make kern.maxtsiz, kern.dfldsiz, kern.maxdsiz, kern.dflssiz, kern.maxssiz
  and kern.sgrowsiz sysctls writable.

MFC r240068:
- Mark some sysctls with CTLFLAG_TUN flag instead of CTLFLAG_RDTUN.

MFC r240069:
- After r240026 sgrowsiz should be used in a safer maner.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240501 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239818:
zont [Fri, 14 Sep 2012 13:56:50 +0000 (13:56 +0000)]
MFC r239818:
- Don't take an account of locked memory for current process in vslock(9).

There are two consumers of vslock(9): sysctl code and drm driver.  These
consumers are using locked memory as transient memory, it doesn't belong
to a process's memory.

MFC r239895:
- Remove accounting of locked memory from vsunlock(9) that I missed in r239818.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240499 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240328:
eadler [Fri, 14 Sep 2012 00:37:11 +0000 (00:37 +0000)]
MFC r240328:
Follow up to doc r39516:

Update the Vendor Relations Team information to reflect that
incoming email is now handled by core@ and the Foundation.

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240477 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r227689:
np [Thu, 13 Sep 2012 18:47:24 +0000 (18:47 +0000)]
MFC r227689:

Do not increment the parent firmware's reference count when any other
firmware image in the module is registered.  Instead, do it when the
other image is itself referenced.

This allows a module with multiple firmware images to be automatically
unloaded when none of the firmware images are in use.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240472 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 240457, tzdata2012f
edwin [Thu, 13 Sep 2012 10:25:42 +0000 (10:25 +0000)]
MFC of 240457, tzdata2012f

 - Pacific/Fiji will go into DST from 21 October 2012 till 20 January 2013.
 - Fix offset for Pacific/Tokelau.
 - Gaza and West Bank had DST from 29 March to 28 September 2012.
 - Syria has DST from April till October
 - Morocco had DST from April to September 2012 except for 20 July to 20 August.
 - Cuba changed to DST from 1 April 2012 only.
 - Haiti has DST between 8 March and 1 November in 2012.

  Obtained from:  ftp://ftp.iana.org/tz/releases/

git-svn-id: svn://svn.freebsd.org/base/stable/9@240461 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240293:
eadler [Thu, 13 Sep 2012 01:05:30 +0000 (01:05 +0000)]
MFC r240293:
Sync access file date recommendation
Change from CVS to svn for canconical source of information

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240440 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r237676,r237677,r237680,r240294,r240318,r240324:
eadler [Thu, 13 Sep 2012 01:02:56 +0000 (01:02 +0000)]
MFC r237676,r237677,r237680,r240294,r240318,r240324:
Update organization.dot to reflect reality

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240438 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240163: Fix "Corrupted DWARF expression" from (k)gdb.
emaste [Thu, 13 Sep 2012 00:58:32 +0000 (00:58 +0000)]
MFC r240163: Fix "Corrupted DWARF expression" from (k)gdb.

  Google turned up Debian bug 405116, which describes the problem in
  sufficient detail to identify the overflowing variables.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240434 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240316:
eadler [Thu, 13 Sep 2012 00:54:24 +0000 (00:54 +0000)]
MFC r240316:
We moved to subversion ages ago.

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240432 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239254:
mav [Thu, 13 Sep 2012 00:36:56 +0000 (00:36 +0000)]
MFC r239254:
Fix multichannel input signals tracing on some CODECs like ALC260.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240428 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239872:
dim [Wed, 12 Sep 2012 18:15:17 +0000 (18:15 +0000)]
MFC r239872:

Teach libdwarf about the DW_FORM_flag_present dwarf attribute, so
programs using libdwarf (such as ctfconvert) don't error out on files
containing the attribute.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240416 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239870:
dim [Wed, 12 Sep 2012 17:50:56 +0000 (17:50 +0000)]
MFC r239870:

Teach gdb about the DW_FORM_flag_present dwarf attribute, so it doesn't
error out on files that contain it.  (This attribute can be emitted by
newer versions of clang.)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240411 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238653: Use proper error message when fstat(2) fails on stdout.
jh [Wed, 12 Sep 2012 16:01:48 +0000 (16:01 +0000)]
MFC r238653: Use proper error message when fstat(2) fails on stdout.

PR: bin/159746

git-svn-id: svn://svn.freebsd.org/base/stable/9@240408 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238652: style(9).
jh [Wed, 12 Sep 2012 15:59:03 +0000 (15:59 +0000)]
MFC r238652: style(9).

git-svn-id: svn://svn.freebsd.org/base/stable/9@240407 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240286:
mav [Wed, 12 Sep 2012 09:29:22 +0000 (09:29 +0000)]
MFC r240286:
At least from A70M FCH chipsets AMD started to use their real vendor ID
(1022) in HPET. But according to report they still haven't fixed problem
with level-triggered interrupts.
Make workaround used for earlier chipsets apply to this new ID also.

PR: amd64/171355

git-svn-id: svn://svn.freebsd.org/base/stable/9@240384 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240155:
kevlo [Wed, 12 Sep 2012 04:29:11 +0000 (04:29 +0000)]
MFC r240155:
Add missing braces

Obtained from: DragonFly

git-svn-id: svn://svn.freebsd.org/base/stable/9@240380 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r226738:
pjd [Tue, 11 Sep 2012 10:07:55 +0000 (10:07 +0000)]
MFC r226738:

Don't look for includes in userland directories. There is no need for it
and it breaks building the kernel without userland sources.

Reported by: andre, imp

git-svn-id: svn://svn.freebsd.org/base/stable/9@240359 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFH (r240107, r240111): warn against using these for cryptographic purposes.
des [Tue, 11 Sep 2012 08:30:48 +0000 (08:30 +0000)]
MFH (r240107, r240111): warn against using these for cryptographic purposes.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240353 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r235777: Make dumptid non-static. It is used by libkvm.
avg [Tue, 11 Sep 2012 05:58:32 +0000 (05:58 +0000)]
MFC r235777: Make dumptid non-static. It is used by libkvm.

PR: kern/167671
MFC slacker: harti

git-svn-id: svn://svn.freebsd.org/base/stable/9@240337 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238547:
jh [Mon, 10 Sep 2012 16:28:45 +0000 (16:28 +0000)]
MFC r238547:

Make sure that arraysz is initialized to a value larger than zero.
arraysz could get initialized to zero on ZFS because ZFS reports
directory sizes differently compared to UFS.

PR: bin/169493

git-svn-id: svn://svn.freebsd.org/base/stable/9@240322 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238546: Remove trailing whitespace.
jh [Mon, 10 Sep 2012 16:24:16 +0000 (16:24 +0000)]
MFC r238546: Remove trailing whitespace.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240319 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240165:
jpaetzel [Mon, 10 Sep 2012 14:10:10 +0000 (14:10 +0000)]
MFC r240165:

Add TRIM support, enabled by default.
Fix a bug installing components from a localPath.
Allow autosizing of any partition, not just the last partition.
Adjust how ZFS is laid out to work with Boot Environments.

Submitted by: kmoore
Obtained from: PC-BSD

git-svn-id: svn://svn.freebsd.org/base/stable/9@240315 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge r238990 (manually resolving absence of r237263):
glebius [Mon, 10 Sep 2012 12:25:57 +0000 (12:25 +0000)]
Merge r238990 (manually resolving absence of r237263):
  Fix races between in_lltable_prefix_free(), lla_lookup(),
  llentry_free() and arptimer():

  o Use callout_init_rw() for lle timeout, this allows us safely
    disestablish them.
    - This allows us to simplify the arptimer() and make it
      race safe.
  o Consistently use ifp->if_afdata_lock to lock access to
    linked lists in the lle hashes.
  o Introduce new lle flag LLE_LINKED, which marks an entry that
    is attached to the hash.
    - Use LLE_LINKED to avoid double unlinking via consequent
      calls to llentry_free().
    - Mark lle with LLE_DELETED via |= operation istead of =,
      so that other flags won't be lost.
  o Make LLE_ADDREF(), LLE_REMREF() and LLE_FREE_LOCKED() more
    consistent and provide more informative KASSERTs.

  The patch is a collaborative work of all submitters and myself.

  PR: kern/165863
  Submitted by: zont, rstone
  Submitted by: Eric van Gyzen <eric_van_gyzen dell.com>

git-svn-id: svn://svn.freebsd.org/base/stable/9@240313 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge r238989:
glebius [Mon, 10 Sep 2012 12:11:11 +0000 (12:11 +0000)]
Merge r238989:
  The llentry_update() is used only by flowtable and the latter
  always passes NULL pointer to it. Thus, code can be simplified
  and function renamed to llentry_alloc() to match rtalloc().

git-svn-id: svn://svn.freebsd.org/base/stable/9@240311 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge 238945,238967:
glebius [Mon, 10 Sep 2012 12:09:19 +0000 (12:09 +0000)]
Merge 238945,238967:
  Some style(9) and whitespace changes.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240310 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge r232054 by kmacy:
glebius [Mon, 10 Sep 2012 12:02:58 +0000 (12:02 +0000)]
Merge r232054 by kmacy:
  When using flowtable llentrys can outlive the interface with
  which they're associated at which the lle_tbl pointer points
  to freed memory and the llt_free pointer is no longer valid.

  Move the free pointer in to the llentry itself and update the
  initalization sites.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240309 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238471:
kib [Mon, 10 Sep 2012 11:50:42 +0000 (11:50 +0000)]
MFC r238471:
Implement DT_RUNPATH and -z nodefaultlib.

MFC note: The ld_library_path_rpath default value was flipped to true,
effectively reverting rtld back to the pre-patch behaviour, unless
LD_LIBRARY_PATH_RPATH environment variable is set and its value is 0/N/n.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240308 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge r238516 from head:
glebius [Mon, 10 Sep 2012 11:43:28 +0000 (11:43 +0000)]
Merge r238516 from head:
  If ip_output() returns EMSGSIZE to tcp_output(), then the latter calls
  tcp_mtudisc(), which in its turn may call tcp_output(). Under certain
  conditions (must admit they are very special) an infinite recursion can
  happen.

  To avoid recursion we can pass struct route to ip_output() and obtain
  correct mtu. This allows us not to use tcp_mtudisc() but call tcp_mss_update()
  directly.

  PR: kern/155585
  Submitted by: zont

git-svn-id: svn://svn.freebsd.org/base/stable/9@240307 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge r238093:
glebius [Mon, 10 Sep 2012 11:38:55 +0000 (11:38 +0000)]
Merge r238093:
  Document RO_RTFREE() macro.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240306 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge r238002, r238016, r238092 from head:
glebius [Mon, 10 Sep 2012 11:38:02 +0000 (11:38 +0000)]
Merge r238002, r238016, r238092 from head:

r238002 by tuexen@:
  Remove dead code (on FreeBSD) as suggested by glebius@.

r238016:
  Remove route caching from IP multicast routing code. There is no
  reason to do that, and also, cached route never got unreferenced,
  which meant a reference leak.

  Reviewed by:  bms

r238092:
  When ip_output()/ip6_output() is supplied a struct route *ro argument,
  it skips FLOWTABLE lookup. However, the non-NULL ro has dual meaning
  here: it may be supplied to provide route, and it may be supplied to
  store and return to caller the route that ip_output()/ip6_output()
  finds. In the latter case skipping FLOWTABLE lookup is pessimisation.

  The difference between struct route filled by FLOWTABLE and filled
  by rtalloc() family is that the former doesn't hold a reference on
  its rtentry. Reference is hold by flow entry, and it is about to
  be released in future. Thus, route filled by FLOWTABLE shouldn't
  be passed to RTFREE() macro.

  - Introduce new flag for struct route/route_in6, that marks route
    not holding a reference on rtentry.
  - Introduce new macro RO_RTFREE() that cleans up a struct route
    depending on its kind.
  - All callers to ip_output()/ip6_output() that do supply non-NULL
    but empty route should use RO_RTFREE() to free results of
    lookup.
  - ip_output()/ip6_output() now do FLOWTABLE lookup always when
    ro->ro_rt == NULL.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240305 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r239663, r239664
bapt [Sun, 9 Sep 2012 22:09:30 +0000 (22:09 +0000)]
MFC: r239663, r239664

change ALWAYS_ASSUME_YES to ASSUME_ALWAYS_YES for consistency with pkg(8)
if not on a tty prompt about the missing pkg(8) but default on 'no' except if
ASSUME_ALWAYS_YES is set

git-svn-id: svn://svn.freebsd.org/base/stable/9@240290 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238954 - Restore the PCI bridge configuration upon resume.
adrian [Sun, 9 Sep 2012 20:13:11 +0000 (20:13 +0000)]
MFC r238954 - Restore the PCI bridge configuration upon resume.

This allows my TI1510 cardbus/PCI bridge to work after a suspend/resume,
without having to unload/reload the cbb driver.

PR: kern/170058

git-svn-id: svn://svn.freebsd.org/base/stable/9@240287 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r236507, r237931, r238120, r238538:
trociny [Sun, 9 Sep 2012 08:39:41 +0000 (08:39 +0000)]
MFC r236507, r237931, r238120, r238538:

r236507 (pjd):

Simplify the code by using snprlcat().

r237931 (pjd):

Check if there is cmsg at all.

r238120 (pjd):

Make use of GEOM Gate direct reads feature. This allows HAST to serve
reads with native speed of the underlying provider.
There are three situations when direct reads are not used:
1. Data is being synchronized and synchronization source is the secondary
   node, which means secondary node has more recent data and we should read
   from it.
2. Local read failed and we have to try to read from the secondary node.
3. Local component is unavailable and all I/O requests are served from the
   secondary node.

Sponsored by: Panzura, http://www.panzura.com

r238538:

Metaflush on/off values don't need quotes.

Reviewed by: pjd

git-svn-id: svn://svn.freebsd.org/base/stable/9@240269 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239987 (pjd):
trociny [Sun, 9 Sep 2012 08:28:17 +0000 (08:28 +0000)]
MFC r239987 (pjd):

Allow to pass providers with /dev/ prefix to g_provider_by_name().

git-svn-id: svn://svn.freebsd.org/base/stable/9@240267 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238119, r238868, r239131:
trociny [Sun, 9 Sep 2012 08:15:49 +0000 (08:15 +0000)]
MFC r238119, r238868, r239131:

r238119 (pjd):

Extend GEOM Gate class to handle read I/O requests directly within the kernel.
This will allow HAST to read directly from the local component without
even communicating userland daemon.

Sponsored by:   Panzura, http://www.panzura.com

r238868:

Reorder things in g_gate_create() so at the moment when g_new_geomf()
is called name is properly initialized.

Discussed with: pjd

r239131:

In g_gate_dumpconf() always check the result of g_gate_hold().

This fixes "Negative sc_ref" panic possible when sysctl_kern_geom_confxml()
is run simultaneously with destroying GATE device.

Reviewed by: pjd

git-svn-id: svn://svn.freebsd.org/base/stable/9@240265 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240162:
mm [Sun, 9 Sep 2012 07:38:15 +0000 (07:38 +0000)]
MFC r240162:
Make r230454 more readable and vendor-like.

PR: kern/171380

git-svn-id: svn://svn.freebsd.org/base/stable/9@240258 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239769:
zont [Sat, 8 Sep 2012 18:06:18 +0000 (18:06 +0000)]
MFC r239769:
- Don't allow watchdogd(8) to be swapped out.
  On machines with huge amount of swap and high IO activity,
  watchdogd(8) may wait for a swap memory longer than timeout and
  sometimes fires.

MFC r239896:
- It's also need to lock current memory.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240242 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239065:
kib [Sat, 8 Sep 2012 16:40:18 +0000 (16:40 +0000)]
MFC r239065:
Stop including vm_param.h into vm_page.h. Include vm_param.h
explicitely for the kernel code which needs it.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240238 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239680:
dim [Sat, 8 Sep 2012 11:34:22 +0000 (11:34 +0000)]
MFC r239680:

  Add libcxxrt's objects (prefixing them with cxxrt_ to avoid collisions)
  to libc++.a and libc++_p.a, to make static linking of C++ executables
  with libc++ easier.  This is similar to the approach used in libstdc++.

MFC r239686:

  When using -stdlib=libc++, add the correct dependency to .depend in
  bsd.prog.mk.

  Submitted by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>

MFC r239695:

  For building libstdc++ and libsupc++, filter out any -stdlib=libc++
  option from CXXFLAGS, otherwise these libraries will not build.
  Similarly, filter out any -std=xxx options that aren't supported.

  Submitted by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>

git-svn-id: svn://svn.freebsd.org/base/stable/9@240236 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240153:
gjb [Sat, 8 Sep 2012 04:42:09 +0000 (04:42 +0000)]
MFC r240153:
-  Typo fix and minor word swap.

PR: 171356

git-svn-id: svn://svn.freebsd.org/base/stable/9@240231 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240077:
gjb [Sat, 8 Sep 2012 04:35:54 +0000 (04:35 +0000)]
MFC r240077:
-   Fix 'distributeworld' target when WITHOUT_GAMES is set.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240230 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238202:
eadler [Sat, 8 Sep 2012 03:11:02 +0000 (03:11 +0000)]
MFC r238202:
Remove ancient vnconfig symlink

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240229 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r230454:
eadler [Sat, 8 Sep 2012 02:41:50 +0000 (02:41 +0000)]
MFC r230454:
Use provided name when allocating ksid domain. It isn't really used on FreeBSD,
but should fix a panic when pool is imported from another OS that is using this.

No objections from; pjd
Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240225 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge rev. 239673 from head to stable/9:
thomas [Fri, 7 Sep 2012 22:30:20 +0000 (22:30 +0000)]
Merge rev. 239673 from head to stable/9:
(g_multipath_rotate): Fix algorithm so that it does rotate over all good
providers, not just the last two.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240217 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239962:
dim [Fri, 7 Sep 2012 18:03:29 +0000 (18:03 +0000)]
MFC r239962:

Fix a twelve year old bug in readelf: when process_dynamic_segment()
encounters a DT_RUNPATH entry, the global dynamic_info[] array is
overrun, causing some other global variable to be overwritten.

In my testcase, this was the section_headers variable, leading to
segfaults or jemalloc assertions when it was freed later on.

Thanks to Koop Mast for providing samples of a few "bad" .so files.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240208 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239959:
dim [Fri, 7 Sep 2012 17:58:36 +0000 (17:58 +0000)]
MFC r239959:

  Work around several warnings from clang in the xfs filesystem, when
  linking it statically into the kernel.  With our gcc in base there are
  no warnings, so also remove the WERROR= from the module makefile.

  Noted by: Eir Nym <eirnym@gmail.com>

MFC r240011:

  Partially revert r239959, after actually fixing most of the clang
  warnings in sys/gnu/fs/xfs.  The only warnings that still need to be
  suppressed are those about array bound overruns of flexible array
  members in xfs_dir2_{block,sf}.c, which are too expensive (in terms of
  cascading code changes) to fix.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240207 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239869:
dim [Fri, 7 Sep 2012 17:51:12 +0000 (17:51 +0000)]
MFC r239869:

Remove the argument-less .align directive in sys/i386/bios/smapi_bios.S.
Specifying no argument is undocumented in the gas manual, and clang's
integrated assembler refuses to parse it.  Also, removing it causes no
change at all in the resulting object file.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240206 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239908:
mav [Fri, 7 Sep 2012 14:07:13 +0000 (14:07 +0000)]
MFC r239908:
Add bunch of ATI HDMI HDA controller IDs.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240201 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239907:
mav [Fri, 7 Sep 2012 14:04:00 +0000 (14:04 +0000)]
MFC r239907:
Add IDs for JMicron JMB360/JMB362 AHCI SATA controllers.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240199 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239039:
kib [Fri, 7 Sep 2012 10:11:28 +0000 (10:11 +0000)]
MFC r239039:
The header uma_int.h is internal uma header, unused by this source
file.  Do not include it needlessly.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240195 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC many cxgb and cxgbe features and fixes (r239258, r239259, r239264,
np [Thu, 6 Sep 2012 17:28:47 +0000 (17:28 +0000)]
MFC many cxgb and cxgbe features and fixes (r239258, r239259, r239264,
r239266, r239336, r239338, r239339, r239341, r239344, r239514, r239527,
r239528, r239544.

r239258:
Convert some fixed parameters to tunables (with reasonable default
values).

- cong_drop specifies what to do on congestion: nothing, backpressure,
  or drop.
- fl_pktshift specifies the padding before Ethernet payload.
- fl_pad specifies the boundary upto which to pad Ethernet payload.
- spg_len controls the length of the status page.

r239259:
if_iqdrops should include frames truncated within the chip.

r239264:
Assume INET, INET6, and TCP_OFFLOAD when the driver is built out of tree and
KERNBUILDDIR is not set.

r239266:
The size of the buffers in an Ethernet freelist has to be higher than the
interface's MTU.  Initialize such freelists with correct values.

This wasn't a problem for common MTUs (1500 and 9000) as the buffers (2048
and 9216 in size) happened to have enough spare room.  I ran into it when
playing around with unusual MTUs.

r239336:
Allow for a different handler for each type of firmware message.

r239338:
Add a routine (t4_set_tcb_field) to update arbitrary parts of a hardware
TCB.  Filters are programmed by modifying the TCB too (via a different
routine) and the reply to any TCB update is delivered via a
CPL_SET_TCB_RPL.  Figure out whether the reply is for a filter-write or
something else and route it appropriately.

r239339:
Make room for DDP page pods in the default configuration profile.  While
here, bump up the L2 table's size to 4K entries.

r239341:
Initialize various DDP parameters in the main cxgbe(4) driver:

- Setup multiple DDP page sizes.  When the driver attempts DDP it will
  try to combine physically contiguous pages into regions of these sizes.

- Set the indicate size such that the payload carried in the indicate can
  be copied in the header mbuf (and the 16K rx buffer can be recycled).

- Set DDP threshold to the max payload that the chip will coalesce and
  deliver to the driver (this is ~16K by default, which is also why the
  offload rx queue is backed by 16K buffers).  If the chip is able to
  coalesce up to the max it's allowed to, it's a good sign that the peer
  is transmitting in bulk without any TCP PSH.

r239344:
Support for TCP DDP (Direct Data Placement) in the T4 TOE module.

Basically, this is automatic rx zero copy when feasible.  TCP payload is
DMA'd directly into the userspace buffer described by the uio submitted
in soreceive by an application.

- Works with sockets that are being handled by the TCP offload engine
  of a T4 chip (you need t4_tom.ko module loaded after cxgbe, and an
  "ifconfig +toe" on the cxgbe interface).
- Does not require any modification to the application.
- Not enabled by default.  Use hw.t4nex.<X>.toe.ddp="1" to enable it.

r239514:
Minor cleanup: use bitwise ops instead of pointless wrappers around
setbit/clrbit.

r239527:
Cannot hold a mutex around vm_fault_quick_hold_pages, so don't.  Tweak
some comments while here.

r239528:
Avoid a NULL pointer dereference.

r239544:
Deal with the case where a syncache entry added by the TOE driver is
evicted from the syncache but a later syncache_expand succeeds because
of syncookies.  The TOE driver has to resort to more direct means to
install its hooks in the socket in this case.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240169 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: merge rev. 239012 from head to stable/9
thomas [Thu, 6 Sep 2012 07:45:45 +0000 (07:45 +0000)]
MFC: merge rev. 239012 from head to stable/9
New command "gmultipath prefer" to force selection of a specified
provider in an Active/Passive configuration.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240159 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r235638,r239348:
mckay [Thu, 6 Sep 2012 06:17:39 +0000 (06:17 +0000)]
MFC r235638,r239348:
- Work around failure to compile on FreeBSD 7.x machines.
- Correct a regression introduced during the import of file(1) 5.11.

PR:             bin/170415
Reviewed by: obrien@

git-svn-id: svn://svn.freebsd.org/base/stable/9@240157 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r233122,r237086,r237228,r237264,r237290,r237404,r237414,r237513,r237551,
kib [Wed, 5 Sep 2012 20:40:11 +0000 (20:40 +0000)]
MFC r233122,r237086,r237228,r237264,r237290,r237404,r237414,r237513,r237551,
r237592,r237604,r237623,r237684,r237733,r237813,r237855,r238124,r238126,
r238163,r238414,r238610,r238889,r238970,r239072,r239137,r240126 (all by alc):

Add fine-grained PV chunk and list locking to the amd64 pmap, enabling
concurrent execution of the following functions on different pmaps:

pmap_change_wiring()
pmap_copy()
pmap_enter()
pmap_enter_object()
pmap_enter_quick()
pmap_page_exists_quick()
pmap_page_is_mapped()
pmap_protect()
pmap_remove()
pmap_remove_pages()

Requested and approved by: alc

git-svn-id: svn://svn.freebsd.org/base/stable/9@240151 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238791:
kib [Wed, 5 Sep 2012 18:55:35 +0000 (18:55 +0000)]
MFC r238791:
Do not requeue held page or page for which locking failed, just leave
them alone.

Process the act_count updates for the held pages in the vm_pageout
loop over the inactive queue, instead of refusing to do anything with
such page.

Clarify the intent of the addl_page_shortage counter and change its
use for pages which are not processed in the loop according to the
description.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240149 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238732 (by alc):
kib [Wed, 5 Sep 2012 18:49:00 +0000 (18:49 +0000)]
MFC r238732 (by alc):
Addendum to r238604.  If the inactive queue scan isn't restarted, then
the variable "addl_page_shortage_init" isn't needed.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240147 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238604:
kib [Wed, 5 Sep 2012 16:47:00 +0000 (16:47 +0000)]
MFC r238604:
Do not restart scan of the inactive queue when non-inactive page is
found. Rather, we shall not find such pages on inactive queue at all.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240143 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238212:
kib [Wed, 5 Sep 2012 16:35:37 +0000 (16:35 +0000)]
MFC r238212:
Drop page queues mutex on each iteration of vm_pageout_scan over the
inactive queue, unless busy page is found.

MFC r238258:
Avoid vm page queues lock leak after r238212.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240142 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240007:
tuexen [Wed, 5 Sep 2012 07:47:09 +0000 (07:47 +0000)]
MFC r240007:
Fix a typo which results in RTT to be off by a factor of 10, if the RTT is
larger than 1 second.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240129 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 239883:
emaste [Wed, 5 Sep 2012 02:03:43 +0000 (02:03 +0000)]
MFC 239883:

  Avoid passing uninitialized stack to addelem() if called with an empty
  arg.

PR: bin/171174

git-svn-id: svn://svn.freebsd.org/base/stable/9@240123 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: less v451.
delphij [Tue, 4 Sep 2012 23:24:00 +0000 (23:24 +0000)]
MFC: less v451.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240121 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFH (r239836): align the boot partition on a 4 kB boundary.
des [Tue, 4 Sep 2012 20:45:59 +0000 (20:45 +0000)]
MFH (r239836): align the boot partition on a 4 kB boundary.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240102 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFH (r239255, r239730): increase maxswzone on i386 and remove it on amd64.
des [Tue, 4 Sep 2012 19:14:57 +0000 (19:14 +0000)]
MFH (r239255, r239730): increase maxswzone on i386 and remove it on amd64.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240097 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239571:
jimharris [Tue, 4 Sep 2012 17:24:11 +0000 (17:24 +0000)]
MFC r239571:

Add -m option (for printing sampled PCs to a file) to pmcstat usage
message.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240093 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239889:
jimharris [Tue, 4 Sep 2012 15:58:58 +0000 (15:58 +0000)]
MFC r239889:

Do not call sati_check_data_io() for SATI_UNMAP sequences.

This routine is intended only for commands such as INQUIRY where
the controller may fill out a smaller amount of data than allocated
by the host.

The end result of this bug was that isci(4) would report non-zero
resid for successful SCSI_UNMAP commands.

Sponsored by:   Intel

git-svn-id: svn://svn.freebsd.org/base/stable/9@240089 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239715:
dim [Mon, 3 Sep 2012 07:18:24 +0000 (07:18 +0000)]
MFC r239715:

Add libc++ and libcxxrt related files to OptionalObsoleteFiles.inc.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240066 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r236596:
eadler [Sun, 2 Sep 2012 18:54:51 +0000 (18:54 +0000)]
MFC r236596:
Fix style nit: don't use leading zero for dates in .Dd

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240059 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r237178,r237180:
eadler [Sun, 2 Sep 2012 18:44:47 +0000 (18:44 +0000)]
MFC r237178,r237180:
Fix mdoc style nits

PR: kern/168910
Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240056 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r235251,r238205:
eadler [Sun, 2 Sep 2012 18:40:17 +0000 (18:40 +0000)]
MFC r235251,r238205:

Add Spanish Dvorak keyboard model to syscons.

(not verified to be accurate)

PR: conf/160235
Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240053 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238199:
eadler [Sun, 2 Sep 2012 18:33:51 +0000 (18:33 +0000)]
MFC r238199:
Remove variables which are initialized but never used thereafter
reported by gcc46 warning

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240050 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238200:
eadler [Sun, 2 Sep 2012 18:31:23 +0000 (18:31 +0000)]
MFC r238200:
Remove variables which are initialized but never used thereafter
reported by gcc46 warning

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240047 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238204:
eadler [Sun, 2 Sep 2012 18:28:09 +0000 (18:28 +0000)]
MFC r238204:
Remove unneeded variable reported by gcc46 which stopped being used in
r234178.

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240046 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238206:
eadler [Sun, 2 Sep 2012 18:19:41 +0000 (18:19 +0000)]
MFC r238206:
Add missing sleep stat increase

PR: kern/168211
Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240045 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238201:
eadler [Sun, 2 Sep 2012 18:17:20 +0000 (18:17 +0000)]
MFC r238201:
Remove variables which are initialized but never used thereafter
reported by gcc46 warning

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240043 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238203:
eadler [Sun, 2 Sep 2012 18:13:22 +0000 (18:13 +0000)]
MFC r238203:
Remove variables which are initialized but never used thereafter
reported by gcc46 warning

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240039 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238221:
eadler [Sun, 2 Sep 2012 18:10:29 +0000 (18:10 +0000)]
MFC r238221:
Fix always 0 tautologly revealed by gcc46

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240035 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238399:
eadler [Sun, 2 Sep 2012 18:08:41 +0000 (18:08 +0000)]
MFC r238399:
Document the behavior of mount with failok specified.

PR: docs/163742
Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240033 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239076:
eadler [Sun, 2 Sep 2012 18:04:50 +0000 (18:04 +0000)]
MFC r239076:
Add support for SIIG Cyber Serial Dual PCI 16C850

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240032 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239048:
eadler [Sun, 2 Sep 2012 17:46:46 +0000 (17:46 +0000)]
MFC r239048:
Add additional Perle Speed LE serial cards

PR: kern/168816
Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@240027 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 239023
mjacob [Sun, 2 Sep 2012 15:27:20 +0000 (15:27 +0000)]
MFC of 239023

Add detach logic to SBus variant.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240025 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 239212
mjacob [Sun, 2 Sep 2012 15:24:57 +0000 (15:24 +0000)]
MFC of 239212

Add VERIFY_10 def.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240024 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 239010
mjacob [Sun, 2 Sep 2012 15:23:01 +0000 (15:23 +0000)]
MFC of 239010

Oops. We only do allocate room for extended commands
and responses for 2300 cards are newer.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240023 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 238887- fix compilation on isp_sbus.c
mjacob [Sun, 2 Sep 2012 15:21:55 +0000 (15:21 +0000)]
MFC of 238887- fix compilation on isp_sbus.c

git-svn-id: svn://svn.freebsd.org/base/stable/9@240022 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 238870.
mjacob [Sun, 2 Sep 2012 15:20:10 +0000 (15:20 +0000)]
MFC of 238870.

Handle a case where we had an SRR that pushed back the..

git-svn-id: svn://svn.freebsd.org/base/stable/9@240021 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 238806
mjacob [Sun, 2 Sep 2012 15:18:08 +0000 (15:18 +0000)]
MFC of 238806

Switch to FC-Tape f/w for the 23XX cards.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240020 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 239330
mjacob [Sun, 2 Sep 2012 15:07:51 +0000 (15:07 +0000)]
MFC of 239330

On lun disable, complete all INOTs and ATIOs with CAM_REQ_ABORTED.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240019 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 239219
mjacob [Sun, 2 Sep 2012 15:06:55 +0000 (15:06 +0000)]
MFC of 239219

Remove extraneous newline.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240018 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 239218
mjacob [Sun, 2 Sep 2012 15:05:39 +0000 (15:05 +0000)]
MFC of 239218

Fix an oops where we wiped out DMA maps...

git-svn-id: svn://svn.freebsd.org/base/stable/9@240017 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 239143
mjacob [Sun, 2 Sep 2012 15:04:39 +0000 (15:04 +0000)]
MFC of 239143

More rototilling with target mode in an attemp to get multiple...

git-svn-id: svn://svn.freebsd.org/base/stable/9@240016 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 238859
mjacob [Sun, 2 Sep 2012 15:03:40 +0000 (15:03 +0000)]
MFC of 238859

Mega change for FC-Tape.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240015 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 228914
mjacob [Sun, 2 Sep 2012 15:00:35 +0000 (15:00 +0000)]
MFC of 228914

Fix target mode compilation issues that arose after a change
in the sense data structures.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240014 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoA belated MFC of 227126
mjacob [Sun, 2 Sep 2012 14:56:04 +0000 (14:56 +0000)]
A belated MFC of 227126

Implement the sysctl's for fibre channel that are listed in the man page.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240013 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 237544
mjacob [Sun, 2 Sep 2012 14:46:30 +0000 (14:46 +0000)]
MFC of 237544

Unbreak register tests for parallel SCSI.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240012 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 237537
mjacob [Sun, 2 Sep 2012 14:45:36 +0000 (14:45 +0000)]
MFC of 237537

Clean up multi-id mode so it's driven by the f/w loaded,...

git-svn-id: svn://svn.freebsd.org/base/stable/9@240010 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f