summaryrefslogtreecommitdiffstats
path: root/sys/dev/em/if_em.h
Commit message (Collapse)AuthorAgeFilesLines
* - Code cleanuppdeuskar2003-11-141-0/+1
| | | | | | | | - In the receive routine handle the case where last descriptor could have less than 4 bytes of data. - Handle race between detach/ioctl routine. MFC after: 3 days
* locking fixups:sam2003-10-101-2/+6
| | | | | | | | o correct recursive locking when polling and in em_82547_move_tail o destroy mutex on detach o add EM_LOCK_ASSERT and similar macros for creating+deleteing the mtx Submitted by: Daniel Eischen <eischen@vigrid.com>
* add lockingsam2003-09-231-2/+6
| | | | | Reviewed by: Prafulla Deuskar <pdeuskar@FreeBSD.ORG> Sponsored by: FreeBSD Foundation
* Add support for new devices.pdeuskar2003-08-271-12/+39
| | | | | | | | | | Bug Fixes: - Allow users to use LAA - Remember promiscuous mode settings while bridging - Allow gratuitous arp's to be sent PR: 52966/54488 MFC after: 1 week
* Prefer new location of pci include files (which have only been in theimp2003-08-221-2/+2
| | | | | tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
* Add facilities for tuning the "em" driver's interrupt delays withoutjdp2003-08-011-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | recompiling the driver. See the comments near the top of "if_em.h" for descriptions of these delays. Four new loader tunables control the system-wide default values: hw.em.tx_int_delay hw.em.rx_int_delay hw.em.tx_abs_int_delay hw.em.rx_abs_int_delay The tunables are specified in microseconds. The valid range is 0-67108 usec., and 0 means that the timer is disabled. There are also four new sysctls (actually, a set of four for each "em" device in the system) to query and change the interrupt delays after the system is up: hw.em0.tx_int_delay hw.em0.rx_int_delay hw.em0.tx_abs_int_delay (not present for 82542/3/4 adapters) hw.em0.rx_abs_int_delay (not present for 82542/3/4 adapters) It seems to be OK to change these values even while the adapter is passing traffic. Approved by: Prafulla Deuskar <pdeuskar@FreeBSD.ORG> MFC after: 4 weeks
* Correct comments to indicate that the EM_RADV and EM_TADV parametersjdp2003-07-171-2/+2
| | | | are not applicable to the 82544.
* The em(4) driver has been converted to busdma and doesn't usemux2003-07-041-5/+0
| | | | | vtophys() anymore, so remove the alpha hack which defines vtophys() to alpha_XXX_dmamap().
* Add support for Quad port adapterpdeuskar2003-06-051-5/+10
| | | | | | | | Add sysctl's to display statistics/debug_info Set WAIT_FOR_AUTONEG_DEFAULT to zero by default Increment packet in/out statistics inline instead of every two seconds. MFC after: 3 days
* - Fix breakage on PAE enabled kernelpdeuskar2003-05-031-1/+1
| | | | | | - Don't use vtophys when you can get physical address using bus_dma API Submitted by: jake (Jake Burkholder)
* - Bus DMA'fy the driverpdeuskar2003-05-021-1/+30
| | | | | | - Use htole* macros where appropriate so that the driver could work on non-x86 architectures - Use m_getcl() instead of MGETHDR/MCLGET macros Submitted by: sam (Sam Leffler)
* Added support for 82541 and 82547 based adapters.pdeuskar2003-03-211-30/+13
| | | | | | | - These have Intel gigabit PHY - 82547 uses CSA interface MFC after: 1 week
* - Move to array based indexing for TX/RX descriptor/buffer managementpdeuskar2002-12-231-48/+76
| | | | | | | | | - Added support for ITR (interrupt throttle register). This feature is available on adapters based on 82545 and above - Fixed problem with vlan support when traffic has priority bits set. (kern/45907) PR: kern/45907 MFC after: 1 week
* network interface driver changes:sam2002-11-141-0/+2
| | | | | | | | | | | | | | o don't strip the Ethernet header from inbound packets; pass packets up the stack intact (required significant changes to some drivers) o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN) o track ether_ifattach/ether_ifdetach API changes o track bpf changes (use BPF_TAP and BPF_MTAP) o track vlan changes (ifnet capabilities, revised processing scheme, etc.) o use if_input to pass packets "up" o call ether_ioctl for default handling of ioctls Reviewed by: many Approved by: re
* - Set RS (Report Status) bit on all descriptors of a packet instead of just ↵pdeuskar2002-11-081-19/+122
| | | | | | | | | | | the last one. - Set RDTR to zero by default instead of 28. - Fixed a problem with TX hangs with jumbo frames when number of fragments in the mbuf chain is large. - Added support for 82540EP based cards. MFC after: 3 days
* Corrected license in the source files. It should say "MUST" instead of "MAY".pdeuskar2002-09-241-20/+18
| | | | MFC after: 2 days
* Back out TX/RX descriptor/buffer management changes from earier commit.pdeuskar2002-08-261-30/+30
| | | | | | We are having panics with the driver under stress with jumbo frames. Unfortunately we didnot catch it during our regular test cycle. I am going to MFC the backout immediately.
* TX/RX descriptor/buffer management changes.pdeuskar2002-08-211-30/+30
| | | | | | | Use array based scheme instead of queueing macros. Submitted by: Luigi Rizzo (rizzo@icir.org) MFC after: 3 days
* - Use IO mode to reset the controller (82544 and beyond)pdeuskar2002-07-161-2/+2
| | | | | | | - Read the Mac address only once during attach. (This fixes the failover issue observed using the bonding driver) MFC after: 3 days
* Added support for 82545EM and 82546EB based adapters.pdeuskar2002-06-031-87/+90
| | | | | | Added Vlan support. MFC after: 1 week
* Added support for 82540EM based cards.pdeuskar2002-04-061-79/+46
| | | | | | Cosmetic changes to make code more unix-like. MFC after: 1 week
* - Added support for receive in multiplepdeuskar2002-02-131-145/+16
| | | | | | | | | descriptors. This simplifies code for jumbo frames. - Cleaned up coding conventions to make code more unix-like. - Cleaned up code in if_em_fxhw.c and if_em_phy.c. Added relevant comments. MFC after: 1 week
* -Remove unneeded include stddef.hpdeuskar2001-12-201-1/+0
| | | | | | | | -Modify modules Makefile so that em driver compiles only on i386 platform. (Alpha not supported yet) PR: kern/32993 MFC after: 1
* This is the first commit of the Intel gigabit driver forpdeuskar2001-12-021-0/+410
PRO/1000 cards. Submitted by:Prafulla Deuskar Reviewed by: Paul Saab MFC after:1 week
OpenPOWER on IntegriCloud