Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-10-16 | Switch the existing TX VLAN hardware support over to having the | Christian Weisgerber | |
tag in the header. Convert TX tagging in the drivers. Help and ok brad@ | |||
2008-10-02 | First step towards cleaning up the Ethernet driver ioctl handling. | Brad Smith | |
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@ | |||
2008-09-10 | Convert timeout_add() calls using multiples of hz to timeout_add_sec() | Bret Lambert | |
Really just the low-hanging fruit of (hopefully) forthcoming timeout conversions. ok art@, krw@ | |||
2008-08-09 | MCP79 are also capable of Jumbo frames. Add the Jumbo support flag. | Brad Smith | |
From: Linux forcedeth | |||
2008-05-23 | Simplify the combination use of pci_mapreg_type()/pci_mapreg_map() as | Brad Smith | |
suggested by dlg@ awhile ago. ok dlg@ | |||
2008-05-19 | correct format after %x -> %b convertion. deraadt jsg ok. | Federico G. Schwindt | |
2008-02-05 | Add the NFE_CORRECT_MACADDR flag for MCP77/79 chipsets. | Brad Smith | |
ok jsg@ dlg@ | |||
2008-01-02 | add the NVIDIA MCP77/79 ids. | Brad Smith | |
ok jsg@ dlg@ | |||
2007-12-11 | Fix check for pending interrupts as some other device is causing | Mike Belopuhov | |
the status register to change. From form@. ok jsg | |||
2007-12-05 | Make sure newer adapters are not in powerdown mode. | Jonathan Gray | |
From Oleg Safiullin <form@pdp-11.org.ru> similiar to changes in Linux/FreeBSD driver. | |||
2007-11-17 | Disable jumbo allocator until the low number of buffers case | Jonathan Gray | |
is better handled. This will likely resolve stalls some people are seeing under high load. ok damien@ | |||
2007-09-12 | In nfe_start() do a fast return if IFF_OACTIVE is set, in | Jonathan Gray | |
this case we need a Tx interrupt to clean up the DMA ring before if_start can be properly called. Diff based on a comment by & ok claudio@ | |||
2007-09-07 | use new malloc M_ZERO flag to shrink kernel. | Damien Bergamini | |
remove <malloc.h> from files where malloc is not used. | |||
2007-09-01 | Correct the backwards ethernet address that some NVidia MACs have. | Chris Kuethe | |
diff from brad. "commit this" jsg | |||
2007-03-02 | MCP65 has no hardware checksum support. | Jonathan Gray | |
Diff from brad after he noticed recent changes in the Linux driver by an NVIDIA employee. | |||
2007-01-08 | Add support for HW TCP/IP checksum offload for adapters that support it. | Damien Bergamini | |
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. | |||
2006-11-15 | Correct the WOL magic value and rename NFE_WOL_MAGIC to NFE_WOL_ENABLE. | Brad Smith | |
WOL magic value from Peer Chen@NVIDIA via FreeBSD. ok jsg@ damien@ | |||
2006-11-10 | Defer setting of the valid bit in the first TX descriptor after | Damien Bergamini | |
all descriptors have been setup. Otherwise, hardware may start processing descriptors faster than us and crap out. Fixes "watchdog timeout" errors. Original idea from Matthew Dillon @DragonFly. ok deraadt@ jsg@ wim@ tested by many | |||
2006-11-05 | add the NVIDIA MCP67 LAN PCI ids. | Brad Smith | |
2006-07-23 | add NVidia MCP61/65 ids. | Brad Smith | |
2006-06-17 | add sys/timeout.h | Brad Smith | |
2006-05-29 | garbage collect NFE_NO_JUMBO. | Brad Smith | |
2006-05-28 | - remove ETHER_MAX_LEN_JUMBO and ETHERMTU_JUMBO. | Brad Smith | |
- use if_hardmtu for MTU ioctl handlers. ok reyk@ | |||
2006-05-28 | unknown ioctl is ENOTTY not EINVAL | Jason Wright | |
2006-05-27 | remove IFCAP_JUMBO_MTU interface capabilities flag and set if_hardmtu in a few | Brad Smith | |
more drivers. ok reyk@ | |||
2006-05-20 | set if_jumbo_mtu and the IFCAP_JUMBO_MTU capabilities flag where | Brad Smith | |
appropriate. ok reyk@ | |||
2006-04-26 | Use %b in error flag printfs to describe meaning of error bits. | Jonathan Gray | |
requested by deraadt@ | |||
2006-04-26 | And commit the diff from the right system. | Brad Smith | |
2006-04-26 | check for IFF_RUNNING being set before calling nfe_init(). | Brad Smith | |
ok damien@ jsg@ | |||
2006-04-07 | Add work around for mbuf leak in the tx path until we | Jonathan Gray | |
can come up with a better guess as to how the hardware works. From Chuck Silvers. ok damien@ | |||
2006-03-25 | allow bpf(4) to ignore packets based on their direction (inbound or | Damien Miller | |
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@ | |||
2006-03-02 | Put the PHY update/reset call in nfe_init back to the spot it was at | Jonathan Gray | |
before Rx/Tx/Interrupts are enabled. This makes <fredd at cse.sc.edu>'s nfe+icsphy setup work again. Tested on nfe+eephy by otto@ and myself, nfe+ciphy by otto@ and nfe+rlphy by wilfried@ ok deraadt@ | |||
2006-02-26 | use sc->sc_dev.dv_xname consistently. | Damien Bergamini | |
2006-02-26 | Let if_nfe.c compile again by putting declaration of ifp inside #ifdef | Kenneth R Westerback | |
NFE_DEBUG. ok dlg@ | |||
2006-02-26 | Don't define NFE_DEBUG by default. | Jonathan Gray | |
Set default debug level to 0. Make sure to include interface or function name in debug strings. Print Tx errors from the MAC when debug is not on. | |||
2006-02-24 | check for M_PKTHDR. | Brad Smith | |
2006-02-22 | fix nfe_txeof() to reset the wathdog timeout only when a full tx frame | Damien Bergamini | |
has been sent. | |||
2006-02-22 | re-enable interrupt mitigation and mask out NFE_IRQ_TIMER that was causing | Damien Bergamini | |
interrupts flood. | |||
2006-02-22 | update the media settings after MAC setup. | Brad Smith | |
2006-02-21 | disable interrupt mitigation until i figure out why we're spending 10% of | Damien Bergamini | |
CPU time in interrupts with it. | |||
2006-02-20 | - remove mbuf linearization code. it is broken in this context and it is very | Damien Bergamini | |
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. | |||
2006-02-19 | - fix h/w VLAN tagging and enable it for adapters that support it (VLAN tag | Damien Bergamini | |
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. | |||
2006-02-16 | - stop enabling/disabling interrupts in nfe_intr(). | Damien Bergamini | |
- store RX/TX settings in nfe_softc so we don't recompute them all the time. - fix h/w VLAN tagging flags. | |||
2006-02-15 | move setting IFCAP_VLAN_MTU back to where it is supposed to be. | Brad Smith | |
2006-02-15 | add support for 64bit rings base addresses. | Damien Bergamini | |
2006-02-15 | actually disable h/w VLAN tagging for now. | Damien Bergamini | |
2006-02-15 | - enable jumbo frames for adapters that support it. | Damien Bergamini | |
- 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. | |||
2006-02-13 | use pci_mapreg_type(). | Brad Smith | |
ok damien@ | |||
2006-02-13 | nVidia/nvidia -> NVIDIA | Brad Smith | |
2006-02-12 | fix a printf | Damien Bergamini | |