History log of /openbsd-src/sys/dev/usb/if_aue.c (Results 26 – 50 of 113)
Revision Date Author Comments
# 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@


# 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 ...


# b047b92c 28-Mar-2013 tedu <tedu@openbsd.org>

proc.h is way too much header for usb to handle.


# 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 ...


# 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 ...


# 70e15fe7 24-Sep-2010 yuo <yuo@openbsd.org>

remove dying flag in detach() function.
The dying flag will be set in activate()/DEACTIVATE.

ok deraadt@


# 7ee5f10e 22-Sep-2010 yuo <yuo@openbsd.org>

as dying flag didn't set in aue_detach(), set it.

ok jsg@


# 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@.


# 4721c510 10-Aug-2009 deraadt <deraadt@openbsd.org>

USB network devices do not DMA in a way that requires a shutdown function


# 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.


# 775775fe 02-Oct-2008 brad <brad@openbsd.org>

First step towards cleaning up the Ethernet driver ioctl handling.
Move calling ether_ioctl() from the top of the ioctl function, which
at the moment does absolutely nothing, to the default switch ca

First step towards cleaning up the Ethernet driver ioctl handling.
Move calling ether_ioctl() from the top of the ioctl function, which
at the moment does absolutely nothing, to the default switch case.
Thus allowing drivers to define their own ioctl handlers and then
falling back on ether_ioctl(). The only functional change this results
in at the moment is having all Ethernet drivers returning the proper
errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown
ioctl's.

Shrinks the i386 kernels by..
RAMDISK - 1024 bytes
RAMDISKB - 1120 bytes
RAMDISKC - 832 bytes

Tested by martin@/jsing@/todd@/brad@
Build tested on almost all archs by todd@/brad@

ok jsing@

show more ...


# 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@


# 29eb5c56 18-Mar-2008 jsg <jsg@openbsd.org>

Bring in some changes from DragonFly:
- New matching logic so we don't need to check against vid/pid
to figure out which kind of chip we have
- Match list in a struct instead of messy if statement

Bring in some changes from DragonFly:
- New matching logic so we don't need to check against vid/pid
to figure out which kind of chip we have
- Match list in a struct instead of messy if statement (hurrah!)
- More generic dual port handling
- Insane amount of device additions, mostly found in Linux driver
(aue included as a usb vendor got renamed)

Tested by ckuethe@, 'looks super sensible' deraadt@

show more ...


# 849861f4 31-Dec-2007 deraadt <deraadt@openbsd.org>

re-order product list slightly


# 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 ...


# e0d40974 10-Nov-2007 deraadt <deraadt@openbsd.org>

2 port usb hub with ethernet in it..


# 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 ...


# aca5f7a6 17-Sep-2007 fgsch <fgsch@openbsd.org>

remove unneeded malloc.h include.


# 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.


12345