jmcneill
09953da5db
Add support for deprecated pin configuration and multiplex bindings.
2017-08-12 23:42:52 +00:00
kre
c21db8bd78
For libi386 major bump.
2017-08-12 21:46:01 +00:00
maxv
0dac6a5c0e
Bump - removal of i386_vm86 and i386_pmc.
2017-08-12 19:48:28 +00:00
kre
85730dc548
Remove what is now an unused variable. One less build issue...
2017-08-12 19:06:23 +00:00
maxv
98d232f3f3
Remove references to PSL_VM (implicitly vm86).
2017-08-12 13:16:14 +00:00
maxv
4db48c5855
Remove the vm86 fields from the trap frame. It seems to me that we could
...
now remove the '-16' when initializing pcb_esp0.
2017-08-12 13:11:23 +00:00
maxv
b017fd3cea
Remove the vm86 fields from the pcb.
2017-08-12 12:48:47 +00:00
maxv
d70d1674fb
Don't include opt_vm86.h.
2017-08-12 12:33:31 +00:00
jmcneill
3d97e8977a
Update Raspberry Pi 3 example to use dplcom0 instead of dty00
2017-08-12 11:45:20 +00:00
jmcneill
645a775d92
For boards with bluetooth, use AUX UART for console and PLCOM for bt.
2017-08-12 11:44:26 +00:00
jmcneill
40fab7550d
add dial-out device node for plcom
2017-08-12 11:41:21 +00:00
martin
db5d35351f
Do not deref a NULL pointer if no current media has been selected.
...
This error condition does not happen with properly working hardware, but it is
no good reason for a kernel panic either.
2017-08-12 11:21:15 +00:00
mlelstv
d001a53273
tag arcmsr scsipi adapter and pci interrupt as MPSAFE. I/O is now done
...
without taking kernel lock.
2017-08-12 11:03:47 +00:00
joerg
610e531ea3
Add sparc/sparc64 support for irelative relocations.
2017-08-12 09:03:27 +00:00
maxv
2e8d627d3a
State that this is SVR3, not iBCS2.
2017-08-12 08:45:58 +00:00
maxv
cc29cfc600
All things considered, remove the i386_pmc API. I deprecated it some
...
months ago, and clearly no one should be using it.
(reminder: our new PMCs use the same sysarch, but the arguments are
opaque and not compatible with the previous versions)
2017-08-12 08:21:30 +00:00
maxv
d560e5b9ac
Remove reference to vm86.
2017-08-12 08:03:57 +00:00
maxv
ee34266187
Remove the i386_vm86 API (instead of just deprecating it). This API is not
...
available anymore, and any binary using it won't function correctly.
2017-08-12 07:59:42 +00:00
maxv
91dc6b1b45
Remove the vm86 tests.
2017-08-12 07:40:43 +00:00
maxv
1d3d2f0d7e
Remove vm86.
...
Pass 4.
2017-08-12 07:35:08 +00:00
maxv
9e6f33ab7c
Remove vm86.
...
Pass 3.
2017-08-12 07:21:57 +00:00
maxv
7a3268ffdb
Remove vm86. Simplifies a number of critical places.
...
Pass 2.
2017-08-12 07:07:53 +00:00
maxv
99813fb172
Remove support for vm86 on i386. It is bug-friendly, and there is no point
...
in having kernel support for this: the instruction set of the CPU is small,
and it can easily be emulated in userland entirely. There are also several
assumptions in the code that are not respected, and the slightest confusion
in the trap frame can lead to ring0 exploits.
vm86 has received zero maintenance. As far as I can tell, it was added
20 years ago in order to make doscmd work. But doscmd has not been
maintained either, and was removed from pkgsrc in 2011. dosbox can be used
instead: it does not require kernel support, and will produce better
results than our flimsy implementation.
Pass 1. (many pieces still in the tree)
2017-08-12 06:46:13 +00:00
ginsbach
e5907619c8
Fix a couple comments and a spacing nit.
...
- Change a XXX comment that no longer applies.
- Add a clarifying comment.
2017-08-12 03:29:23 +00:00
ginsbach
bc29482829
PR lib/50316: Gracefully handle a zero number of members argument.
...
Taken from FreeBSD (which fixed this same issue long ago).
XXX: pullup-8
XXX: pullup-7
XXX: pullup-6
2017-08-12 01:10:04 +00:00
ginsbach
7ab23dde59
PR lib/51952: Brad Harder: Apply upstream ada959c9
...
[From upstream tcpdump]
In pcap_compile(), first check whether the pcap_t is activated.
Before we allocate or otherwise set up anything, check whether the
pcap_t is activated, and set the error message string and return -1 if
it's not.
That way, we don't go through the cleanup code in that code path -
there's nothing to clean up.
Fixes the issue in GitHub pull request #552 .
XXX: pullup-8
2017-08-12 00:43:25 +00:00
macallan
0c7c75bc0c
set display output parameters according to properties
...
Now VGA output works as intended on my Mini 2. DVI is still garbled ( but
visible ) and Mini 1 is untested.
2017-08-11 22:59:05 +00:00
macallan
80a0b9eb24
set properties to signal Mac Mini video output wiring to radeonfb
2017-08-11 22:55:49 +00:00
macallan
f2c7556229
add wsfont now that it's actually usable on at least some drivers
2017-08-11 21:03:23 +00:00
ryo
7f104f6c10
fix filename. sorry
2017-08-11 20:47:58 +00:00
ginsbach
6361925b16
Remove spurious error(1) inserted compiler error message comments.
2017-08-11 20:32:34 +00:00
he
86dc433afa
Re-enable the test for nearbyint(), now that all ports (save vax,
...
which has a separate #if section here) should have nearbyint().
2017-08-11 20:31:58 +00:00
he
900a3d47b2
Move s_nearbyint.c out of the cpu ifdefs and into COMMON_SRCS,
...
which is used everywhere except on vax. This is to simplify and
to ensure the function is included in the build, allowing us to
re-add the nearbyint() test.
2017-08-11 20:24:56 +00:00
jmcneill
82e84007f0
Defer sdmmc discard operations to the sdmmc task queue. Fixes a panic
...
introduced by ld.c r1.102.
2017-08-11 18:41:42 +00:00
ginsbach
94951b0fc5
PR bin/42464: Timothy McIntosh: Fix timed interoperability
...
Fix is a combination of FreeBSD fix and submitted patch.
[From the FreeBSD change]
The timed protocol is not implemented in a compatible way by all
vendors; the size of the tsp_name field is OS-dependent. 4.3BSD
used a 32-byte field, FreeBSD uses MAXHOSTNAMELEN and RedHat
apparently uses a 64-byte field. As a result, sanity checking code
added a few months ago to detect short packets will fail when
interoperating with one of these other vendors.
Change the short packet detection code to expect a minimum packet
size corresponding to the 4.3BSD implementation, which should be
a safe minimum size.
2017-08-11 16:47:42 +00:00
ginsbach
f4976ff91a
PR/52479: Nikolai Lifanov: Add definitions for CRM and CMS. Thanks!
2017-08-11 16:03:14 +00:00
maxv
2e5cfb022c
Don't build the ibcs2 module on i386.
2017-08-11 12:58:14 +00:00
jmcneill
96c1990c4a
Add an example for configuring the Raspberry Pi 3's bluetooth chip.
2017-08-11 11:57:05 +00:00
jmcneill
6ad4d0f8e5
Make the "bcm43xx" type use H4 transport and add a new "bcm43xx-3wire"
...
type for use with H5 transport. The naming of the types here matches
those used in a series of BlueZ patches from the Raspberry Pi foundation.
2017-08-11 11:54:08 +00:00
isaki
ac90edd392
Fix a Continue Operation.
...
Patch from Y.Sugahara.
2017-08-11 07:30:01 +00:00
isaki
f5c75e2eda
Allow dmac_alloc_channel() to specify DCR and OCR.
...
FDC uses 'Cycle Steal Mode with Hold' but ADPCM
should use 'Cycle Steal Mode without Hold' on x68k.
From Y.Suhagara and it was found by XM6i.
2017-08-11 07:08:40 +00:00
isaki
e30341807e
Use dmac_prepare_xfer().
...
From Y.Sugahara.
2017-08-11 06:47:35 +00:00
maxv
6174b0a005
Add a comment about APICBASE_PHYSADDR. Has to do with PR/42597.
2017-08-11 06:27:12 +00:00
maxv
5e3ae52f69
Fix a bug introduced in r1.55, this should be LAPIC_BASE.
2017-08-11 06:18:29 +00:00
nat
9923fa67d0
Ensure the XMIT flag is cleared before calling bth5_start.
...
This avoids a panic due to a diagnostic assertion.
2017-08-11 00:58:37 +00:00
jmcneill
d73c25d138
attach audio at audiobus (for pad)
2017-08-11 00:00:25 +00:00
ginsbach
6066c254d7
PR/48182: Fix rmdir -p handling of top-level (root) directory.
...
XXX: pullup-8
XXX: pullup-7
XXX: pullup-6
2017-08-10 22:52:13 +00:00
sjg
f20013011f
Avoid full path meta file names for subdir of .OBJDIR
2017-08-10 21:07:48 +00:00
jmcneill
8622efc43c
Derive the firmware name from the device's local name instead of
...
hard-coding BCM4340A1. Search hw.firmware.path for the firmware image
instead of loading it from the current directory.
2017-08-10 20:43:12 +00:00
jakllsch
136f040412
Fix up bcm43xx bluetooth firmware addition. Including mtree directory
...
addition, and using the correct spelling of the license file name.
2017-08-10 19:42:53 +00:00