]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
14 years agoMFC r207920,r207934,r207936,r207937,r207970,r208142,r208147,r208148,r208166,
pjd [Mon, 24 May 2010 10:09:36 +0000 (10:09 +0000)]
MFC r207920,r207934,r207936,r207937,r207970,r208142,r208147,r208148,r208166,
r208454,r208455,r208458:

r207920:

Back out r205134. It is not stable.

r207934:

Add missing new line characters to the warnings.

r207936:

Eventhough r203504 eliminates taste traffic provoked by vdev_geom.c,
ZFS still like to open all vdevs, close them and open them again,
which in turn provokes taste traffic anyway.

I don't know of any clean way to fix it, so do it the hard way - if we can't
open provider for writing just retry 5 times with 0.5 pauses. This should
elimitate accidental races caused by other classes tasting providers created on
top of our vdevs.

Reported by: James R. Van Artsdalen <james-freebsd-fs2@jrv.org>
Reported by: Yuri Pankov <yuri.pankov@gmail.com>

r207937:

I added vfs_lowvnodes event, but it was only used for a short while and now
it is totally unused. Remove it.

r207970:

When there is no memory or KVA, try to help by reclaiming some vnodes.
This helps with 'kmem_map too small' panics.

No objections from: kib
Tested by: Alexander V. Ribchansky <shurik@zk.informjust.ua>

r208142:

The whole point of having dedicated worker thread for each leaf VDEV was to
avoid calling zio_interrupt() from geom_up thread context. It turns out that
when provider is forcibly removed from the system and we kill worker thread
there can still be some ZIOs pending. To complete pending ZIOs when there is
no worker thread anymore we still have to call zio_interrupt() from geom_up
context. To avoid this race just remove use of worker threads altogether.
This should be more or less fine, because I also thought that zio_interrupt()
does more work, but it only makes small UMA allocation with M_WAITOK.
It also saves one context switch per I/O request.

PR: kern/145339
Reported by: Alex Bakhtin <Alex.Bakhtin@gmail.com>

r208147:

Add task structure to zio and use it instead of allocating one.
This eliminates the only place where we can sleep when calling zio_interrupt().
As a side-effect this can actually improve performance a little as we
allocate one less thing for every I/O.

Prodded by: kib

r208148:

Allow to configure UMA usage for ZIO data via loader and turn it on by
default for amd64. On i386 I saw performance degradation when UMA was used,
but for amd64 it should help.

r208166:

Fix userland build by making io_task available only for the kernel and by
providing taskq_dispatch_safe() macro.

r208454:

Remove ZIO_USE_UMA from arc.c as well.

r208455:

ZIO_USE_UMA is no longer used.

r208458:

Create UMA zones unconditionally.

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

14 years agoMFC r208373:
mm [Mon, 24 May 2010 06:11:33 +0000 (06:11 +0000)]
MFC r208373:

Update L2ARC code and fix several bugs.

- improve ARC memory consumption (Bug ID 6488341)
- ARC/L2ARC metadata accounting (Bug ID 6748019)
- L2ARC turbo warmup (Bud ID 6748023)
- kstats for ARC content (Bug ID 6748023)
- kstats for evicted bytes from ARC by L2ARC state (Bud ID 6871680)
- fix panic on i386 systems (Bug ID 6821260)

OpenSolaris onnv revisions:
8582:df9361868dbe, 8628:97dcded6e556, 9215:7c4584f76b47,
9274:a10f8bd993c1, 10357:29060492b29d

OpenSolaris Bug IDs:
67480196748023674803064883416798268682126067902616871680

Approved by: pjd, delphij (mentor)
Obtained from: OpenSlaris (multiple bug IDs)

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

14 years agoMFC r208370, r208371, r208372, r208442, r208443:
mm [Mon, 24 May 2010 06:07:55 +0000 (06:07 +0000)]
MFC r208370, r208371, r208372, r208442, r208443:

MFC r208370:
Fix: vdev_reopen() can lead to failed allocations
OpenSolaris onnv-revision: 7980:589f37f25048, Bug ID: 6764914

MFC r208371:
Fix stack overflow in zfs send.
OpenSolaris onnv-revision: 8012:8ea30813950f, Bug ID: 6765626

MFC r208372:
Reorder some already introduced locking variables.
OpenSolaris onnv revision: 8214:d7abf7c1f1c1, Bug ID: 6747934

MFC r208442:
Fix mutex_exit misorder that can cause a kernel panic.
OpenSolaris onnv revision: 8667:5c308a17eb7c, Bug ID: 6795440

MFC r208443:
Fix kernel panic when calling spa_tryimport() on a corrupted pool.
OpenSolaris onnv revision: 8680:005fe27123ba, Bug ID: 6786321

