]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
13 years agoMFC
Attilio Rao [Fri, 13 May 2011 20:58:48 +0000 (20:58 +0000)]
MFC

13 years agoFix a brain-o in platform_cpu_mask() by just specifying a possible
Attilio Rao [Fri, 13 May 2011 19:56:58 +0000 (19:56 +0000)]
Fix a brain-o in platform_cpu_mask() by just specifying a possible
cpuset_t to be copied, rather than return the array.
I can't rely anymore on this being a simple int/long object.

Reported by: art

13 years agoIf there's no package directory, don't try to install packages from
Warner Losh [Fri, 13 May 2011 19:40:02 +0000 (19:40 +0000)]
If there's no package directory, don't try to install packages from
it.  Instead, report that 0 packages are reported.

PR: misc/140436

13 years agoMove the ZERO_REGION_SIZE to a machine-dependent file, as on many
Matthew D Fleming [Fri, 13 May 2011 19:35:01 +0000 (19:35 +0000)]
Move the ZERO_REGION_SIZE to a machine-dependent file, as on many
architectures (i386, for example) the virtual memory space may be
constrained enough that 2MB is a large chunk.  Use 64K for arches
other than amd64 and ia64, with special handling for sparc64 due to
differing hardware.

Also commit the comment changes to kmem_init_zero_region() that I
missed due to not saving the file.  (Darn the unfamiliar development
environment).

Arch maintainers, please feel free to adjust ZERO_REGION_SIZE as you
see fit.

Requested by: alc
MFC after: 1 week
MFC with: r221853

13 years agoUsa a globally visible region of zeros for both /dev/zero and the md
Matthew D Fleming [Fri, 13 May 2011 18:48:00 +0000 (18:48 +0000)]
Usa a globally visible region of zeros for both /dev/zero and the md
device.  There are likely other kernel uses of "blob of zeros" than can
be converted.

Reviewed by: alc
MFC after: 1 week

13 years agoAdd ${} around variable dereference...
Warner Losh [Fri, 13 May 2011 18:46:20 +0000 (18:46 +0000)]
Add ${} around variable dereference...

Submitted by: garrett coopper

13 years agoImplement -f to inhibit copying s1 partition out for speed.
Warner Losh [Fri, 13 May 2011 18:36:24 +0000 (18:36 +0000)]
Implement -f to inhibit copying s1 partition out for speed.
(-z not taken from PR, it is no longer needed since we basically always
 do that now)

PR: misc/151698
Submitted by: lev@

13 years agoCopy symbolic links as files rather than recreating the links.
Warner Losh [Fri, 13 May 2011 18:28:25 +0000 (18:28 +0000)]
Copy symbolic links as files rather than recreating the links.

PR: misc/151697
Submitted by: lev@
MFC after: 2 weeks

13 years agoAdd the cpuset_t conversion for mips.
Attilio Rao [Fri, 13 May 2011 16:42:05 +0000 (16:42 +0000)]
Add the cpuset_t conversion for mips.

13 years agoFix the _long() rappresentation on mips by casting the long arguments
Attilio Rao [Fri, 13 May 2011 16:39:47 +0000 (16:39 +0000)]
Fix the _long() rappresentation on mips by casting the long arguments
to u_int for all the functions.

Reviewed by: art, imp

13 years agoUpdate sticky(7) cross references.
Sergey Kandaurov [Fri, 13 May 2011 16:29:57 +0000 (16:29 +0000)]
Update sticky(7) cross references.

PR: docs/124468
X-MFC with: r218998

13 years agoIn pmap_change_wiring(), use the right argument for pmap_modify_pv().
Olivier Houchard [Fri, 13 May 2011 15:54:12 +0000 (15:54 +0000)]
In pmap_change_wiring(), use the right argument for pmap_modify_pv().
It only worked because the only consumer calls pmap_change_wiring() to remove
the wiring.

13 years agoNote that the _SWAP operation is supported for all list/queue types.
Matthew D Fleming [Fri, 13 May 2011 15:49:23 +0000 (15:49 +0000)]
Note that the _SWAP operation is supported for all list/queue types.
Also place STAILQ_REMOVE_HEAD in alphabetical order.  Lastly, document
the _SWAP macros.

