| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
|
|
|
| |
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@
|
| |
|
|
| |
ok mglocker@
|
| |
|
|
| |
ok mglocker@
|
| |
|
|
| |
and IOCPARM_LEN macros types.
|
| |
|
|
| |
ok mpi@
|
| |
|
|
|
| |
Errors will result in nice clean panic messages so we know what's wrong.
Reviewed by dhill visa natano jsg.
|
| |
|
|
| |
ok natano visa
|
| |
|
|
|
|
|
|
|
| |
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().
|
| |
|
|
|
|
| |
similar to config_defer(9).
ok mikeb@, deraadt@
|
| | |
|
| |
|
|
|
|
|
| |
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
| |
|
|
| |
ok deraadt@ tedu@
|
| |
|
|
| |
after discussions with beck deraadt kettenis.
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
Trivial except for tga(4) and gpx(4/vax) which need a bit more care setting
up a new font.
|
| |
|
|
| |
No functional change.
|
| |
|
|
|
|
| |
cleaning up some shutdown-hook related code on the way.
(A few drivers related to sparc are still skipped at kettenis' request)
ok kettenis mlarkin, tested by many others too
|
| |
|
|
|
|
|
|
|
|
|
| |
function is badly named and should be used for transfers coming from
userland which is not the case here as synchronous transfers are only
used while configuring the device.
Note that the transfer submission code can be simplified now that sync
and async transfers use the standard setup_xfer()/transfer() method.
Tested by and ok mglocker@
|
| | |
|
| |
|
|
|
|
|
|
|
| |
definitions instead. We don't change usb.h for now to stay compatible
with userland.
Tested by mpi@ on macppc and myself on i386.
ok mpi@
|
| | |
|
| | |
|
| |
|
|
| |
ok mglocker@
|
| |
|
|
| |
OK mglocker@
|
| |
|
|
|
|
|
|
| |
that's ever used it, and it's long since been changed to use
DVACT_{QUIESCE,SUSPEND,RESUME} instead.
ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it
up a few weeks ago
|
| |
|
|
|
|
| |
them from userland, and nothing in the kernel uses them.
ok krw@, miod@
|
| |
|
|
|
|
|
|
| |
DVACT_DEACTIVATE case for drivers that don't have activate finctions
* fill out cfattach activate functions and call usbd_deactivate() in
the DVACT_DEACTIVATE case for drivers that don't have a dying flag
"ok with the intent" miod@
|
| |
|
|
|
|
|
| |
a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument].
This allows MI drivers to implement mmap() routines without having to know
about the pmap_phys_address() implementation and #ifdef obfuscation.
|
| |
|
|
|
|
| |
Some other products use more than one generation of chipset. e.g. both
DL160 and DL165. Change to a later chipset if the family is newer than
expected. ok mglocker@ -moj
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
From Bryan Vyhmeister
|
| |
|
|
| |
backing store.
|
| |
|
|
|
|
| |
This is needed for the addition of further suspend/resume actions.
Okay deraadt@, marco@.
|
| |
|
|
|
|
| |
- Spacing / comments.
- Be constant in using variable types.
- Avoid repeating function-inline definitions for the same variable.
|
| |
|
|
| |
monitor. Use the EDID parsing from videomode. -moj ok mglocker@
|
| |
|
|
|
|
|
| |
until one xfer buffer gets freed again, instead userland needs to handle
this.
Help and OK miod@, matthieu@
|
| | |
|
| |
|
|
|
|
|
| |
change the UDLIO_DAMAGE ioctl from 0 to 128 and move the ioctl part from
udl.h to udlio.h so we can include it in userland applications.
Suggested and OK miod@
|
| |
|
|
|
| |
mode. Miod mentioned that is it OK to loose screen content when switching
DUMBFB -> EMUL. Thanks.
|
| |
|
|
| |
figure out how we can repaint it as well).
|
| |
|
|
| |
be completed.
|
| |
|
|
| |
a bit more self explaining. No functional changes.
|
| |
|
|
|
| |
udl_cmd_set_offset -> udl_cmd_restore_offset, matches better what we
do. No functional changes.
|
| | |
|