#
b047b92c |
| 28-Mar-2013 |
tedu <tedu@openbsd.org> |
proc.h is way too much header for usb to handle.
|
#
d9e90947 |
| 29-Jan-2013 |
brad <brad@openbsd.org> |
Rewrite the receive filter handling code and cleanup the ioctl bits.
ok sthen@
|
#
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 ...
|
#
d1119309 |
| 23-Jun-2011 |
deraadt <deraadt@openbsd.org> |
a bit more ansi; ok tedu
|
#
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@
|
#
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 ...
|
#
f23ea224 |
| 27-Aug-2010 |
deraadt <deraadt@openbsd.org> |
Delete comments about these drivers needing powerhook support; they don't.
|
#
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@.
|
#
34f0f0fd |
| 28-Nov-2008 |
brad <brad@openbsd.org> |
Eliminate the redundant bits of code for MTU and multicast handling from the individual drivers now that ether_ioctl() handles this.
Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 150
Eliminate the redundant bits of code for MTU and multicast handling from the individual drivers now that ether_ioctl() handles this.
Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes
Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@
ok naddy@
show more ...
|
#
25f04c70 |
| 06-Nov-2008 |
brad <brad@openbsd.org> |
Set the IFCAP_VLAN_MTU capabilities flag so these interfaces are allowed to transmit full sized VLAN tagged frames.
|
#
5d41e683 |
| 03-Oct-2008 |
brad <brad@openbsd.org> |
Use ether_ioctl().
|
#
e15e1c8c |
| 10-Sep-2008 |
blambert <blambert@openbsd.org> |
Convert timeout_add() calls using multiples of hz to timeout_add_sec()
Really just the low-hanging fruit of (hopefully) forthcoming timeout conversions.
ok art@, krw@
|
#
1604b1ca |
| 23-Nov-2007 |
mbalmer <mbalmer@openbsd.org> |
Sanitize the use of timeouts:
Instead of calling timeout_set(..., NULL, NULL) in attach routines and later timeout_del(...) timeout_set(..., func, arg) timeout_add(..., time) set the function and ar
Sanitize the use of timeouts:
Instead of calling timeout_set(..., NULL, NULL) in attach routines and later timeout_del(...) timeout_set(..., func, arg) timeout_add(..., time) set the function and argument in the initial timeout_set() call and only use timeout_add(..., time) later.
ok dlg, fgsch, krw, winiger
show more ...
|
#
fc5c6ac5 |
| 11-Oct-2007 |
deraadt <deraadt@openbsd.org> |
treat usb vendor/product names as a locator, and have usbd_print handle it, so that it shows up before the :. as a result, all the usb devices do not need to have name printing code anymore. all th
treat usb vendor/product names as a locator, and have usbd_print handle it, so that it shows up before the :. as a result, all the usb devices do not need to have name printing code anymore. all this now works and prints nicely because usbd_probe_and_attach() is serialized. ok kettenis
show more ...
|
#
9f5f6d50 |
| 14-Jun-2007 |
mbalmer <mbalmer@openbsd.org> |
Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS and USB_DECLARE_DRIVER macros.
No binary change.
ok dlg.
|
#
881caed0 |
| 13-Jun-2007 |
mbalmer <mbalmer@openbsd.org> |
Remove the definition and usage of the IF_INPUT macro which was defined as ether_input_mbuf which is itself a macro for ether_input.
No binary change.
ok dlg.
|
#
73030186 |
| 12-Jun-2007 |
mbalmer <mbalmer@openbsd.org> |
Remove the definition and use of the device_ptr_t which was a struct device *.
No binary change.
ok mk.
|
#
5acc2060 |
| 11-Jun-2007 |
mbalmer <mbalmer@openbsd.org> |
Remove the definition and usage of the USBGETSOFTC macro, which was really only a cast to (void *).
ok jsg.
|
#
4ab2b9fe |
| 10-Jun-2007 |
mbalmer <mbalmer@openbsd.org> |
Remove the definition and use of the USBDEVNAME macro.
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the ini
Remove the definition and use of the USBDEVNAME macro.
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.)
ok jsg.
show more ...
|
#
1596fc1e |
| 10-Jun-2007 |
mbalmer <mbalmer@openbsd.org> |
Remove the definition and use of the USBDEV macro. It only created confusion and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev.
No binary changes.
ok jsg.
|
#
34eef271 |
| 10-Jun-2007 |
mbalmer <mbalmer@openbsd.org> |
Remove definitions and usage of usb_callout and related macros. These macros were used as a layer of confusion^Wabstraction around the timeout(9) API.
No binary change.
ok jsg.
|
#
69d06a35 |
| 09-Jun-2007 |
mbalmer <mbalmer@openbsd.org> |
Remove the definition and use of if_deactivate(). It was defined empty and thus produced no code at all.
No binary change.
ok jsg.
|