PR: kern/143033
MFC after: 1 week

13 years agoWhen setting up pc_other_cpus for APs based on pc_allcpu clear pc_cpuid
Marius Strobl [Fri, 13 May 2011 15:21:31 +0000 (15:21 +0000)]
When setting up pc_other_cpus for APs based on pc_allcpu clear pc_cpuid
in the former rather than the latter.
This gets this branch working on at least Jalapeno-class CPUs.

13 years agoMFC
Attilio Rao [Fri, 13 May 2011 15:20:57 +0000 (15:20 +0000)]
MFC

13 years agoAfter rewriting powerpc atomic we decided to commit at the constraint
Attilio Rao [Fri, 13 May 2011 15:09:35 +0000 (15:09 +0000)]
After rewriting powerpc atomic we decided to commit at the constraint
that for _ptr operations, when not used directly with uintptr_t, we
needed to manually cast.

Use the cast on the _ptr version, where it actually wasn't (please note
that i386 doesn't get it right, while amd64 doesn't seem to compile
cfi neither in LINT, that is why it doesn't fail).

Reported by: sbruno

13 years agoAllow direct children of PCI-ISA bridges to allocate resources from
Henrik Brix Andersen [Fri, 13 May 2011 15:06:35 +0000 (15:06 +0000)]
Allow direct children of PCI-ISA bridges to allocate resources from
the parent PCI bus.

Heavily inspired by jhb@ and a similar implementation present in
sys/dev/pci/vga_pci.c.

Reviewed by: jhb
Approved by: jhb

13 years agoFix remaining bits that actually weren't converted by mistake.
Attilio Rao [Fri, 13 May 2011 14:57:20 +0000 (14:57 +0000)]
Fix remaining bits that actually weren't converted by mistake.

Reported by: sbruno

13 years agoOnly do open loop power control and temperature compensation
Adrian Chadd [Fri, 13 May 2011 14:33:45 +0000 (14:33 +0000)]
Only do open loop power control and temperature compensation
for the AR9280 based NICs if it's actually enabled.

Some of the OLC code was erroneously called during setup
and calibration. This may have caused some incorrect behaviour.

13 years agoCorrectly use INOUT for the offset/len parameters to vop_allocate. As
Matthew D Fleming [Fri, 13 May 2011 14:29:28 +0000 (14:29 +0000)]
Correctly use INOUT for the offset/len parameters to vop_allocate.  As
far as I can tell this is for documentation only at the moment.

13 years agoRefactor Xen PV code to use new event timers subsystem. That uses one-shot
Alexander Motin [Fri, 13 May 2011 12:39:37 +0000 (12:39 +0000)]
Refactor Xen PV code to use new event timers subsystem. That uses one-shot
Xen timer and time counter to provide one-shot and periodic time events.

On my tests this reduces idle interruts rate down to about 30Hz, and accor-
ding to Xen VM Manager reduces host CPU load by three times comparing to
the previous periodic 100Hz clock. Also now, when needed, it is possible to
increase HZ rate without useless CPU burning during idle periods.

Now only ia64 and some ARMs left not migrated to the new event timers.

13 years agoRemove duplicate code - add a function which calculates the ratesArray[]
Adrian Chadd [Fri, 13 May 2011 10:36:38 +0000 (10:36 +0000)]
Remove duplicate code - add a function which calculates the ratesArray[]
table which contains the per-rate target TX power.

This code is shared between the v14 eeprom board setup (AR5416, AR9160,
AR9280) and will also be used by the upcoming Kite (AR9287) support.

13 years agoSome diversity changes relating to AR9285.
Adrian Chadd [Fri, 13 May 2011 09:57:12 +0000 (09:57 +0000)]
Some diversity changes relating to AR9285.

* grab the main, alt and selected LNA config
* add some optional / disabled logging code
* add a check to reject packets with an invalid main rssi too,
  in case the alt is the active receive chain and main is -ve.

Note: The software-controlled combined diversity code is still disabled.

13 years agoFixed an embedded shell script.
Ruslan Ermilov [Fri, 13 May 2011 09:55:48 +0000 (09:55 +0000)]
Fixed an embedded shell script.

