Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-01 | Don't bother to zero initialize the if_capabilities field first and | Brad Smith | |
then set the flags. Just set the flags as is done everywhere else. ok sthen@ | |||
2012-11-23 | set ifp->if_baudrate with IF_Gbps() / IF_Mbps(). | Gleydson Soares | |
OK reyk@ sthen@ | |||
2011-04-05 | mechanic rename M_{TCP|UDP}V4_CSUM_OUT -> M_{TCP|UDP}_CSUM_OUT | Henning Brauer | |
ok claudio krw | |||
2011-04-03 | use nitems(); no binary change for drivers that are compiled on amd64. | Jasper Lievisse Adriaanse | |
ok claudio@ | |||
2010-09-20 | Stop doing shutdown hooks in network drivers where possible. We already | Theo de Raadt | |
take all interfaces down, via their xxstop routines. Claudio and I have verified that none of the shutdown hooks do much extra beyond what xxstop was already doing; it is largely a pile of junk. ok claudio, some early comments by sthen; also read by matthew, jsg | |||
2009-08-13 | - consistify cfdriver for the ethernet drivers (0 -> NULL) | Jasper Lievisse Adriaanse | |
ok dlg@ | |||
2009-03-24 | Upgrade to newer firmware needed by some txp(4) variants. Fixes PR 6085. | Mark Kettenis | |
From FreeBSD. ok deraadt@ | |||
2008-11-28 | Eliminate the redundant bits of code for MTU and multicast handling | Brad Smith | |
from the individual drivers now that ether_ioctl() handles this. Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@ ok naddy@ | |||
2008-11-09 | Introduce bpf_mtap_ether(), which for the benefit of bpf listeners | Christian Weisgerber | |
creates the VLAN encapsulation from the tag stored in the mbuf header. Idea from FreeBSD, input from claudio@ and canacar@. Switch all hardware VLAN enabled drivers to the new function. ok claudio@ | |||
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-16 | Convert RX tag stripping to storing the tag in the mbuf header and | Christian Weisgerber | |
enable RX tag stripping for re(4). 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-18 | Introduce the infrastructure required to support hardware VLAN tag | Christian Weisgerber | |
stripping: Add a field to the mbuf pkthdr to hold the tag and an mbuf flag that tells if the tag is valid. Inspired by FreeBSD. Struct packing suggested by kettenis@. csum_flags is now 16 bits. Adapt to this in the drivers. ok reyk@, henning@ | |||
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-09-08 | IEEE 802.3 Annex 28B.3 explicitly specifies the following relative | Brad Smith | |
priorities of the technologies supported by 802.3 Selector Field value. 1000BASE-T full duplex 1000BASE-T 100BASE-T2 full duplex 100BASE-TX full duplex 100BASE-T2 100BASE-T4 100BASE-TX 10BASE-T full duplex 10BAST-T However PHY drivers did not honor the order such that 100BASE-T4 had higher priority than 100BASE-TX full duplex. Fix a long standing bug such that PHY drivers choose the highest common denominator ability. This bug is exposed by a Cisco 3550 switch which inadvertently announces 100BASE-T4 capability even though it is not capable of 100BASE-T4 operation, it is a 100BASE-TX switch. From FreeBSD Tested with dc(4), fxp(4), rl(4), sis(4). | |||
2008-05-31 | Clear the IFF_RUNNING/IFF_OACTIVE flags and the watchdog timer in | Brad Smith | |
txp_stop(). ok dlg@ | |||
2008-05-22 | ANSI function definitions. | Brad Smith | |
ok dlg@ | |||
2008-05-22 | More timeout(9) usage cleaned up. | Michael Knudsen | |
ok claudio | |||
2008-05-22 | Remove unnecessary receive filter call from the attach hook. This is | Brad Smith | |
already dealt with via txp_init(). ok dlg@ | |||
2008-05-22 | Read the MII_ANAR register and get the common denominator ability. | Brad Smith | |
From FreeBSD ok dlg@ | |||
2008-05-22 | Remove the "loaded firmware" message from dmesg. Only print something | Brad Smith | |
if there was an error. ok dlg@ | |||
2008-04-03 | Add missing half duplex flags for the media status. | Brad Smith | |
ok kettenis@ | |||
2007-04-11 | Do not use m_prepend() directly, always use M_PREPEND() instead. | Claudio Jeker | |
While changing that also change the order of the __STRICT_ALIGNMENT case and introduce a bit of headroom in the mcluster used for the RX DMA. This prevents unnecessary allocations of mbufs. Tested by camield@ OK reyk@ | |||
2006-06-29 | do not check for master/io/mem enables | Theo de Raadt | |
2006-05-28 | unknown ioctl is ENOTTY not EINVAL | Jason Wright | |
2006-04-26 | coverity, covsmerity: no reason to put an overly complex fix in here in | Jason Wright | |
an error case that almost never happens. | |||
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-02-16 | set IFCAP_VLAN_MTU unconditionally. | Brad Smith | |
2005-06-15 | Disable hardware vlan decapsulation, but not really. Because of a firmware | Camiel Dobbelaar | |
bug the vlan tag is always stripped off, so restore the encapsulation in software. ok deraadt, "looks ok" jason brad | |||
2005-04-25 | csum -> csum_flags | Brad Smith | |
ok krw@ canacar@ | |||
2005-01-15 | make sure interface is in RUNNING state before touching the multicast filters | Brad Smith | |
From NetBSD NetBSD PR 27678 for details ok mcbride@ | |||
2004-12-17 | Fix printf in loadfirmware error path. | Alexander Yurchenko | |
2004-12-14 | txp(4) late firmware loading, written somewhere over the pacific, tested | Theo de Raadt | |
by mcbride, reduces size of the kernel | |||
2004-09-23 | don't need to set ifp->if_mtu or ifp->if_output in each driver, | Brad Smith | |
{ether,atm,fddi}_ifattach already does this. ok mcbride@ markus@ henning@ | |||
2004-05-31 | Replace local crc32 with ether_crc32_be. | Ryan Thomas McBride | |
2003-12-29 | no vtophys(), don't need uvm_extern.h anymore. | Brad Smith | |
tested on alpha, i386, macppc and sparc64. ok millert@ mickey@ | |||
2003-10-22 | one more 3c990 variant; tested by Niko Itajarvi <niko.itajarvi@satabaana.net> | Henning Brauer | |
2003-06-02 | Remove clause 3 & 4 (with permission from aaron and deraadt) | Jason Wright | |
2003-02-28 | add support for 3cr990 (not 3cr990a,b,c, etc) and 3cr990-fx; from linux driver | Jason Wright | |
2002-11-19 | Add a simplistic table driven lookup routine and use it where appropriate. | Jason Wright | |
2002-07-11 | add rcsid to firmware, and remove defn for tc990_IMAGE_SIZE, its ugly. | Jason Wright | |
(shoulda caught this before like I caught const'fying it, oh well) | |||
2002-07-11 | Convert the cmd and response queues to be endian aware, also prepare for new ↵ | Jason Wright | |
firmware version. | |||
2002-04-30 | enough letoh-foo to get through firmware upload on big endian machines | Jason Wright | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-03-12 | sync with KAME | Kenjiro Cho | |
ALTQify more drivers. ok millert@ | |||
2002-02-15 | Don't cast nonexistent return value from splx to (void). ok art@ | Thomas Nordin | |
2002-02-07 | fix copyright; chris@ | Jason Wright | |
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-11-05 | Switch everything to the new bus_dmamap_sync API. | Artur Grabowski | |
Most work by Wilbern Cobb <vedge@csoft.org> with some fixes from me, mickey@ and drahn@. | |||
2001-11-02 | - Set valid bit in transmit descriptors and tx fragment descriptors (previous | Jason Wright | |
firmware versions didn't use it, but newer ones might... play it safe). - add a bit of debugging code to tx so I can get dumps easier to send to 3com. (ifdef'd out). - ifdef both places that require modification to enable TX cksums to avoid errors like halfway enabling them (which caused me a bit of pain the other day). - TX UDP/TCP cksums still hang the firmware |