]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/log
FreeBSD/stable/9.git
12 years agoMFC r229768:
kib [Sat, 21 Jan 2012 01:24:06 +0000 (01:24 +0000)]
MFC r229768:
Implement fdlopen(3), an rtld interface to load shared object by file
descriptor.

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

12 years agoMFC r227124: fifo_misc test: Fix swapped lseek arguments.
jilles [Fri, 20 Jan 2012 16:29:17 +0000 (16:29 +0000)]
MFC r227124: fifo_misc test: Fix swapped lseek arguments.

It worked regardless because SEEK_CUR happens to be 1.

PR: misc/160866

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

12 years agoMFC r227123: lint: Fix lseek() argument order.
jilles [Fri, 20 Jan 2012 15:43:08 +0000 (15:43 +0000)]
MFC r227123: lint: Fix lseek() argument order.

Because SEEK_SET is 0, this seems to have no effect on the generated code.

PR: bin/160806
Submitted by: Henning Petersen <henning dot petersen at t-online dot de>
Obtained from: NetBSD

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

12 years agoMFC: r229977
brueffer [Wed, 18 Jan 2012 21:59:32 +0000 (21:59 +0000)]
MFC: r229977

Add hpt27xx to the hardware notes,

While here, add the 2012 copyright.

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

12 years agoMFC: 229965
gnn [Wed, 18 Jan 2012 21:54:34 +0000 (21:54 +0000)]
MFC: 229965

Fix for PR 138526.

Add the ability for /dev/null and /dev/zero to accept
being set into non blocking mode via fcntl().  This
brings the code into compliance with IEEE Std 1003.1-2001
as referenced in another PR, 94729.

Reviewed by: jhb

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

12 years agoMFC: r229984
truckman [Wed, 18 Jan 2012 21:49:37 +0000 (21:49 +0000)]
MFC: r229984

Pass the arguments to mtx_init() in the correct order.  There should be
no change to the binary because the value of MTX_DEF is zero and there
is a visible function prototype.

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

12 years agoMFC r228869,r228874:
jhibbits [Wed, 18 Jan 2012 11:48:07 +0000 (11:48 +0000)]
MFC r228869,r228874:

Implement hwpmc counting PMC support for PowerPC G4+ (MPC745x/MPC744x).
Sampling is in progress.

Approved by: nwhitehorn (mentor)

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

12 years agoMFC r230032, r230050, r230090, r230091 and r228493.
hselasky [Wed, 18 Jan 2012 07:57:17 +0000 (07:57 +0000)]
MFC r230032, r230050, r230090, r230091 and r228493.
- Various XHCI and USB 3.0 related issues.
- USB 3.0 HUBs should work after this change.

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

12 years agoMFC r229971:
kib [Wed, 18 Jan 2012 04:37:17 +0000 (04:37 +0000)]
MFC r229971:
Add PCI Id for the AMT SOL UART on 5 series Intel chipsets.

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

12 years agoMFC r229495:
kib [Wed, 18 Jan 2012 04:34:18 +0000 (04:34 +0000)]
MFC r229495:
Do not restart the scan in vm_object_page_clean() on the object
generation change if requested mode is async.

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

12 years agoMFC r230035:
jhibbits [Tue, 17 Jan 2012 22:42:54 +0000 (22:42 +0000)]
MFC r230035:

Add PWM monitoring sysctl to G4 MDD (Windtunnel) fan driver.  While there, clean
up some style nits.

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

12 years agoMFC: Revert changes in r229899. The ypserv daemon could not work with multiple
hrs [Tue, 17 Jan 2012 20:56:12 +0000 (20:56 +0000)]
MFC: Revert changes in r229899.  The ypserv daemon could not work with multiple
socktypes due to it.

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

12 years agoMerge r229085 from head:
gavin [Tue, 17 Jan 2012 13:52:04 +0000 (13:52 +0000)]
Merge r229085 from head:

  Default to not performing the early-boot memory tests when we detect we
  are booting inside a VM.  There are three reasons to disable this:

  o  It causes the VM host to believe that all the tested pages or RAM are
     in use.  This in turn may force the host to page out pages of RAM
     belonging to other VMs, or otherwise cause problems with fair resource
     sharing on the VM cluster.
  o  It adds significant time to the boot process (around 1 second/Gig in
     testing)
  o  It is unnecessary - the host should have already verified that the
     memory is functional etc.

  Note that this simply changes the default when in a VM - it can still be
  overridden using the hw.memtest.tests tunable.

Early MFC requested by: bz

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

12 years agoMFC: r228218, r228219, 228220, 228221
pho [Tue, 17 Jan 2012 11:04:58 +0000 (11:04 +0000)]
MFC: r228218, r228219, 228220, 228221

