summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_nfereg.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make sure newer adapters are not in powerdown mode.jsg2007-12-051-1/+6
| | | | | From Oleg Safiullin <form@pdp-11.org.ru> similiar to changes in Linux/FreeBSD driver.
* Add support for HW TCP/IP checksum offload for adapters that support it.damien2007-01-081-3/+5
| | | | | | | | | | | | Tested by many (IP/UDP/TCP): Jason McIntyre <jmc@> Chris Kuethe <chris.kuethe AT gmail.com> Alf Schlichting <a.schlichting AT lemarit.com> Rodolfo Gouveia <rgouveia AT cosmico.net> Peter Stromberg <wilfried@> Has been in snaps for weeks too with noone complaining so far.
* Correct the WOL magic value and rename NFE_WOL_MAGIC to NFE_WOL_ENABLE.brad2006-11-151-2/+2
| | | | | | WOL magic value from Peer Chen@NVIDIA via FreeBSD. ok jsg@ damien@
* - remove ETHER_MAX_LEN_JUMBO and ETHERMTU_JUMBO.brad2006-05-281-2/+5
| | | | | | - use if_hardmtu for MTU ioctl handlers. ok reyk@
* increase the Tx ring count from 64 to 256.brad2006-05-011-2/+2
| | | | ok jsg@ damien@
* Use %b in error flag printfs to describe meaning of error bits.jsg2006-04-261-1/+8
| | | | requested by deraadt@
* re-enable interrupt mitigation and mask out NFE_IRQ_TIMER that was causingdamien2006-02-221-2/+6
| | | | interrupts flood.
* - remove mbuf linearization code. it is broken in this context and it is verydamien2006-02-201-2/+2
| | | | | | | unlikely that we will see mbuf chains with 62 fragments anytime soon (anyway, it would not crash, it would just freeze TX). - fix max scatter value so we don't end up filling the ring with one mbuf chain.
* - fix h/w VLAN tagging and enable it for adapters that support it (VLAN tagdamien2006-02-191-1/+7
| | | | | | | stripping job is left to the network stack). - enable interrupt mitigation by default. - add some magic to the initialization sequence in the hope that it will fix TX issues seen on some adapters.
* - stop enabling/disabling interrupts in nfe_intr().damien2006-02-161-4/+4
| | | | | - store RX/TX settings in nfe_softc so we don't recompute them all the time. - fix h/w VLAN tagging flags.
* add support for 64bit rings base addresses.damien2006-02-151-3/+5
|
* - enable jumbo frames for adapters that support it.damien2006-02-151-4/+10
| | | | | | | - extend TX DMA mappings size from MCLBYTES to NFE_JBYTES. - add initial (disabled) bits for interrupts mitigation. - add initial (disabled) bits for h/w VLAN tagging. - did some consistency tweaks while i'm here.
* initial jumbo frames support (disabled for now).damien2006-02-121-1/+5
| | | | #define'ing NFE_NO_JUMBO can save a few hundred KB of wired memory.
* - call nfe_ifmedia_upd() early in nfe_init() to reset the PHY.damien2006-02-111-2/+2
| | | | - set RX buffer size register properly
* force a wakeup of the MAC in nfe_init().damien2006-02-111-1/+4
| | | | | | this makes my MCP51 board working. committed over a nfe.
* reorganize descriptors flags declarations; it was very confusing.damien2006-02-041-12/+14
| | | | no binary change.
* - start MII timer in nfe_init() and move timer initialization in nfe_attach()damien2006-02-041-9/+15
| | | | | | | | | - set RX filter before enabling RX in nfe_init() - call mii_down() in nfe_stop() - fix setting of full/half-duplex mode - call mii_phy_reset() for each PHY attached and call mii_mediachg() in nfe_ifmedia_upd() - some cleaning while i'm here
* - add support for multicast filters.damien2006-02-041-9/+9
| | | | | | - fix setting of if_capabilities flags for chips supporting checksum offload. - fix dmesg output in case we can't establish the intr handler. - fix a call to bus_dmamap_unload() in nfe_encap().
* fixes miibus_{read,write}reg routines.damien2006-01-221-4/+6
| | | | | | | this resolves the ghost ukphy problem. did some cleanup while i'm here. tested by and ok jsg@
* initial Tx/Rx bits. not working yet.damien2006-01-181-15/+28
| | | | joint work with jsg@
* Split length and flags up into seperate variables injsg2005-12-171-4/+6
| | | | | descriptors and make use of MCLBYTES for length setting. Sugested by damien@
* Initial bits for an nvidia nforce Ethernet driver.jsg2005-12-141-0/+130
bus_dma usage modelled after ral. Does not yet see rx interrupts when testing with ck804. Nvidia won't give out documentation for this, various "free" operating systems include a closed source driver, and the Linux people who reverse engineered it to create a specification won't give it out.