Reviewed by: sobomax

13 years agoMark all socket and file descriptors close-on-exec.
Dag-Erling Smørgrav [Fri, 13 May 2011 07:21:41 +0000 (07:21 +0000)]
Mark all socket and file descriptors close-on-exec.

PR: bin/151866
MFC after: 3 weeks

13 years agoUse a name instead of a magic number for kern_yield(9) when the priority
Matthew D Fleming [Fri, 13 May 2011 05:27:58 +0000 (05:27 +0000)]
Use a name instead of a magic number for kern_yield(9) when the priority
should not change.  Fetch the td_user_pri under the thread lock.  This
is probably not necessary but a magic number also seems preferable to
knowing the implementation details here.

Requested by: Jason Behmer < jason DOT behmer AT isilon DOT com >

13 years agoFix msleep() usage in Xen balloon driver to not wake up on every HZ tick.
Alexander Motin [Fri, 13 May 2011 03:40:16 +0000 (03:40 +0000)]
Fix msleep() usage in Xen balloon driver to not wake up on every HZ tick.

13 years ago- Use bus_describe_intr() to describe interrupt usage.
David Christensen [Thu, 12 May 2011 23:26:53 +0000 (23:26 +0000)]
- Use bus_describe_intr() to describe interrupt usage.
- Use bus_bind_intr() to bind interrupt to a CPU when RSS/TSS is used.
- Use M_DONTWAIT for RSS/TSS buffer allocation.
- Add statistic to track max DRBR queue depth.
- Fix problem in bxe_change_mtu() which referenced the old MTU size
  in a debug print statement.

MFC after: Two weeks

13 years agoFix pSeries/PAPR boot CD construction after actual testing. It seems that
Nathan Whitehorn [Thu, 12 May 2011 22:31:13 +0000 (22:31 +0000)]
Fix pSeries/PAPR boot CD construction after actual testing. It seems that
IBM SLOF is (a) case-sensitive and (b) accepts only booting files in
certain subdirectories of the CD.

13 years ago- Don't try to build NWFS support module if NCP/IPX is disabled in the build.
Stanislav Sedov [Thu, 12 May 2011 22:21:39 +0000 (22:21 +0000)]
- Don't try to build NWFS support module if NCP/IPX is disabled in the build.
- Rename ZFS definition to LIBPROCSTAT_ZFS to be consistent with NWFS and to
  prevent possible collisions.

Reported by: many

13 years agoBuilds cleanly at the default WARNS level (WARNS=6).
Dag-Erling Smørgrav [Thu, 12 May 2011 21:30:46 +0000 (21:30 +0000)]
Builds cleanly at the default WARNS level (WARNS=6).

13 years agoIncrease WARNS to 4.
Dag-Erling Smørgrav [Thu, 12 May 2011 21:26:42 +0000 (21:26 +0000)]
Increase WARNS to 4.

13 years agoMechanical whitespace cleanup.
Dag-Erling Smørgrav [Thu, 12 May 2011 21:18:55 +0000 (21:18 +0000)]
Mechanical whitespace cleanup.

13 years agoIncrease WARNS to 3.
Dag-Erling Smørgrav [Thu, 12 May 2011 21:12:24 +0000 (21:12 +0000)]
Increase WARNS to 3.

13 years agouintmax_t is a better type here...
Warner Losh [Thu, 12 May 2011 19:10:00 +0000 (19:10 +0000)]
uintmax_t is a better type here...

Submitted by: avg@

13 years agoAdd initial BCM5719 support. TSO and jumbo frame was intentionally
Pyun YongHyeon [Thu, 12 May 2011 17:15:57 +0000 (17:15 +0000)]
Add initial BCM5719 support. TSO and jumbo frame was intentionally
disabled for BCM5719 A0 revision due to known hardware errata.
Many thanks to Broadcom for continuing support of FreeBSD.

Submitted by: Geans Pin at Broadcom

