Age | Commit message (Collapse) | Author |
|
|
|
ok yasuoka@ goda@
|
|
from the ghost of architectures past
|
|
|
|
HYP processor mode that has different memory management and register
behaviour among other things. In this case switch to SVC mode to
prevent an early crash.
From Patrick Wildt based on code in FreeBSD.
|
|
the size of the pointer to a struct.
ok mikeb@
|
|
This avoids reading uninitialised memory when expected value types are
not present, as is currently the case with gpio signalled interrupts,
and could also be the case with buggy aml.
Without this change under certain conditions on the ideapad 100s
(such as a ramdisk kernel or generic kernel compiled with -O0)
ihidev would incorrectly attach to a bogus ioapic interrupt.
ok kettenis@
|
|
Instead of just setting bits that we think we need, do a better job of
figuring out what's supported by the backend and what's not and what do
we really need. The following improvements were implemented:
o fallback for when scatter gather I/O is not supported by Dom0;
o tcp/udp checksum offloading;
o larger mtu up to 9000: an experimental feature;
o stop requesting multicast control feature that we don't support.
|
|
After some experimentation, discussions with Xen folks and pondering Linux
source code, it became clear that most versions of Xen require at least 18
slots available on the receive ring to send an event.
|
|
|
|
membar_* functions are defined only as compiler barriers on !MP
kernels, while we're trying to be conservative in our use of the
barriers. Barriers are placed only where loads and stores might
get reordered and it matters at the same time. Shared info page
operations are using atomic instructions on Linux, so they get
barriers as well.
|
|
uiomove had unsigned types already.
Diff from Martin Natano.
|
|
only when in promiscuous mode
This necessary for NICs like virtio, where the unicast MAC filter is
'best effort' only.
ok dlg@
encouragement from mpi@
|
|
contained the pointer it received from user land. usbioctl() has
to reset it, otherwise user supplied data is passed to free().
OK mpi@
|
|
ok reyk@ yasuoka@
|
|
ok dlg@ yasuoka@
|
|
ok mpi@
|
|
ok mpi@
|
|
in rev 1.6 so SET doesn't or bits into uninitialised memory.
ok visa@
|
|
ok deraadt@ krw@
|
|
ba_timeout_val is in usec so we must divide by TU when copying it to the frame.
ok kettenis@ millert@
|
|
an interface joined a specific multicast group.
ok phessler@, visa@, dlg@
|
|
ok kettenis@
|
|
ok mpi@
|
|
have had uninitialised bus space handle arguments since the mapping became
conditional in rev 1.9
confirmed with miod
|
|
we can get the same info from the arp pool:
# vmstat -m | grep -e ^arp -e ^Name
Name Size Requests Fail InUse Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
arp 56 84 0 6 1 0 1 1 0 8 0
Requests and InUse end up being the same:
# pstat -d d arp_allocated
arp_allocated at 0xffffffff81942084: 84
# pstat -d d arp_inuse
arp_inuse at 0xffffffff81942098: 6
ok bluhm@ claudio@ mpi@
|
|
than driver specific strings.
ok kettenis
|
|
me a chance to kill these glowing red trailing whitespace characters.
|
|
instead of using magic numbers. No binary change.
Diff from Martin Natano.
ok deraadt@
|
|
Makes softraid(4) boot possible on more sparc64 machines.
Tested on Sun Fire machines by mikeb@ and Alexander Bochmann via misc@
ok mikeb@
|
|
Reported by Jonathon Sisson <openbsd at j3z ! org>, thanks!
|
|
native byte order. No behaviour change, as attach time
parameters are just hints, except thay this makes audioctl
output nicer if the device was never opened.
|
|
|
|
to the "Windows Precision Touchpad" standard. when a compatible
device is found, hidmt claims all report ids and switches the device
into multitouch packet mode.
add imt, an i2c-HID driver that sits between ihidev and hidmt
|
|
establish interrupt before probing for devices to handle each report id
sign an int, found by jsg
|
|
code from FreeBSD, name from NetBSD
|
|
preventing integer truncation.
Diff from Martin Natano
ok kettenis@
|
|
Diff from Martin Natano
ok kettenis@
|
|
of cpu_configure() and initclocks().
from Miod
no objection deraadt@
|
|
|
|
A crash reported by Jonathon Sisson is caused by incorrect calculation
of available descriptors on the tx ring. While here, split the mbuf
chain so that we won't unload the whole thing in the txeof before
removing grant table references from transmit descriptors.
|
|
When testing evtchn_mask bits we need to treat the array as a bit
matrix for an isset macro to test correct bits. Reported by reyk@
some time ago, Wei Liu <wei ! liu2 at citrix !com> figured out how
to reproduce the problem. Thanks!
|
|
usb devices) and return ENOTTY rather than terminating the
caller program. Found by Michael Reed <m.reed at mykolab.com>
ok semarie, deraadt
|
|
work as EFI_GUID initialisers.
ok yasuoka@ krw@
|
|
|
|
|
|
Reyk has reported an issue that turned out to be an incorrect calculation
of bytes available for reading. This diff also places missed semaphore
releases in the xs_start and makes 'left' a size_t in xs_ring_{get,put}.
|
|
offset of the address in the sockaddr to initialize the stride lengths.
|
|
|
|
entry.
This pointer hasn't been used for some time and without it no external
reference count is needed to turn art_lookup() mpsafe.
|