Rename copyin_timeout32 to umtx_copyin_timeout32 and move parameter
check here. Include check for negative seconds value.
Add umtx_copyin_timeout() and move parameter checks here.
Add declaration of umtx_copyin_timeout()
Use umtx_copyin_timeout() to copy and check timeout parameter.

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

12 years agoMFC r229771:
kib [Tue, 17 Jan 2012 07:01:22 +0000 (07:01 +0000)]
MFC r229771:
Document comconsole_port and comconsole_pcidev loader variables.

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

12 years agoMFC r229934:
kib [Tue, 17 Jan 2012 06:57:55 +0000 (06:57 +0000)]
MFC r229934:
Change the type of the paging_in_progress refcounter from u_short to
u_int. With the auto-sized buffer cache on the modern machines, UFS
metadata can generate more the 65535 pages belonging to the buffers
undergoing i/o, overflowing the counter.

To keep the layout of other fields of the struct vm_object intact
on stable/9, put enlarged paging_in_progress at the end of the structure,
and put a placeholder in the place of old pip counter.

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

12 years agoMFC r229435:
kib [Tue, 17 Jan 2012 06:40:41 +0000 (06:40 +0000)]
MFC r229435:
Add special loader environment variables 'comconsole_port' and
'comconsole_pcidev'.

Change allows to use ISA serial ports other than COM1 for the
loader/kernel console without loader recompilation, and to configure
console on the PCI-attached UARTs.

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

12 years agoDocument the following open issues:
hrs [Tue, 17 Jan 2012 02:49:23 +0000 (02:49 +0000)]
Document the following open issues:

 - $ipv6_prefix_IF fails to configure IF when there is no $ifconfig_IF_ipv6.
 - USB 3.0 hubs do not work.

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

12 years agoMFC 229416 + 223200:
delphij [Tue, 17 Jan 2012 01:28:43 +0000 (01:28 +0000)]
MFC 229416 + 223200:

Don't forget to release queue lock when allocation of memory failed.

Submitted by: Sascha Wildner <saw online de>
Obtained from: DragonFly

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

12 years agoMFC r229886:
jimharris [Mon, 16 Jan 2012 23:22:56 +0000 (23:22 +0000)]
MFC r229886:

 Add support for >2TB disks in GEOM RAID for Intel metadata format.

Sponsored by: Intel
Approved by: sbruno

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

12 years agoRevert r229671 mergeinfo property from root directory. This was mistakenly
jimharris [Mon, 16 Jan 2012 22:59:23 +0000 (22:59 +0000)]
Revert r229671 mergeinfo property from root directory.  This was mistakenly
added as part of r230223 MFC commit.

Reviewed by: avg
Approved by: sbruno

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

12 years agoMFC r228060, r228068, r228060
bapt [Mon, 16 Jan 2012 22:17:12 +0000 (22:17 +0000)]
MFC r228060, r228068, r228060

Upgrade gperf to 3.0.3 latest GPLv2 version

Approved by:    des (mentor)

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

12 years agoMFC r229671:
jimharris [Mon, 16 Jan 2012 17:30:00 +0000 (17:30 +0000)]
MFC r229671:

 Add 0x2826 device ID for C600 (Patsburg) SATA controller in RAID mode.

Sponsored by: Intel
Approved by: sbruno

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

12 years agoMFC r228985,229881:
pluknet [Mon, 16 Jan 2012 14:55:42 +0000 (14:55 +0000)]
MFC r228985,229881:

 Unset the environment variables associated with individual menu items
 before invoking the kernel.

 Get rid of a spurious warning on the console when booting the kernel
 from the interactive loader(8) prompt and beastie_disable="YES" is set
 in loader.conf(5).

Submitted by: Devin Teske <devin dott teske fisglobal.com>

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

12 years agoFix build breakage
kevlo [Mon, 16 Jan 2012 14:31:01 +0000 (14:31 +0000)]
Fix build breakage

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

12 years agoUse <itemizedlist> to format entries.
hrs [Mon, 16 Jan 2012 07:02:59 +0000 (07:02 +0000)]
Use <itemizedlist> to format entries.

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

12 years agoDocument {ALLOW_NEW,BLOCK_OLD}_SOURCES state change record type support
hrs [Mon, 16 Jan 2012 06:49:03 +0000 (06:49 +0000)]
Document {ALLOW_NEW,BLOCK_OLD}_SOURCES state change record type support
for SSM MLDv2 forgotten in the 9.0R Release Notes.

Pointy hat to: hrs

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

12 years agoMFC r228864:
kevlo [Mon, 16 Jan 2012 05:22:18 +0000 (05:22 +0000)]
MFC r228864:
Discard local array based on return values.

Pointed out by: uqs
Found with: Coverity Prevent(tm)
CID: 10089

MFC 228023:
Add unicode support to ntfs

Obtained from: imura

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