Approved by: pav, delphij (mentor)
Obtained from: OpenSolaris (multiple Bug IDs)

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

14 years agoMFC: r208279
jkim [Mon, 24 May 2010 01:46:06 +0000 (01:46 +0000)]
MFC: r208279

Restore the previous video mode after VESA BIOS POST, just in case.

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

14 years agoMFC: r208276
jkim [Mon, 24 May 2010 01:44:30 +0000 (01:44 +0000)]
MFC: r208276

Remove unnecessary pointer increment. A wrong pointer may be passed to
free(9) and it can cause kernel panic when there are multiple graphics
controllers in the system.

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

14 years agoMFC r208159
alc [Sun, 23 May 2010 21:57:45 +0000 (21:57 +0000)]
MFC r208159
  Add a comment about the proper use of vm_object_page_remove().

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

14 years agoUpgrade to 9.6.2-P2, which addresses the following;
dougb [Sun, 23 May 2010 21:15:36 +0000 (21:15 +0000)]
Upgrade to 9.6.2-P2, which addresses the following;

Named could return SERVFAIL for negative responses
from unsigned zones.

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

14 years agoMFC: r207998
brueffer [Sun, 23 May 2010 20:27:13 +0000 (20:27 +0000)]
MFC: r207998

Fix grammar in a line of output.

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

14 years agoMFC: r208054
brueffer [Sun, 23 May 2010 20:23:34 +0000 (20:23 +0000)]
MFC: r208054

List /var/cron/tabs in FILES and add descriptions for the other entries.

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

14 years agoMFC: r208056
brueffer [Sun, 23 May 2010 20:18:51 +0000 (20:18 +0000)]
MFC: r208056

Wording fixes.

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

14 years agoMFC: r208053
brueffer [Sun, 23 May 2010 20:10:11 +0000 (20:10 +0000)]
MFC: r208053

Mention LSI Logic FC949E.

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

14 years agoMFC: r208349
marius [Sun, 23 May 2010 16:16:33 +0000 (16:16 +0000)]
MFC: r208349

Change ad_firmware_geom_adjust() to operate on a struct disk * only and
hook it up to ada(4) also. While at it, rename *ad_firmware_geom_adjust()
to *ata_disk_firmware_geom_adjust() etc now that these are no longer
limited to ad(4). This also allows to maintain a compatibility shim for
pc98_ad_firmware_geom_adjust() for the tier-1 PC98 in stable/8.

Reviewed by: mav (r208349)

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

14 years agoMFC r200534,200535:
nwhitehorn [Sun, 23 May 2010 15:30:32 +0000 (15:30 +0000)]
MFC r200534,200535:

Simplify partition type parsing by using a data-oriented model.
While there add more Apple and Linux partition types.

This unbreaks the build after r208341.

Reported by: many
Pointy hat to: me

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

14 years agoMFC r208375, r208393:
mav [Sun, 23 May 2010 11:29:34 +0000 (11:29 +0000)]
MFC r208375, r208393:
Improve suspend/resume support. Make sure controller is idle on suspend
and reset it on resume.

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

14 years agoMFC r208273:
bcr [Sun, 23 May 2010 11:26:43 +0000 (11:26 +0000)]
MFC r208273:
Add a sentence to the man page explaining that the -d option
can only be used when ntpd is compiled with DEBUG support.

PR:             docs/138206
Submitted by:   Oliver Pinter (oliver dot pntr at gmail dot com)
Approved by:    roberto

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

14 years agoMFC: r208348
marius [Sun, 23 May 2010 11:20:26 +0000 (11:20 +0000)]
MFC: r208348

Remove unnecessary headers which were inherited from cam_xpt.c without
reason.

Reviewed by: mav

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

14 years agoMFC: r208341
marius [Sun, 23 May 2010 11:18:05 +0000 (11:18 +0000)]
MFC: r208341

Update to a config.h created by a file 5.03 configure script. This causes
file.1 to contain the correct version number and SIZEOF_LONG_LONG to be
defined as appropriate, which is crucial for 64-bit big-endian ELF files
to be handled correctly on big-endian systems.

PR: 146387
Reviewed by: delphij

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

14 years agoMFC r208356.
np [Sun, 23 May 2010 09:27:14 +0000 (09:27 +0000)]
MFC r208356.

Remove bad assertion.

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

14 years agoMFC r208293: ffs_mount: accept and drop userland-only options that can
avg [Sun, 23 May 2010 07:21:50 +0000 (07:21 +0000)]
MFC r208293: ffs_mount: accept and drop userland-only options that can
be passed from loader(8)

PR: kern/141050

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

