summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_em.c
AgeCommit message (Collapse)Author
2005-12-10add a shutdown function and register it with shutdownhook_establish().Brad Smith
2005-12-10remove a bit of unused code.Brad Smith
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.
2005-12-04On the 82571 and newer chipset the ICR register is meaningful onlyBrad Smith
if the E1000_ICR_INT_ASSERTED bit is set. From FreeBSD
2005-11-28back out last change, caused me panics on jumbo packets, ok deraadt@Peter Stromberg
2005-11-27Since reception of Jumbo frames is enabled by default; ensure properBrad Smith
alignment with m_adj() in em_get_buf() whether the MTU is bumped higher or not.
2005-11-26set Ethernet flow control parameters in em_hardware_init()Brad Smith
after the PBA size has been set.
2005-11-19a whole lot of spaces to tabs, KNF and some other cleaning.Brad Smith
2005-11-18PCIX -> PCI-X in a few commentsBrad Smith
2005-11-18Use bus_addr_t for address in em_fill_descriptors().Brad Smith
2005-11-18fix wrong htole usage in the 82544 PCI-X workaround codepath in em_encap().Brad Smith
From FreeBSD
2005-11-18revert part of rev 1.45 ..Brad Smith
- 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.
2005-11-15remove braces and fix indenting here so its easier to read.Brad Smith
2005-11-14re-add comment which is still valid for em_print_hw_stats().Brad Smith
2005-11-14remove unused em_print_debug_info() function.Brad Smith
2005-11-14remove unused HW VLAN tagging support which cannot be used due to HW ↵Brad Smith
limitations. ok dlg@
2005-11-13- Introduce two more stat counters, counting number of RXBrad Smith
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@
2005-11-08Sync up to Intel's latest FreeBSD em driver (3.2.18). A few fixesBrad Smith
for the new PCI Express chips. From: Intel's web-site
2005-11-04don't bother setting error in em_attach() since it'sBrad Smith
not being used anyway.
2005-10-26add missing bus_dmamap_sync()'s, much closer to working on hppaBrad Smith
though it still falls over with NFS builds. From: FreeBSD ok deraadt@
2005-10-24Revamp interrupt handling in em(4) driver:Brad Smith
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@
2005-10-21Remove unused global adapter linked list.Brad Smith
From FreeBSD
2005-10-21In em_process_receive_interrupts() cycle check IFF_RUNNING flag.Brad Smith
2005-10-16While in em_process_receive_interrupts() processing the packet em_init()Brad Smith
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@
2005-10-15- put spl's right in the code and remove the macrosBrad Smith
- remove splassert()'s - remove empty bus_dma_tag_destroy macro from code and header
2005-10-15sort PCI idsBrad Smith
2005-10-10- use correct size when setting hw.max_frame_size for non PCI-E cardsBrad Smith
- ethernet -> Ethernet
2005-10-09remove colon after "address" when printing the MAC address.Brad Smith
2005-10-08fix spl usage in em_init().Brad Smith
2005-10-08- return from em_start() if not IFF_RUNNING.Brad Smith
- remove unnecessary em_start_locked()/em_init_locked(). - remove unnecessary spl usage in em_start(). - fix spl usage in em_ioctl(). ok krw@
2005-10-07Sync up to Intel's latest FreeBSD em driver which addsBrad Smith
support for the 82571 and 82572 PCI Express chips. From: Intel's web-site ok krw@ pedro@ deraadt@
2005-10-02spaces vs tabBrad Smith
2005-10-01remove return at the end of void function.Brad Smith
2005-09-10whitespace removal and KNFBrad Smith
2005-08-09do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in ↵Michael Shalayeff
pcisubmatch(); kettenis@ testing; brad@ ok
2005-07-16move headers and remove some FreeBSD specific stuff.Brad Smith
2005-07-16fix support for interrupt mitigation.Brad Smith
ok nate@
2005-07-13remove white space and fix formatting for readability.Brad Smith
2005-07-07check ETHERMIN and stop calling em_init_locked() from SIOCSIFMTU ioctl.Brad Smith
2005-07-03include CRCBrad Smith
2005-07-03no need for HW VLAN tag removal so clean up some code.Brad Smith
2005-07-02clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources.Brad Smith
2005-07-02syncTheo de Raadt
2005-06-14at least allow the transmit checksum code to compileBrad Smith
though this hasn't been re-enabled yet.
2005-06-14fix prototypeBrad Smith
2005-06-14re-add part of rev 1.49...Brad Smith
sync em_receive_checksum() closer to the FreeBSD driver ok millert@ msf@
2005-06-12Back out revs 1.48 and 1.49. Checksum offloading caused problems onTodd C. Miller
an 82547EI and may affects others. Ok henning@
2005-06-01fix ordering of PCI devsBrad Smith
2005-05-29- better pcidevs entries for Intel Gig and add 82573 idsBrad Smith
- add/fix up Abocom enries
2005-05-27allow reception of Jumbo frames by default without having to bumpBrad Smith
the MTU up. tested by marious@, ok mcbride@
2005-05-23loose is not lose. ok deraadt tdeval and a few more typos from jfbTed Unangst