summaryrefslogtreecommitdiff
path: root/sys/dev/usb
AgeCommit message (Collapse)Author
2007-06-29respect timeouts. prompted by freebsd pr110122, but also proplerlyHenning Brauer
calculate the timeout. help & ok jsg
2007-06-26Alignment fixes from mickey.Jonathan Gray
2007-06-22Regen.Alexander Yurchenko
2007-06-22Add vendor/product HUMAX/PVR-SMART for jmc@.Alexander Yurchenko
2007-06-19attach to the novatel ES620 found in the oqo model 2 w/sprint cardjoshua stein
2007-06-19regenjoshua stein
2007-06-19novatel ES620 CDMA modem found in the oqo model 2joshua stein
2007-06-19KNF after the recent macro expansion, mostly prototype indendation.Marc Balmer
No binary change. ok uwe.
2007-06-18KNF after macro removals, no binary change.Marc Balmer
ok dlg.
2007-06-18KNF, especially re-indent prototypes. No binary change.Marc Balmer
ok dlg.
2007-06-18Use the right interface id when iterating over the control interfaceMarc Balmer
endpoints. bug found and patch provided by Marc Winiger <mw@msys.ch>. ok dlg.
2007-06-17No longer include usb_port.h, all macros have been converted to their CMarc Balmer
counterparts. Revert usb_port.h to it's original form with all the macro definitions to ease the import of new drivers from other BSDs. after discussion with deraadt; feedback from mk, miod, jsg, dlg. ok dlg.
2007-06-15Replace the USB_USE_SOFTINTR macro with __HAVE_GENERIC_SOFT_INTTERUPTSMarc Balmer
(which was used to define USB_USE_SOFTINTR). No binary changes. ok dlg, mk.
2007-06-15more (*&@#$ timeout.h falloutTheo de Raadt
2007-06-14unbreak tree after untested timeout.h deletionsTheo de Raadt
2007-06-14Move the mstohz macro out of ubs_port.h and to the three places where it isMarc Balmer
used. ok jsg.
2007-06-14Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS andMarc Balmer
USB_DECLARE_DRIVER macros. No binary change. ok dlg.
2007-06-14Move four #defines out of usb_port.h and to the places where they are used.Marc Balmer
ok jsg.
2007-06-14Move the inclusion of sys/timeout.h from usb_port.h to the drivers thatMarc Balmer
need it. If a USB driver uses timeout(9) functions, the header file sys/timeout.h must be included. Tested by me (i386, macppc, sparc64), ckuethe (amd64), & todd (sparc, zaurus). ok dlg.
2007-06-13Remove the definition and (single) use of the DECLARE_USB_DMA_T macro.Marc Balmer
No binary change. ok dlg.
2007-06-13Remove the definition and usage of the IF_INPUT macro which was definedMarc Balmer
as ether_input_mbuf which is itself a macro for ether_input. No binary change. ok dlg.
2007-06-13Remove the definition and use of umass/umass_quirks related macros.Marc Balmer
No binary change. ok dlg.
2007-06-13Remove the defintion and use of some byteswap macros.Marc Balmer
No binary change. ok dlg.
2007-06-13Apply some KNF after the recent removal of macros and type definitions.Marc Balmer
No binary change. ok ray.
2007-06-12Remove the definition and use of the device_ptr_t which was a struct device *.Marc Balmer
No binary change. ok mk.
2007-06-11Remove the usb_proc_ptr type definition, which was really a 'struct proc *'Marc Balmer
only. No binary change. ok mk.
2007-06-11Remove the USB_GET_SC_OPEN macro. There is a double check for sc == NULL inMarc Balmer
ulpt.c, I am aware of that and it will be changed later. No binary change. ok mk.
2007-06-11Remove the definition and use of the USB_GET_SC macro, no binary change.Marc Balmer
ok mk.
2007-06-11More USB cleanup: In usb_port.h, get rid of the sel_klist #defineMichael Knudsen
(which was there twice without gcc complaining) and update all uses of it. ok jsg mbalmer
2007-06-11Remove the definiton and usage of the USB_DO_ATTACH macro. It was a wrapperMarc Balmer
around a single function only and it did not even use all of it's arguments. ok jsg.
2007-06-11Remove the definition and usage of the USBGETSOFTC macro, which was reallyMarc Balmer
only a cast to (void *). ok jsg.
2007-06-11usbd_devinfo_alloc() uses M_WAITOK so don't check return value.Jonathan Gray
From Karl Sjödahl <dunceor@gmail.com>
2007-06-10Get rid of the USBDEVPTRNAME macro.Marc Balmer
No binary change. ok jsg.
2007-06-10Remove the definition and use of USBDEVUNIT.Marc Balmer
ok jsg.
2007-06-10Remove the definition and use of the USBDEVNAME macro.Marc Balmer
(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.
2007-06-10Remove the definition and use of the USBDEV macro. It only created confusionMarc Balmer
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg.
2007-06-10Remove definitions and usage of usb_callout and related macros. These macrosMarc Balmer
were used as a layer of confusion^Wabstraction around the timeout(9) API. No binary change. ok jsg.
2007-06-10Do not turn on debugging in most/all drivers when USB_DEBUG is defined.Marc Balmer
Debugging code must be turned on selectively, e.g. by defining UDCF_DEBUG. idea from and ok jsg.
2007-06-09This information is redundant. Remove the list of files.Marc Balmer
suggested by and ok jsg.
2007-06-09Remove the definition and use of if_deactivate(). It was defined empty andMarc Balmer
thus produced no code at all. No binary change. ok jsg.
2007-06-09Add a CVS marker.Marc Balmer
ok jsg
2007-06-09Remove the definition and use of usb_malloc_type which is really int.Marc Balmer
While here, reindent the function prototypes in usbdi_util.h No binary change. ok jsg
2007-06-09Remove the definition and use of UPACKED and replace it with our own __packedMarc Balmer
(to which UPACKED was define'd before anway). No binary change, just one layer of confusion less in the sourcecode. ok jsg
2007-06-09re-indent prototypes after "Static" removal.Damien Bergamini
no binary change.
2007-06-06Mechanical removal of USBBASEDEVICE. No binary change.Michael Knudsen
Tested by thib and myself. ok mbalmer jsg
2007-06-06Shrink dmesg output. Tweaked version of a diff from tedu@Jonathan Gray
ok by a bunch of people
2007-06-05Remove the "Static" declaration of many functions. It was defined to be emptyMarc Balmer
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.
2007-06-04Forgot this in my last committ.Marc Balmer
2007-06-04Last part of FreeBSD/NetBSD sepcific code removal.Marc Balmer
ok jsg@
2007-06-03syncDamien Miller