History log of /openbsd-src/sys/dev/usb/uhub.c (Results 51 – 75 of 98)
Revision Date Author Comments
# 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.


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


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


# 8c5d01ee 06-Jun-2007 mk <mk@openbsd.org>

Mechanical removal of USBBASEDEVICE. No binary change.

Tested by thib and myself.

ok mbalmer jsg


# 199dcf2b 06-Jun-2007 jsg <jsg@openbsd.org>

Shrink dmesg output. Tweaked version of a diff from tedu@
ok by a bunch of people


# 78315254 05-Jun-2007 mbalmer <mbalmer@openbsd.org>

Remove the "Static" declaration of many functions. It was defined to be empty
and it was not consistently used. It was confusing as it suggested these
functions were static, which they were not.

d

Remove the "Static" declaration of many functions. It was defined to be empty
and it was not consistently used. It was confusing as it suggested these
functions were static, which they were not.

discussed with dlg and jsg, ok jsg.

show more ...


# 1ed27a91 01-Jun-2007 mbalmer <mbalmer@openbsd.org>

Remove more Free(?)BSD and NetBSD #ifdef/#endifs. No functional nor
binary change.

ok jsg


# de5d9ff0 27-May-2007 jsg <jsg@openbsd.org>

Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed.
ok deraadt@ krw@ mbalmer@


# 695146ce 21-May-2007 jsg <jsg@openbsd.org>

Remove logprintf macro


# 71050707 22-Mar-2007 pascoe <pascoe@openbsd.org>

Reapplication of rev 1.36.

Wait the stable power delay on a USB hub only once per hub (not per port),
and defer the delay for root hubs until the host controller event thread
starts, permitting some

Reapplication of rev 1.36.

Wait the stable power delay on a USB hub only once per hub (not per port),
and defer the delay for root hubs until the host controller event thread
starts, permitting some concurrency. Speeds up the boot process dramatically
when you have lots of host controllers.

ok dlg@

show more ...


# 5c2c2405 18-Mar-2007 mglocker <mglocker@openbsd.org>

Backout pascoe@'s last USB change because it page faults at attachment
time.

Chris; Get your shiz fixed and tested for the next time. We have
better todo then wasting our time by backing out untest

Backout pascoe@'s last USB change because it page faults at attachment
time.

Chris; Get your shiz fixed and tested for the next time. We have
better todo then wasting our time by backing out untested stuff.

OK deraadt, OK ckuethe

show more ...


# 9c4bd334 18-Mar-2007 pascoe <pascoe@openbsd.org>

Wait the stable power delay on a USB hub only once per hub (not per port),
and defer the delay for root hubs until the host controller event thread
starts, permitting some concurrency. Speeds up the

Wait the stable power delay on a USB hub only once per hub (not per port),
and defer the delay for root hubs until the host controller event thread
starts, permitting some concurrency. Speeds up the boot process dramatically
when you have lots of host controllers.

ok dlg@

show more ...


# a75de095 26-Jun-2006 mjc <mjc@openbsd.org>

fix typos in debug messages
ok pascoe@


# 07aaebcc 23-Jun-2006 miod <miod@openbsd.org>

In a drivers activate() entry point, if on DVACT_DEACTIVATE it does
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP;
this very popular bug has been cut and pasted a lot of times

In a drivers activate() entry point, if on DVACT_DEACTIVATE it does
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP;
this very popular bug has been cut and pasted a lot of times...
ok deraadt@ mickey@

show more ...


# 71a5dfce 01-Aug-2005 brad <brad@openbsd.org>

Don't keep the devinfo string on the stack, instead use malloc/free.
This should cure some rare stack overflows.

From augustss NetBSD

ok dlg@ pascoe@


# c4bb3c67 28-Mar-2005 dlg <dlg@openbsd.org>

shorten dmesg

requested by deraadt@ ok pascoe@


# 6707536c 13-Mar-2005 pascoe <pascoe@openbsd.org>

Merge support for USB1 devices located beyond USB2 hubs, mostly from netbsd.

Supports bulk, control and interrupt pipes, letting USB1 keyboards and most
network interfaces work when connected to a U

Merge support for USB1 devices located beyond USB2 hubs, mostly from netbsd.

Supports bulk, control and interrupt pipes, letting USB1 keyboards and most
network interfaces work when connected to a USB2 hub.

ok dlg@

show more ...


# fd42a7d2 12-Dec-2004 dlg <dlg@openbsd.org>

get rid of uhub_reset_device


# dd5cdf49 12-Dec-2004 dlg <dlg@openbsd.org>

better way to do the reattachement of a device


# 2758cdfc 09-Dec-2004 dlg <dlg@openbsd.org>

code to let us cause a detach and reattach of a device from software

ok deraadt@


# 0964fbcc 11-Jul-2004 deraadt <deraadt@openbsd.org>

from netbsd via loki@animata.net, revision 1.68
Ignore a port error that happens to come in at the same time as a connect
status change. Some root hubs seem to report both.


# fb11a4d4 11-Jul-2004 deraadt <deraadt@openbsd.org>

from netbsd via loki@animata.net
uhub.c revision 1.65, ohci.c revision 1.146, uhci.c revision 1.177
Use the correct wValue to get hub desriptors.
Also, make wValue checks of root hub codes less stric

from netbsd via loki@animata.net
uhub.c revision 1.65, ohci.c revision 1.146, uhci.c revision 1.177
Use the correct wValue to get hub desriptors.
Also, make wValue checks of root hub codes less strict.

show more ...


# fcfe4ff8 08-Jul-2004 deraadt <deraadt@openbsd.org>

put "do { } while (0)" wrappers on all the debug maroc functions


1234