summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_cue.c
AgeCommit message (Collapse)Author
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@
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
2005-01-03- make sure int is in running state before touching the multicast filtersBrad Smith
- call foo_setmulti only instead of init'ing the chip - don't overwrite potential error return with success when calling ether_addmulti/ether_delmulti ok dlg@
2004-11-10strncpy->strlcpyAlexander Yurchenko
ok henning@
2004-09-23don't need to set ifp->if_mtu or ifp->if_output in each driver,Brad Smith
{ether,atm,fddi}_ifattach already does this. ok mcbride@ markus@ henning@
2004-07-08put "do { } while (0)" wrappers on all the debug maroc functionsTheo de Raadt
2004-06-06Multicast cleanupsRyan Thomas McBride
- make multicast ranges work - replace handrolled crc code with ether_crc32_{be,le}() - add missing calls to ether_{add,del}multi() ok deraadt@
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
2002-07-25update $NetBSD$ tagsNathan Binkert
2002-07-25get rid of trailing whitespaceNathan Binkert
2002-07-10shorten address printoutTheo de Raadt
2002-07-09Sync Id string with NetBSDNathan Binkert
2002-06-26Kill __FUNCTION__.Marc Espie
2002-05-06Sync with NetBSDNathan Binkert
2001-10-31Synchronize usb code with NetBSD.Nathan Binkert
2001-07-08Don't set up ifq_maxlen manually for drivers that uses IFQ_MAXLENFederico G. Schwindt
(or ifqmaxlen); it's done in if_attach() now. No future drivers needs to set up this anymore unless they want to use something else.
2001-06-27ALTQ'ify network drivers.Kenjiro Cho
- use the new queue macros. - use IFQ_POLL() to peek at the next packet. - use IFQ_IS_EMPTY() for empty check. - drivers should always check if (m == NULL) after IFQ_DEQUEUE(), since it could return NULL even when IFQ_IS_EMPTY() is FALSE under rate-limiting. - drivers are supposed to call if_start from tx complete interrupts (in order to trigger the next dequeue under rate-limiting).
2001-05-03Sync with NetBSD. Tested with a USB keyboard, USB mouse, and three differentAaron Campbell
kue(4) Ethernet devices.
2001-02-20for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ okMichael Shalayeff
2001-01-25spellingTodd T. Fries
2000-07-04sync with NetBSD... well almost. someone w/ the hw should check umass.Federico G. Schwindt
2000-04-23Save ethernet address in arpcom.ac_enaddr. -mojMats O Jansson
2000-04-04Sync with NetBSD.Aaron Campbell
2000-03-30Sync with NetBSD. USB Ethernet drivers should work now.Aaron Campbell
2000-03-28Much cleaner sync with NetBSD. Some #if defined() magic has been sent in theAaron Campbell
form of a diff to augustss@netbsd.org so that future syncs will be very easy. This commit also adds support for ADMtek AN986 "Pegasus" based USB Ethernet, CATC USB-EL1210A based USB Ethernet, and USB Printers (all untested).