summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_subr.c
AgeCommit message (Expand)Author
2008-05-19do not leak memory if there is no power source. code is ifdef USB_DEBUG.Federico G. Schwindt
2008-05-19try a few times before giving up while getting the device descriptor. ifFederico G. Schwindt
2007-11-04improve/repair locator printing; ok jsgTheo de Raadt
2007-10-11treat usb vendor/product names as a locator, and have usbd_print handle it,Theo de Raadt
2007-10-11serialize usbd_probe_and_attach(); only let one usb device be match'd andTheo de Raadt
2007-10-06Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal,Kenneth R Westerback
2007-09-11KNFGilles Chehade
2007-09-09add string length arguments to some functions, and do not copy a stringTheo de Raadt
2007-09-09more M_ZERO conversions; ok krw@.Federico G. Schwindt
2007-07-21no need to say in two ways "a set of usb devices went away"; ok by a fewTheo de Raadt
2007-06-12Remove the definition and use of the device_ptr_t which was a struct device *.Marc Balmer
2007-06-11Remove the definiton and usage of the USB_DO_ATTACH macro. It was a wrapperMarc Balmer
2007-06-10Get rid of the USBDEVPTRNAME macro.Marc Balmer
2007-06-10Remove the definition and use of USBDEVUNIT.Marc Balmer
2007-06-10Remove the definition and use of the USBDEVNAME macro.Marc Balmer
2007-06-05Remove the "Static" declaration of many functions. It was defined to be emptyMarc Balmer
2007-06-03delete two extra lines which are not needed because that is how stringsTheo de Raadt
2007-05-21Remove logprintf macroJonathan Gray
2007-02-28place types needed by usbdevs_data.h, directly into that file so that itTheo de Raadt
2006-07-17Prefer malloc over the stack for an array of 256 pointers. ok dlg@Miod Vallat
2006-07-16some knf, no binary changeDavid Gwynne
2006-07-16get rid of ifdef __OtherBSD__ cruftDavid Gwynne
2006-06-26fix typos in debug messagesMichael Coulter
2006-05-31Save and restore the data toggle value when a pipe to an endpointChristopher Pascoe
2006-05-01Zero the memory allocated for subdevs[], preventing a quick trip toKenneth R Westerback
2005-11-21Move contents of sys/select.h to sys/selinfo.h in preparation for aTodd C. Miller
2005-10-17Store the usb device names and vendors in more compact structures.Dale Rahn
2005-10-10Don't clear possibly non-existant stall condition while setting up theKenneth R Westerback
2005-08-01Don't keep the devinfo string on the stack, instead use malloc/free.Brad Smith
2005-07-18remove trailing newline in panic(9); ok millert@ and deraadt@Federico G. Schwindt
2005-04-21Relocate debugging printf so it describes the right thing.Christopher Pascoe
2005-04-16use snprintf to avoid crossing the overflow point; ok ottoTheo de Raadt
2005-04-16change usbd_printBCD() to return number of bytes really placed or 0, notTheo de Raadt
2005-03-13Merge support for USB1 devices located beyond USB2 hubs, mostly from netbsd.Christopher Pascoe
2004-12-12backout the original method of reattaching a usb device now that we haveDavid Gwynne
2004-11-08ugly ugly hack to allow a usb device to do a full reset of the port duringDavid Gwynne
2004-11-02fix getting strings off a device which broke with the removal of theDavid Gwynne
2004-10-31from netbsd via freebsd via jsg@David Gwynne
2004-08-30Remove 'usb_'realloc() usage because it doesn't know the size of the oldDale Rahn
2004-07-08put "do { } while (0)" wrappers on all the debug maroc functionsTheo de Raadt
2003-07-08Sync USB code with NetBSD.Nathan Binkert
2003-05-18try a little harder to attach devices that are really slowNathan Binkert
2003-05-07string cleanup; nate okTheo de Raadt
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2002-07-25get rid of trailing whitespaceNathan Binkert
2002-05-07Meant to commit only ulpt and committed everything. Most things weren't readyNathan Binkert
2002-05-07Sync ulpt driver with NetBSDNathan Binkert
2002-05-02prefix structure members to avoid name clashes.Nathan Binkert
2001-10-31Synchronize usb code with NetBSD.Nathan Binkert
2001-03-22contify usbdevs a littleMichael Shalayeff