summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_cdce.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove the definition and use of the USBDEVNAME macro.mbalmer2007-06-101-25/+25
| | | | | | | (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.
* Remove the definition and use of the USBDEV macro. It only created confusionmbalmer2007-06-101-2/+2
| | | | | | | | and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg.
* Remove the definition and use of if_deactivate(). It was defined empty andmbalmer2007-06-091-2/+1
| | | | | | | | thus produced no code at all. No binary change. ok jsg.
* Remove the "Static" declaration of many functions. It was defined to be emptymbalmer2007-06-051-25/+25
| | | | | | | 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.
* Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed.jsg2007-05-271-19/+20
| | | | ok deraadt@ krw@ mbalmer@
* Remove Ether_ifattach macrojsg2007-05-211-2/+2
|
* laurence tratt says his cable mostly works with thistedu2007-04-051-1/+2
| | | | ok millert
* force usb to send a zero length packet on the end of usb packetsdrahn2007-02-231-2/+3
| | | | which happen to be a multple of 64 bytes, to indicate end of packet.
* iterate over the endpoints looking for appropriate interface descriptors todlg2007-01-221-5/+18
| | | | | | | | use. this makes my adsl modem and ckeuthes cable modem work. idea from freebsd, via a diff from Krystian Baniak
* another motorola device.drahn2006-11-281-1/+2
|
* another cdcederaadt2006-11-161-1/+2
|
* In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesmiod2006-06-231-2/+1
| | | | | | 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@
* Give up trying to communicate after 10 consecutive errors - the devicepascoe2006-05-301-2/+7
| | | | is most likely not coming back.
* Add support for multicast packets.pascoe2006-05-271-1/+11
| | | | ok dlg@
* allow bpf(4) to ignore packets based on their direction (inbound ordjm2006-03-251-4/+3
| | | | | outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
* i wish all new hardware was this easy to support. acer labs usb2 datadlg2006-03-241-1/+2
| | | | link cable seems happy. thanks to sevan janiyan for the gear.
* Fix kernel builds without bpfilter. Linking is still broken.damien2006-02-201-2/+2
| | | | "Please commit this diff ASAP" brad@
* Use usbd_clear_endpoint_stall_async() when clearing endpoint stalls inbrad2006-01-291-3/+3
| | | | | | | | an interrupt context. From NetBSD ok dlg@
* add new device.drahn2005-12-131-1/+2
|
* 2 more cdce devicesderaadt2005-09-291-1/+3
|
* Don't keep the devinfo string on the stack, instead use malloc/free.brad2005-08-011-4/+5
| | | | | | | | This should cure some rare stack overflows. From augustss NetBSD ok dlg@ pascoe@
* clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources.brad2005-07-021-3/+2
|
* align the buffer when it is allocated, rather than realign the data in itdlg2005-01-271-8/+4
| | | | | | | | | after we recieve it. the crc is little endian, so always transmit it in that byteorder. this lets me talk to a zaurus with a sparc64. ok drahn@
* Allow this to work on __STRICT_ALIGN archs, ok dhartmei@drahn2005-01-231-1/+8
|
* strncpy->strlcpygrange2004-11-101-2/+2
| | | | ok henning@
* don't need to set ifp->if_mtu or ifp->if_output in each driver,brad2004-09-231-2/+1
| | | | | | {ether,atm,fddi}_ifattach already does this. ok mcbride@ markus@ henning@
* spacingderaadt2004-07-211-7/+7
|
* use cdce_ prefix on crc32 function and table name to avoid conflicts,dhartmei2004-07-211-6/+6
| | | | suggested by mickey
* add crc32(), ether_crc32_[b|l]e() doesn't work here. should make it workdhartmei2004-07-211-2/+69
| | | | with Zaurus.
* Driver for USB CDC Ethernet devices (USB Host-to-Host), appearing asdhartmei2004-07-201-0/+759
network interfaces, transporting Ethernet, supporting Sharp Zaurus and Prolific PL-2501 (external cable). Written by Craig Boston based on code from Bill Paul. ok deraadt@