Age | Commit message (Collapse) | Author |
|
register space of the i2c device) with the i2c address. For i2c busses
enumerated by ACPI we get the address from the I2C Serial Bus Connection
Resource Descriptor returned by the _CRS methide of the i2c device. Pass the
HID descriptor address in the ia_size member.
ok jcs@
|
|
descriptors.
ok jcs@
|
|
The logic used in msdosfs_bmap() to loop calling pcbmap() comes from
FreeBSD and is not really efficient but it is good enough since it is
only called when generating I/O.
With this diff I get a 100% improvement when reading big files from a
crappy USB stick.
With this and bread_cluster(9) modified to not re-fetch B_CACHED buffers,
reading large contiguous files with chunk sizes of MAXPHYS is almost as
fast as physio(9) on the same device.
For a 'real world' example, when copying music files from a USB stick I
see a speed jump from 15MB/s on -current to 24Mb/s with this diff.
While here rename some 'lbn' variables into 'cn' to better reflect what
we're dealing with.
Tested by Mathieu, with support from deraadt@
|
|
ok mikeb@, bluhm@
|
|
Seems to make Tx rate scaling go up faster and helps Rx performance.
ok deraadt@
|
|
For some reason we would end up passing channel number zero to
the RXON firmware command, which the firmware doesn't like.
ok sthen@ reyk@
and also tested by stefan@, deraadt@, mikeb@
|
|
this avoids confusion about checksum offload if you configure ips
on svlan interfaces on top of interfaces that do offload, like bge
or em.
the problem was reported by and this fix was tested by denis fondras
analyzed by naddy@
thanks guys
|
|
being 0; after multiply there is no perturbance to the from-disk entropy
buffer. Further investigation showed perturbance was biased towards
the lower bytes of a word. Compensate for this with a hocus pocus
bit-spreading operation which applies a result byte by byte.
discussion with kettenis, tb, mlarkin, naddy
ok naddy
|
|
during hid abstraction
problem noticed and fix tested by abieber
|
|
isavar.h (a few parts of the tree include both)
ok jcs
|
|
(noticed because of another issue: one consumer is a high level busdriver,
but also contains i2c support, so the isa #define for ia_irq clashes
against i2c)
|
|
|
|
ok deraadt@
|
|
|
|
After some hair pulling while implementing xnf(4) I've realised that
Xen uses free running producer/consumer indices wrapping with their
type (unsigned 32 bit integer). Later I've confirmed it with free
chapters of the "The Definitive Guide to the Xen Hypervisor" by David
Chisnall available online.
|
|
They are defined to 0 since the import of ext2fs 19 years ago.
|
|
Cluster read is unconditionnally enabled for FFS since some years and
toggling "doclusterread" has no effect.
OpenBSD no longer support write clustering since the Dynamic Buffer
Cache went in, so there is reason to delay the call to bawrite(9).
Tested by Mathieu, ok dlg@
|
|
|
|
|
|
code in a task.
Such dereferenced can be triggered by receiving a RA with the 'on-link'
bit set to 0 apparently generated by dnsmasq and reported by matthieu@.
ok matthieu@, sthen@, bluhm@
|
|
which only worked with ath(4) devices from a decade ago.
Diff tested on ath(4) hardware by me to verify that 11a/b modes still work.
ok reyk deraadt chris sthen kettenis
|
|
netmasks are non-NULL for RTM_CHANGE and RTM_LOCK.
Fix route(8) regressions tests 14 and 16 with ART kernels. These tests
were failing because with ART, RTF_HOST routes always have a mask.
ok claudio@, bluhm@
|
|
Problem reported by and diff tested by Fabian Raetz, thanks!
ok benno@, bluhm@
|
|
|
|
|
|
SPL_TYPx, SLP_EN and WAK_STS using the new SLEEP_STATUS_REG and
SLEEP_CONTROL_REG registers. Makes the transition into S5 (powerdown) work
on the ASUS X205TA.
ok deraadt@, mlarkin@
|
|
on the Samsung ATIV Book 9 laptop. This initial version only
supports ACPI config/attachment.
Add ihidev, a HID-over-i2c driver largely based on uhidev. dwiic
handles attaching ihidev devices found in ACPI.
Add ims, a HID-over-i2c mouse/trackpad driver to get basic cursor
and button functionality from HID-compliant i2c trackpads.
ok kettenis deraadt
|
|
now that start and txeof can run on different cpus, txeof could
have freed the mbuf before bpf got to it.
|
|
|
|
|
|
displays. This makes sure the keyboard mux gets picked up by the primary
(console) display and that USB keyboards get paired with the console even
if they are not marked as the console keyboard. This is what most people
expect to happen. If you really want to associate your USB keyboard with
a secondary display, you can detach it from the mux using
wsconscfg -f /dev/ttyCcfg -k -d
and attach it to another display using
wsconscfg -f /dev/ttyDcfg -k
|
|
ok kettenis@
|
|
|
|
xs_intr() but put an empty message in the queue. This prevents
xs_reply() from being stuck in an endless loop because it expectes a
message in the queue to break out of it. Depends on mikeb@'s previous
commit because it would otherwise panic on trying to cleanup the empty
message.
OK mikeb@
|
|
Problem was reported and analyzed by reyk@
|
|
Handle interface specific command length more nicely. No functional
changes.
|
|
and ipmi_recvcmd(). No functional changes.
|
|
|
|
arguments. No functional changes.
|
|
sequence is always a pair of send and receive; call both from ipmi_cmd().
By making ipmi_cmd() take only one argument struct ipmi_cmd *, this also
helps to prepare to call ipmi_cmd() as a task.
No functional changes intended.
|
|
ipmi_poll too.
|
|
|
|
controllers integrated on Intel's Bay Trail SoCs.
|
|
them. Add symbolic constant for CISTPL_END.
ok jsg@
|
|
SD host controller standard. Support the larger base clock and larger
clock divisors.
ok jsg@
|
|
noone could understand how em_txeof worked, so i rewrote it.
this also gets rid of the sc_tx_desc_free var that needed atomic
ops. space to use in em_start and space to free in em_txeof is now
calculated from the producer and consumer.
testers have reported better responsiveness with this. somehow.
if em issues persist after this, im rolling back to pre-mpsafe changes.
|
|
|
|
- compute fault reason for uvm_fault() (e.g. page not present,
protection violation) instead of passing a protection code
- a page does not need to be zero'd after faulting it in. uvm_fault() does
that for fresh anon pages already, and we also do not want a page that
is swapped back in have its contents wiped.
ok mlarkin@
|
|
"platform" devices that attach to acpi(4).
ok mlarkin@, deraadt@
|
|
ok deraadt kettenis
|