13 years agoExplicitly clear 1000baseT control register for F1 PHY used in
Pyun YongHyeon [Thu, 12 May 2011 17:11:31 +0000 (17:11 +0000)]
Explicitly clear 1000baseT control register for F1 PHY used in
AR8132 FastEthernet controller. The PHY has no ability to
establish a gigabit link. Previously only link parters which
support down-shifting was able to establish link.
This change should fix a long standing link establishment issue of
AR8132.

PR: kern/156935
MFC after: 1 week

13 years agoFix printf int mismatch on 32-bit architectures...
Warner Losh [Thu, 12 May 2011 17:02:56 +0000 (17:02 +0000)]
Fix printf int mismatch on 32-bit architectures...

13 years agoAdd (somewhat speculative) bootable CD support for PAPR/pSeries-type
Nathan Whitehorn [Thu, 12 May 2011 15:03:17 +0000 (15:03 +0000)]
Add (somewhat speculative) bootable CD support for PAPR/pSeries-type
systems. In principle, FreeBSD should run on at least some of these
already, and support for the remainder will hopefully show up eventually,
so add this while I'm thinking about it.

13 years agoRemove some hacks to handle strange behavior of LXT 970 PHYs now better
Nathan Whitehorn [Thu, 12 May 2011 14:27:28 +0000 (14:27 +0000)]
Remove some hacks to handle strange behavior of LXT 970 PHYs now better
handled in miibus after r221812. Thanks to marius@ for piecing this
together!

13 years agoSome PHYs like the Level One LXT970 optionally can default to isolation
Marius Strobl [Thu, 12 May 2011 14:16:07 +0000 (14:16 +0000)]
Some PHYs like the Level One LXT970 optionally can default to isolation
after rest, in which case we may need to deisolate it.
Tested by: nwhitehorn

MFC after 1 week

13 years agoNow that the devices with functioning ps-poll hardware support have
Adrian Chadd [Thu, 12 May 2011 14:03:29 +0000 (14:03 +0000)]
Now that the devices with functioning ps-poll hardware support have
been enumerated (merlin and later), flick this on.

13 years agoMFC
Attilio Rao [Thu, 12 May 2011 14:01:40 +0000 (14:01 +0000)]
MFC

13 years agofix build on 32-bit platforms for r221803
Andriy Gapon [Thu, 12 May 2011 12:18:01 +0000 (12:18 +0000)]
fix build on 32-bit platforms for r221803

Casting a pointer to a wide integer is probably not that bad, but I am
still guilty of not testing this.

Pointyhat to: avg
MFC after: 1 week
X-MFC with: r221803

13 years ago- Do no try to drop a NULL filedesc pointer.
Stanislav Sedov [Thu, 12 May 2011 10:56:33 +0000 (10:56 +0000)]
- Do no try to drop a NULL filedesc pointer.