14 years agoMFC r207366: ffs_vfsops: restore alphabetic order of options in ffs_opts
avg [Sun, 23 May 2010 07:04:21 +0000 (07:04 +0000)]
MFC r207366: ffs_vfsops: restore alphabetic order of options in ffs_opts

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

14 years agoMFC: r208254
rmacklem [Sun, 23 May 2010 02:55:59 +0000 (02:55 +0000)]
MFC: r208254
Allow the experimental NFSv4 client to use cached attributes
when a write delegation is held. Also, add a missing
mtx_unlock() call for the ACL debugging code.

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

14 years agoMFC r200557,208173:
nwhitehorn [Sun, 23 May 2010 02:40:04 +0000 (02:40 +0000)]
MFC r200557,208173:

Teach gpart about bootcode on APM.

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

14 years agoMFC r208167:
nwhitehorn [Sun, 23 May 2010 02:32:52 +0000 (02:32 +0000)]
MFC r208167:

Enable smu(4) to report fan speeds on late-model Powermac G5s.

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

14 years agoMFC r205497,208364,208405:
nwhitehorn [Sun, 23 May 2010 02:31:37 +0000 (02:31 +0000)]
MFC r205497,208364,208405:

Fix a long-standing bug in the PowerPC OFW call function on SMP machines
by forcing all secondary CPUs into a busy wait with interrupts off during
the call. This bug caused ofwdump -a to hang the system.

Following section 8.4 of the Open Firmware PowerPC processor binding,
the firmware is free to overwrite the system interrupt handlers during
OF calls, restoring the OS handlers on exit. On single CPU systems, this
process is invisible to the operating system. On multiple CPU systems,
taking any exception on a secondary CPU while an OF call is in progress
ends with that exception vectored into OF, resulting in a slow movement
of the entire system into firmware context and a machine hang.

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

14 years agoAdd a file missed by svn in r208425 (the MFC of r208149,208285)
nwhitehorn [Sun, 23 May 2010 02:20:26 +0000 (02:20 +0000)]
Add a file missed by svn in r208425 (the MFC of r208149,208285)

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

14 years agoMFC r208152,208172:
nwhitehorn [Sun, 23 May 2010 02:18:40 +0000 (02:18 +0000)]
MFC r208152,208172:

On PowerMac11,2 and (presumably) PowerMac12,1, we need to quiesce the
firmware in order to take over control of the SMU. Without doing this,
the firmware background process doing fan control will run amok as we
take over the system and crash the management chip.

This is limited to these two machines because our kernel is heavily
dependent on firmware accesses, and so quiescing firmware can cause
nasty problems.

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

14 years agoMFC r208150:
nwhitehorn [Sun, 23 May 2010 02:16:29 +0000 (02:16 +0000)]
MFC r208150:

On SMP G5 systems, sometimes the power-mode-data property is only found
on CPU 0, so look there if it is not otherwise available.

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

14 years agoMFC r208149,208285:
nwhitehorn [Sun, 23 May 2010 02:15:31 +0000 (02:15 +0000)]
MFC r208149,208285:

Add support for the U4 PCI-Express bridge chipset used in late-generation
Powermac G5 systems. MSI and several other things are not presently
supported.

The U3/U4 internal device support portions of this change were contributed
by Andreas Tobler.

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

14 years agoMFC r205356:
nwhitehorn [Sun, 23 May 2010 02:12:44 +0000 (02:12 +0000)]
MFC r205356:

Let unin(4) attach to U3 controllers found on G5 machines.

Submitted by: Andreas Tobler

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

14 years agoMerge OpenSSL 0.9.8n from head into stable/8.
simon [Sat, 22 May 2010 18:40:54 +0000 (18:40 +0000)]
Merge OpenSSL 0.9.8n from head into stable/8.

Approved by: re (kib)

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

14 years agoMFC: r208234
rmacklem [Sat, 22 May 2010 01:01:59 +0000 (01:01 +0000)]
MFC: r208234
Add a sanity check for a negative args.fhsize to the experimental
NFS client.

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

14 years agoMFC r198317,206995:
randi [Fri, 21 May 2010 23:08:53 +0000 (23:08 +0000)]
MFC r198317,206995:
  Introduce 'netDev=ANY' support for scripted (install.cfg) installs, which
  results in the first ethernet interface with physical link being selected.

Approved by: cperciva (mentor)

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

14 years agoMFC: r201490
marius [Fri, 21 May 2010 19:47:52 +0000 (19:47 +0000)]
MFC: r201490

There are actually 129 tests here.

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

14 years agoMFC: r197362
marius [Fri, 21 May 2010 19:45:54 +0000 (19:45 +0000)]
MFC: r197362

IEEE Std 1003.1, 2004 Edition states:

"The escape sequence '\n' shall match a <newline> embedded in
the pattern space."

