summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_em.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* For 82544 and newer chips increase the number of TX descriptors to 512.brad2006-02-221-4/+11
|
* If there is no link then set IFM_NONE so ifconfig will show a mediabrad2006-02-171-2/+4
| | | | status of (none) whether in auto or forced speed/duplex mode.
* - simplify link state handling code.brad2006-02-171-31/+6
| | | | | | | | - update interface baud rate properly so userland programs such as a SNMP daemon or bgpctl/ospfctl for example will display the correct interface speed instead of always saying 1 Gbps. From FreeBSD
* be gone whitespace.brad2006-02-151-16/+16
|
* fix a typo in em_clean_transmit_interrupts() that will cause thebrad2006-02-101-2/+2
| | | | | | | | | watchdog timer to fire if the TX descriptor ring is emptied for EM_TX_TIMEOUT seconds. The same bug exists in ixgb(4) too. From FreeSBD
* remove unnecessary link state check in the watchdog handler.brad2006-02-101-3/+1
|
* a little cleaning.brad2006-01-281-26/+22
|
* Only update the RX ring consumer pointer after running through the RX loop,brad2006-01-141-4/+5
| | | | | | not with each iteration through the loop. From FreeBSD
* add a shutdown function and register it with shutdownhook_establish().brad2005-12-101-1/+17
|
* remove a bit of unused code.brad2005-12-101-4/+1
| | | | | Pointed out by Andrey Matveev <evol at online dot ptt dot ru> through noticing a missing splx which pointed out the fact that code is unused to me.
* On the 82571 and newer chipset the ICR register is meaningful onlybrad2005-12-041-2/+5
| | | | | | if the E1000_ICR_INT_ASSERTED bit is set. From FreeBSD
* back out last change, caused me panics on jumbo packets, ok deraadt@wilfried2005-11-281-2/+4
|
* Since reception of Jumbo frames is enabled by default; ensure properbrad2005-11-271-4/+2
| | | | | alignment with m_adj() in em_get_buf() whether the MTU is bumped higher or not.
* set Ethernet flow control parameters in em_hardware_init()brad2005-11-261-11/+25
| | | | after the PBA size has been set.
* a whole lot of spaces to tabs, KNF and some other cleaning.brad2005-11-191-178/+136
|
* PCIX -> PCI-X in a few commentsbrad2005-11-181-3/+3
|
* Use bus_addr_t for address in em_fill_descriptors().brad2005-11-181-3/+3
|
* fix wrong htole usage in the 82544 PCI-X workaround codepath in em_encap().brad2005-11-181-7/+4
| | | | From FreeBSD
* revert part of rev 1.45 ..brad2005-11-181-14/+4
| | | | | | | | | - Modify the caller of em_encap() to detect a NULL m_head and not try to queue the mbuf if that happens. which was in preparation for a software-based workaround for a HW VLAN tagging issue, but due to a HW limitation with tagging, we cannot use HW VLAN tagging at all.
* remove braces and fix indenting here so its easier to read.brad2005-11-151-4/+3
|
* re-add comment which is still valid for em_print_hw_stats().brad2005-11-141-1/+8
|
* remove unused em_print_debug_info() function.brad2005-11-141-49/+1
|
* remove unused HW VLAN tagging support which cannot be used due to HW limitations.brad2005-11-141-21/+2
| | | | ok dlg@
* - Introduce two more stat counters, counting number of RXbrad2005-11-131-21/+27
| | | | | | | | | | | | | overruns and number of watchdog timeouts. - Do not increase if->if_oerrors in em_watchdog(), since this leads to counter slipping back, when if->if_oerrors is recalculated in em_update_stats_counters(). Instead increase watchdog counter in em_watchdog() and take it into account in em_update_stats_counters(). From glebius FreeBSD ok dlg@
* Sync up to Intel's latest FreeBSD em driver (3.2.18). A few fixesbrad2005-11-081-2/+2
| | | | | | for the new PCI Express chips. From: Intel's web-site
* don't bother setting error in em_attach() since it'sbrad2005-11-041-8/+1
| | | | not being used anyway.
* add missing bus_dmamap_sync()'s, much closer to working on hppabrad2005-10-261-7/+16
| | | | | | | | though it still falls over with NFS builds. From: FreeBSD ok deraadt@
* Revamp interrupt handling in em(4) driver:brad2005-10-241-22/+30
| | | | | | | | | | | | | | | o Do not mask the RX overrun interrupt. o Rewrite em_intr(): - Axe EM_MAX_INTR. - Cycle acknowledging interrupts and processing packets until zero interrupt cause register is read. - If RX overrun comes in log this fact. From glebius FreeBSD ok krw@ beck@
* Remove unused global adapter linked list.brad2005-10-211-12/+1
| | | | From FreeBSD
* In em_process_receive_interrupts() cycle check IFF_RUNNING flag.brad2005-10-211-2/+4
|
* While in em_process_receive_interrupts() processing the packet em_init()brad2005-10-161-15/+21
| | | | | | | | | | | | may be called (either from em_watchdog() from softclock interrupt or from ifconfig). em_init() resets the card, in particular it sets sc->next_rx_desc_to_check to 0 and resets hardware RX Head and Tail descriptor pointers. The loop in em_process_receive_interrupts() does not expect these things to change, and a mess may result. >From glebius FreeBSD ok krw@
* - put spl's right in the code and remove the macrosbrad2005-10-151-48/+28
| | | | | - remove splassert()'s - remove empty bus_dma_tag_destroy macro from code and header
* sort PCI idsbrad2005-10-151-4/+4
|
* - use correct size when setting hw.max_frame_size for non PCI-E cardsbrad2005-10-101-4/+4
| | | | - ethernet -> Ethernet
* remove colon after "address" when printing the MAC address.brad2005-10-091-2/+2
|
* fix spl usage in em_init().brad2005-10-081-11/+12
|
* - return from em_start() if not IFF_RUNNING.brad2005-10-081-42/+26
| | | | | | | | - remove unnecessary em_start_locked()/em_init_locked(). - remove unnecessary spl usage in em_start(). - fix spl usage in em_ioctl(). ok krw@
* Sync up to Intel's latest FreeBSD em driver which addsbrad2005-10-071-58/+86
| | | | | | | | support for the 82571 and 82572 PCI Express chips. From: Intel's web-site ok krw@ pedro@ deraadt@
* spaces vs tabbrad2005-10-021-19/+19
|
* remove return at the end of void function.brad2005-10-011-50/+1
|
* whitespace removal and KNFbrad2005-09-101-5/+5
|
* do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in pcisubmatch(); kettenis@ testing; brad@ okmickey2005-08-091-10/+1
|
* move headers and remove some FreeBSD specific stuff.brad2005-07-161-42/+1
|
* fix support for interrupt mitigation.brad2005-07-161-21/+10
| | | | ok nate@
* remove white space and fix formatting for readability.brad2005-07-131-4/+3
|
* check ETHERMIN and stop calling em_init_locked() from SIOCSIFMTU ioctl.brad2005-07-071-6/+4
|
* include CRCbrad2005-07-031-2/+2
|
* no need for HW VLAN tag removal so clean up some code.brad2005-07-031-46/+3
|
* clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources.brad2005-07-021-3/+4
|
* syncderaadt2005-07-021-18/+18
|