Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | For 82544 and newer chips increase the number of TX descriptors to 512. | 2006-02-22 | 1 | -4/+11 | ||
| | ||||||
* | If there is no link then set IFM_NONE so ifconfig will show a media | 2006-02-17 | 1 | -2/+4 | ||
| | | | | status of (none) whether in auto or forced speed/duplex mode. | |||||
* | - simplify link state handling code. | 2006-02-17 | 1 | -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. | 2006-02-15 | 1 | -16/+16 | ||
| | ||||||
* | fix a typo in em_clean_transmit_interrupts() that will cause the | 2006-02-10 | 1 | -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. | 2006-02-10 | 1 | -3/+1 | ||
| | ||||||
* | a little cleaning. | 2006-01-28 | 1 | -26/+22 | ||
| | ||||||
* | Only update the RX ring consumer pointer after running through the RX loop, | 2006-01-14 | 1 | -4/+5 | ||
| | | | | | | not with each iteration through the loop. From FreeBSD | |||||
* | add a shutdown function and register it with shutdownhook_establish(). | 2005-12-10 | 1 | -1/+17 | ||
| | ||||||
* | remove a bit of unused code. | 2005-12-10 | 1 | -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 only | 2005-12-04 | 1 | -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@ | 2005-11-28 | 1 | -2/+4 | ||
| | ||||||
* | Since reception of Jumbo frames is enabled by default; ensure proper | 2005-11-27 | 1 | -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() | 2005-11-26 | 1 | -11/+25 | ||
| | | | | after the PBA size has been set. | |||||
* | a whole lot of spaces to tabs, KNF and some other cleaning. | 2005-11-19 | 1 | -178/+136 | ||
| | ||||||
* | PCIX -> PCI-X in a few comments | 2005-11-18 | 1 | -3/+3 | ||
| | ||||||
* | Use bus_addr_t for address in em_fill_descriptors(). | 2005-11-18 | 1 | -3/+3 | ||
| | ||||||
* | fix wrong htole usage in the 82544 PCI-X workaround codepath in em_encap(). | 2005-11-18 | 1 | -7/+4 | ||
| | | | | From FreeBSD | |||||
* | revert part of rev 1.45 .. | 2005-11-18 | 1 | -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. | 2005-11-15 | 1 | -4/+3 | ||
| | ||||||
* | re-add comment which is still valid for em_print_hw_stats(). | 2005-11-14 | 1 | -1/+8 | ||
| | ||||||
* | remove unused em_print_debug_info() function. | 2005-11-14 | 1 | -49/+1 | ||
| | ||||||
* | remove unused HW VLAN tagging support which cannot be used due to HW limitations. | 2005-11-14 | 1 | -21/+2 | ||
| | | | | ok dlg@ | |||||
* | - Introduce two more stat counters, counting number of RX | 2005-11-13 | 1 | -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 fixes | 2005-11-08 | 1 | -2/+2 | ||
| | | | | | | for the new PCI Express chips. From: Intel's web-site | |||||
* | don't bother setting error in em_attach() since it's | 2005-11-04 | 1 | -8/+1 | ||
| | | | | not being used anyway. | |||||
* | add missing bus_dmamap_sync()'s, much closer to working on hppa | 2005-10-26 | 1 | -7/+16 | ||
| | | | | | | | | though it still falls over with NFS builds. From: FreeBSD ok deraadt@ | |||||
* | Revamp interrupt handling in em(4) driver: | 2005-10-24 | 1 | -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. | 2005-10-21 | 1 | -12/+1 | ||
| | | | | From FreeBSD | |||||
* | In em_process_receive_interrupts() cycle check IFF_RUNNING flag. | 2005-10-21 | 1 | -2/+4 | ||
| | ||||||
* | While in em_process_receive_interrupts() processing the packet em_init() | 2005-10-16 | 1 | -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 macros | 2005-10-15 | 1 | -48/+28 | ||
| | | | | | - remove splassert()'s - remove empty bus_dma_tag_destroy macro from code and header | |||||
* | sort PCI ids | 2005-10-15 | 1 | -4/+4 | ||
| | ||||||
* | - use correct size when setting hw.max_frame_size for non PCI-E cards | 2005-10-10 | 1 | -4/+4 | ||
| | | | | - ethernet -> Ethernet | |||||
* | remove colon after "address" when printing the MAC address. | 2005-10-09 | 1 | -2/+2 | ||
| | ||||||
* | fix spl usage in em_init(). | 2005-10-08 | 1 | -11/+12 | ||
| | ||||||
* | - return from em_start() if not IFF_RUNNING. | 2005-10-08 | 1 | -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 adds | 2005-10-07 | 1 | -58/+86 | ||
| | | | | | | | | support for the 82571 and 82572 PCI Express chips. From: Intel's web-site ok krw@ pedro@ deraadt@ | |||||
* | spaces vs tab | 2005-10-02 | 1 | -19/+19 | ||
| | ||||||
* | remove return at the end of void function. | 2005-10-01 | 1 | -50/+1 | ||
| | ||||||
* | whitespace removal and KNF | 2005-09-10 | 1 | -5/+5 | ||
| | ||||||
* | do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in pcisubmatch(); kettenis@ testing; brad@ ok | 2005-08-09 | 1 | -10/+1 | ||
| | ||||||
* | move headers and remove some FreeBSD specific stuff. | 2005-07-16 | 1 | -42/+1 | ||
| | ||||||
* | fix support for interrupt mitigation. | 2005-07-16 | 1 | -21/+10 | ||
| | | | | ok nate@ | |||||
* | remove white space and fix formatting for readability. | 2005-07-13 | 1 | -4/+3 | ||
| | ||||||
* | check ETHERMIN and stop calling em_init_locked() from SIOCSIFMTU ioctl. | 2005-07-07 | 1 | -6/+4 | ||
| | ||||||
* | include CRC | 2005-07-03 | 1 | -2/+2 | ||
| | ||||||
* | no need for HW VLAN tag removal so clean up some code. | 2005-07-03 | 1 | -46/+3 | ||
| | ||||||
* | clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources. | 2005-07-02 | 1 | -3/+4 | ||
| | ||||||
* | sync | 2005-07-02 | 1 | -18/+18 | ||
| |