summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_upl.c
AgeCommit message (Collapse)Author
2007-10-11treat usb vendor/product names as a locator, and have usbd_print handle it,Theo de Raadt
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
2007-09-17remove unneeded malloc.h include.Federico G. Schwindt
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-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-12Remove the definition and use of the device_ptr_t which was a struct device *.Marc Balmer
No binary change. ok mk.
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-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-06Mechanical removal of USBBASEDEVICE. No binary change.Michael Knudsen
Tested by thib and myself. ok mbalmer jsg
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-01Remove more Free(?)BSD and NetBSD #ifdef/#endifs. No functional norMarc Balmer
binary change. ok jsg
2007-05-27Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed.Jonathan Gray
ok deraadt@ krw@ mbalmer@
2007-05-21Remove logprintf macroJonathan Gray
2007-02-11Remove _KERNEL_OPT leftovers.Miod Vallat
2006-06-23In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesMiod Vallat
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@
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
2006-03-07Remove last NRND NetBSDisms from tree.Kenneth R Westerback
ok deraadt@ brad@
2006-01-29Use usbd_clear_endpoint_stall_async() when clearing endpoint stalls inBrad Smith
an interrupt context. From NetBSD ok dlg@
2006-01-04Remove redundant calls to bpfdetach.Can Erkin Acar
ok brad@
2005-08-01Don't keep the devinfo string on the stack, instead use malloc/free.Brad Smith
This should cure some rare stack overflows. From augustss NetBSD ok dlg@ pascoe@
2005-07-02clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources.Brad Smith
2005-06-08remove netns crud.Henning Brauer
some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad
2004-11-10strncpy->strlcpyAlexander Yurchenko
ok henning@
2004-07-08put "do { } while (0)" wrappers on all the debug maroc functionsTheo de Raadt
2003-12-15Set devclass to DV_IFNET for all USB network drivers.Cedric Berger
ok deraadt@ nate@
2003-05-07string cleanup; nate okTheo de Raadt
2003-01-07remove the altq classifier code which is replaced by pf and no longer used.Kenjiro Cho
ok henning@, deraadt@
2002-07-29Make code more portableNathan Binkert
2002-07-25get rid of trailing whitespaceNathan Binkert
2002-06-30allocate sockaddr_dl for ifnet in if_alloc_sadl(), as we don't always knowJun-ichiro itojun Hagino
the size of sockaddr_dl on if_attach() - for instance, see ether_ifattach(). from netbsd. fgs ok
2002-06-26Kill __FUNCTION__.Marc Espie
2002-06-07use IF_INPUT macro for us as well.Federico G. Schwindt
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-03-12sync with KAMEKenjiro Cho
ALTQify more drivers. ok millert@
2001-10-31Synchronize usb code with NetBSD.Nathan Binkert
2001-06-15change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.Jun-ichiro itojun Hagino
follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific interfaces only). was: if_lastchange get updated on every packet transmission/receipt. now: if_lastchange get updated when IFF_UP is changed.
2001-02-20for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ okMichael Shalayeff
2001-01-28Add driver for Prolific PL2301/PL2302 host-to-host adapter. From NetBSD.Aaron Campbell
/* XXX - untested */ Note: just reminding myself that I need to create a nice diff for Lennart to further portablize the USB code (I fell behind in doing this). In particular, for this driver, the IF_INPUT() macro just does ether_input() in OpenBSD, but we really want to call the local upl_input() routine.