12 years agoMFC r228796:
kevlo [Mon, 16 Jan 2012 05:15:13 +0000 (05:15 +0000)]
MFC r228796:
Discarding local array based on return values.

MFC r227650:
Add unicode support to msdosfs and smbfs; original pathes from imura,
bug fixes by Kuan-Chung Chiu <buganini at gmail dot com>.

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

12 years ago- Listen to WITHOUT_SYSINSTALL
eadler [Mon, 16 Jan 2012 04:00:32 +0000 (04:00 +0000)]
- Listen to WITHOUT_SYSINSTALL

PR: bin/164185
Submitted by: Pierre Guinoiseau <pierre@guinoiseau.eu>
Reviewed by: imp
Approved by: cperciva
MFC After 3 days

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

12 years agoMFC r228265: critical_exit: ignore td_owepreempt if kdb_active is set
avg [Sun, 15 Jan 2012 22:20:52 +0000 (22:20 +0000)]
MFC r228265: critical_exit: ignore td_owepreempt if kdb_active is set

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

12 years agoMFC r228718: ule: ensure that batch timeshare threads are scheduled
avg [Sun, 15 Jan 2012 22:10:35 +0000 (22:10 +0000)]
MFC r228718: ule: ensure that batch timeshare threads are scheduled
fairly

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

12 years agoMFC r228710: opensolaris compat: fix vcmn_err so that panic(9) produces
avg [Sun, 15 Jan 2012 22:07:14 +0000 (22:07 +0000)]
MFC r228710: opensolaris compat: fix vcmn_err so that panic(9) produces
a proper message

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

12 years agoMFC r228426: syscons: make sc_puts static as it is used only privately
avg [Sun, 15 Jan 2012 22:04:28 +0000 (22:04 +0000)]
MFC r228426: syscons: make sc_puts static as it is used only privately

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

12 years agoMFC r228430,228433: put sys/systm.h at its proper place or add it if missing
avg [Sun, 15 Jan 2012 21:58:51 +0000 (21:58 +0000)]
MFC r228430,228433: put sys/systm.h at its proper place or add it if missing

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

12 years agoMFC r228267: zfsboot: print boot.config contents before parsing it
avg [Sun, 15 Jan 2012 21:51:55 +0000 (21:51 +0000)]
MFC r228267: zfsboot: print boot.config contents before parsing it

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

12 years agoMFC r228266: zfs boot: allow file vdevs to be used in testing (e.g. with zfsboottest)
avg [Sun, 15 Jan 2012 21:48:42 +0000 (21:48 +0000)]
MFC r228266: zfs boot: allow file vdevs to be used in testing (e.g. with zfsboottest)

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

12 years agoMFC r228343:
eadler [Sun, 15 Jan 2012 20:53:50 +0000 (20:53 +0000)]
MFC r228343:
 - Fix ktrace leakage if error is set

PR: kern/163098
Approved by: sbruno

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

12 years agoDocument ugen devctl event change.
hrs [Sun, 15 Jan 2012 07:48:12 +0000 (07:48 +0000)]
Document ugen devctl event change.

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

12 years agoMFC r229828:
kib [Sun, 15 Jan 2012 00:46:29 +0000 (00:46 +0000)]
MFC r229828:
Avoid LOR between vfs_busy() lock and covered vnode lock on quotaon().

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

12 years agoMFC r228284, r228308:
ume [Sat, 14 Jan 2012 19:38:24 +0000 (19:38 +0000)]
MFC r228284, r228308:
  - Make heimdal buildable with WITH_OPENLDAP defined, again.
  - Our heimdal uses the deprecated OpenLDAP functions.
  - Don't support OpenLDAP during lib32 build.

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

12 years agoMFC r229766:
ume [Sat, 14 Jan 2012 19:08:39 +0000 (19:08 +0000)]
MFC r229766:
  Handle the internal scope address representation of the KAME IPv6
  stack for the node-local multicast address.

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

12 years agoAdd an open issue and workaround about possible device detection failure on
hrs [Fri, 13 Jan 2012 20:50:18 +0000 (20:50 +0000)]
Add an open issue and workaround about possible device detection failure on
FreeBSD/{amd64,i386}.

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

12 years agoMFC 229665,229672,229700:
jhb [Fri, 13 Jan 2012 20:35:12 +0000 (20:35 +0000)]
MFC 229665,229672,229700:
Remove the assertion from tcp_input() that rcv_nxt is always greater
than or equal to rcv_adv and fix tcp_twstart() to handle this case by
assuming the last window was zero rather than a negative value.

The code in tcp_input() already safely handled this case.  It can happen
due to delayed ACKs along with a remote sender that sends data beyond
the window we previously advertised.  If we have room in our socket buffer
for the extra data beyond the advertised window, we will accept it.
However, if the ACK for that segment is delayed, then we will not
effectively fixup rcv_adv to account for that extra data until the
next segment arrives and forces out an ACK.  When that next segment
arrives, rcv_nxt will be beyond rcv_adv.

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

