Commit Graph

194730 Commits

Author SHA1 Message Date
avg
3321f13499 MFC r257679: Use suword32 and suword64 instead of copyout(9) in fasttrap 2014-02-17 13:08:20 +00:00
avg
0c979fc23f MFC r257143: Fix a couple of bugs in the fasttrap emulation of a "push %rbp" 2014-02-17 13:02:09 +00:00
avg
b46715eb45 MFC r257417: Remove references to an unused fasttrap probe hook 2014-02-17 12:57:13 +00:00
avg
1e63cd3ce5 MFC r257152: Do some cleanup of the SDT code 2014-02-17 12:48:05 +00:00
avg
8fc9b71c18 MFC r259587: Invoke the kld_* event handlers from linker_load_file() ... 2014-02-17 12:45:35 +00:00
mav
3d0e3b0c68 MFC r261719:
Fix wrong device name in example.

PR:		docs/185602
Submitted by:	koitsu
2014-02-17 09:35:30 +00:00
markj
b9d68c0ed1 MFC r260043:
The arguments to sched:::off-cpu are the thread and associated process of
the thread selected to run, not the currently running thread.
2014-02-17 05:07:43 +00:00
kevlo
2c763931e1 MFC r261506:
Correct setting R92C_TXAGC_MCS11_MCS08 register.
2014-02-17 01:40:33 +00:00
kevlo
5da395405c MFC r260463:
Replace deprecated M_DONTWAIT with M_NOWAIT.
2014-02-17 01:39:03 +00:00
kevlo
ecbaab7887 MFC r260444:
Rename definition of IEEE80211_FC1_WEP to IEEE80211_FC1_PROTECTED.

The origin of WEP comes from IEEE Std 802.11-1997 where it defines
whether the frame body of MAC frame has been encrypted using WEP
algorithm or not.
IEEE Std. 802.11-2007 changes WEP to Protected Frame, indicates
whether the frame is protected by a cryptographic encapsulation
algorithm.

Reviewed by:	adrian, rpaulo
2014-02-17 01:36:53 +00:00
marcel
4bb58e4f5d MFC r260175:
Implement atomic_swap_<type>.
2014-02-16 23:08:21 +00:00
marcel
2aad389c5a MFC r260914:
In pmap_set_pte(), make sure to enforce ordering by inserting a memory fence.
2014-02-16 22:12:13 +00:00
marcel
4262006891 MFC r260666:
In the nested TLB fault handler, for a direct-mapped address, make
sure to clear the lower 12 bits.
2014-02-16 22:01:44 +00:00
marcel
60764eb6dd MFC r259908:
For ia64, use pmap_remove_pages() and not pmap_remove().
2014-02-16 20:54:26 +00:00
marcel
3869d9ba69 MFC r259838:
Add another HP iLO serial (console) port, found on Itanium servers.
2014-02-16 20:45:12 +00:00
marcel
091cb7eeea MFC r259441:
Properly drain the TTY when both revoke(2) and close(2) end up closing
the TTY.
2014-02-16 20:37:39 +00:00
marcel
6c90e2f6f5 MFC r259244:
Allow pmap_remove_pages() to be called for physical maps not
associated with the current thread.
2014-02-16 20:26:22 +00:00
marcel
a0e0e5fec0 MFC r259057:
Remove "Warning: file \"%s\" unreadable". It was introduced with revision
44599 and turned less than useful ever since fortunes-o.dat got removed.
2014-02-16 20:13:18 +00:00
marcel
ad410a47a2 MFC r259056:
Fix r203922 for "fortune -o".
2014-02-16 20:02:29 +00:00
marcel
035a990673 MFC r258448:
Have the GPT probe return a lower priority when the MBR is not a PMBR.
2014-02-16 19:46:20 +00:00
brueffer
9940d9e0d8 Direct commit to stable/10 to note that the nve(4) driver has been
deprecated.
2014-02-16 19:38:17 +00:00
marcel
0ab80a1194 MFC r257910:
Don't enable interrupts before we call sched_throw().
2014-02-16 19:20:13 +00:00
marcel
f00acf1f3c MFC r257487:
Use LOG2_ID_PAGE_SIZE again for the identity mapping in regions 6 & 7.
2014-02-16 19:12:50 +00:00
brueffer
2aa710b77c MFC: r261838
Add a deprecation notice to nve.4 and Xref nfe.4.
2014-02-16 11:13:14 +00:00
brueffer
3d4647ec06 MFC: r261702
Update and sort the list of iwn(4) firmware.
2014-02-16 11:11:41 +00:00
brueffer
bf6fcd38ee MFC: r261701
Allow iwn2000 and iwn2030 firmware to be linked into the kernel.

PR:		184631
Submitted by:	Oliver Pinter
2014-02-16 10:39:29 +00:00
brueffer
7a5c4e8898 Refer newfs and growfs users to fsck_ffs instead of
fsck, the latter does not accept the referred to "-b" flag.

PR:		82720
Submitted by:	David D.W. Downey
2014-02-16 10:16:07 +00:00
rpaulo
765f19d46b MFC r261863
Add urtwn_start_locked() to avoid unlocking during TX.
2014-02-16 08:35:33 +00:00
eadler
b16d23de19 MFC r261824:
libutil/pw_util.3: Fix two prototypes.
2014-02-16 02:33:59 +00:00
brueffer
96706ee32d MFC: r261611
Add some context for the "kldload sem" command; minor other improvements.

