Age | Commit message (Collapse) | Author |
|
from Jan Schreiber, ok deraadt@
|
|
ok ratchov@ deraadt@
|
|
traverse sideways. This seems to be what all callersexpect it to do, and
fixes a bug in dwiic(4) where it would try to access i2c devices on busses
they're not attached to.
If there is any fallout from this change, the right thing to do is probably
to make sure callers pass the right node.
While there, change the return type to void, as the return value was useless
and none of the callers looked at it.
ok mlarkin@
|
|
|
|
forwarding when the X server disables the SECURITY extension;
Reported by Thomas Hoger; ok deraadt@
|
|
aliases
ok nicm@
|
|
and somove() panic messages.
OK phessler@ benno@ deraadt@ mpi@
|
|
|
|
|
|
|
|
|
|
|
|
We need to ensure that rx and tx fragments do not cross page boundary
since grant table reference can only point to a complete page. Add a
couple of kernel assertions in the dma map loading code to catch these
problems early in the future.
|
|
ok deraadt@
|
|
noticed by jsg
|
|
another bug introduced in my turbo mode removal commit; Now fixed.
Keep the debug printf added in r1.155.
|
|
was broken and lots of drivers ran into trouble as a result.
ok deraadt@
|
|
usr.sbin/dhcpd/packet.c r1.4 to dhcrelay. ok deraadt@
|
|
OK tb@
|
|
OK deraadt@ mestre@
|
|
|
|
OK deraadt@ millert@ tb@ sthen@
|
|
thus will sleep until
get memory available so shouln't fail.
OK deraadt@ mmcc@
|
|
sort the description of arguments for init_emulated_hw().
Pointed out my mlarkin
|
|
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@
|
|
the 'media' subcommand. Allow clearing the mode with 'ifconfig $if -mode'.
This makes commands such as 'ifconfig iwn0 mode 11a' work without having
to type all of 'ifconfig iwn0 media autoselect mode 11a'.
ok sthen@ deraadt@ jmc@
|
|
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
|
|
No need for 'flags' variable. Just call usage() on unknown options.
|
|
|
|
#define llseek lseek
#define LOFF_T_MAX LLONG_MAX
I mean, really? Nuke'em and use off_t, lseek and LLONG_MAX.
Also make a couple of checks for overflow of off_t value more likely
to work.
ok millert@
|
|
|
|
functions static if possible. Move delay() to lpd/printjob.c and fix
an annoying typo.
ok deraadt@
|
|
ok nicm@
|
|
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
|
|
|
|
|
|
|
|
usage() to pdisk.c and nuke do_help() and '-h'.
ok jasper@ deraadt@
|
|
during hid abstraction
problem noticed and fix tested by abieber
|
|
|
|
inspected on the first call to a malloc(3) family function.
ok tedu
|
|
condition.
ok nicm@
|
|
isavar.h (a few parts of the tree include both)
ok jcs
|
|
Ok millert@ gilles@ jung@
|
|
(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)
|