Fix device delete child function.When detaching device trees parent devices must be detached prior todetaching its children. This is because parent devices can havepointers to the child devices i
Fix device delete child function.When detaching device trees parent devices must be detached prior todetaching its children. This is because parent devices can havepointers to the child devices in their softcs which are notinvalidated by device_delete_child(). This can cause use after freeissues and panic().Device drivers implementing trees, must ensure its detach functiondetaches or deletes all its children before returning.While at it remove now redundant device_detach() calls beforedevice_delete_child() and device_delete_children(), mostly inthe USB controller drivers.Tested by: Jan Henrik Sylvester <[email protected]>Reviewed by: jhbDifferential Revision: https://reviews.freebsd.org/D8070MFC after: 2 weeks
show more ...
Add new USB ID to UDL driver.Submitted by: Matthias Petermann <[email protected]>PR: 201084
Put recycle pointer in own memory area which is not mmap'able.
Don't print uninitialized variables.CID: 1295242
Buffers which can be memory mapped into userspace should never befreed. Recycle the buffers instead. This patch also fixes a panic atreboot issue when an UDL adapter is attached to the system.
Allow the UDL screen refresh rate to be runtime configurable through asysctl. Increase the default frame rate to 25 FPS. Add a comment aboutmemory constraints.
Reduce number of memory buffers a bit.
Avoid recursive locking.
Swap screen dimensions back to normal.
Allow the display port to be powered off.
Add new device ID.
Bugfixes. Check if a framebuffer is present before using it. Dequeueelement from correct head structure. No need to multiply framebufferoffset by two. It is already given in bytes.
Import USB display link driver from OpenBSD. Support for compressionhas been removed and the driver has been greatly simplified andoptimised for FreeBSD. The driver is currently not built by defaul
Import USB display link driver from OpenBSD. Support for compressionhas been removed and the driver has been greatly simplified andoptimised for FreeBSD. The driver is currently not built by default.Requested by: Bruce Simpson <[email protected]>