summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_axe.c
Commit message (Collapse)AuthorAgeFilesLines
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* Diff-reduction before merging if_axe to RELENG_4.rsm2004-12-081-1/+23
| | | | | Approved by: imp (mentor) MFC after: 1 week
* Add Sitecom's LN-029 USB 2.0 Ethernet adapter.iedowse2004-09-181-0/+1
|
* Use the USBD_FORCE_SHORT_XFER flag when setting up transmit transfers.iedowse2004-08-151-1/+2
| | | | | | | | | Without this, the device cannot detect the end of ethernet packets whose size is a multiple of the USB packat size. PR: kern/70474 Submitted by: Andrew Thompson <andy@fud.org.nz> MFC after: 1 week
* 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
* Add support System TALKS Inc. SGC-X2ULsanpei2004-07-181-0/+1
| | | | | PR: FreeBSD-users-jp/80137 Submitted by: HORIO Shinsuke <shin@happynet.co.jp>
* 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-25/+2
|
* Add missing <sys/module.h> includesphk2004-05-301-0/+1
|
* In axe_stop(), close the pipes before calling axe_reset(). axe_reset()iedowse2004-05-291-2/+2
| | | | | | | changes the device configuration index, which should not be done while there are pipes open. Debugged with help from: Luke Dean <LukeD@pobox.com>
* 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>
* Fix device ID for Linksys USB 2.0 10/100 ethernet controllersanpei2004-05-041-1/+1
| | | | | | (use LINKSYS2) Submitted by: takawata-san
* Add support Buffalo(MELCO) USB-Key Lan Adaptor(LUA-U2-KTX)sanpei2004-04-251-0/+1
| | | | Submitted by: KAWAI Kenichi <kawai.kenichi@canon.co.jp>
* Announce ethernet MAC addresss in ether_ifattach().mdodd2004-03-141-5/+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-17/+9
| | | | | | | 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).
* 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)
* 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.
* WARNING: white space diffjmg2003-07-041-1/+1
| | | | | | This code reduces the number of trailing white space to be more in line w/ NetBSD. I don't regenerate usbdevs, saving that for when it really changes.
* In the device attach routine, don't depend on uaa->iface beingwpaul2003-06-151-4/+23
| | | | | | | | | | | | | | populated. Apparently, if you use an ehci controller, it's not. Use usbd_device2interface_handle() to retrieve the interface handle. NOTE: uaa->iface is populated in the probe routine, so I suspect the fact that it's NULL in the attach routine is a bug in the ehci driver. Also, don't depend on the PHY addresses returned by the AXE_CMD_READ_PHYID command. The address is correct for my LinkSys NIC, but a user has reported that with a D-Link NIC, the PHYID command returns address 4 while the attached Broadcom PHY is in fact strapped for address 0. Instead, latch onto the first PHY address that returns valid data during a readreg operation.
* Add another product ID for if_axe and correct vendor ID descriptiontakawata2003-04-211-0/+1
| | | | | | | for Linksys USB200M.The USB vendor ID list is available from http://www.usb.org/app/pub/dump/comp_dump/ Reviewed by: wpaul
* Add support for the Netgear FA120 and the D-Link DUBE100 (AX88172-basedwpaul2003-04-201-0/+2
| | | | devices).
* Add device driver support for the ASIX Electronics AX88172 USB 2.0wpaul2003-04-201-0/+1192
ethernet controller. The driver has been tested with the LinkSys USB200M adapter. I know for a fact that there are other devices out there with this chip but don't have all the USB vendor/device IDs. Note: I'm not sure if this will force the driver to end up in the install kernel image or not. Special magic needs to be done to exclude it to keep the boot floppies from bloating again, someone please advise.
OpenPOWER on IntegriCloud