Pawel Jakub Dawidek
cff2dcd10d
Revert r237073. 'td' can be NULL here.
...
MFC after: 1 month
2012-06-16 12:56:36 +00:00
Joel Dahl
15e92497e2
mandoc fixes.
...
Obtained from: OpenBSD
2012-06-16 06:38:11 +00:00
Adrian Chadd
375d4f068a
Shuffle some more fields in ath_buf so it's not too big.
...
This shaves off 20 bytes - from 288 bytes to 268 bytes.
However, it's still too big.
2012-06-16 04:41:35 +00:00
Adrian Chadd
3dd2db6646
Shave four (or eight) bytes off of ath_buf - this field isn't used.
2012-06-16 04:36:08 +00:00
Warner Losh
6212b9963b
Throw this debug behind bootverbose. The information isn't all that
...
exciting once the initial board bring up is over.
2012-06-16 04:34:46 +00:00
Adrian Chadd
fb148d836f
Convert athdebug to use the 64 bit dev.ath.X.debug sysctl.
2012-06-15 20:08:13 +00:00
Brooks Davis
5814131a44
Minor wording change. The previous commit message should have included:
...
Sponsored by: DARPA, AFRL
2012-06-15 19:42:49 +00:00
Brooks Davis
6e4ee6dd47
MFP4: 212854, 212854
...
Add a LOCAL_LIB_DIRS variable to complement the existing LOCAL_DIRS
and LOCAL_TOOL_DIRS variables. Directories in LOCAL_LIB_DIRS are
built at the end of the _generic_libs target.
Reviewed by: imp (212854)
2012-06-15 19:40:59 +00:00
Warner Losh
d94f5b01c2
Remove stray line from merge.
2012-06-15 16:50:32 +00:00
Adrian Chadd
83567110bd
Oops - use the actual 11n enable option.
2012-06-15 15:32:16 +00:00
Matt Jacob
2c82e3bb5f
If debug values were set, the default from tval floated
...
down and triggered an attempt to set multiple virtual
ports whether you wanted them or not.
MFC after: 3 days
2012-06-15 15:28:15 +00:00
Pawel Jakub Dawidek
3cde71cb25
One more attempt to make prototypes formated according to style(9), which
...
holefully recovers from the "worse than useless" state.
Reported by: bde
MFC after: 1 month
2012-06-15 10:00:29 +00:00
Ruslan Ermilov
67a3f4b2a0
Fixed an example that set IP_ONESBCAST socket option to actually work,
...
and not return EINVAL.
2012-06-15 09:12:47 +00:00
Konstantin Belousov
92bd74bb2f
Use right size when freeing unneeded GTT mapping.
...
MFC after: 3 days
2012-06-15 08:50:44 +00:00
Warner Losh
b44f8e5e1e
Make it possible to link together a sam and an rm kernel. The results
...
aren't very pretty yet, but this takes DELAY and cpu_reset and makes
them pointers.
# I worry that these are set too late in the boot, especially cpu_reset.
2012-06-15 08:37:50 +00:00
Adrian Chadd
7e7f083f94
Add the AMPDU BAR TX statistics to the "ampdu" tag.
2012-06-15 08:37:46 +00:00
Warner Losh
d56a9edddb
These options are unused, and can safely be retired.
2012-06-15 08:01:16 +00:00
Warner Losh
dc5f8dab53
This hints file doesn't actually do anything, and besides it is commented
...
out here. Remove it.
2012-06-15 07:56:53 +00:00
Warner Losh
e6e7584dcd
Collapse the files.at91 and files.at91sam9 back into files.at91.
...
Create a new option for at91rm9200 support. Set this option in
std.at91. Create a new option for the at91sam9 standard devices. Set
this option in std.at91sam9. Retire files.at91sam9. Add options for
at91sam9x25 SoC and SAM9X25EK board, but don't connect it just yet as
the supporting files aren't quite ready.
Note: device at91rm9200 and device at91sam9 are presently mutually
exclusive.
2012-06-15 07:50:26 +00:00
Martin Matuska
153e430149
Do not remount ZFS dataset if changing canmount property to "on" and
...
dataset is already mounted.
PR: 167905
Submitted by: Bryan Drewery <bryan@shatow.net>
MFC after: 1 week
2012-06-15 07:38:21 +00:00
Warner Losh
aa0c93a5ca
Fix a global shadowing problem when LINUX_BOOT_ABI was defined.
2012-06-15 07:26:39 +00:00
Warner Losh
1591de53b1
Take half a step closer towards having a unified atmel kernel by
...
rearranging where we initialize the time counter and putting the
common stubs into a central place.
2012-06-15 06:38:55 +00:00
Tim Kientzle
061103347c
Per kib, since __flt_rounds is being added to FreeBSD 10, it
...
belongs in FBSD_1.3.
MFC after: 1 week
2012-06-15 03:57:16 +00:00
Adrian Chadd
3342d83059
Ok, ok. 802.11n can be on by default in GENERIC in -HEAD.
...
God help me.
2012-06-15 02:16:29 +00:00
Adrian Chadd
021a0db52e
Convert ath(4) to just use ieee80211_suspend_all() and ieee80211_resume_all().
...
The existing code tries to use the beacon miss timer to signal that the AP
has gone away. Unfortunately this doesn't seem to be behaving itself.
I'll try to investigate why this is for the sake of completeness.
The result is the STA will stay "associated" to the AP it was associated
with when it suspended. It never receives a bmiss notification so it
never tries reassociating.
PR: kern/169084
2012-06-15 01:15:59 +00:00
Marius Strobl
70254ea2cb
- As a baind-aid, disable ATAPI DMA when using ATA_CAM for these controllers
...
as well as it causes the kernel to hang during boot.
Reported and tested by: Kevin Oberman
- Use NULL instead of 0 for a pointer.
MFC after: 3 days
2012-06-14 22:19:23 +00:00
Marius Strobl
a589806b07
- Add support for the FT2232 based egnite Turtelizer 2 JTAG/RS232 Adapter.
...
This includes adding support for skipping FTDI interfaces used for JTAG
leaving them for userland and just attaching to the RS232 half, similarly
to how the corresponding Linux drivers handles these kind of adapters.
While at it, sort uftdi_devs and return BUS_PROBE_SPECIFIC (because
uftdi_probe() alters the instance variables for better or worse as do
other probe routines of USB drivers) instead of 0.
- Remove duplicated entries for BeagleBone.
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.
- Remove some stray lines.
MFC after: 3 days
2012-06-14 21:16:19 +00:00
Marius Strobl
4bc42357a9
Fix a braino in r236469; the number of DMA tags required for handling
...
MAXPHYS should be based on PAGE_SIZE rather than SYM_CONF_DMA_BOUNDARY.
While at it, reuse the SYM_CONF_MAX_SG macro for specifying the maximum
number of DMA tags so sym(4) itself doesn't size memory beyond what's
required for handling MAXPHYS.
PR: 168928
MFC after: 3 days
2012-06-14 20:49:22 +00:00
Marius Strobl
d2a3fae7ec
Merge r236137 from x86:
...
Enable GNU hash generation for dynamic ELF binaries.
2012-06-14 20:29:49 +00:00
Marius Strobl
acc743293d
Turn on TLS support for arm on here as it is supported since r231618/
...
r231619 and working since r233106.
2012-06-14 20:27:28 +00:00
Doug Barton
24a5cfd2c7
Improve the functionality of the PORTS_MODULES knob by adding
...
LOCALBASE/bin and sbin to PATH, allowing dependencies to be found;
adding SRC_BASE and OSVERSION to match the new kernel, and putting
the related builds under MAKEOBJDIRPREFIX so that they only need
to be built once per kernel.
In addition to the PR this includes ideas/contributions from crees
and matthew.
PR: ports/161452
Submitted by: Garrett Cooper <yanegomi@gmail.com>
2012-06-14 19:30:31 +00:00
Warner Losh
56c9c68603
Fix missing straggler for the move to parse_boot_param()
2012-06-14 18:37:00 +00:00
Alan Cox
90407113a7
Update a couple comments to reflect r235598.
...
X-MFC after: r235598
2012-06-14 17:47:54 +00:00
Alan Cox
62657c50df
Correctly identify the function in a KASSERT().
...
MFC after: 3 days
2012-06-14 17:40:49 +00:00
Pawel Jakub Dawidek
a79de683f5
Update comment.
...
MFC after: 1 month
2012-06-14 17:32:58 +00:00
Pawel Jakub Dawidek
19a8f6748e
Remove fdtofp() function and use fget_locked(), which works exactly the same.
...
MFC after: 1 month
2012-06-14 16:25:10 +00:00
Pawel Jakub Dawidek
7a4981c1f6
Explicitly assert that the filedesc lock is held when the fget_locked()
...
function is called.
MFC after: 1 month
2012-06-14 16:24:03 +00:00
Pawel Jakub Dawidek
b7fc69ca89
Assert that the filedesc lock is being held when the fdunwrap() function
...
is called.
MFC after: 1 month
2012-06-14 16:23:16 +00:00
Hans Petter Selasky
271e5fb00d
Add more quirks for USB MIDI adapters.
...
Obtained from: Clemens Ladisch
MFC after: 1 week
2012-06-14 16:20:19 +00:00
Pawel Jakub Dawidek
1a94dc8581
Simplify the code by making more use of the fdtofp() function.
...
MFC after: 1 month
2012-06-14 15:37:15 +00:00
Pawel Jakub Dawidek
215aeba939
- Assert that the filedesc lock is being held when fdisused() is called.
...
- Fix white spaces.
MFC after: 1 month
2012-06-14 15:35:14 +00:00
Pawel Jakub Dawidek
7aef754274
Style fixes and assertions improvements.
...
MFC after: 1 month
2012-06-14 15:34:10 +00:00
Pawel Jakub Dawidek
8d169d9ff0
Assert that the filedesc lock is not held when closef() is called.
...
MFC after: 1 month
2012-06-14 15:26:23 +00:00
Pawel Jakub Dawidek
d4cede6e98
Add FILEDESC_UNLOCK_ASSERT() macro which asserts that the filedesc is not
...
being held by the current thread (at least exclusively).
MFC after: 1 month
2012-06-14 15:24:45 +00:00
Pawel Jakub Dawidek
ee142bc754
Explicitly check if 'fd' is less than 0 instead of using cast-to-unsinged hack.
...
MFC after: 1 month
2012-06-14 15:23:51 +00:00
Pawel Jakub Dawidek
eb273c01f3
Style fixes.
...
Reported by: bde
MFC after: 1 month
2012-06-14 15:21:57 +00:00
Warner Losh
a6c5f82686
Defines for parsing linux ATAGs lists.
2012-06-14 14:38:55 +00:00
Pawel Jakub Dawidek
c7e9a659ca
Remove code duplication from fdclosexec(), which was the reason of the bug
...
fixed in r237065.
MFC after: 1 month
2012-06-14 12:43:37 +00:00
Pawel Jakub Dawidek
8f59e9fddc
When we are closing capabilities during exec, we want to call mq_fdclose()
...
on the underlying object and not on the capability itself.
Similar bug was fixed in r236853.
MFC after: 1 month
2012-06-14 12:41:21 +00:00
Pawel Jakub Dawidek
5570ae7d87
Style.
...
MFC after: 1 month
2012-06-14 12:37:41 +00:00