summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_rue.c
Commit message (Collapse)AuthorAgeFilesLines
* Mark USB ethernet devices as IFF_NEEDSGIANT, since the USB frameworkrwatson2004-08-111-1/+2
| | | | | | | | | if_start routines cannot currently be entered without Giant. When the kernel is running with debug.mpsafenet != 0, this will defer if_start execution to a task queue thread holding Giant, which may introduce additional latency, but avoid incorrect execution. Suggested by: dfr
* MFp4: First batch of dev/usb/usbdevs.h -> usbdevs.h changes.imp2004-06-271-1/+1
|
* Replace handrolled CRC calculation with ether_crc32_[lb]e().naddy2004-06-091-29/+2
|
* Add missing <sys/module.h> includesphk2004-05-301-0/+1
|
* We don't need to initialize if_output, ether_ifattach() does itmux2004-05-231-1/+0
| | | | for us.
* Replace the static "qdat" structure with a per-instance softc fieldiedowse2004-05-231-5/+3
| | | | | | | | | | | | | in all USB ethernet drivers. The qdat structure contains a pointer to the interface's struct ifnet and is used to process incoming packets, so simultaneous use of two similar devices caused crashes and confusion. The if_udav driver appeared in the tree since Daan's PR, so I made similar changes to that driver too. PR: kern/59290 Submitted by: Daan Vreeken <Danovitsch@Vitsch.net>
* Use the correct flag for mbuf allocations (M_DONTWAIT, not M_NOWAIT).iedowse2004-04-061-2/+2
|
* Announce ethernet MAC addresss in ether_ifattach().mdodd2004-03-141-3/+0
|
* Don't use caddr_t in mchash(). Also use C99 spellings over BSD ones.obrien2003-12-081-6/+6
| | | | Requested by: bde,imp
* Try to create some sort of consistency in how the routings to find theobrien2003-11-131-12/+10
| | | | | | | multicast hash are written. There are still two distinct algorithms used, and there actually isn't any reason each driver should have its own copy of this function as they could all share one copy of it (if it grew an additional argument).
* It is obivous this started out as a copy of a Bill Paul driver so he hasobrien2003-11-131-0/+30
| | | | | a copyright on this driver as well. Bill uses a 4-clause BSDL, so we need to add a complete copy of Bill's copyright.
* Replace the if_name and if_unit members of struct ifnet with new membersbrooks2003-10-311-2/+1
| | | | | | | | | | | | | if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance. This change paves the way for interface renaming and enhanced pseudo device creation and configuration symantics. Approved By: re (in principle) Reviewed By: njl, imp Tested On: i386, amd64, sparc64 Obtained From: NetBSD (if_xname)
* Make it easier to run this code on RELENG_4.joe2003-10-041-1/+23
| | | | Submitted by: luoqi
* Use __FBSDID().obrien2003-08-241-1/+3
| | | | Also some minor style cleanups.
* add missing machine/bus.h headers that are now necessary because of thejmg2003-07-161-0/+1
| | | | bus_dma addition.
* Add RealTek RTL8150 USB to fast Ethernet controller driver.akiyama2003-05-031-0/+1477
This driver now supports the Melco LUA-KTX and the GREEN HOUSE GH-USB100B. Reviewed by: imp MFC after: 2 weeks
OpenPOWER on IntegriCloud