Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-04 | Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it. | Mark Kettenis | |
ok jsing@, miod@ | |||
2009-10-13 | Get rid of devact enum, substitute it with an int and coresponding defines. | Paul Irofti | |
This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@. | |||
2008-06-26 | First pass at removing clauses 3 and 4 from NetBSD licenses. | Ray Lai | |
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | |||
2007-06-17 | No longer include usb_port.h, all macros have been converted to their C | Marc 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-15 | Replace the USB_USE_SOFTINTR macro with __HAVE_GENERIC_SOFT_INTTERUPTS | Marc Balmer | |
(which was used to define USB_USE_SOFTINTR). No binary changes. ok dlg, mk. | |||
2007-06-14 | Move the mstohz macro out of ubs_port.h and to the three places where it is | Marc Balmer | |
used. ok jsg. | |||
2007-06-14 | Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS and | Marc Balmer | |
USB_DECLARE_DRIVER macros. No binary change. ok dlg. | |||
2007-06-14 | Move four #defines out of usb_port.h and to the places where they are used. | Marc Balmer | |
ok jsg. | |||
2007-06-14 | Move the inclusion of sys/timeout.h from usb_port.h to the drivers that | Marc 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-13 | Remove the definition and (single) use of the DECLARE_USB_DMA_T macro. | Marc Balmer | |
No binary change. ok dlg. | |||
2007-06-13 | Remove the definition and usage of the IF_INPUT macro which was defined | Marc Balmer | |
as ether_input_mbuf which is itself a macro for ether_input. No binary change. ok dlg. | |||
2007-06-13 | Remove the definition and use of umass/umass_quirks related macros. | Marc Balmer | |
No binary change. ok dlg. | |||
2007-06-13 | Remove the defintion and use of some byteswap macros. | Marc Balmer | |
No binary change. ok dlg. | |||
2007-06-12 | Remove the definition and use of the device_ptr_t which was a struct device *. | Marc Balmer | |
No binary change. ok mk. | |||
2007-06-11 | Remove the usb_proc_ptr type definition, which was really a 'struct proc *' | Marc Balmer | |
only. No binary change. ok mk. | |||
2007-06-11 | Remove the USB_GET_SC_OPEN macro. There is a double check for sc == NULL in | Marc Balmer | |
ulpt.c, I am aware of that and it will be changed later. No binary change. ok mk. | |||
2007-06-11 | Remove the definition and use of the USB_GET_SC macro, no binary change. | Marc Balmer | |
ok mk. | |||
2007-06-11 | More USB cleanup: In usb_port.h, get rid of the sel_klist #define | Michael Knudsen | |
(which was there twice without gcc complaining) and update all uses of it. ok jsg mbalmer | |||
2007-06-11 | Remove the definiton and usage of the USB_DO_ATTACH macro. It was a wrapper | Marc Balmer | |
around a single function only and it did not even use all of it's arguments. ok jsg. | |||
2007-06-11 | Remove the definition and usage of the USBGETSOFTC macro, which was really | Marc Balmer | |
only a cast to (void *). ok jsg. | |||
2007-06-10 | Get rid of the USBDEVPTRNAME macro. | Marc Balmer | |
No binary change. ok jsg. | |||
2007-06-10 | Remove the definition and use of USBDEVUNIT. | Marc Balmer | |
ok jsg. | |||
2007-06-10 | Remove 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-10 | Remove the definition and use of the USBDEV macro. It only created confusion | Marc Balmer | |
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg. | |||
2007-06-10 | Remove definitions and usage of usb_callout and related macros. These macros | Marc Balmer | |
were used as a layer of confusion^Wabstraction around the timeout(9) API. No binary change. ok jsg. | |||
2007-06-10 | Do 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-09 | Remove the definition and use of if_deactivate(). It was defined empty and | Marc Balmer | |
thus produced no code at all. No binary change. ok jsg. | |||
2007-06-09 | Remove 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-06 | Mechanical removal of USBBASEDEVICE. No binary change. | Michael Knudsen | |
Tested by thib and myself. ok mbalmer jsg | |||
2007-06-05 | Remove the "Static" declaration of many functions. It was defined to be empty | Marc 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-05-29 | set UDCF_DEBUG to 1 when USB_DEBUG is defined. | Marc Balmer | |
ok mjc | |||
2007-05-27 | Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed. | Jonathan Gray | |
ok deraadt@ krw@ mbalmer@ | |||
2007-05-21 | Remove le{16,32}toh macros | Jonathan Gray | |
2007-05-21 | Remove logprintf macro | Jonathan Gray | |
2007-05-21 | Remove Ether_ifattach macro | Jonathan Gray | |
2007-05-21 | Remove unused bswap{16,32} macros | Jonathan Gray | |
2007-05-20 | Convert ehci and ucom to rwlock. | Jonathan Gray | |
Kill the usb specific lockmgr wrapper as nothing uses it now. ok thib@ | |||
2006-09-18 | get rid of the usb_port.h macros that wrap our kthread create functions. | David Gwynne | |
looks ok pascoe@ | |||
2006-04-23 | remove all the compat stuff for the otherbsds. this is openbsd, i prefer | David Gwynne | |
reading openbsd code when im working in the openbsd source tree. this makes the file immediately less confusing since you can search for a macro and see how its implemented on openbsd without having to figure out if you're in the netbsd or freebsd chunk first. "no problem with me" deraadt@ | |||
2005-11-19 | Remove unnecessary lockmgr() archaism that was costing too much in terms | Pedro Martelletto | |
of panics and bugfixes. Access curproc directly, do not expect a process pointer as an argument. Should fix many "process context required" bugs. Incentive and okay millert@, okay marc@. Various testing, thanks. | |||
2005-09-26 | Enable the USB softintr code on platforms which __HAVE_GENERIC_SOFTINTERRUPTS. | Miod Vallat | |
go ahead deraadt@ | |||
2005-06-17 | uipaq/ucom support; written by isis@www.cs.umd.edu | Theo de Raadt | |
2005-06-02 | Eradicate USB quirks NOTUR and NODOORLOCK. Should no longer be | Kenneth R Westerback | |
required and no actual users of the relevant devices found. ok marco@ | |||
2005-05-25 | PQUIK_NOMODESENSE no longer does anything, and PQUIRK_NOBIGMODESENSE was | Kenneth R Westerback | |
defined to be 0. Expunge references. Null entries in quirks table will be removed later. | |||
2004-12-26 | strored -> stored | Miod Vallat | |
2004-12-12 | backout the original method of reattaching a usb device now that we have | David Gwynne | |
something better and more flexible to use. | |||
2004-11-23 | Create the init process earlier, before the root filesystem is mounted, | Miod Vallat | |
and have it stall on a semaphore. This allows all kthread creations which could have been requested during autoconf to be processed before root is mounted as well. This causes umass devices attached to any usb with flags 1 (such as on macppc) to configure properly instead of panicing the kernel at mountroot time. From NetBSD; tested by various. | |||
2004-11-08 | ugly ugly hack to allow a usb device to do a full reset of the port during | David Gwynne | |
attach. this is required by atu (atmel based usb wireless) devices. something better will be done, but we need it for now to work on atu. ok deraadt@ | |||
2004-10-05 | Port of NetBSD's udav driver for Davicom USB DM960 based Ethernet. | Jonathan Gray | |
Thanks to Mark Uemura for donating several of these adapters. Tested by and ok deraadt@ | |||
2004-08-30 | Remove 'usb_'realloc() usage because it doesn't know the size of the old | Dale Rahn | |
buffer, thus may copy too much, causing a memory fault. ok millert, dlg, henning, tdeval, otto |