History log of /src/sys/dev/pci/if_tl.c |
Revision | | Date | Author | Comments |
1.126 |
| 29-Jun-2024 |
riastradh | if_stats(9): Add ifp argument to if_stat..._ref.
This will enable us to pass the ifp through to a dtrace probe inside.
No functional change intended in this change, but this is an API change visible to modules so it shouldn't be pulled up.
PR kern/58377
|
1.125 |
| 02-Sep-2022 |
thorpej | Remove unnecessary inclusion of <net/netisr.h>.
|
1.124 |
| 23-Feb-2022 |
andvar | fix various typos in comments, mainly immediatly/immediately/, as well shared and recently fixed typos in OpenBSD code by Jonathan Grey.
|
1.123 |
| 06-Sep-2021 |
andvar | fix typos in word "segment" and two additional typos in if_tl.c.
|
1.122 |
| 07-Jul-2020 |
msaitoh | No functional change:
- u_int32_t -> uint32_t - KNF.
|
1.121 |
| 11-Jun-2020 |
thorpej | Update for proplib(3) API changes.
|
1.120 |
| 28-Feb-2020 |
msaitoh | When a media change is requested, don't just all (*if_init)(). That's needlessly disruptive and incompatible with future locking changes. We can use ether_mediachange() instead.
|
1.119 |
| 30-Jan-2020 |
thorpej | Adopt <net/if_stats.h>.
|
1.118 |
| 22-Dec-2019 |
thorpej | branches: 1.118.2; Cleanup i2c bus acquire / release, centralizing all of the logic into iic_acquire_bus() / iic_release_bus(). "acquire" and "release" hooks no longer need to be provided by back-end controller drivers (only if they need special handling, e.g. powering on the i2c controller). This results in the removal of a bunch of rendundant code from each back-end controller driver.
Assert that we are not in hard interrupt context in iic_acquire_bus(), iic_exec(), and iic_release_bus().
|
1.117 |
| 30-Oct-2019 |
msaitoh | if_percpuq(9) automatically increments if_ipackets, so don't add number of RX frames from device's statistics counter to if_ipackets to avoid double count.
|
1.116 |
| 28-May-2019 |
msaitoh | branches: 1.116.2; Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.
|
1.115 |
| 23-May-2019 |
msaitoh | Whitespace fix (mainly tabify).
|
1.114 |
| 23-May-2019 |
msaitoh | No functional change: - Simplify MII structure initialization and reference. - u_int*_t -> uint*_t. - KNF
|
1.113 |
| 24-Apr-2019 |
msaitoh | Remove extra test of SIOCSIFMEDIA.
|
1.112 |
| 05-Feb-2019 |
msaitoh | Remove very old IFF_NOTRAILERS flag.
|
1.111 |
| 22-Jan-2019 |
msaitoh | Change MII PHY read/write API from:
int (*mii_readreg_t)(device_t, int, int); void (*mii_writereg_t)(device_t, int, int, int); to:
int (*mii_readreg_t)(device_t, int, int, uint16_t *); int (*mii_writereg_t)(device_t, int, int, uint16_t);
Now we can test if a read/write operation failed or not by the return value.
In 802.3 spec says that the PHY shall not respond to read/write transaction to the unimplemented register(22.2.4.3). Detecting timeout can be used to check whether a register is implemented or not (if the register conforms to the spec). ukphy(4) can be used this for MII_MMDACR and MII_MMDAADR.
Note that I noticed that the following code do infinite loop in the read/wirte function. If it accesses unimplemented PHY register, it will hang. It should be fixed:
arm/at91/at91emac.c arm/ep93xx/epe.c arm/omap/omapl1x_emac.c mips/ralink/ralink_eth.c arch/powerpc/booke/dev/pq3etsec.c(read) dev/cadence/if_cemac.c <- hkenken dev/ic/lan9118.c
Tested with the following device:
axe+ukphy axe+rgephy axen+rgephy (tested by Andrius V) wm+atphy wm+ukphy wm+igphy wm+ihphy wm+makphy sk+makphy sk+brgphy sk+gentbi msk+makphy sip+icsphy sip+ukphy re+rgephy bge+brgphy bnx+brgphy gsip+gphyter rtk+rlphy fxp+inphy (tested by Andrius V) tlp+acphy ex+exphy epic+qsphy vge+ciphy (tested by Andrius V) vr+ukphy (tested by Andrius V) vte+ukphy (tested by Andrius V)
Not tested (MAC): arm:at91emac arm:cemac arm:epe arm:geminigmac arm:enet arm:cpsw arm:emac(omac) arm:emac(sunxi) arm:npe evbppc:temac macppc:bm macppc:gm mips:aumac mips:ae mips:cnmac mips:reth mips:sbmac playstation2:smap powerpc:tsec powerpc:emac(ibm4xx) sgimips:mec sparc:be sf ne(ax88190, dl10019) awge ep gem hme smsh mtd sm age alc ale bce cas et jme lii nfe pcn ste stge tl xi aue mue smsc udav url
Not tested (PHY): amhphy bmtphy dmphy etphy glxtphy ikphy iophy lxtphy nsphyter pnaphy rdcphy sqphy tlphy tqphy urlphy
|
1.110 |
| 09-Dec-2018 |
jdolecek | use pci_intr_establish_xname() everywhere
|
1.109 |
| 26-Jun-2018 |
msaitoh | branches: 1.109.2; Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same as FreeBSD.
This change also fixes a bug that the direction is misunderstand on some environment by passing the direction to bpf_mtap*() instead of checking m->m_pkthdr.rcvif.
|
1.108 |
| 22-Jun-2018 |
msaitoh | It's not required to include net/bpfdesc.h. Remove it.
|
1.107 |
| 23-May-2017 |
ozaki-r | branches: 1.107.2; 1.107.8; Apply deferred if_start to more drivers
And annotate some XXX_start as it runs in softint to clarify that it doesn't need deferred if_start.
|
1.106 |
| 15-Dec-2016 |
ozaki-r | Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input
The benefits of the change are: - We can reduce codes - We can provide the same behavior between drivers - Where/When if_ipackets is counted up - Note that some drivers still update packet statistics in their own way (periodical update) - Moved bpf_mtap run in softint - This makes it easy to MP-ify bpf
Proposed on tech-kern and tech-net
|
1.105 |
| 07-Jul-2016 |
msaitoh | branches: 1.105.2; KNF. Remove extra spaces. No functional change.
|
1.104 |
| 10-Jun-2016 |
ozaki-r | Introduce m_set_rcvif and m_reset_rcvif
The API is used to set (or reset) a received interface of a mbuf. They are counterpart of m_get_rcvif, which will come in another commit, hide internal of rcvif operation, and reduce the diff of the upcoming change.
No functional change.
|
1.103 |
| 09-Feb-2016 |
ozaki-r | Introduce softint-based if_input
This change intends to run the whole network stack in softint context (or normal LWP), not hardware interrupt context. Note that the work is still incomplete by this change; to that end, we also have to softint-ify if_link_state_change (and bpf) which can still run in hardware interrupt.
This change softint-ifies at ifp->if_input that is called from each device driver (and ieee80211_input) to ensure Layer 2 runs in softint (e.g., ether_input and bridge_input). To this end, we provide a framework (called percpuq) that utlizes softint(9) and percpu ifqueues. With this patch, rxintr of most drivers just queues received packets and schedules a softint, and the softint dequeues packets and does rest packet processing.
To minimize changes to each driver, percpuq is allocated in struct ifnet for now and that is initialized by default (in if_attach). We probably have to move percpuq to softc of each driver, but it's future work. At this point, only wm(4) has percpuq in its softc as a reference implementation.
Additional information including performance numbers can be found in the thread at tech-kern@ and tech-net@: http://mail-index.netbsd.org/tech-kern/2016/01/14/msg019997.html
Acknowledgment: riastradh@ greatly helped this work. Thank you very much!
|
1.102 |
| 13-Apr-2015 |
riastradh | Convert sys/dev to use <sys/rndsource.h>.
|
1.101 |
| 10-Aug-2014 |
tls | branches: 1.101.4; Merge tls-earlyentropy branch into HEAD.
|
1.100 |
| 29-Mar-2014 |
christos | branches: 1.100.2; make pci_intr_string and eisa_intr_string take a buffer and a length instead of relying in local static storage.
|
1.99 |
| 30-Mar-2013 |
christos | branches: 1.99.4; remove trailing whitespace
|
1.98 |
| 22-Jul-2012 |
matt | branches: 1.98.2; Fix mii_statchg to take a 'struct ifnet *' instead of device_t. This fixes problem with a common MDIO bus used for multiple interfaces. Some drivers converted to CFATTACL_DECL_NEW.
|
1.97 |
| 02-Feb-2012 |
tls | Entropy-pool implementation move and cleanup.
1) Move core entropy-pool code and source/sink/sample management code to sys/kern from sys/dev.
2) Remove use of NRND as test for presence of entropy-pool code throughout source tree.
3) Remove use of RND_ENABLED in device drivers as microoptimization to avoid expensive operations on disabled entropy sources; make the rnd_add calls do this directly so all callers benefit.
4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might have lead to slight entropy overestimation for some sources.
5) Add new source types for environmental sensors, power sensors, VM system events, and skew between clocks, with a sample implementation for each.
ok releng to go in before the branch due to the difficulty of later pullup (widespread #ifdef removal and moved files). Tested with release builds on amd64 and evbarm and live testing on amd64.
|
1.96 |
| 13-Nov-2010 |
uebayasi | branches: 1.96.8; 1.96.12; Don't pull in the whole uvm(9) API to access only PAGE_SIZE and some other constants. These are provided by sys/param.h now.
|
1.95 |
| 05-Apr-2010 |
joerg | Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf check into the inline functions as well the fourth argument for bpf_attach.
|
1.94 |
| 19-Jan-2010 |
pooka | branches: 1.94.2; 1.94.4; Redefine bpf linkage through an always present op vector, i.e. #if NBPFILTER is no longer required in the client. This change doesn't yet add support for loading bpf as a module, since drivers can register before bpf is attached. However, callers of bpf can now be modularized.
Dynamically loadable bpf could probably be done fairly easily with coordination from the stub driver and the real driver by registering attachments in the stub before the real driver is loaded and doing a handoff. ... and I'm not going to ponder the depths of unload here.
Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
|
1.93 |
| 19-Oct-2009 |
bouyer | Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
1.92 |
| 05-Sep-2009 |
tsutsui | Replace shutdownhook_establish(9) with pmf_device_register1(9). Tested Compaq Netelligent 10/100 TX.
|
1.91 |
| 16-Nov-2008 |
tsutsui | Fix tyop in #ifdef TLDEBUG part.
|
1.90 |
| 04-Oct-2008 |
bouyer | branches: 1.90.2; Add missing splx(). Funny that it didn't cause issues ...
|
1.89 |
| 01-Jun-2008 |
tsutsui | branches: 1.89.4; Split device_t/softc, with misc cosmetic changes.
|
1.88 |
| 31-May-2008 |
tsutsui | My Compaq Netelligent 10/100 TX has 24C02 (2kbit) serial EEPROM, so pass 256 (bytes) rather than 512 to seeprom_bootstrap_read().
|
1.87 |
| 22-May-2008 |
dyoung | KNF.
|
1.86 |
| 10-Apr-2008 |
cegger | branches: 1.86.2; 1.86.4; 1.86.6; use aprint_*_dev and device_xname
|
1.85 |
| 19-Jan-2008 |
dyoung | branches: 1.85.6; Make many ethernet drivers share the common code for MII media handling, ether_mediastatus() and ether_mediachange(). Check for a non-ENXIO error return from mii_mediachg(). (ENXIO indicates that a PHY is suspended.)
This patch shrinks the source code size by 979 lines. There was a 5100-byte savings on the NetBSD/i386 kernel configuration, ALL.
I have made a few miscellaneous changes, too:
gem(4): use LIST_EMPTY(), LIST_FOREACH(). mtd(4): handle media ioctls, for a change! axe(4): do not track link status in sc->axe_link any longer nfe(4), aue(4), axe(4), udav(4), url(4): do not reset all PHYs on a change of media
Except for the change to mtd(4), no functional changes are intended.
XXX This patch affects more architectures than I can feasibly XXX compile and run. I have compiled macppc, sparc64, i386. I XXX have run the patches on i386 boxen with bnx(4) and sip(4). XXX Compiling and running on evbmips (MERAKI, ADM5120) is in XXX progress.
|
1.84 |
| 19-Oct-2007 |
ad | branches: 1.84.2; 1.84.8; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.83 |
| 09-Jul-2007 |
ad | branches: 1.83.6; 1.83.8; 1.83.12; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
1.82 |
| 04-Mar-2007 |
christos | branches: 1.82.2; 1.82.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.81 |
| 25-Dec-2006 |
wiz | branches: 1.81.2; Spell "schedule" correctly. From Zafer Aydogan.
|
1.80 |
| 24-Dec-2006 |
rumble | Make this compile again when KASSERT is enabled.
|
1.79 |
| 24-Dec-2006 |
rumble | Revert the previous change and specify the appropriate page boundary to bus_dmamap_create(9) via a proplib number entry.
Recommended by Izumi Tsutsui.
|
1.78 |
| 23-Dec-2006 |
rumble | The Set Engineering GIO board for sgimips (IP22) sits behind a special bridge that precludes the ThunderLAN's DMA engine from performing segment transfers across page boundaries. Add logic under #ifdef TL_SETENG_GFE to split up these segment transfers appropriately.
It's unknown whether this issue could also affect the RX path, though no problems have been observed yet.
|
1.77 |
| 16-Nov-2006 |
christos | branches: 1.77.2; __unused removal on arguments; approved by core.
|
1.76 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.75 |
| 07-Sep-2006 |
dogcow | branches: 1.75.2; 1.75.4; remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP.
|
1.74 |
| 07-Sep-2006 |
rumble | Avoid a panic on adapter check interrupts: the 'tl_restart' callout expects a pointer to struct ifnet, not tl_softc.
|
1.73 |
| 30-Aug-2006 |
rumble | Make this compile again when TLDEBUG is defined.
|
1.72 |
| 24-Dec-2005 |
perry | branches: 1.72.4; 1.72.8; Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
|
1.71 |
| 11-Dec-2005 |
christos | merge ktrace-lwp.
|
1.70 |
| 30-May-2005 |
christos | branches: 1.70.2; - const poisoning - avoid variable shadowing.
|
1.69 |
| 20-Apr-2005 |
bouyer | Add "Compaq Netelligent 10 T/2 PCI UTP/Coax Controller". Fix kern/29218 by A L Meyers.
|
1.68 |
| 04-Feb-2005 |
perry | branches: 1.68.4; de-__P
|
1.67 |
| 23-Jan-2005 |
dan | branches: 1.67.2; attach tl(4) as an event source to rnd(4) patches from Sean Davis in PR/28556 (slightly modified to actually catch our own interrupts)
|
1.66 |
| 30-Oct-2004 |
thorpej | branches: 1.66.4; When adding/deleting multicast addresses, only whack the address filter if the interface is marked RUNNING.
Fixes kern/27678.
|
1.65 |
| 15-Jun-2004 |
bouyer | Apply patch from kern/25936 by Michael Blake: Add support for the Netelligent 10/100 TX variant found on the Compaq Proliant Professional Workstation 5100.
|
1.64 |
| 10-Nov-2003 |
wiz | branches: 1.64.2; Spell address with two d's. Inspired by similar changes in OpenBSD, originating from Jonathon Gray and forwarded by jmc@openbsd.
|
1.63 |
| 02-Nov-2003 |
wiz | deferred, not deffered. Inspired by Tom Cosgrove.
|
1.62 |
| 05-Oct-2003 |
tsutsui | Increase number of transmit/receive buffers from 10 to 32 to avoid RX buffer overrun.
|
1.61 |
| 05-Oct-2003 |
tsutsui | Pass proper dma mapsize of TX/RX mbufs to bus_dmamap_sync(). Now tl(4) works on sgimips.
|
1.60 |
| 05-Oct-2003 |
tsutsui | Oops, more white space nit.
|
1.59 |
| 05-Oct-2003 |
tsutsui | TAB/space nits.
|
1.58 |
| 30-Sep-2003 |
thorpej | New generic I2C framework. Supports bit-bang and "intelligent" I2C interface controllers (of varying intelligence levels).
Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford, with some modification by me.
|
1.57 |
| 19-Mar-2003 |
bouyer | branches: 1.57.2; tl(4) supports ETHERCAP_VLAN_MTU.
|
1.56 |
| 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
1.55 |
| 30-Sep-2002 |
thorpej | Use CFATTACH_DECL().
|
1.54 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.53 |
| 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
1.52 |
| 17-Apr-2002 |
wiz | branches: 1.52.4; Fix two typos in comments. kern/16386 by Sean Davis.
|
1.51 |
| 07-Mar-2002 |
christos | stupid void pointers... tl_init() needs struct ifnet *...
|
1.50 |
| 05-Mar-2002 |
itojun | bring in latest ALTQ from kjc. ALTQify some of the drivers.
|
1.49 |
| 28-Feb-2002 |
christos | PR/15754: Sean Davis: Initialize if_softc before calling the mii init routines to avoid NULL pointer de-referencing in the callbacks.
|
1.48 |
| 12-Jan-2002 |
tsutsui | Call malloc(9) with M_ZERO flag instead of memset() after malloc().
|
1.47 |
| 13-Nov-2001 |
lukem | add RCSID
|
1.46 |
| 20-Sep-2001 |
bouyer | - Allocate control structures at attach time rather than at init time. Avoids using bus_dmamem_alloc/bus_dmamem_map at interrupt time. Should fix PRs kern/13924 and kern/13979 from dive@endersgame.net - while I'm there convert to use ether_ioctl.
|
1.45 |
| 07-Aug-2001 |
bouyer | branches: 1.45.2; Properly set/clear IFF_OACTIVE.
|
1.44 |
| 06-Aug-2001 |
bouyer | Improvement: allocate one page of dmamem for Rx, Tx and nullbuff instead of 3 different ones. Also pass the rigth seg/nseg to bus_dmamem_free(). Correct types in debug printf's
|
1.43 |
| 03-Aug-2001 |
bouyer | - kill the carrier detect code. It's not usefull any more and can give false informations on a loaded ethernet segement. - convert to bus_dma(9) (better late than never :) - add proper le32toh/htole32 so that it works on big-endian system (tested on macppc). Close PR kern/10327.
|
1.42 |
| 07-Jul-2001 |
thorpej | branches: 1.42.2; bzero -> memset
|
1.41 |
| 07-Jul-2001 |
thorpej | bcopy -> memcpy, strcpy
|
1.40 |
| 21-Jun-2001 |
bouyer | Proper media support for Compaq Deskpro 4000. PR kern/13244 from Andrew Gillham.
|
1.39 |
| 28-Dec-2000 |
sommerfeld | branches: 1.39.2; Change pci_intr_map to get interrupt source information from a "struct pci_attach_args *" instead of from four separate parameters which in all cases were extracted from the same "struct pci_attach_args".
This both simplifies the driver api, and allows for alternate PCI interrupt mapping schemes, such as one using the tables described in the Intel Multiprocessor Spec which describe interrupt wirings for devices behind pci-pci bridges based on the device's location rather the bridge's location.
Tested on alpha and i386; welcome to 1.5Q
|
1.38 |
| 14-Dec-2000 |
thorpej | ALTQ'ify.
|
1.37 |
| 15-Nov-2000 |
thorpej | Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().
|
1.36 |
| 01-Oct-2000 |
thorpej | Move the check for "promisc + unicast + not for us" into ether_input(), and change Ethernet drivers to always pass all received frames to ether_input() (with a few exceptions, which are documented in the code).
|
1.35 |
| 05-Sep-2000 |
thorpej | Cast arg to vtophys() to vaddr_t.
|
1.34 |
| 28-Jun-2000 |
mrg | remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
|
1.33 |
| 26-Jun-2000 |
mrg | remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h> <vm/vm_inherit.h> -> <uvm/uvm_inherit.h> <vm/vm_kern.h> -> into <uvm/uvm_extern.h> <vm/vm_object.h> -> nothing <vm/vm_pager.h> -> into <uvm/uvm_pager.h>
also includes a bunch of <vm/vm_page.h> include removals (due to redudancy with <vm/vm.h>), and a scattering of other similar headers.
|
1.32 |
| 23-Mar-2000 |
thorpej | branches: 1.32.4; New callout mechanism with two major improvements over the old timeout()/untimeout() API: - Clients supply callout handle storage, thus eliminating problems of resource allocation. - Insertion and removal of callouts is constant time, important as this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
|
1.31 |
| 06-Mar-2000 |
thorpej | No longer necessary to futz with ifp->if_baudrate here.
|
1.30 |
| 02-Feb-2000 |
thorpej | Don't dry to diving MIIF_NOISOLATE in the PHY drivers. Instead, pass flags down from the parent to child vi mii_attach().
|
1.29 |
| 02-Feb-2000 |
thorpej | Bring some order to the chaos which was the MII code function naming "conventions".
|
1.28 |
| 12-Dec-1999 |
tron | As suggested by Jason Thorpe back out revision 1.27 because it broke PHY probing for the ThunderLan driver.
|
1.27 |
| 19-Nov-1999 |
thorpej | Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.
|
1.26 |
| 12-Nov-1999 |
thorpej | Call mii_down() as appropriate.
|
1.25 |
| 04-Nov-1999 |
thorpej | Adapt to mii_phy_probe() change.
|
1.24 |
| 18-May-1999 |
thorpej | branches: 1.24.2; 1.24.4; 1.24.8; Rework layer 2 protocol input routines. Instead of calling e.g. ether_input() directly, call the function pointer (*if_input)(ifp, m). The input routine expects the packet header to be at the head of the packet, and will adjust as necessary. Privatize the layer 2 input and output routines, allowing *_ifattach() to set them up as appropriate.
|
1.23 |
| 25-Mar-1999 |
bouyer | branches: 1.23.4; 1.23.6; First pass at support of Compaq NetFlex 3/P PCI: this one has IO and Mem base address register inverted. Still need some MII hack to get it fully fonctionnal.
|
1.22 |
| 11-Jan-1999 |
tron | Because memory mapped access doesn't fail only with the docking station for the TI TravelMate 5000 but also with at least one Compaq NIC we prefer I/O mapped access again. Fixes PR kern/6690.
|
1.21 |
| 30-Oct-1998 |
thorpej | branches: 1.21.4; Manuel confirms that defaulting to AUTO is ok, to Do It.
|
1.20 |
| 18-Aug-1998 |
thorpej | vm_offset_t -> vaddr_t
|
1.19 |
| 15-Aug-1998 |
thorpej | Oops, don't forget to tick the MII once a second.
|
1.18 |
| 15-Aug-1998 |
bouyer | Fix typos in last commit.
|
1.17 |
| 15-Aug-1998 |
bouyer | correct indent.
|
1.16 |
| 13-Aug-1998 |
eeh | Merge paddr_t changes into the main branch.
|
1.15 |
| 11-Aug-1998 |
thorpej | Adapt to the new MII code. This required splitting some structures into if_tlvar.h, since the ThunderLAN PHY driver needs to know some things about it's parent (and since it can only attach to a ThunderLAN chip, this is the easiest way).
|
1.14 |
| 08-Aug-1998 |
mycroft | Use splnet, not splimp.
|
1.13 |
| 05-Jul-1998 |
jonathan | branches: 1.13.2; defopt NS, NSIP.
|
1.12 |
| 05-Jul-1998 |
jonathan | defopt INET, NETATALK.
|
1.11 |
| 08-Jun-1998 |
thorpej | Nuke __BROKEN_INDIRECT_CONFIG.
|
1.10 |
| 05-May-1998 |
thorpej | Slighly less brutal hack to deal with broken memory-mapped access of the ThunderLAN on the TI TravelMate 5000 docking station: single it out, and allow memory-mapped access on the Compaq products.
|
1.9 |
| 11-Feb-1998 |
bouyer | Correct a bogosity in the adapter->mii attach code pointed out by cgd: in pci/if_tl.c, call config_found() with a print function, instead of printing ourself a message in if_tl.c if no miibus was found. The print function is in mii/mii.c (mii_adapter_print()) so that it can be used by any adapter (idea from the scsi system).
|
1.8 |
| 12-Jan-1998 |
thorpej | Update for config changes.
|
1.7 |
| 30-Nov-1997 |
drochner | make it compile without "__BROKEN_INDIRECT_CONFIG"
|
1.6 |
| 18-Nov-1997 |
bouyer | Fix for systems with multiple tl interfaces: nullbuf (used to pad packets < ETHER_MIN_SIZE) is used for all tl interfaces. Allocates only once, and never deallocate it (as we can't say if another instance of the driver is interface is using it).
|
1.5 |
| 17-Nov-1997 |
thorpej | Sigh, now that we've fixed a bug in PCI space management (the bug caused i/o-mapped space to always be used), we discover that at least one ThunderLAN interface can't read the EEPROM properly if memory-mapped access is used. Kludge around this for now by "prefering" i/o space.
|
1.4 |
| 17-Nov-1997 |
thorpej | Fix a couple of bugs/annoyances in match/attach: - Do PCI space configuration like the other drivers. In particular, don't _disable_ the space we're not using because some lame firmware implementations might not reenable it on warm boot. Also, prefer memory space always. - Make match and info-gathering in attach table-driven. - Rearrange things a bit to be a bit more visually pleasing during boot.
Also, fixup some #include problems.
|
1.3 |
| 16-Nov-1997 |
christos | PR/4510: William Coldwell: Add TI thunderlan support.
|
1.2 |
| 21-Oct-1997 |
bouyer | Correct 'ThunderLAN' spelling
|
1.1 |
| 17-Oct-1997 |
bouyer | branches: 1.1.2; Driver for Texas Instruments' thunderland network controller (present in some Compaq products).
|
1.1.2.5 |
| 10-Nov-1998 |
cgd | patch from bouyer to address sysinst and media selection issues: set the default media to UTP, and don't include 'none' in the media list, so that sysinst will be able to set media properly. Done differently in -current, because there the code uses MII. (bouyer)
|
1.1.2.4 |
| 18-Nov-1997 |
mellon | Pull rev 1.6 up from trunk (bouyer)
|
1.1.2.3 |
| 17-Nov-1997 |
thorpej | Sync w/ trunk.
|
1.1.2.2 |
| 17-Nov-1997 |
thorpej | Sync w/ trunk.
|
1.1.2.1 |
| 21-Oct-1997 |
mrg | pull up from trunk: Correct ThunderLAN spelling
|
1.13.2.1 |
| 30-Jul-1998 |
eeh | Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.
|
1.21.4.1 |
| 11-Dec-1998 |
kenh | The beginnings of interface detach support. Still some bugs, but mostly works for me.
This work was originally by Bill Studenmund, and cleaned up by me.
|
1.23.6.1 |
| 30-Nov-1999 |
itojun | bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch just for reference purposes. This commit includes 1.4 -> 1.4.1 sync for kame branch.
The branch does not compile at all (due to the lack of ALTQ and some other source code). Please do not try to modify the branch, this is just for referenre purposes.
synchronization to latest KAME will take place on HEAD branch soon.
|
1.23.4.1 |
| 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.24.8.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.24.4.1 |
| 15-Nov-1999 |
fvdl | Sync with -current
|
1.24.2.3 |
| 05-Jan-2001 |
bouyer | Sync with HEAD
|
1.24.2.2 |
| 22-Nov-2000 |
bouyer | Sync with HEAD.
|
1.24.2.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.32.4.3 |
| 11-Mar-2002 |
he | Revert pull-up of revision 1.51 (requested by christos): tl_init() changed interface between the netbsd-1-5 branch and -current. Therefore, application of 1.51 is wrong, so undo it here.
|
1.32.4.2 |
| 09-Mar-2002 |
he | Pull up revisions 1.49,1.51 (via patch, requested by christos): Make sure ifp->sc_softc is initialized before we set the media callbacks, and correct argument error in invocation of tl_init().
|
1.32.4.1 |
| 13-Nov-2001 |
he | Pull up revision 1.40 (requested by bouyer): Fix media support for Compaq Deskpro 4000. Fixes PR#13244.
|
1.39.2.7 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.39.2.6 |
| 20-Jun-2002 |
nathanw | Catch up to -current.
|
1.39.2.5 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.39.2.4 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.39.2.3 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.39.2.2 |
| 21-Sep-2001 |
nathanw | Catch up to -current.
|
1.39.2.1 |
| 24-Aug-2001 |
nathanw | Catch up with -current.
|
1.42.2.6 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.42.2.5 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.42.2.4 |
| 16-Mar-2002 |
jdolecek | Catch up with -current.
|
1.42.2.3 |
| 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.42.2.2 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.42.2.1 |
| 25-Aug-2001 |
thorpej | Merge Aug 24 -current into the kqueue branch.
|
1.45.2.1 |
| 01-Oct-2001 |
fvdl | Catch up with -current.
|
1.52.4.3 |
| 01-May-2005 |
tron | Pull up revision 1.69 (requested by bouyer in ticket #5756): Add "Compaq Netelligent 10 T/2 PCI UTP/Coax Controller". Fix kern/29218 by A L Meyers.
|
1.52.4.2 |
| 22-Jun-2004 |
tron | Pull up revision 1.65 (requested by bouyer in ticket #1718): Apply patch from kern/25936 by Michael Blake: Add support for the Netelligent 10/100 TX variant found on the Compaq Proliant Professional Workstation 5100.
|
1.52.4.1 |
| 30-Jun-2003 |
grant | Pull up revision 1.57 (requested by bouyer in ticket #1350):
tl(4) supports ETHERCAP_VLAN_MTU.
|
1.57.2.7 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.57.2.6 |
| 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.57.2.5 |
| 24-Jan-2005 |
skrll | Sync with HEAD.
|
1.57.2.4 |
| 02-Nov-2004 |
skrll | Sync with HEAD.
|
1.57.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.57.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.57.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.64.2.1 |
| 22-Jun-2004 |
tron | branches: 1.64.2.1.2; Pull up revision 1.65 (requested by bouyer in ticket #537): Apply patch from kern/25936 by Michael Blake: Add support for the Netelligent 10/100 TX variant found on the Compaq Proliant Professional Workstation 5100.
|
1.64.2.1.2.3 |
| 01-May-2005 |
tron | Pull up revision 1.69 (requested by bouyer in ticket #1438): Add "Compaq Netelligent 10 T/2 PCI UTP/Coax Controller". Fix kern/29218 by A L Meyers.
|
1.64.2.1.2.2 |
| 16-Apr-2005 |
tron | Pull up revision 1.67 (requested by dan in ticket #1117): attach tl(4) as an event source to rnd(4) patches from Sean Davis in PR/28556 (slightly modified to actually catch our own interrupts)
|
1.64.2.1.2.1 |
| 24-Jan-2005 |
he | Pull up revision 1.66 (requested by thorpej in ticket #939): When adding or deleting multicast addresses, only change the address filter if the interface is marked RUNNING. Fixes PR#27678.
|
1.66.4.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.67.2.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
1.68.4.1 |
| 21-Apr-2005 |
tron | Pull up revision 1.69 (requested by bouyer in ticket #180): Add "Compaq Netelligent 10 T/2 PCI UTP/Coax Controller". Fix kern/29218 by A L Meyers.
|
1.70.2.5 |
| 21-Jan-2008 |
yamt | sync with head
|
1.70.2.4 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.70.2.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.70.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.70.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.72.8.2 |
| 14-Sep-2006 |
yamt | sync with head.
|
1.72.8.1 |
| 03-Sep-2006 |
yamt | sync with head.
|
1.72.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.75.4.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.75.4.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.75.2.2 |
| 12-Jan-2007 |
ad | Sync with head.
|
1.75.2.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.77.2.1 |
| 04-Mar-2007 |
bouyer | Pull up following revision(s) (requested by rumble in ticket #478): sys/dev/pci/if_tl.c: revision 1.78 - 1.80 sys/dev/ic/tulip.c: revision 1.148 Make the ThunderLAN part of the Set Engineering GIO board for sgimips (IP22) work. Extract mac addresses on Phobos G100 boards.
|
1.81.2.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.82.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.82.2.2 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.82.2.1 |
| 01-Jul-2007 |
ad | Adapt to callout API change.
|
1.83.12.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.83.8.2 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.83.8.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.83.6.1 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.84.8.1 |
| 20-Jan-2008 |
bouyer | Sync with HEAD
|
1.84.2.1 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.85.6.3 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.85.6.2 |
| 05-Oct-2008 |
mjf | Sync with HEAD.
|
1.85.6.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.86.6.2 |
| 10-Oct-2008 |
skrll | Sync with HEAD.
|
1.86.6.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.86.4.4 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.86.4.3 |
| 11-Mar-2010 |
yamt | sync with head
|
1.86.4.2 |
| 16-Sep-2009 |
yamt | sync with head
|
1.86.4.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.86.2.1 |
| 04-Jun-2008 |
yamt | sync with head
|
1.89.4.2 |
| 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
1.89.4.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
1.90.2.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.94.4.2 |
| 05-Mar-2011 |
rmind | sync with head
|
1.94.4.1 |
| 30-May-2010 |
rmind | sync with head
|
1.94.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.96.12.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.96.8.3 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.96.8.2 |
| 30-Oct-2012 |
yamt | sync with head
|
1.96.8.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.98.2.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.98.2.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.98.2.1 |
| 23-Jun-2013 |
tls | resync from head
|
1.99.4.1 |
| 18-May-2014 |
rmind | sync with head
|
1.100.2.1 |
| 07-Apr-2014 |
tls | Be a little more clear and consistent about harvesting entropy from devices:
1) deprecate RND_FLAG_NO_ESTIMATE
2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE
3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE
4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME| RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME
5) Make entropy harvesting from environmental sensors a little more generic and remove it from individual sensor drivers.
6) Remove individual open-coded delta-estimators for values from a few places in the tree (uvm, environmental drivers).
7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers that had stubbed out code, other minor cleanups.
|
1.101.4.5 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.101.4.4 |
| 05-Feb-2017 |
skrll | Sync with HEAD
|
1.101.4.3 |
| 09-Jul-2016 |
skrll | Sync with HEAD
|
1.101.4.2 |
| 19-Mar-2016 |
skrll | Sync with HEAD
|
1.101.4.1 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
1.105.2.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.107.8.4 |
| 26-Jan-2019 |
pgoyette | Sync with HEAD
|
1.107.8.3 |
| 26-Dec-2018 |
pgoyette | Sync with HEAD, resolve a few conflicts
|
1.107.8.2 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|
1.107.8.1 |
| 25-Jun-2018 |
pgoyette | Sync with HEAD
|
1.107.2.2 |
| 06-Nov-2019 |
martin | Pull up following revision(s) (requested by msaitoh in ticket #1427):
sys/arch/arm/broadcom/bcm53xx_eth.c: revision 1.39 sys/dev/pcmcia/if_xi.c: revision 1.91 sys/dev/ic/aic6915.c: revision 1.40 sys/dev/pci/if_tl.c: revision 1.117 sys/arch/arm/gemini/gemini_gmac.c: revision 1.18 sys/dev/ic/elinkxl.c: revision 1.133 sys/dev/pci/if_ste.c: revision 1.57 sys/dev/pci/if_alc.c: revision 1.43 sys/dev/pci/if_stge.c: revision 1.72 sys/dev/pci/if_ale.c: revision 1.34 sys/dev/pci/if_age.c: revision 1.62 sys/dev/pci/if_txp.c: revision 1.60 sys/dev/ic/i82557.c: revision 1.156 sys/dev/pci/if_vte.c: revision 1.27 sys/arch/powerpc/booke/dev/pq3etsec.c: revision 1.47 sys/arch/arm/gemini/if_gpn.c: revision 1.13
if_percpuq(9) and ether_input() automatically increment if_ipackets, so don't add number of RX frames from device's statistics counter to if_ipackets to avoid double count.
|
1.107.2.1 |
| 26-Jul-2018 |
snj | Pull up following revision(s) (requested by msaitoh in ticket #938): sys/arch/acorn32/podulebus/if_ie.c: revision 1.41 sys/arch/amiga/dev/if_es.c: revision 1.58 sys/arch/amiga/dev/if_qn.c: revision 1.45 sys/arch/arm/at91/at91emac.c: revision 1.20 sys/arch/arm/ep93xx/epe.c: revision 1.37 sys/arch/emips/ebus/if_le_ebus.c: revision 1.14 sys/arch/emips/ebus/if_le_ebus.c: revision 1.15 sys/arch/mac68k/dev/if_mc.c: revision 1.46 sys/arch/macppc/dev/am79c950.c: revision 1.39 sys/arch/newsmips/apbus/if_sn.c: revision 1.40 sys/arch/next68k/dev/mb8795.c: revision 1.59 sys/arch/playstation2/dev/if_smap.c: revision 1.25 sys/arch/playstation2/dev/if_smap.c: revision 1.26 sys/arch/sun2/dev/if_ec.c: revision 1.28 sys/arch/sun3/dev/if_ie.c: revision 1.63 sys/arch/x68k/dev/if_ne_intio.c: revision 1.19 sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.75 sys/arch/xen/xen/xennetback_xenbus.c: revision 1.63 sys/dev/bi/if_ni.c: revision 1.45 sys/dev/cadence/if_cemac.c: revision 1.12 sys/dev/ic/am7990.c: revision 1.78 sys/dev/ic/am79900.c: revision 1.27 sys/dev/ic/an.c: revision 1.67 sys/dev/ic/cs89x0.c: revision 1.40 sys/dev/ic/dm9000.c: revision 1.13 sys/dev/ic/dm9000.c: revision 1.14 sys/dev/ic/dp8390.c: revision 1.88 sys/dev/ic/elink3.c: revision 1.141 sys/dev/ic/elinkxl.c: revision 1.122 sys/dev/ic/hme.c: revision 1.98 sys/dev/ic/i82586.c: revision 1.77 sys/dev/ic/lance.c: revision 1.53 sys/dev/ic/mb86950.c: revision 1.27 sys/dev/ic/mb86960.c: revision 1.86 sys/dev/ic/mtd803.c: revision 1.34 sys/dev/ic/pdq_ifsubr.c: revision 1.59 sys/dev/ic/rrunner.c: revision 1.86 sys/dev/ic/seeq8005.c: revision 1.58 sys/dev/ic/sgec.c: revision 1.47 sys/dev/ic/smc90cx6.c: revision 1.72 sys/dev/ic/smc91cxx.c: revision 1.96 sys/dev/ic/tropic.c: revision 1.49 sys/dev/ic/wi.c: revision 1.245 sys/dev/isa/if_eg.c: revision 1.93 sys/dev/isa/if_el.c: revision 1.95 sys/dev/isa/if_iy.c: revision 1.101 sys/dev/ofw/ofnet.c: revision 1.58 sys/dev/pci/if_alc.c: revision 1.27 sys/dev/pci/if_de.c: revision 1.152 sys/dev/pci/if_fpa.c: revision 1.61 sys/dev/pci/if_jme.c: revision 1.34 sys/dev/pci/if_tl.c: revision 1.108 sys/dev/pci/if_vte.c: revision 1.19 sys/dev/pci/ixgbe/ixgbe.h: revision 1.50 sys/dev/pcmcia/if_cnw.c: revision 1.62 sys/dev/pcmcia/if_malo_pcmcia.c: revision 1.17 sys/dev/pcmcia/if_ray.c: revision 1.89 sys/dev/pcmcia/if_xi.c: revision 1.81 sys/dev/pcmcia/mhzc.c: revision 1.51 sys/dev/pcmcia/xirc.c: revision 1.34 sys/dev/qbus/if_de.c: revision 1.33 sys/dev/qbus/if_qe.c: revision 1.78 sys/dev/qbus/if_qt.c: revision 1.22 sys/dev/sbus/be.c: revision 1.87 sys/dev/sbus/qe.c: revision 1.68 sys/dev/scsipi/if_se.c: revision 1.96 sys/dev/usb/if_atu.c: revision 1.59 sys/net/if_l2tp.c: revision 1.28 via patch sys/net/if_ppp.c: revision 1.160 It's not required to include net/bpfdesc.h. Remove it. -- Simplify like other drivers. NULL check of ifp->if_bpf is done in bpf_mtap(), so it's not required to do it here. -- Remove duplicated inclusion of net/bpf.h. -- Remove duplicated inclusion of net/bpf.h. -- Simplify bpf_mtap() call. No functional change.
|
1.109.2.3 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.109.2.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.109.2.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.116.2.1 |
| 06-Nov-2019 |
martin | Pull up following revision(s) (requested by msaitoh in ticket #403):
sys/arch/arm/broadcom/bcm53xx_eth.c: revision 1.39 sys/dev/pcmcia/if_xi.c: revision 1.91 sys/dev/ic/aic6915.c: revision 1.40 sys/dev/pci/if_tl.c: revision 1.117 sys/arch/arm/gemini/gemini_gmac.c: revision 1.18 sys/dev/ic/elinkxl.c: revision 1.133 sys/dev/pci/if_ste.c: revision 1.57 sys/dev/pci/if_alc.c: revision 1.43 sys/dev/pci/if_stge.c: revision 1.72 sys/dev/pci/if_ale.c: revision 1.34 sys/dev/pci/if_age.c: revision 1.62 sys/dev/pci/if_txp.c: revision 1.60 sys/dev/ic/i82557.c: revision 1.156 sys/dev/pci/if_vte.c: revision 1.27 sys/arch/powerpc/booke/dev/pq3etsec.c: revision 1.47 sys/arch/arm/gemini/if_gpn.c: revision 1.13
if_percpuq(9) and ether_input() automatically increment if_ipackets, so don't add number of RX frames from device's statistics counter to if_ipackets to avoid double count.
|
1.118.2.1 |
| 29-Feb-2020 |
ad | Sync with head.
|