12 years agoMFC 228961:
jhb [Fri, 13 Jan 2012 20:28:11 +0000 (20:28 +0000)]
MFC 228961:
Further relax the strictness of enforcing allocations to only come from
decoded ranges.  Pass any request for a specific range that fails because
it is not in a decoded range for an ACPI Host-PCI bridge up to the parent
to see if it can still be allocated.  This is based on the assumption that
many BIOSes are inconsistent/broken and that settings programmed into BARs
or resources assigned to other built-in components are more trustworthy than
the list of decoded resource ranges in _CRS.  This effectively limits the
decoded ranges to only being used for "wildcard" ranges when allocating
fresh resources for a BAR, etc.  At some point I would like to only be
this permissive during an early scan of firmware-assigned resources during
boot and to be strict about all later allocations, but that isn't viable
currently.

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

12 years agoMFC 228960:
jhb [Fri, 13 Jan 2012 20:25:38 +0000 (20:25 +0000)]
MFC 228960:
Cap the priority calculated from the current thread's running tick count
at SCHED_PRI_RANGE to prevent overflows in the priority value.  This can
happen due to irregularities with clock interrupts under certain
virtualization environments.

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

12 years agoMFC 229519:
jhb [Fri, 13 Jan 2012 20:22:57 +0000 (20:22 +0000)]
MFC 229519:
Fix 'make clean' for this module so it cleans up the generated gssd.h.

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

12 years agoMFC 229429:
jhb [Fri, 13 Jan 2012 20:15:27 +0000 (20:15 +0000)]
MFC 229429:
Some small fixes to CPU accounting for threads:
- Only initialize the per-cpu switchticks and switchtime in sched_throw()
  for the very first context switch on APs during boot.  This avoids a
  small gap between the middle of thread_exit() and sched_throw() where
  time is not accounted to any thread.
- In thread_exit(), update the timestamp bookkeeping to track the changes
  to mi_switch() introduced by td_rux so that the code once again matches
  the comment claiming it is mimicing mi_switch().  Specifically, only
  update the per-thread stats directly and depend on ruxagg() to update
  p_rux rather than adjusting p_rux directly.  While here, move the
  timestamp bookkeeping as late in the function as possible.

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

12 years agoMFC 229427:
jhb [Fri, 13 Jan 2012 19:54:00 +0000 (19:54 +0000)]
MFC 229427:
Fix a few bugs in the SRAT parsing code:
- Actually increment ndomain when building our list of known domains
  so that we can properly renumber them to be 0-based and dense.
- If the number of domains exceeds the configured maximum (VM_NDOMAIN),
  bail out of processing the SRAT and disable NUMA rather than hitting an
  obscure panic later.
- Don't bother parsing the SRAT at all if VM_NDOMAIN is set to 1 to
  disable NUMA (the default).

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

12 years agoMFC 229390,229420,229479:
jhb [Fri, 13 Jan 2012 19:50:52 +0000 (19:50 +0000)]
MFC 229390,229420,229479:
Fix some races in the multicast code by removing places where we would
drop the IF_ADDR_LOCK while walking an interface's multicast address list:
- Use TAILQ_FOREACH() instead of TAILQ_FOREACH_SAFE() for some loops that
  do not modify the queues they iterate over.
- When cancelling multicast timers on an interface, don't release the
  reference on a group in the leaving state while iterating over the loop.
  Instead, use the same approach used in igmp_ifdetach() and mld_ifdetach()
  of placing the groups to free on a pending release list and then releasing
  the references after dropping the IF_ADDR_LOCK.
- Use the mli_relinmhead list normally used to defer calls to
  in6m_release_locked() to defer calls to mld_v1_transmit_report() until
  after the IF_ADDR_LOCK is dropped.

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

12 years agoMFC 229414,229476,229477:
jhb [Fri, 13 Jan 2012 19:20:09 +0000 (19:20 +0000)]
MFC 229414,229476,229477:
Various fixes to the SIOC[DG]LIFADDR ioctl handlers:
- Grab a reference on any matching interface address (ifa) before dropping
  the IF_ADDR_LOCK() and release the reference after using it to prevent a
  potential use-after-free.
- Fix the IPv4 ioctl handlers in in_lifaddr_ioctl() to work with IPv4
  interface addresses rather than IPv6.
- Add missing interface address list locking in the IPv4 handlers.

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

12 years agoMFC 229400:
jhb [Fri, 13 Jan 2012 19:10:53 +0000 (19:10 +0000)]
MFC 229400:
Improve the cscope target's handling of MD directories.  Automatically
include the MACHINE_CPUARCH directory if it differents from MACHINE when
building an index for a single machine.  Also, include the 'x86' directory
when building an index for i386, pc98, or amd64.

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

