Age | Commit message (Collapse) | Author |
|
an uhidev(4) on OpenBSD and there is not point in rerolling your own
reportID handling. Simply use uhidev_*_report().
This is a first step towards better error handling required to deal
with broken upd(4) firmwares.
Tested by David Higgs.
|
|
13.2.3, and let the stack set the status to USBD_SHORT_XFER if
appropriate.
From David Higgs.
|
|
|
|
|
|
them and the vast majority of the rest of the drivers do not do this.
ok mikeb@
|
|
dequeue pointer past the last enqueued TRB and let xhci_xfer_done()
properly accounts free TRBs.
|
|
interrupts of PC-9801 extension board slot bus (so-called 'C-bus') on
LUNA-88K2.
Existing pcex(4) is now attached at cbus(4), i.e.
cbus0 at mainbus0
pcex0 at cbus0
With this driver, some other PC-9801 boards might be supported on luna88k
in the (near?) future:-)
ok miod@
|
|
|
|
as is the case for a lot of the other drivers. Remove some redundant
calls to foo_stop() and foo_reset() before foo_init().
Tested with DP83815, 3c905C, 8139 and ST201.
Mostly from FreeBSD.
|
|
ok millert@, bluhm@
|
|
used by enc(4) devices to attach their routes.
ok sthen@, mikeb@
|
|
to decide whether or not to remove local routes.
Prevent from having a NULL ifp pointer in the routing table when an
address present in another rdomain is removed from an interface.
ok bluhm@
|
|
moves a copy of this to the RW tramp data page during bootup.
ok deraadt@
|
|
.rodata (kernel copies to the RW page), protect the code page with RX
permissions, protect the code page with RW permissions.
ok deraadt@
|
|
adapted from a freebsd commit by david hill
|
|
support.
|
|
|
|
|
|
so that we can select the proper layout automagically and have it apply even
at UKC time.
|
|
|
|
|
|
from Dmitry Alenichev
|
|
|
|
ok tedu@
|
|
is still closed when resuming. This allows docked laptop to be resumed
without opening them.
ok mlarkin@
|
|
Encountered with savecore and fix tested by bluhm@
|
|
Patch provided by brad@
|
|
|
|
people unfortunate enough to own such machines.
Fixes broken suspend/resume on an Acer Aspire One D27-1375 with GMA36x0
reported by Sean Cody.
ok deraadt@ mlarkin@
|
|
|
|
|
|
|
|
ok mikeb@, krw@, bluhm@, tedu@
|
|
OK deraadt@
|
|
This adds a new sysctl KERN_PROC_VMMAP, which returns an array of VM map
entries of a specified process. This prevents debuggers from iterating
vm_map_entry RB tree via kvm(3).
The name KERN_PROC_VMMAP and struct kinfo_vmentry are chosen from the same
function in FreeBSD. struct kinfo_vmentry is revised to reduce size, because
OpenBSD does not keep track of filepaths. The semantic is also changed to
return max buffer size as a hint, and start iteration at the specified base
address.
Much valuable input from deraadt@, guenther@, tedu@
OK tedu@ deraadt@
|
|
to a dedicated wrapper function, and register either xbridge_pci_intr_handler()
or the wrapper as the interrupt handler, depending upon which chip we run on.
Saves the cost of the workaround on non-affected chips, which are a large
majority.
|
|
ok deraadt
|
|
Since bridge_output/bridge_ifenqueue replace ether_output that does
VLAN tagging and call into if_start directly we need to make sure
that tag has been set by the bridge.
XXX This abuses "if_output == vlan_output" check, but hopefully
XXX vlan(4) will use a distinct if_type someday and this code
XXX will be improved.
Discussed with henning and Rafael Zalamena, ok henning
|
|
|
|
Ported from FreeBSD via NetBSD, tested on a ST Lab U-400 provided by
weerd@.
ok jsg@
|
|
|
|
|
|
support was introduced) may return a device path without a unit number?!?
Open Firmware's open-dev routine will crash if given such a path, rendering
the system unbootable. Repair such paths by adding unit number "0".
Breakage found by sebiasta@ on a Sun Enterprise E450, fix tested by him.
helpful hints from deraadt@
|
|
Apple MacBook Air systems such as the 6,1 and 6,2.
Workaround noticed in the Linux kernel.
Tested by Scott Bonds with a 6,1 system "the disk operations that
previously took 5 minutes are now instantaneous."
|
|
(tn_links == 0). Failure to enforce such a check can lead to the
violation of the assumption that removed directories should not
contain directory entries and thus trigger a kernel diagnostic
assertion (panic).
Fix provided by Pedro Martelletto, thanks!
OK millert@
|
|
|
|
pool hasnt had pool_setipl called.
ok kettenis@ ages ago
|
|
about types are happy.
ok jsg@
|
|
|
|
|