PR:		183650
Submitted by:	Bjorn Heidotting
2014-02-14 08:29:00 +00:00
brueffer
498a399b3a MFC: r261584
In IPv6 code examples, use the correct v6 socket.
2014-02-14 08:20:32 +00:00
hselasky
eedfb76d37 MFC r261597, r261598 and r261599:
Apple touchpad manual page fixes:
- Add manual page for wsp driver
- Update atp driver manual page
- Install atp manual page for all platforms
2014-02-14 07:30:59 +00:00
kevlo
f6e16ffb73 MFC r259544, r259545, r259546, r259547, r259812, r259939, r260219, r260542,
r261118, r261124, r261330:

- Add support for the MediaTek/Ralink RT3593 chipset.
- Various minor USB WLAN fixes and improvements.
2014-02-14 03:45:49 +00:00
davidcs
be70101ca8 MFC 261861
check for defrag only when bus_dmamap_load_mbuf_sg() returns EFBIG. Comment in
qla_hw_send is moot.
2014-02-14 02:48:14 +00:00
gnn
183f607e23 MFC 260207
Convert #defines to enums so that the values are visible in the debugger.

Requested by:	gibbs
2014-02-14 00:26:30 +00:00
asomers
999d9343fa MFC r261081, r261133, and r261615
r261081
	Replace the old unix_seqpacket and unix_seqpacket_exercise
	tests, which were a little broken and not automatable, with
	unix_seqpacket_test.  It's coverage is a superset of the old
	tests and it uses ATF.  It includes test cases for bugs
	kern/185813 and kern/185812.

r261133
	Fix the Makefiles so that the tests I submitted in r261081 will
	actually get built.

r261615
	tests/sys/Makefile
		use TESTS_SUBDIRS for kern instead of SUBDIRS.  I don't
		think it makes a difference in this case, but
		TESTS_SUBDIRS is generally correct for subdirectories
		that contain tests.
2014-02-13 22:19:24 +00:00
asomers
ccd36e4300 MFC r261132
Fix the build so -DNO_TESTS is passed in various phases that don't require
tests in order to build or install.  Crucially, don't try to install tests
during the lib32 install phase.  This commit supersedes r261081, which fixed
the lib32 install phase problem, but didn't fix other phases.

Submitted by:	Garrett Cooper
Reviewed by:	sjg
2014-02-13 19:46:48 +00:00
brueffer
b27bfe4c09 MFC: r261566
Use CAP_EVENT instead of the deprecated CAP_POLL_EVENT.

PR:		185382 (based on)
Submitted by:	Loganaden Velvindron
Reviewed by:	pjd
2014-02-13 09:24:46 +00:00
markj
2a0c06b067 MFC r257600:
Initialize the struct tm before handing it to strptime(3).
2014-02-13 04:54:47 +00:00
rmh
b7969843d1 MFC r261497:
Abort when firmware isn't present in R600+ models.

More details at:
http://anonscm.debian.org/viewvc/kernel/dists/trunk/linux/debian/patches/bugfix/all/radeon-firmware-is-required-for-drm-and-kms-on-r600-onward.patch?revision=20909&view=co
2014-02-12 13:55:30 +00:00
dim
11ec5c94e7 MFC r261680:
Pull in r200899 from upstream clang trunk:

  Allow transformation of VariableArray to ConstantArray.

  In the following code:

     struct A { static const int sz; };
     template<class T> void f() { T arr[A::sz]; }

  the array 'arr' is represented as a variable size array in the template.
  If 'A::sz' gets value below in the translation unit, the array in
  instantiation can turn into constant size array.

  This change fixes PR18633.

  Differential Revision: http://llvm-reviews.chandlerc.com/D2688

This fixes "Assertion failed: (T::isKind(*this)), function castAs"
errors, which can occur when building the security/quantis port.

Reported by:	ale
2014-02-12 07:51:14 +00:00
hselasky
ab190c4854 MFC r261507:
Add more quirks for making builtin audio speakers work with more
MacBookPro's. Only tested with MacBookPro 9,2.

Obtained from:	Linux
2014-02-12 07:18:01 +00:00
hrs
f666e533af Docuemnt mount_udf(8) issue.
Submitted by:	brueffer
2014-02-11 23:11:11 +00:00
brueffer
222b98b9ae MFC: r261500
Add a license (1) and do some cleanup.

Approved by:	Stefan Bethke (original author, by private mail) (1)
2014-02-11 13:33:03 +00:00
trasz
3e89ba0a6a MFC r260389:
Fix a rare "truncated checksums" problem, which manifested like this:

WARNING: icl_pdu_check_data_digest: data digest check failed; got 0xf23b,
should be 0xdb7f23b

Sponsored by:	The FreeBSD Foundation
2014-02-11 12:01:11 +00:00
trasz
a92d8da5ad MFC r260083:
Fix extremely slow operation with data digests enabled.  This was caused
by receive code waiting for data digest even when the data segment was
empty.  It didn't actually read it, but it waited until those four bytes
become available in the socket buffer, i.e. until any other PDU (e.g. NOP)
came in.

Sponsored by:	The FreeBSD Foundation
2014-02-11 11:58:54 +00:00
trasz
1c069ec47a MFC r260255:
Properly document -u and -s.

Sponsored by:	The FreeBSD Foundation
2014-02-11 11:56:50 +00:00
brueffer
dfbfe377ea MFC: r261496
Unbreak mount_udf by passing the correct iovec length into
nmount().  This has been broken since r247861.

PR:		bin/186193
Submitted by:	Arnot Belohlavek
2014-02-11 08:20:45 +00:00
brueffer
8caff4cde9 MFC: r261487
Add qlxgbe(4) and qlxge(4) to the hardware notes.
2014-02-11 08:11:34 +00:00
brueffer
754c7b8e2b MFC: r261494
Actually install acpi_rapidstart.4.
2014-02-11 08:08:53 +00:00