12 years agoMFC 229728:
jhb [Fri, 13 Jan 2012 19:03:30 +0000 (19:03 +0000)]
MFC 229728:
Add 5 spare VOPs as placeholders to avoid breaking the KBI in the future
when new VOPs are MFC'd to a branch.

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

12 years agoMFC 229622:
jhb [Fri, 13 Jan 2012 18:58:15 +0000 (18:58 +0000)]
MFC 229622:
Fix a logic bug in change 228207 in the check for a thread's new user
priority being a realtime priority.

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

12 years agoMFC 228849, 229727:
jhb [Fri, 13 Jan 2012 18:53:48 +0000 (18:53 +0000)]
MFC 228849, 229727:
Add post-VOP hooks for VOP_DELETEEXTATTR() and VOP_SETEXTATTR() and use
these to trigger a NOTE_ATTRIB EVFILT_VNODE kevent when the extended
attributes of a vnode are changed.

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

12 years agoMFC 228738:
jhb [Fri, 13 Jan 2012 18:49:04 +0000 (18:49 +0000)]
MFC 228738:
Allow boot0cfg to force a PXE boot via boot0 on the next boot.
- Fix boot0 to check for PXE when using the pre-set setting for the
  preferred slice.
- Update boot0cfg to use slice 6 to select PXE.  Accept a 'pxe' argument
  instead of a number for the 's' option as a way to select PXE as well.

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

12 years agoMFC r228358:
jh [Fri, 13 Jan 2012 10:54:26 +0000 (10:54 +0000)]
MFC r228358:

- Fix markup.
- Remove trailing whitespace.

MFC r228359:

sbuf_data() hasn't returned NULL for overflowed buffers since r71721.

MFC r228784:

Follow style(9) more closely in the example.

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

12 years agoMFC: 228794
mckusick [Fri, 13 Jan 2012 07:19:02 +0000 (07:19 +0000)]
MFC: 228794

Reduce NFPI by half to keep the default number of inodes the same with
the now default 32K/4K filesystem the same as the number of inodes in
the previously default 16K/2K filesystem.

PR:          bin/162659
Reported by: Olivier Cochard-Labbe <olivier@cochard.me>

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

12 years agoMFC: 226520
mckusick [Fri, 13 Jan 2012 07:08:21 +0000 (07:08 +0000)]
MFC: 226520

The current /etc/dumpdates file restricts device names to 32 characters.
With the addition of various GEOM layers some device names now exceed
this length, for example /dev/mirror/encrypted.elig.journal. This
change expands the field to 53 bytes which brings the /etc/dumpdates
lines to 80 characters. Exceeding 80 characters makes the /etc/dumpdates
file much less human readable. A test is added to dump so that it
verifies that the device name will fit in the 53 character field
failing the dump if it is too long.

This change has been checked to verify that its /etc/dumpdates file
is compatible with older versions of dump.

Reported by: Martin Sugioarto <martin@sugioarto.com>
PR:          kern/160678

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

12 years agoMFC r228470:
eadler [Fri, 13 Jan 2012 00:38:35 +0000 (00:38 +0000)]
MFC r228470:
- Add a sysctl to allow non-root users the ability to set idle
  priorities.
- While here fix up some style nits.

Approved by: jhb

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

12 years agoDocument EN-12:01.
hrs [Thu, 12 Jan 2012 21:12:16 +0000 (21:12 +0000)]
Document EN-12:01.

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

12 years agoMFC: r229585
brueffer [Thu, 12 Jan 2012 20:39:54 +0000 (20:39 +0000)]
MFC: r229585

Fix typo.

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

12 years agoMFC r228461:
mav [Thu, 12 Jan 2012 15:56:17 +0000 (15:56 +0000)]
MFC r228461:
Fix few bugs in isp(4) target mode support:
 - in destroy_lun_state() assert hold == 1 instead of 0, as it should
receive hold taken by the create_lun_state() or get_lun_statep() before;
 - fix hold count leak inside rls_lun_statep() that also fired above assert;
 - in destroy_lun_state() use SIM bus number instead of SIM path id for
ISP_GET_PC_ADDR(), as it was before r196008;
 - make isp_disable_lun() to set status in CCB;
 - make isp_target_mark_aborted() set status into the proper CCB.

Reviewed by: mjacob
Sponsored by: iXsystems, inc.

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

12 years agoMFC r228462:
mav [Thu, 12 Jan 2012 15:49:06 +0000 (15:49 +0000)]
MFC r228462:
 - Fix different variable types use in different files after r121184,
  causing problems on amd64.
 - s/%lud/%lu/.

Sponsored by: iXsystems, Inc.

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