It is unclear whether this also applies to a \n embedded in a
character class.  Disable the existing handling of \n in a character
class following Mac OS X, GNU sed version 4.1.5 with --posix, and
SunOS 5.10 /usr/bin/sed.

Pointed by: Marius Strobl
Obtained from: Mac OS X

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

14 years agoMFC: r197361
marius [Fri, 21 May 2010 19:44:23 +0000 (19:44 +0000)]
MFC: r197361

Follow POSIX (IEEE Std 1003.1, 2004 Edition) in the implementation
of the y (translate) command.

"If a backslash character is immediately followed by a backslash
character in string1 or string2, the two backslash characters shall
be counted as a single literal backslash character"

Pointed by: Marius Strobl
Obtained from: Mac OS X

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

14 years agoManually remove the mergeinfo from this directory, r208399 hasn't work as
marius [Fri, 21 May 2010 19:40:27 +0000 (19:40 +0000)]
Manually remove the mergeinfo from this directory, r208399 hasn't work as
expected for some reason.

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

14 years agoMFC: r197360
marius [Fri, 21 May 2010 19:35:14 +0000 (19:35 +0000)]
MFC: r197360

Add correct test results.

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

14 years agoTry to move the mergeinfo up one directory to the level of the Makefile.
marius [Fri, 21 May 2010 19:33:40 +0000 (19:33 +0000)]
Try to move the mergeinfo up one directory to the level of the Makefile.

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

14 years agoMFC: r197357
marius [Fri, 21 May 2010 19:22:50 +0000 (19:22 +0000)]
MFC: r197357

Describe how other systems treat this case.

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

14 years agoMFC: r197356
marius [Fri, 21 May 2010 19:21:47 +0000 (19:21 +0000)]
MFC: r197356

