Commit Graph

253041 Commits

Author SHA1 Message Date
maxv
f4ff21336e Reduce the diff between i386 and amd64 (bios32_service not implemented
there).
2017-08-15 06:04:28 +00:00
isaki
91cbb00a7c Clean up audio_open().
As a result of sc_audiochan cleanup, this loop is the same as last + 1.
2017-08-15 05:31:52 +00:00
isaki
9e73f18cf7 Clean up audio_allocbufs().
As a result of sc_audiochan cleanup, it is easy to access sc_hwvc.
2017-08-15 05:11:25 +00:00
isaki
f74024e8cb Remove dead codes.
sc->sc_opens never changes in this loop and as a result of
previous sc_audiochan cleanup "sc_opens == 0" is the same as
"sc_audiochan is empty".
2017-08-15 05:05:32 +00:00
isaki
c241a3c1cb Split the first special element from sc_audiochan list.
- This makes sc_audiochan a list of only open audio chan.
- "SIMPLEQ_FIRST(&sc->sc_audiochan)->vc" is now "sc->hwvc".
No functional changes (except one debug message).
2017-08-15 04:42:56 +00:00
nat
b79ea570a8 Apply the sequence number mask to txack. 2017-08-14 12:51:11 +00:00
hauke
42554a387c Enable the IT8628E shipped with my gigabyte GA-N3150N-D3V board.
XXX These IT suoer IO chips appear to be all fairly alike. Maybe add a
comprehensive list of IDs to recognize them, then deal with the
fallout?
2017-08-14 11:49:30 +00:00
nat
cb47fae4db Conform to the spec. with regards to acknowlegment packets. This prevents
the host controller from freezing.

Inmprove communication from inactive to active state.
2017-08-14 05:33:30 +00:00
maya
a3c75f0e98 Add potage, it's a stew (French loanword)
from Tom Ivar Helbekkmo
2017-08-14 05:29:02 +00:00
nat
52943eab20 Set controller clock based on baud rate. 2017-08-14 05:28:23 +00:00
mrg
cab7eb156d swtich luna68k to xorg-server 1.18. tested by tsutsui@. 2017-08-14 02:21:50 +00:00
maya
7a670892e1 potate isn't a word (at least not in English), remove it
From Steve Wart
2017-08-14 00:13:20 +00:00
jakllsch
fc12da1821 Always try to set USB HID devices into Report Protocol. (Unless the
device is known to be quirky.)

Some of the most-widely-compatible methods of implementing USB Keyboard
NKRO depend on this Request to function as designed.

Issuing this Request is recommended by the HID 1.11 spec (7.2.6):

... "the host should not make any assumptions about the device's state
and should set the desired protocol whenever initializing a device."
2017-08-13 22:29:42 +00:00
mlelstv
146bc77840 validate length for discard operation and split operation when byte length
doesn't fit into 'int'.
2017-08-13 22:23:16 +00:00
jakllsch
0d0313ba43 Support more varieties of USB keyboard reports.
The previous code asssumed reports would closely match the Bootstrap
Keyboard Protocol.  This is no longer always the case, particularly
with higher-end keyboards.
2017-08-13 22:19:56 +00:00
jakllsch
8780d8c54a Fix memory leak in report parsing error paths. 2017-08-13 21:11:45 +00:00
mlelstv
0bbad10443 Don't time out the discard work queue here. Either destroying a work queue
with pending work items panics or accessing freed resources from the work
item will crash. The timeout needs to be handled gracefully by the driver
that implements the discard operation.

Fixes parts of PR 50725.
2017-08-13 21:00:58 +00:00
jmcneill
b3e175fc24 Add support for H3 CPUX clock. 2017-08-13 19:18:08 +00:00
wiz
3ee579e3bc Indent to avoid line breaks in tag; give tag width in table; use Nm
to refer to hciattach because we'll probably never have hciattach(8).
2017-08-13 18:34:03 +00:00
jmcneill
c02e5d790a enable gregulator 2017-08-13 18:27:48 +00:00
jmcneill
721ac4a3ed Add GPIO regulator driver. 2017-08-13 18:27:31 +00:00
jmcneill
97d3260c03 Add fdtbus_gpio_acquire_index for accessing multi-xref gpios properties. 2017-08-13 18:27:11 +00:00
wiz
77a9c1779f Sort/merge errors. 2017-08-13 18:19:44 +00:00
wiz
5f1b378690 Remove superfluous Tn markup. 2017-08-13 18:18:57 +00:00
christos
014b6d5aae PR/52483: Ryo ONODERA: Add support for ALPS PS/2 pointing devices 2017-08-13 08:49:27 +00:00
christos
7ee97454b7 Add ALPS pms support 2017-08-13 08:48:30 +00:00
maxv
22b2248cb1 Mmh, restore %cs and %ss on Xen. Otherwise (unpriv) userland could set a
non-three ring, causing the hypervisor to send a fatal interrupt to the
kernel.
2017-08-13 08:07:52 +00:00
maxv
f05e68c341 Remove unused include, remove dead code, KNF, and fix off-by-one. 2017-08-13 07:16:44 +00:00
isaki
7abef65771 Remove mixer chan from sc_audiochan.
Now sc_audiochan contains opened audio chan (and first special
element) only.

First I splitted sc_audiochan into sc_audiochan which has
audio chan (and first special element) and sc_mixerchan
which has mixer chan only.  However nobody else refers this
sc_mixerchan except additions to list and deletions from
list.  So mixer chan's list is not necessary.
2017-08-13 05:04:08 +00:00
isaki
e0da01f938 Move defines to the appropriate place. 2017-08-13 04:09:27 +00:00
ginsbach
626fa0a1b6 PR lib/15802: Shuuichirou Murata: Add missing xdr_rpcbs_rmtcalllist_ptr
There was a missing call to xdr_rpcbs_rmtcalllist_ptr in xdr_rpcb_stat.
This fixes issues with RPCBPROC_GETSTAT not working correctly with
systems that correctly implement the XDR encode/decode routine.

XXX: pullup-8
XXX: pullup-7
XXX: pullup-6
2017-08-13 01:08:41 +00:00
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