12 years agoMFC r228808, r228847, 229395:
mav [Thu, 12 Jan 2012 14:53:08 +0000 (14:53 +0000)]
MFC r228808, r228847, 229395:

r228808, r228847:
Make cd driver to handle Audio CDs, reporting their 2352 bytes sectors to
GEOM and using READ CD command for reading data, same as acd driver does.
Audio CDs identified by checking respective bit of the control field of
the first track in TOC.

229395:
Add support for CDRIOCGETBLOCKSIZE and CDRIOCSETBLOCKSIZE IOCTLs to control
sector size same as acd driver does. Together with r228808 and r228847 this
allows existing multimedia/vlc to play Audio CDs via CAM cd driver.

PR:             ports/162190
Sponsored by: iXsystems, Inc.

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

12 years agoMFC 228715:
jhb [Thu, 12 Jan 2012 14:43:52 +0000 (14:43 +0000)]
MFC 228715:
Add a TASK_INITIALIZER() macro that can be used to statically
initialize a task structure.

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

12 years agomerge from head: support for building cross-arch versions of picobsd
luigi [Thu, 12 Jan 2012 11:08:21 +0000 (11:08 +0000)]
merge from head: support for building cross-arch versions of picobsd

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

12 years agoMFC: r227674
pho [Thu, 12 Jan 2012 08:03:26 +0000 (08:03 +0000)]
MFC: r227674

Added check for negative seconds value. Found by syscall() fuzzing.

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

12 years agoFix example addresses.
hrs [Thu, 12 Jan 2012 05:51:11 +0000 (05:51 +0000)]
Fix example addresses.

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

12 years agoFix a typo. (s,&os;&arch.amd64,&os;/&arch.amd64,)
hrs [Thu, 12 Jan 2012 05:47:28 +0000 (05:47 +0000)]
Fix a typo. (s,&os;&arch.amd64,&os;/&arch.amd64,)

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

12 years agoVarious grammar/wording fixes.
hrs [Thu, 12 Jan 2012 04:48:44 +0000 (04:48 +0000)]
Various grammar/wording fixes.

Submitted by: Benjamin Kaduk

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

12 years agoMFC r227774, r227777, r227800, r229838, r229847:
wblock [Thu, 12 Jan 2012 04:37:19 +0000 (04:37 +0000)]
MFC r227774, r227777, r227800, r229838, r229847:

MFC r227774:
Add a section that explicitly describes partitioning schemes.  Modify
existing sections to refer to the new one.  Rearrange partitioning
scheme list so MBR and EBR types are together.  Also add several
corrections for grammar, clarity, and consistency.

MFC r227777:
Fix date.

MFC r227800:
Correct and expand BSD partitioning scheme description.
Correct GUID to GPT in RECOVERING section.

MFC r229838:
Clarity improvements.

MFC r229847:
Whitespace-only fix.

Approved by: gjb (mentor)

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

12 years agoUse upper case in an anchor id.
hrs [Thu, 12 Jan 2012 03:52:53 +0000 (03:52 +0000)]
Use upper case in an anchor id.

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

12 years agoBump &release.next;.
hrs [Thu, 12 Jan 2012 00:38:57 +0000 (00:38 +0000)]
Bump &release.next;.

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

12 years agoAdd relnotes items:
hrs [Thu, 12 Jan 2012 00:34:54 +0000 (00:34 +0000)]
Add relnotes items:
hhook(9) and khelp(9),
hw.memtest.tests loader tunable,
posix_fallocate(2),
boot loader menu updated,
iwn(4) firmware update,
vxge(4) for Neterion X3100 10GbE Server/Storage adapter added,
ipfw(8) fwd IPv6 support,
ipfw(8) call/retrun action added,
IPv4 /31 network support as in RFC 3021,
IPV6_PKTINFO bug fixed,
h_ertt(4) (Enhanced Round Trip Time) khelp module added,
ng_ipfw(4) IPv6 support,
arcmsr(4) 1.20.00.22,
cam(4) descriptor format sense data in SPC-3 support added,
mxge(4) updated,
tws(4) for 3ware 9750 SATA+SAS 6Gb/s RAID controller added,
newfs(8), fsck_ffs(8) -E option added,
NFS nocto mount option added,
vfs.typenumhash loader tunable,
libarchive, tar(1), cpio(1) 2.8.4,
makefs(8) ISO 9660 support,
rtadvd(8), rtsold(8) RDNSS/DNSSL RA option support,
rtadvd(8) noifprefix keyword,
tftpd(8) interop issue fixed,
zpool(8) labelclear command added,
awk 20110807,
compiler-rt imported,
netcat 4.9,
tnftp 20100118,
less v444,
OpenSSH 5.8p2 + hpn patch,
pf 4.5,
sendmail 8.14.5,
tzdata2011m,
xz 20110711.

- Add descriptions about network configuration changes,
  openresolv import, and disk partition management utilities.

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