Allow [ to be used as a delimiter.

Pointed by: Marius Strobl
Obtained from: Apple

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

14 years agoMFC: r197509
marius [Fri, 21 May 2010 19:17:31 +0000 (19:17 +0000)]
MFC: r197509

Wipe out mergeinfo.

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

14 years agoMFC: r197352
marius [Fri, 21 May 2010 19:09:41 +0000 (19:09 +0000)]
MFC: r197352

The transition to Subversion allows us to rename files without
repo-copy hacks.
Remove the test-number prefix from the name of the output files,
so that new test cases can be easily added.

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

14 years agoMFC 208213:
jhb [Fri, 21 May 2010 16:17:08 +0000 (16:17 +0000)]
MFC 208213:
Prevent unloading a kld for a driver that has subinterfaces (vlan and/or
wlan interfaces) from being automatically reloaded via devd shutdown
event handlers.
- Revert part of my previous changes to call ifn_stop on subinterfaces
  when an interface is detached.  It is better to destroy the interfaces
  first so that an 'ifconfig foo0.blah down' doesn't result in ifconfig
  auto-loading if_foo.ko.  The ifconfig command will not be invoked if
  foo0.blah is gone when ifn_stop() is called.  Furthermore, it is not
  necessary to explicitly invoke ifn_stop() after the subinterface is
  destroyed as devd will already do that.
- Pass -n to ifconfig when destroying interfaces so that destroying a
  cloned interface does not kldload any drivers.

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

14 years agoMFC 208212:
jhb [Fri, 21 May 2010 16:07:20 +0000 (16:07 +0000)]
MFC 208212:
Ignore failures from removing multicast addresses from the parent (trunk)
interface when tearing down a vlan interface.

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

14 years agoMerge r199628 and r199632: Tests for the cd command.
stefanf [Fri, 21 May 2010 16:01:57 +0000 (16:01 +0000)]
Merge r199628 and r199632: Tests for the cd command.

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

14 years agoMFC r206844:
ken [Fri, 21 May 2010 04:47:22 +0000 (04:47 +0000)]
MFC r206844:

Don't clear other flags (e.g. CSUM_TCP) when setting CSUM_TSO.  This was
causing TSO to break for the Xen netfront driver.

Reviewed by: gibbs, rwatson

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

14 years agoMFC r207612:
nork [Thu, 20 May 2010 22:12:36 +0000 (22:12 +0000)]
MFC r207612:
  Add support run services_mkdb(8).

Approved by: dougb, imp (mentor)
Reviewed by: ume

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

14 years agoMFC r208035:
trasz [Thu, 20 May 2010 18:47:34 +0000 (18:47 +0000)]
MFC r208035:

Update authors and history.

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

14 years agoMFC r208034:
trasz [Thu, 20 May 2010 18:46:11 +0000 (18:46 +0000)]
MFC r208034:

Make branding less intrusive - in acl_set(3), in case ACL brand
is ACL_BRAND_UNKNOWN, do what the programmer says instead of failing.

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

14 years agoMFC r208033:
trasz [Thu, 20 May 2010 18:45:07 +0000 (18:45 +0000)]
MFC r208033:

Make it possible to actually use NFSv4 permission bits with acl_set_perm(3)
and acl_delete_perm(3).  It went undetected, because neither setfacl(1)
nor Samba use this routines.  D'oh.

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

14 years agoMFC r207306
alc [Thu, 20 May 2010 16:21:19 +0000 (16:21 +0000)]
MFC r207306
  Change vm_object_madvise() so that it checks whether the page is invalid
  or unmanaged before acquiring the page queues lock.  Neither of these
  tests require that lock.  Moreover, a better way of testing if the page
  is unmanaged is to test the type of vm object.  This avoids a pointless
  vm_page_lookup().

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

14 years agoMFC r207730:
kib [Thu, 20 May 2010 09:41:13 +0000 (09:41 +0000)]
MFC r207730:
Document MAKEDEV_NOWAIT flag for  make_dev_credf(9).

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

14 years agoAdd xz to rescue.
mm [Thu, 20 May 2010 09:39:01 +0000 (09:39 +0000)]
Add xz to rescue.

Approved by: delphij (mentor)

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

14 years agoMFC r207729:
kib [Thu, 20 May 2010 09:38:15 +0000 (09:38 +0000)]
MFC r207729:
Add MAKEDEV_NOWAIT flag for make_dev_credf(9).

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

14 years agoMFC r208050:
mm [Thu, 20 May 2010 09:35:31 +0000 (09:35 +0000)]
MFC r208050:

Fix ZIL-related panic on zfs rollback.

OpenSolaris onnv-revision: 8746:e1d96ca6808c

Approved by: pjd, delphij (mentor)
Obtained from: OpenSolaris (Bug ID 6796377)

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

14 years agoMFC: r208143
marius [Thu, 20 May 2010 08:43:29 +0000 (08:43 +0000)]
MFC: r208143

Add the ofw_bus_if.h dependency introduced with r207585 (MFC'ed to
stable/8 in r208086).

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

14 years agoMFC r206889: add do-not-fragment option support to ping6(8).
maxim [Thu, 20 May 2010 08:03:08 +0000 (08:03 +0000)]
MFC r206889: add do-not-fragment option support to ping6(8).

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

14 years agoMFC r208047:
mm [Thu, 20 May 2010 06:51:48 +0000 (06:51 +0000)]
MFC r208047:

Import OpenSolaris revision 7837:001de5627df3
It includes the following changes:
- parallel reads in traversal code (Bug ID 6333409)
- faster traversal for zfs send (Bug ID 6418042)
- traversal code cleanup (Bug ID 6725675)
- fix for two scrub related bugs (Bug ID 67296966730101)
- fix assertion in dbuf_verify (Bug ID 6752226)
- fix panic during zfs send with i/o errors (Bug ID 6577985)
- replace P2CROSS with P2BOUNDARY (Bug ID 6725680)

List of OpenSolaris Bug IDs:
633340964180426757112672566867256756725680,
672569867296966730101675222665779856755042

Approved by: pjd, delphij (mentor)
Obtained from: OpenSolaris (multiple Bug IDs)

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

14 years agoMFC r207733:
delphij [Thu, 20 May 2010 00:31:09 +0000 (00:31 +0000)]
MFC r207733:

Plug memory leak.

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

14 years agoMFC r208012
thompsa [Thu, 20 May 2010 00:05:33 +0000 (00:05 +0000)]
MFC r208012

 Support getting signed and unsigned HID data.

Submitted by: Alex Deiter

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

14 years agoMFC r207981:
gordon [Wed, 19 May 2010 22:03:45 +0000 (22:03 +0000)]
MFC r207981:
 Fix a bug due to a type conversion from 64 to 32 bits. The side effect of
 this type conversion is the high bits which were used to indicate if a
 special character was a literal or special were dropped. As a result, all
 special character were treated as special, even if they were supposed to
 be literals.

Approved by: mentor (wes@)

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

14 years agoMFC r208084:
yongari [Wed, 19 May 2010 21:08:38 +0000 (21:08 +0000)]
MFC r208084:
  If controller received bad frames make sure to update newly added
  RFA. Also drop frames that have either CRC error or alignment
  error. Normally bad frames are not received at all. But controllers
  running in promiscuous mode will receive bad frames. 82557 will
  also receive bad frames to receive VLAN oversized frames.

  While I'm here mark RNR condition if driver happen to see RNR in
  RFA status and restart RU to receive frames again. Because driver
  checks all received frames in RX loop, RNR condition could be set
  in the middle of RX processing. Just relying on RNR interrupt was
  not enough.

  This change fixes "Memory modified after free" issue when fxp(4)
  is running as a member of if_bridge(4).

  Tested by: Larry Baird <lab <> gta dot com>

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

14 years agoMFC r208081,208083:
yongari [Wed, 19 May 2010 20:56:18 +0000 (20:56 +0000)]
MFC r208081,208083:
r208081:
  Controller updates RFA via DMA so driver needs synchronization.
  Add missing BUS_DMASYNC_POSTWRITE and BUS_DMASYNC_PREREAD.

r208083:
  Dont' allow dma map load deferring. fxp(4) is not able to handle
  EINPROGRESS.

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

14 years agoMFC r208116: Change the commented msgs examples in profile/csh.login
jilles [Wed, 19 May 2010 20:53:21 +0000 (20:53 +0000)]
MFC r208116: Change the commented msgs examples in profile/csh.login
from -f to -q.

Starting something that wants input on login seems strange and can be
dangerous. In some configurations, causing output can be bad, but it is not
as dangerous.

I do not expect this msgs invocation to be uncommented often.

PR: conf/96015

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

14 years agoMFC 207335:
jhb [Wed, 19 May 2010 19:43:49 +0000 (19:43 +0000)]
MFC 207335:
Initialize the callout structure earlier in attach before calling any
routines that can fail since ciss_free() always tries to stop and drain
the callout.

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

14 years agoMFC r207536, r207696, r208183:
mav [Wed, 19 May 2010 14:50:07 +0000 (14:50 +0000)]
MFC r207536, r207696, r208183:
Import mvs(4) - Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA controllers
driver for CAM ATA subsystem. This driver supports same hardware as
atamarvell, ataadaptec and atamvsata drivers from ata(4), but provides
many additional features, such as NCQ, PMP, etc.

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

14 years agoMFC r207360: periodically save system time to hardware time-of-day clock
avg [Wed, 19 May 2010 10:34:15 +0000 (10:34 +0000)]
MFC r207360: periodically save system time to hardware time-of-day clock

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

14 years agoMFC r207359,207362: kern_ntptime: abstract time error check into a
avg [Wed, 19 May 2010 10:15:37 +0000 (10:15 +0000)]
MFC r207359,207362: kern_ntptime: abstract time error check into a
function

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

14 years agoMFC r207958:
kib [Wed, 19 May 2010 09:32:59 +0000 (09:32 +0000)]
MFC r207958:
Route all returns from the interrupts and faults through the doreti_iret
labeled iretq instruction.

MFC r208026:
Do not use .extern.

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

14 years agoMFC r207957:
kib [Wed, 19 May 2010 09:30:41 +0000 (09:30 +0000)]
MFC r207957:
Remove unneeded overrides of the segment registers.

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

14 years agoMFC r207670, r208130, r208131:
mm [Wed, 19 May 2010 06:49:52 +0000 (06:49 +0000)]
MFC r207670, r208130, r208131:

MFC r207670:
Introduce hardforce export option (-F) for "zpool export".
When exporting with this flag, zpool.cache remains untouched.
OpenSolaris onnv revision: 8211:32722be6ad3b

MFC r208130:
Fix perfomance problem with ZFS prefetch caching [1]
Add statistics for ZFS prefetch (sysctl kstat.zfs.misc.zfetchstats)
OpenSolaris onnv revision: 10474:0e96dd3b905a (partial)

MFC r208131:
Fix deadlock between zfs_dirent_lock and zfs_rmdir
OpenSolaris onnv revision: 11321:506b7043a14c

Reported by: jhell@dataix.net (private e-mail) [1]
Approved by: pjd, delphij (mentor)
Obtained from: OpenSolaris (Bug ID: 6775357685999768689516847615)

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

14 years agoMFC r207005:
brucec [Tue, 18 May 2010 18:20:11 +0000 (18:20 +0000)]
MFC r207005:

Make the "Q = Finish" text visible when running sysinstall as a normal
application.  Reword the boot manager screen to try and avoid confusion.

Approved by: rrs (mentor)

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

14 years agoMFC r207006:
brucec [Tue, 18 May 2010 18:19:06 +0000 (18:19 +0000)]
MFC r207006:

Remove the reference to DD mode, and replace "Wizard" mode with "Expert" mode.
Also, make sure the "Q = Finish" text is visible.
Reword the boot manager screen to try and avoid confusion, and make the
order of the menu items match that in sysinstall.

PR: bin/142916
Submitted by: Jeremy Chadwick <freebsd at jdc.parodius.com>
Approved by:    rrs (mentor)

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

14 years agoMFC r207926:
bschmidt [Tue, 18 May 2010 17:43:53 +0000 (17:43 +0000)]
MFC r207926:
Enable 5.5 and 11Mbit TX rates.

Reviewed by: sam
Approved by: rpaulo (mentor)

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

14 years agoMFC: r208098
marius [Tue, 18 May 2010 17:15:40 +0000 (17:15 +0000)]
MFC: r208098

Document the led(4) interface to the identification LEDs.

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

14 years agoMFC: r208117
marius [Tue, 18 May 2010 17:09:20 +0000 (17:09 +0000)]
MFC: r208117

Fix a mismerge in r206001 (MFC'ed to stable/8 in r206211).

PR: 146614
Approved by: jfv (implicit)

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

14 years agoMFC: r205254, r208097
marius [Tue, 18 May 2010 17:02:24 +0000 (17:02 +0000)]
MFC: r205254, r208097

- Add quirk handling for Sun Fire V1280. The firmware of these machines
  provides no ino-bitmap properties so forge them using the default set
  of controller interrupts and let schizo_setup_intr() take care of the
  children, hoping for non-fancy routing.
- Enable DMA write parity error interrupts on Schizo with a working
  implementation.
- Let schizo_pci_bus() only panic in case of fatal errors as the interrupt
  triggered by the error the firmware of Sun Fire V890 as well as 280R
  with version 7 Schizo caused may happen as late as using the HBA and not
  only prior to touching the PCI bus (in the former case the actual error
  still is fatal but we clear it before touching the PCI bus).
  While at it count and export non-fatal error interrupts via sysctl(9).
- Remove unnecessary locking from schizo_ue().

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

14 years agoMFC r205728
kaiw [Tue, 18 May 2010 10:32:20 +0000 (10:32 +0000)]
MFC r205728

  Merge improvements from kernel HID parser to the userland usbhid(3)
  parser.  This merge does not change any API and should not break any
  native or thirdparty applications.

  Changes include:

  * Merge multiple report ID support and other improvements from kernel
    HID parser.
  * Ignore rid argument in hid_start_parser, parse all the report items since
    we now support multiple report ID.
  * Skip report ID byte in hid_get_data() and set report ID byte in
    hid_set_data(), if report ID is non-zero.
  * Reimplement hid_get_report_id: instead get report id from uhid device
    (which is always 0), try parsing the report descriptor and return the
    first report ID encountered.

MFC r207812

  hid_get_data() now expects that the hid data passed in always contains
  the report ID byte. Thus we should not skip the the report ID byte in
  hid_interrupt().  Also, if HUP_KEYBOARD usage is an array, do not try
  to modify the 'data' pointer, instead, increase the hid_item_t field
  'pos' by 'report_size' before calling hid_get_data() during each
  iteration.

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

14 years agoMFC r207922, r207925, r207929, r208052:
attilio [Tue, 18 May 2010 10:24:23 +0000 (10:24 +0000)]
MFC r207922, r207925, r207929, r208052:
- Change the db_printf return value in order to catch up with printf
- Make witness_list_locks() and witness_display_spinlock() accept
  callbacks for printf-like functions in order to queue the output on the
  correct channel.

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

14 years agoBump __FreeBSD_version for liblzma addition.
mm [Tue, 18 May 2010 10:02:45 +0000 (10:02 +0000)]
Bump __FreeBSD_version for liblzma addition.

Approved by: delphij (mentor)

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

14 years agoMFC r207842, r207844, r208099:
mm [Tue, 18 May 2010 09:59:09 +0000 (09:59 +0000)]
MFC r207842, r207844, r208099:

MFC r207842:
Import of liblzma, xz, xzdec, lzmainfo from vendor branch
Add support for xz and lzma to lesspipe.sh (xzless, lzless)

MFC r207844:
Add two public headers missing in r207842
Adjust CFLAGS for lzmainfo, xz, xzdec

MFC r208099:
Add versioned symbols to liblzma
Use default SHLIB_MAJOR.

Approved by: delphij (mentor)

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

14 years agoMFC r207626, r207627:
mm [Tue, 18 May 2010 07:45:27 +0000 (07:45 +0000)]
MFC r207626, r207627:

MFC r207626:
Speed up ZFS list operation with objset prefetching.

MFC r207627:
Enable "zfs list" to list explicitly requested snapshots.

OpenSolaris onnv revisions:
8415:8809e849f63e, 10474:0e96dd3b905a (partial)

PR: kern/146297
Approved by: pjd, delphij (mentor)
Obtained from: OpenSolaris (Bug ID 6386929675833867553896847118)

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

14 years agoMFC r208077:
bz [Tue, 18 May 2010 04:21:50 +0000 (04:21 +0000)]
MFC r208077:
  Document the 'short preamble' capability for 802.11bg.

  Reviewed by: sam

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

14 years agoMFC r208100:
bz [Tue, 18 May 2010 04:20:35 +0000 (04:20 +0000)]
MFC r208100:
  Fix an issue with the dynamic pcpu/vnet data allocators.

  We cannot expect that modspace is the last entry in the linker
  set and thus that modspace + possible extra space up to PAGE_SIZE
  would be contiguous.  For the moment do not support more than
  *_MODMIN space and ignore the extra space.

Discussed with: jeff, rwatson (briefly)
Reviewed by: jeff
Sponsored by: The FreeBSD Foundation
Sponsored by: CK Software GmbH

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

14 years agoMFC r208023
thompsa [Tue, 18 May 2010 03:16:02 +0000 (03:16 +0000)]
MFC r208023

 Use fixed width integer types for parsing the binary hid data.

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

14 years agoMFC r208089:
dougb [Tue, 18 May 2010 02:22:08 +0000 (02:22 +0000)]
MFC r208089:

Remove duplicate

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

14 years agoMFC r208088:
dougb [Tue, 18 May 2010 02:17:40 +0000 (02:17 +0000)]
MFC r208088:

Hide the creation and population of the temproot

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

14 years agoMFC r204738, r205113 (imp):
mm [Tue, 18 May 2010 00:46:15 +0000 (00:46 +0000)]
MFC r204738, r205113 (imp):

MFC r204738:
Remove stale references to libkrb5.
Rejigger the SUBDIR setting a smidge: we now set all the libraries that depend
on something else, and then SUBDIR+= the rest.

MFC r205113:
Make this conform to the other top-level Makefile subdir listings with
one file per line.

Approved by: delphij (mentor)

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

14 years agoAdjust svn:mergeinfo for revision 204546. This commit moves mergeinfo to
delphij [Tue, 18 May 2010 00:37:32 +0000 (00:37 +0000)]
Adjust svn:mergeinfo for revision 204546.  This commit moves mergeinfo to
lib/ and removes mergeinfo on individual file.

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

14 years agoMFC r207630
delphij [Tue, 18 May 2010 00:32:02 +0000 (00:32 +0000)]
MFC r207630

Remove if_ar, if_ray, if_sr, if_ppp, if_sl to reflect the current modules
available, they were removed due to NEEDSGIANT.

While I'm there, add if_et which was missed quite a while ago.

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

14 years agoMFC r203773
thompsa [Mon, 17 May 2010 23:59:14 +0000 (23:59 +0000)]
MFC r203773

 Within libusb 0.1 API, bus number is always faked to 0. Device numbers,
 however, are possitive and seem to be reverse sorted in the list.

 Conform device numbering and bring a result that is consistent with the
 libusb 0.1 API.  It is now possible to distinguish a device based on its
 (bus, dev) numbers.

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

14 years agoMFC r208012
thompsa [Mon, 17 May 2010 23:57:34 +0000 (23:57 +0000)]
MFC r208012

 Support getting signed and unsigned HID data.

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

14 years agoMFC r208021
thompsa [Mon, 17 May 2010 23:56:17 +0000 (23:56 +0000)]
MFC r208021

 Fix return values for usb_find_busses() and usb_find_devices(). We should try
 to return the actual number of busses and devices.

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

14 years agoMFC r208020
thompsa [Mon, 17 May 2010 23:55:23 +0000 (23:55 +0000)]
MFC r208020

 Fix header file compliancy with libusb 1.0 from sourceforge.

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

14 years agoMFC r208048
thompsa [Mon, 17 May 2010 23:52:33 +0000 (23:52 +0000)]
MFC r208048

 Allow the USB_REQ_DEBUG to be enabled in the kernel conf.

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

14 years agoMFC r208019
thompsa [Mon, 17 May 2010 23:51:57 +0000 (23:51 +0000)]
MFC r208019

 Sync run(4) driver from author's site.

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

14 years agoMFC r208018
thompsa [Mon, 17 May 2010 23:51:20 +0000 (23:51 +0000)]
MFC r208018

 Reduce diffs to p4.

  Add test code for delaying or failing usb control requests, disabled by
  default under ifdef USB_REQ_DEBUG.

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

14 years agoMFC r208017
thompsa [Mon, 17 May 2010 23:50:46 +0000 (23:50 +0000)]
MFC r208017

 Fix possibly wrong bit masking.

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

14 years agoMFC r208016
thompsa [Mon, 17 May 2010 23:50:10 +0000 (23:50 +0000)]
MFC r208016

 Add new FTDI USB device ID.

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

14 years agoMFC r208015
thompsa [Mon, 17 May 2010 23:49:31 +0000 (23:49 +0000)]
MFC r208015

 Increase the max ports to 12, 3G devices exist where the ppp endpoint is #9.

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