#
c3de6240 |
| 09-Nov-2024 |
miod <miod@openbsd.org> |
More udl(4) devices, from NetBSD.
|
#
0c9d3924 |
| 06-Nov-2024 |
miod <miod@openbsd.org> |
Make edid_parse() take a device name as extra argument so that the few messages it may print are tied to the particular device it concerns.
|
#
c07d3a0f |
| 02-Nov-2024 |
miod <miod@openbsd.org> |
Move edid_print() behind defined(EDID_DEBUG).
|
#
81508fe3 |
| 23-May-2024 |
jsg <jsg@openbsd.org> |
remove unneeded includes; ok mpi@
|
#
1f0c4d66 |
| 10-May-2023 |
miod <miod@openbsd.org> |
New udl(4) device, reported by "S V" on tech@
|
#
63294167 |
| 15-Jul-2022 |
kettenis <kettenis@openbsd.org> |
Implement support for framebuffers that don't start on a page boundary. This happens on the new 14" and 16" Macbook Pro where we deliberately use a framebuffer that skips the first few lines to avoid
Implement support for framebuffers that don't start on a page boundary. This happens on the new 14" and 16" Macbook Pro where we deliberately use a framebuffer that skips the first few lines to avoid "the notch". The offset of the first pixel is added to struct wsdisplay_fbinfo. The stride is added as well, mirroring the value returned by the WSDISPLAYIO_LINEBYTES ioctl, such that we can retire that one in the future. A compat ioctl is implemented to help the transition. The compat code will be removed after OpenBSD 7.3 has been released.
ok miod@
show more ...
|
#
4b1a56af |
| 09-Jan-2022 |
jsg <jsg@openbsd.org> |
spelling feedback and ok tb@ jmc@ ok ratchov@
|
#
8985a220 |
| 22-Nov-2021 |
mglocker <mglocker@openbsd.org> |
Align memory allocation for USB device drivers and USB HC drivers:
* USB device drivers use M_USBDEV instead of M_DEVBUF. * USB HC drivers use M_USBHC instead of M_DEVBUF.
In a vanilla setup, this
Align memory allocation for USB device drivers and USB HC drivers:
* USB device drivers use M_USBDEV instead of M_DEVBUF. * USB HC drivers use M_USBHC instead of M_DEVBUF.
In a vanilla setup, this enlarges the USB memory pool.
ok anton@
show more ...
|
#
c8ebe74c |
| 27-Oct-2021 |
jasper <jasper@openbsd.org> |
fix spello in comment
|
#
f88cb03e |
| 31-Jul-2020 |
mglocker <mglocker@openbsd.org> |
Nuke all occurrences of usbd_abort_pipe() if it gets called right before usbd_close_pipe(), since usbd_close_pipe() already takes care about aborting non-empty pipes.
As investigated by gerhard@ usb
Nuke all occurrences of usbd_abort_pipe() if it gets called right before usbd_close_pipe(), since usbd_close_pipe() already takes care about aborting non-empty pipes.
As investigated by gerhard@ usbdi.c rev. 1.57 did add usbd_abort_pipe() to usbd_close_pipe(), but the drivers didn't get cleaned up afterwards.
ok gerhard@
show more ...
|
#
e0c3e559 |
| 25-May-2020 |
jsg <jsg@openbsd.org> |
change wsdisplay attribute type from long to uint32_t
miod explained it was initially a long as it was thought drivers may need to allocate storage but in practice they don't need more than 32 bits
change wsdisplay attribute type from long to uint32_t
miod explained it was initially a long as it was thought drivers may need to allocate storage but in practice they don't need more than 32 bits for an attribute.
suggested and reviewed by miod@
show more ...
|
#
fc223b23 |
| 25-May-2020 |
jsg <jsg@openbsd.org> |
rename wsdisplay alloc_attr() to pack_attr()
Suggested by John Carmack. miod agrees a rename would make sense and explained it was initially thought drivers may need to allocate storage but in prac
rename wsdisplay alloc_attr() to pack_attr()
Suggested by John Carmack. miod agrees a rename would make sense and explained it was initially thought drivers may need to allocate storage but in practice they don't need more than 32 bits for an attribute.
ok mpi@
show more ...
|
#
af3c181f |
| 09-Jan-2020 |
mpi <mpi@openbsd.org> |
Rename udl_mode field to not shadow global `hz' variable.
ok mglocker@
|
#
1394fe5f |
| 05-Jan-2020 |
mpi <mpi@openbsd.org> |
Convert to tsleep_nsec(9).
ok mglocker@
|
#
36a555e0 |
| 06-Nov-2019 |
mglocker <mglocker@openbsd.org> |
Make udl(4) and uts(4) compile again in debug mode by fixing IOCGROUP and IOCPARM_LEN macros types.
|
#
397525a8 |
| 05-Sep-2017 |
jsg <jsg@openbsd.org> |
Correct a bounds test. Coverity CID 1452930. ok mpi@
|
#
234dfda1 |
| 08-Apr-2017 |
deraadt <deraadt@openbsd.org> |
A pile of sizes to free(9). In test for a few days in snapshots. Errors will result in nice clean panic messages so we know what's wrong. Reviewed by dhill visa natano jsg.
|
#
c9ee9455 |
| 26-Mar-2017 |
deraadt <deraadt@openbsd.org> |
Add sizes to various free(9) calls. Fixing the simpler ones first. ok natano visa
|
#
f4b7d08e |
| 06-Nov-2016 |
mpi <mpi@openbsd.org> |
Avoid calling usbd_set_config_no() in *_attach() and let the stack do it instead.
If anything bad happen due to a malformed descriptor it makes no sense to try to attach a driver, and bail before pr
Avoid calling usbd_set_config_no() in *_attach() and let the stack do it instead.
If anything bad happen due to a malformed descriptor it makes no sense to try to attach a driver, and bail before probing.
This is similar to the change to avoid calling usbd_set_config_index().
show more ...
|
#
ef89f9e6 |
| 11-Dec-2015 |
mpi <mpi@openbsd.org> |
Replace mountroothook_establish(9) by config_mountroot(9) a narrower API similar to config_defer(9).
ok mikeb@, deraadt@
|
#
a8359cd7 |
| 02-May-2015 |
jsg <jsg@openbsd.org> |
add missing splx calls
|
#
21dab745 |
| 14-Mar-2015 |
jsg <jsg@openbsd.org> |
Remove some includes include-what-you-use claims don't have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
#
0f0d0f95 |
| 09-Dec-2014 |
doug <doug@openbsd.org> |
More malloc() -> mallocarray() in the kernel.
ok deraadt@ tedu@
|
#
df2ac69f |
| 12-Jul-2014 |
tedu <tedu@openbsd.org> |
add a size argument to free. will be used soon, but for now default to 0. after discussions with beck deraadt kettenis.
|
#
37ecb596 |
| 06-Dec-2013 |
deraadt <deraadt@openbsd.org> |
Add a DVACT_WAKEUP op to the *_activate() API. This is called after the kernel resumes normal (non-cold, able to run processes, etc) operation. Previously we were relying on specific DVACT_RESUME op
Add a DVACT_WAKEUP op to the *_activate() API. This is called after the kernel resumes normal (non-cold, able to run processes, etc) operation. Previously we were relying on specific DVACT_RESUME op's in drivers creating callback/threads themselves, but that has become too common, indicating the need for a built-in mechanism. ok dlg kettenis, tested by a sufficient amount of people
show more ...
|