12 years agoMFC r228445:
eadler [Thu, 12 Jan 2012 00:02:14 +0000 (00:02 +0000)]
MFC r228445:
 - Add support for ASCII art splash screens in TheDraw format

PR: kern/143370
Approved by: ed

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

12 years agoMFC r228669: du: Allow multiple -HLP options, the last one wins.
jilles [Wed, 11 Jan 2012 23:30:18 +0000 (23:30 +0000)]
MFC r228669: du: Allow multiple -HLP options, the last one wins.

This matches 4.4BSD tradition and other utilities with these options and is
required by POSIX (POSIX does not specify -P, only -HL).

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

12 years agoMFC r227981:
wblock [Wed, 11 Jan 2012 22:37:45 +0000 (22:37 +0000)]
MFC r227981:
Point out that @reboot runs at every cron startup, not just system
startup.

Approved by: gjb (mentor)

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

12 years agoAdd a document for brief installation instructions.
hrs [Wed, 11 Jan 2012 20:04:52 +0000 (20:04 +0000)]
Add a document for brief installation instructions.

Submitted by: kensmith

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

12 years agoMFC r228940:
delphij [Wed, 11 Jan 2012 18:18:37 +0000 (18:18 +0000)]
MFC r228940:

Import the first release of HighPoint RocketRAID 27xx SAS 6Gb/s HBA card
driver.  This driver works for FreeBSD/i386 and FreeBSD/amd64 platforms.

Many thanks to HighPoint for providing this driver.

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

12 years agoMFC r228726, r228727:
mav [Wed, 11 Jan 2012 18:12:53 +0000 (18:12 +0000)]
MFC r228726, r228727:
Cast some vendor-specific spell on VIA VT1708S codecs to:
 - make analog input loopback work;
 - get access to the mics boost controls.

Sponsored by:   iXsystems, Inc.

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

12 years agoMFC: revision 229462
nyan [Wed, 11 Jan 2012 13:52:34 +0000 (13:52 +0000)]
MFC: revision 229462

  Fix 230MB MO support.

  Submitted by: Kaho Toshikazu

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

12 years agoMFC: r228827
rmacklem [Wed, 11 Jan 2012 01:24:35 +0000 (01:24 +0000)]
MFC: r228827
During investigation of an NFSv4 client crash reported by glebius@,
jhb@ spotted that nfscl_getstateid() might modify credentials when
called from nfsrpc_read() for the case where p != NULL, whereas
nfsrpc_read() only did a crdup() to get new credentials for p == NULL.
This bug was introduced by r195510, since pre-r195510 nfscl_getstateid()
only modified credentials for the p == NULL case. This patch modifies
nfsrpc_read()/nfsrpc_write() so that they do crdup() for the p != NULL case.
It is conceivable that this bug caused the crash reported by glebius@, but
that will not be determined for some time, since the crash occurred after
about 1month of operation.

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

12 years agoMFC r228021:
jh [Tue, 10 Jan 2012 18:20:19 +0000 (18:20 +0000)]
MFC r228021:

Add LINT-NOINET LINT-NOINET6 and LINT-NOIP to the make clean target.
This was missed in r221353.

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

12 years agoMFC r229431:
kib [Tue, 10 Jan 2012 13:41:14 +0000 (13:41 +0000)]
MFC r229431:
Do the vput() for the lowervp in the null_nodeget() for error case too.
Several callers of null_nodeget() did the cleanup itself, but several
missed it, most prominent being null_bypass(). Remove the cleanup from
the callers, now null_nodeget() handles lowervp free itself.

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

12 years agoMFC r229428:
kib [Tue, 10 Jan 2012 13:34:39 +0000 (13:34 +0000)]
MFC r229428:
Document the state of the lowervp vnode for null_nodeget().

MFC r229600 (by dim):
Output the correct vnode pointer.

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

12 years agoMFC: r227550, r227576
pho [Tue, 10 Jan 2012 11:41:02 +0000 (11:41 +0000)]
MFC: r227550, r227576

Handle invalid large values for getdirentries(2) data buffer size.
Fix build, use %d for int value formatting.

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

12 years agoMFC r228431, r228502, r228802:
fabient [Tue, 10 Jan 2012 08:16:28 +0000 (08:16 +0000)]
MFC r228431, r228502, r228802:
Add watchdog support for VIA south bridge chipset.
Tested on VT8251, VX900 but CX700, VX800, VX855 should works.

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

12 years agoAdd relnotes items:
hrs [Tue, 10 Jan 2012 08:01:24 +0000 (08:01 +0000)]
Add relnotes items:
machdep.disable_tsc_calibration tunable,
ada(4) kern.cam.ada.write_cache sysctl,
geom_map(4) added,
readline(3) functions imported into libedit, and
lib{md,crypt} SHA-256/-512 support added.

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

