#
9b18ffb8 |
| 19-Dec-2014 |
guenther <guenther@openbsd.org> |
Use <sys/endian.h> instead of <machine/endian.h>
ok dlg@ mpi@ bcook@ millert@ miod@
|
#
3811cf15 |
| 18-Nov-2014 |
tedu <tedu@openbsd.org> |
move arc4random prototype to systm.h. more appropriate for most code to include that than rdnvar.h. ok deraadt dlg
|
#
41651d1a |
| 01-Nov-2014 |
mpi <mpi@openbsd.org> |
Remove the port status argument from usbd_reset_port(). We don't do anything with it and it simplifies this mess in order to implement warm reset.
|
#
eabacab1 |
| 13-Jul-2014 |
mpi <mpi@openbsd.org> |
No need for <netinet/in_systm.h> here.
|
#
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.
|
#
53c6612d |
| 12-Jul-2014 |
mpi <mpi@openbsd.org> |
Kill a bunch of DVACT_DEACTIVATE handlers whose only purpose were to set the 'dying' flag of a device. Such handlers are useless now that usbd_detach() already set this flag.
Even if the purpose of
Kill a bunch of DVACT_DEACTIVATE handlers whose only purpose were to set the 'dying' flag of a device. Such handlers are useless now that usbd_detach() already set this flag.
Even if the purpose of this flag is questionnable on OpenBSD because DVACT_DEACTIVATE acts as a pre-detach event, this is just a first small step towards the simplification of the autoconf(9) device states.
This cleaning is now possible thanks to the work of pirofti@ to convert all the USB drivers to properly use usbd_is_dying().
Discussed many times with deraadt@
show more ...
|
#
6da4b19d |
| 19-Mar-2014 |
mpi <mpi@openbsd.org> |
Stop abusing the rcvif pointer to pass wireless nodes down to the driver start routines. Instead add & use a pointer in the pkthdr since we don't want the overhead of using a mbuf_tags(9).
claudio@
Stop abusing the rcvif pointer to pass wireless nodes down to the driver start routines. Instead add & use a pointer in the pkthdr since we don't want the overhead of using a mbuf_tags(9).
claudio@ pointed out that other subsystems might want to use this pointer too, so here's a new cookie!
ok claudio@, mikeb@, deraadt@
show more ...
|
#
ae343004 |
| 07-Mar-2014 |
mpi <mpi@openbsd.org> |
Do not define per-driver DEBUG variable when USB_DEBUG is defined. It's really impossible to debug the USB stack when any single device you plug in your machine starts to vomit its own poetry,
|
#
5e42885f |
| 07-Aug-2013 |
bluhm <bluhm@openbsd.org> |
Most network drivers include netinet/in_var.h, but apparently they don't have to. Just remove these include lines. Compiled on amd64 i386 sparc64; OK henning@ mikeb@
|
#
9b2ad23f |
| 11-Jun-2013 |
deraadt <deraadt@openbsd.org> |
Replace more ovbcopy with memmove; swap the src and dst arguments too
|
#
ab0b1be7 |
| 15-Apr-2013 |
mglocker <mglocker@openbsd.org> |
Get rid of various 'typedef struct' definitions and use plain structure definitions instead. We don't change usb.h for now to stay compatible with userland.
Tested by mpi@ on macppc and myself on i
Get rid of various 'typedef struct' definitions and use plain structure 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@
show more ...
|
#
aa88c704 |
| 12-Apr-2013 |
mpi <mpi@openbsd.org> |
Instead of using a wrapper around usbd_transfer() when submitting a transfer synchronously just pass the USBD_SYNCHRONOUS flag like any other flags when creating a transfer.
ok sthen@, mglocker@
|
#
53cb321c |
| 03-Oct-2012 |
sthen <sthen@openbsd.org> |
attach to D-Link WUA-2340, from Aaron Wirtz on misc@
|
#
0b1c7607 |
| 03-Jul-2011 |
matthew <matthew@openbsd.org> |
Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thing that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead.
ok deraadt@, dlg@; miod@ al
Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thing 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
show more ...
|
#
88ee6abd |
| 07-Apr-2011 |
miod <miod@openbsd.org> |
Do not use NULL in integer comparisons. No functional change. ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@
|
#
0036ea2d |
| 25-Jan-2011 |
jakemsr <jakemsr@openbsd.org> |
garbage collect "usb events". without /dev/usb there is no way to access them from userland, and nothing in the kernel uses them.
ok krw@, miod@
|
#
403c1194 |
| 06-Jan-2011 |
damien <damien@openbsd.org> |
Remove dead links. Atheros have reworked their website.
|
#
7b043b62 |
| 06-Dec-2010 |
jakemsr <jakemsr@openbsd.org> |
* replace per-driver dying and/or other state variables with use of usbd_deactivete() and usbd_is_dying() * use usbd_deactivate() in activate()/DEACTIVATE * convert a few more direct checks of the
* replace per-driver dying and/or other state variables with use of usbd_deactivete() and usbd_is_dying() * use usbd_deactivate() in activate()/DEACTIVATE * convert a few more direct checks of the associated bus' dying flag with usbd_is_dying()
show more ...
|
#
5dd621ee |
| 27-Oct-2010 |
jakemsr <jakemsr@openbsd.org> |
don't free network related resources if they were not allocated
|
#
c7438bdd |
| 23-Oct-2010 |
jakemsr <jakemsr@openbsd.org> |
check that a timeout(9) has been initialized before deleting it
ok phessler
|
#
c33449aa |
| 23-Oct-2010 |
jakemsr <jakemsr@openbsd.org> |
create another kthread to run xfer abort tasks. xfer abort tasks cannot be run from the generic task kthread, because xfers that need to be aborted block newly queued tasks from running (i.e. the xf
create another kthread to run xfer abort tasks. xfer abort tasks cannot be run from the generic task kthread, because xfers that need to be aborted block newly queued tasks from running (i.e. the xfer to be aborted blocks the abort of that task). as there are now three types of usb tasks, add an argument to usb_init_task() and another member to struct usb_task to specify the task type.
fixes boot hangs that are showing up because we now use usb tasks to attach/detach usb devices.
show more ...
|
#
f110151d |
| 27-Aug-2010 |
jsg <jsg@openbsd.org> |
remove the unused if_init callback in struct ifnet ok deraadt@ henning@ claudio@
|
#
2dbb2583 |
| 29-Jun-2010 |
matthew <matthew@openbsd.org> |
Interface drivers should use DV_IFNET, not DV_DULL.
ok deraadt@
|
#
9b074ffa |
| 20-Apr-2010 |
tedu <tedu@openbsd.org> |
remove proc.h include from uvm_map.h. This has far reaching effects, as sysctl.h was reliant on this particular include, and many drivers included sysctl.h unnecessarily. remove sysctl.h or add pro
remove proc.h include from uvm_map.h. This has far reaching effects, as sysctl.h was reliant on this particular include, and many drivers included sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed. ok deraadt
show more ...
|
#
e78728c7 |
| 13-Oct-2009 |
pirofti <pirofti@openbsd.org> |
Get rid of devact enum, substitute it with an int and coresponding defines.
This is needed for the addition of further suspend/resume actions.
Okay deraadt@, marco@.
|