13 years ago- Commit work from libprocstat project. These patches add support for runtime
Stanislav Sedov [Thu, 12 May 2011 10:11:39 +0000 (10:11 +0000)]
- Commit work from libprocstat project.  These patches add support for runtime
  file and processes information retrieval from the running kernel via sysctl
  in the form of new library, libprocstat.  The library also supports KVM backend
  for analyzing memory crash dumps.  Both procstat(1) and fstat(1) utilities have
  been modified to take advantage of the library (as the bonus point the fstat(1)
  utility no longer need superuser privileges to operate), and the procstat(1)
  utility is now able to display information from memory dumps as well.

  The newly introduced fuser(1) utility also uses this library and able to operate
  via sysctl and kvm backends.

  The library is by no means complete (e.g. KVM backend is missing vnode name
  resolution routines, and there're no manpages for the library itself) so I
  plan to improve it further.  I'm commiting it so it will get wider exposure
  and review.

  We won't be able to MFC this work as it relies on changes in HEAD, which
  was introduced some time ago, that break kernel ABI.  OTOH we may be able
  to merge the library with KVM backend if we really need it there.

Discussed with: rwatson

13 years agoBreak out the AR9285 analog registers from ar5416/ar5416phy.h and put
Adrian Chadd [Thu, 12 May 2011 10:11:24 +0000 (10:11 +0000)]
Break out the AR9285 analog registers from ar5416/ar5416phy.h and put
them in a new header file, ar9002/ar9285_an.h.

Shuffle the AR9280 analog registers in ar5416/ar541phy.h into a contiguous
spot.

13 years agoUpdate for the fact that the first members of the IPI args structures and
Marius Strobl [Thu, 12 May 2011 09:29:24 +0000 (09:29 +0000)]
Update for the fact that the first members of the IPI args structures and
pc_cpumask were changed to cpuset_t. This now calculates the cpumask based
on pc_cpuid itself as pc_cpumask is slated for being deorbited. Note that
this needs r221750 to be MFC'ed in order to compile.
This seems to work fine but after a few dozens of successful IPIs something
suddenly adds pc_cpuid to pc_other_cpus, causing the respective assertions
in mp_machdep.c to be triggered when the latter is used as the base for the
targets.

13 years agodsp/pcm: allow to mmap both read and write buffers using the same fd
Andriy Gapon [Thu, 12 May 2011 07:44:41 +0000 (07:44 +0000)]
dsp/pcm: allow to mmap both read and write buffers using the same fd

This brings our implementation in line with OSS specification for
systems that support mmap.  The change should also improve compatibility
with OSS software not specifically written for FreeBSD, e.g. PulseAudio
OSS plugin.

Reviewed by: kib, jhb
MFC after: 1 week

13 years agoFix the half/quater rate PLL setup for AR5416, AR9160 and
Adrian Chadd [Thu, 12 May 2011 03:25:24 +0000 (03:25 +0000)]
Fix the half/quater rate PLL setup for AR5416, AR9160 and
(beta?) AR9280 chips.

Note: This doesn't "fix" half/quarter rate support for these
chips; it merely fixes an oversight.

Obtained from: Atheros

13 years agoFixes from Atheros:
Adrian Chadd [Thu, 12 May 2011 03:15:21 +0000 (03:15 +0000)]
Fixes from Atheros:

* If AR9130, give the chip extra time to reset
* If AR5416, don't shutdown the chip during reset

13 years agoCorrect a typo
Jack F Vogel [Thu, 12 May 2011 00:10:29 +0000 (00:10 +0000)]
Correct a typo

13 years agoMFV: nc(1) from OpenBSD 4.9.
Xin LI [Wed, 11 May 2011 21:52:26 +0000 (21:52 +0000)]
MFV: nc(1) from OpenBSD 4.9.

MFC after: 1 month
Obtained from: OpenBSD

13 years agoMove the three geom kprocs as threads under a single pid.
Andrew Thompson [Wed, 11 May 2011 21:47:30 +0000 (21:47 +0000)]
Move the three geom kprocs as threads under a single pid.

Reviewed by: julian

13 years agoThe ita_mask should include curcpu but the cpuset passed to cpu_ipi_selected()
Marius Strobl [Wed, 11 May 2011 21:15:12 +0000 (21:15 +0000)]
The ita_mask should include curcpu but the cpuset passed to cpu_ipi_selected()
must not, otherwise we tell the CPU to IPI itself, which the sun4u CPUs don't
support. For reasons unknown so far MD and MI IPI use actually still triggers
that assertion though.

13 years agoUpdate for the fact that pm_active and pc_cpumask were changed to cpuset_t.
Marius Strobl [Wed, 11 May 2011 21:10:43 +0000 (21:10 +0000)]
Update for the fact that pm_active and pc_cpumask were changed to cpuset_t.
This now calculates pc_cpumask based on pc_cpuid itself as the former is
slated for being deorbited.
This branch now at least boots UP again. MP needs more things converted and
the existing conversion from cpumask_t to cpuset_t still has bugs.

13 years agoChipset support for the new Intel Panther Point PCH, thanks
Jack F Vogel [Wed, 11 May 2011 20:31:27 +0000 (20:31 +0000)]
Chipset support for the new Intel Panther Point PCH, thanks
to Seth Heasley for preparing the changes.

13 years agoAdd basic metadata integrity check. In case when partition table was
Andrey V. Elsukov [Wed, 11 May 2011 19:59:43 +0000 (19:59 +0000)]
Add basic metadata integrity check. In case when partition table was
probed and read successfull, but it contains invalid values (e.g.
overlapped partitions, offset or size is out of bounds), then table
will be rejected.

MFC after: 1 month

13 years agoImport nc from OpenBSD 4.9.
Xin LI [Wed, 11 May 2011 18:57:17 +0000 (18:57 +0000)]
Import nc from OpenBSD 4.9.

13 years agoRemove wrong comment.
Dmitry Chagin [Wed, 11 May 2011 17:57:15 +0000 (17:57 +0000)]
Remove wrong comment.

MFC after: 1 week.

13 years ago+ DTrace as a bootstrap tool is only needed on certain older systems.
David E. O'Brien [Wed, 11 May 2011 17:50:19 +0000 (17:50 +0000)]
+ DTrace as a bootstrap tool is only needed on certain older systems.
+ Be more consistent between BMAKE and TMAKE.
+ Add NO_CTF to crosstools as is done for bootstrap and build tools.

Reviewed by: marcel

13 years agoFix up the net80211 alq logging - this commit makes it usable.
Adrian Chadd [Wed, 11 May 2011 17:20:35 +0000 (17:20 +0000)]
Fix up the net80211 alq logging - this commit makes it usable.

* revert a local path change that shouldn't have made it to the commit
* fix some indenting/wrapping

* Fix the ale data copy - i should be copying into the ale data pointer,
  not over the ale entry itself.

13 years agonet80211 alq bugfixes:
Adrian Chadd [Wed, 11 May 2011 16:44:19 +0000 (16:44 +0000)]
net80211 alq bugfixes:

* Track number of logged operations
* call alq_post() so things are logged
* network order things

13 years agoMake freebsd-update(8) smarter in how it handles $FreeBSD$ tags in
Colin Percival [Wed, 11 May 2011 15:23:27 +0000 (15:23 +0000)]
Make freebsd-update(8) smarter in how it handles $FreeBSD$ tags in
configuration files.

If the current file differs from the canonical version from the old release
only due to differences in the $FreeBSD$ tag (which can happen if the system
was installed from source code, depending on how the src tree was checked out)
then freebsd-update will treat the file as "unmodified" and silently update
it to the "clean" version in the new release.

If the only change being made to a configuration file is in the $FreeBSD$
tag (e.g., for any configuration files which have been modified locally, now
that we're using SVN and the $FreeBSD$ tag changes when a branch is created),
freebsd-update will no longer print the diff and prompt "Does this look
reasonable (y/n)?".

Nagged by: pgollucci
MFC after: 1 month

13 years agoMake the NF calibration logic (hopefully!) more resistive to noisy
Adrian Chadd [Wed, 11 May 2011 13:40:13 +0000 (13:40 +0000)]
Make the NF calibration logic (hopefully!) more resistive to noisy
environments.

In setups where NF calibration can take a while, don't load the CCA
and kick off a new NF calibration if the previous one hasn't yet
completed. This shouldn't happen unless the environment is noisy but
those exist (hi phk!).

Here, if the previous NF hasn't completed when ar5416LoadNf() is run
(which reads the NF), it skips updating the history buffer, loading
the NF CCA array and kicking off the next NF cal. It's hoped it'll
occur in the next long calibration interval.

Obtained from: Atheros, ath9k, my local HAL

13 years agoAlways log if the NF CCA load fails; so users with debugging enabled
Adrian Chadd [Wed, 11 May 2011 13:25:43 +0000 (13:25 +0000)]
Always log if the NF CCA load fails; so users with debugging enabled
can see they're likely in a very noisy environment.

13 years agoMake sure the chip is awake before writing to it to finally detach
Adrian Chadd [Wed, 11 May 2011 13:24:17 +0000 (13:24 +0000)]
Make sure the chip is awake before writing to it to finally detach
it.

Obtained from: Atheros

13 years agoAdd a new flag - HAL_DEBUG_UNMASKABLE - which always logs a debug message
Adrian Chadd [Wed, 11 May 2011 13:22:41 +0000 (13:22 +0000)]
Add a new flag - HAL_DEBUG_UNMASKABLE - which always logs a debug message
(when debug is enabled) no matter what.

13 years agoRemove unused variable
Adrian Chadd [Wed, 11 May 2011 13:20:25 +0000 (13:20 +0000)]
Remove unused variable

13 years agoRemove the initial NF completion check.
Adrian Chadd [Wed, 11 May 2011 11:02:20 +0000 (11:02 +0000)]
Remove the initial NF completion check.

This is taking quite a while for some people in some situations
(eg AR5418 in phk's Abusive Radio Environment).

Instead, the rest of the calibration related code should
ensure that a NF calibration has occured before reading NF
values and kicking off another NF calibration.

The channel should also likely be marked as "noisy" (CWINT)
if the NF calibration takes too long.

13 years agoRemove a now unneeded comment..
Adrian Chadd [Wed, 11 May 2011 10:30:31 +0000 (10:30 +0000)]
Remove a now unneeded comment..

13 years agoRestore the RSSI threshold after writing the board values.
Adrian Chadd [Wed, 11 May 2011 09:47:48 +0000 (09:47 +0000)]
Restore the RSSI threshold after writing the board values.

This would be overwritten by the board initvals written in ah->writeIni().

13 years agoUse new option names for NFS client and NFS server
Oleksandr Tymoshenko [Wed, 11 May 2011 00:52:41 +0000 (00:52 +0000)]
Use new option names for NFS client and NFS server

See UPDATING entry for 20110427

13 years agoAdd an ATOMIC_CLEAR_LONG.
Marius Strobl [Tue, 10 May 2011 21:18:45 +0000 (21:18 +0000)]
Add an ATOMIC_CLEAR_LONG.

13 years agoFix whitespace.
Marius Strobl [Tue, 10 May 2011 18:41:46 +0000 (18:41 +0000)]
Fix whitespace.

13 years agoFix a bug in r221407; this driver doesn't add the media itself.
Marius Strobl [Tue, 10 May 2011 18:38:01 +0000 (18:38 +0000)]
Fix a bug in r221407; this driver doesn't add the media itself.

PR: 156893

13 years agoFix an inversion in logic.
Attilio Rao [Tue, 10 May 2011 18:19:56 +0000 (18:19 +0000)]
Fix an inversion in logic.

Submitted by: marius

13 years agoSync with -CURRENT
Attilio Rao [Tue, 10 May 2011 18:01:53 +0000 (18:01 +0000)]
Sync with -CURRENT

13 years agoAdd SC_PIXEL_MODE to GENERIC for amd64 and i386.
Jung-uk Kim [Tue, 10 May 2011 16:44:16 +0000 (16:44 +0000)]
Add SC_PIXEL_MODE to GENERIC for amd64 and i386.

Requested by: many

13 years agoMFC
Attilio Rao [Tue, 10 May 2011 15:54:37 +0000 (15:54 +0000)]
MFC

13 years agobitcount32: replace lengthy comment with a reference to SWAR
Andriy Gapon [Tue, 10 May 2011 15:08:13 +0000 (15:08 +0000)]
bitcount32: replace lengthy comment with a reference to SWAR

MFC after: 5 days

13 years agodtrace: remove unused code
Andriy Gapon [Tue, 10 May 2011 15:05:27 +0000 (15:05 +0000)]
dtrace: remove unused code

Which is also useless, IMO.

MFC after: 5 days

13 years agoOnly try to set up IPIs at boot on systems that actually have more than one
Nathan Whitehorn [Tue, 10 May 2011 14:03:05 +0000 (14:03 +0000)]
Only try to set up IPIs at boot on systems that actually have more than one
CPU. This fixes a panic observed on Heathrow-based systems without
SMP-capable PICs when the kernel had both options SMP and INVARIANTS.

MFC after: 5 days

13 years agoRemove strict-aliasing fixup where it is easy to avoid that as it leads to
Attilio Rao [Tue, 10 May 2011 13:59:33 +0000 (13:59 +0000)]
Remove strict-aliasing fixup where it is easy to avoid that as it leads to
a faster implementation.

Requested by: bde

13 years agoAvoid breaking strict-aliasing.
Attilio Rao [Tue, 10 May 2011 13:49:34 +0000 (13:49 +0000)]
Avoid breaking strict-aliasing.

13 years agoMake the intended change.
Attilio Rao [Tue, 10 May 2011 13:48:21 +0000 (13:48 +0000)]
Make the intended change.

13 years agoRegen.
Ruslan Ermilov [Tue, 10 May 2011 13:25:42 +0000 (13:25 +0000)]
Regen.

13 years agoReassurance for impatient.
Ruslan Ermilov [Tue, 10 May 2011 13:01:11 +0000 (13:01 +0000)]
Reassurance for impatient.

13 years agoStyle.
Ruslan Ermilov [Tue, 10 May 2011 12:57:39 +0000 (12:57 +0000)]
Style.

13 years agoAdd an entry for the SIIG Quartet Serial 850 which uses an Oxford
John Baldwin [Tue, 10 May 2011 12:40:35 +0000 (12:40 +0000)]
Add an entry for the SIIG Quartet Serial 850 which uses an Oxford
chip with a non-default clock.

PR: kern/147583
MFC after: 1 week

13 years ago- There now exist options that have different defaults depending on
Ruslan Ermilov [Tue, 10 May 2011 11:14:40 +0000 (11:14 +0000)]
- There now exist options that have different defaults depending on
  the architecture, reflect this in documentation.  For such
  options, both WITH_FOO and WITHOUT_FOO description files should
  be provided.

  Prodded by: des

- Setting a build option may enforce other build options, try harder
  to detect this case.

- Setting a build option may change other option's default value,
  try harder to detect this case.

13 years agoThe Objective C support was removed in r220755.
Ruslan Ermilov [Tue, 10 May 2011 11:06:14 +0000 (11:06 +0000)]
The Objective C support was removed in r220755.

Submitted by: des

13 years agoRemoved unsupported options MK_BINUTILS and MK_GCC that were
Ruslan Ermilov [Tue, 10 May 2011 11:00:40 +0000 (11:00 +0000)]
Removed unsupported options MK_BINUTILS and MK_GCC that were
silently added in r218936.

13 years agoFlush the scriptfile whenever we see a non-graphical character to get
Poul-Henning Kamp [Tue, 10 May 2011 10:58:57 +0000 (10:58 +0000)]
Flush the scriptfile whenever we see a non-graphical character to get
more real-time logging, without forcing a write(2) on every single
character.

13 years agoAnother fallout from r220359: MK_GNU_CPIO was mistakenly re-added
Ruslan Ermilov [Tue, 10 May 2011 10:48:43 +0000 (10:48 +0000)]
Another fallout from r220359: MK_GNU_CPIO was mistakenly re-added
after being removed in r205702.  Remove it again.

13 years agoAR9285 (Kite) fixes.
Adrian Chadd [Tue, 10 May 2011 04:32:27 +0000 (04:32 +0000)]
AR9285 (Kite) fixes.

* Correct some of the silicon revision checks to match what
  the Atheros HAL does. (See [1] below.)

* Move the PA cal and init cal method assignment to -after-
  the mac version/revision IDs are stored. The AR9285 init
  cal was never being called.

* Enable ANI.

Note Kite 1.0 and 1.1 were prototypes that shouldn't be seen
in the wild. Linux ath9k simply removed the prototype code from
their codebase. I'm going to leave it in there for now but
make it conditionally compilable in the future.

Obtained from: Atheros

13 years agoAdd VID for Simtec Electronics.
Bruce M Simpson [Tue, 10 May 2011 02:38:44 +0000 (02:38 +0000)]
Add VID for Simtec Electronics.
Add PID for Simtec Electronics EntropyKey, a hardware random number generator.

13 years agoTypo. For USB devices, 'serial' should be 'sernum'.
Bruce M Simpson [Tue, 10 May 2011 02:34:11 +0000 (02:34 +0000)]
Typo. For USB devices, 'serial' should be 'sernum'.
See sys/dev/usb/usb_device.c for what devctl_notify() gets.

13 years agoRegenerated with latest configure script.
Xin LI [Tue, 10 May 2011 01:05:41 +0000 (01:05 +0000)]
Regenerated with latest configure script.

MFC after: 1 month

13 years agoMFC
Attilio Rao [Mon, 9 May 2011 22:29:54 +0000 (22:29 +0000)]
MFC