12 years agoMFC r229425:
dim [Tue, 10 Jan 2012 07:46:35 +0000 (07:46 +0000)]
MFC r229425:

In sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c, check the
the number of links against LINK_MAX (which is INT16_MAX), not against
UINT32_MAX.  Otherwise, the constant would implicitly be converted to
-1.

Reviewed by: pjd

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

12 years agoMFC r229423:
dim [Tue, 10 Jan 2012 07:45:00 +0000 (07:45 +0000)]
MFC r229423:

In sys/dev/qlxgb/qla_misc.c, fix a copy/paste issue.  Clang complained
the variable 'val' was uninitialized when used.  Instead, 'sig' should
have been printed.

Reviewed by: davidcs

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

12 years agoMFC r229402:
dim [Tue, 10 Jan 2012 07:42:01 +0000 (07:42 +0000)]
MFC r229402:

In sys/compat/linux/linux_ioctl.c, work around a warning when a pointer
is compared to an integer, by casting the pointer to l_uintptr_t.  No
functional difference on both i386 and amd64.

Reviewed by: ed, jhb

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

12 years agoMFC r229401:
dim [Tue, 10 Jan 2012 07:38:46 +0000 (07:38 +0000)]
MFC r229401:

In sys/dev/if_ndis/if_ndis_pccard.c, fix a bug where a garbage rid was
passed to resource_list_add().  The rid that was just returned by
bus_alloc_resource_any() should have been used instead.

Reviewed by: jhb

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

12 years agoAdd relnotes items:
hrs [Tue, 10 Jan 2012 07:21:11 +0000 (07:21 +0000)]
Add relnotes items:
RACCT resource accounting API,
RCTL resource limiting API and rctl(8),
sendmsg(2)/recvmsg(2) improvement in Linux compat layer,
open(2)/fhopen(2) O_CLOEXEC,
COMPAT_43 supports a.out binary on amd64,
usb_pf and usbdump(8),
cxgb(4) 7.11.0,
em(4) 7.3.2,
igb(4) 2.2.5,
OFED 1.5.3 imported to support Infiniband,
graid(8),
resolvconf(8) 3.4.4 imported,
hastd(8) source keyword,
ps(1) -o usertime, systime,
utmp(5) replaced by utmpx(3) [*],
GNU GCC updated to the last GPLv2-licensed version,
tzdata2011e,
add description about incompatibilities due to ATA_CAM.

Submitted by: ed[*]

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

12 years agoMFC: r228757
rmacklem [Tue, 10 Jan 2012 02:16:38 +0000 (02:16 +0000)]
MFC: r228757
jwd@ reported a problem via email where the old NFS client would
get a reply of EEXIST from an NFS server when a Mkdir RPC was retried,
for an NFS over UDP mount.
Upon investigation, it was found that the client was retransmitting
the Mkdir RPC request over UDP, but with a different xid. As such,
the retransmitted message would miss the Duplicate Request Cache
in the server, causing it to reply EEXIST. The kernel client side
UDP rpc code has two timers. The first one causes a retransmit using
the same xid and socket and was set to a fixed value of 3seconds.
(The default can be overridden via CLSET_RETRY_TIMEOUT.)
The second one creates a new socket and xid and should be larger
than the first. However, both NFS clients were setting the second
timer to nm_timeo ("timeout=<value>" mount argument), which defaulted to
1second, so the first timer would never time out.
This patch fixes both NFS clients so that they set the first timer
using nm_timeo and makes the second timer larger than the first one.

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

12 years ago- Remove extraneous null ptr deref checks
eadler [Tue, 10 Jan 2012 01:01:57 +0000 (01:01 +0000)]
- Remove extraneous null ptr deref checks
- Fix memory leak

Approved by: jhb

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

12 years agoMFC r227535:
eadler [Tue, 10 Jan 2012 00:34:40 +0000 (00:34 +0000)]
MFC r227535:
- add support for Titan VScom PCIex-800H

PR: kern/124128
Approved by: jhb

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

12 years agoMFC r227532:
eadler [Tue, 10 Jan 2012 00:26:54 +0000 (00:26 +0000)]
MFC r227532:
- add support for Broadcom 802.11bg/EDGE/GPRS CardBus (Serial)
- correct mislabeling of 0x432214e4 device

PR: kern/119606
Approved by: jhb

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

12 years agoMFC 227489:
eadler [Tue, 10 Jan 2012 00:01:17 +0000 (00:01 +0000)]
MFC 227489:
 - fix duplicate "a a" in some comments

Approved by: simon

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

12 years agoMFC r226324
thompsa [Mon, 9 Jan 2012 21:52:55 +0000 (21:52 +0000)]
MFC r226324

 Dont just set the pin high when turning on output, use the current value. Also
 let this value be set when in input mode.

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