| History log of /src/sys/dev/ic/mtd803.c |
| Revision | | Date | Author | Comments |
| 1.41 |
| 29-Jan-2020 |
thorpej | Adopt <net/if_stats.h>.
|
| 1.40 |
| 30-May-2019 |
msaitoh | branches: 1.40.4; Simplify MII structure initialization and reference. No functional change.
|
| 1.39 |
| 28-May-2019 |
msaitoh | Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.
|
| 1.38 |
| 23-May-2019 |
msaitoh | -No functional change: - Simplify struct ethercom's pointer near ETHER_FIRST_MULTI(). - Simplify MII structure initialization. - u_int*_t -> uint*_t. - KNF
|
| 1.37 |
| 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.36 |
| 03-Sep-2018 |
riastradh | Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name min/max should not silently truncate to 32 bits on 64-bit systems. This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these may invite multiple evaluation bugs, these do _not_ cause integer truncation.
To avoid `fixing' these cases, I first changed the name in libkern, and then compile-tested every file where min/max occurred in order to confirm that it failed -- and thus confirm that nothing shadowed min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax acorn32/if_ie.c (not included in any kernels) macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of doing things fails safe, and the goal here, after all, is to _avoid_ silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that never silently truncate. But we should avoid doing that for a while, so that existing code has a chance to be detected by the compiler for conversion to uimin/uimax without changing the semantics until we can properly audit it all. (Who knows, maybe in some cases integer truncation is actually intended!)
|
| 1.35 |
| 26-Jun-2018 |
msaitoh | branches: 1.35.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.34 |
| 22-Jun-2018 |
msaitoh | It's not required to include net/bpfdesc.h. Remove it.
|
| 1.33 |
| 15-Dec-2016 |
ozaki-r | branches: 1.33.8; 1.33.14; 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.32 |
| 02-Oct-2016 |
christos | MFREE -> m_free
|
| 1.31 |
| 10-Jun-2016 |
ozaki-r | branches: 1.31.2; 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.30 |
| 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.29 |
| 10-Aug-2014 |
tls | branches: 1.29.4; Merge tls-earlyentropy branch into HEAD.
|
| 1.28 |
| 17-Oct-2013 |
christos | branches: 1.28.2; - remove unused variables - move variables inside ifdef sections - ifdef notdef unused code - use __USE for debugging variables
|
| 1.27 |
| 27-Oct-2012 |
chs | branches: 1.27.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
| 1.26 |
| 22-Jul-2012 |
matt | branches: 1.26.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.25 |
| 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.24 |
| 05-Apr-2010 |
joerg | branches: 1.24.8; 1.24.12; 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.23 |
| 19-Jan-2010 |
pooka | branches: 1.23.2; 1.23.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.22 |
| 12-May-2009 |
cegger | struct device * -> device_t, no functional changes intended.
|
| 1.21 |
| 14-Mar-2009 |
dsl | ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
| 1.20 |
| 28-Apr-2008 |
martin | branches: 1.20.8; 1.20.14; Remove clause 3 and 4 from TNF licenses
|
| 1.19 |
| 08-Apr-2008 |
cegger | branches: 1.19.2; 1.19.4; use aprint_*_dev and device_xname
|
| 1.18 |
| 12-Mar-2008 |
dyoung | Cosmetic: use device_t and accessors. Change to ANSI-style prototypes. Delete some dead code.
|
| 1.17 |
| 19-Jan-2008 |
dyoung | branches: 1.17.2; 1.17.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.16 |
| 05-Dec-2007 |
ad | branches: 1.16.4; lockmgr -> mutex
|
| 1.15 |
| 19-Oct-2007 |
ad | branches: 1.15.2; 1.15.4; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
| 1.14 |
| 01-Sep-2007 |
dyoung | branches: 1.14.4; Change a bazillion occurrences of code resembling this,
error = (cmd == SIOCADDMULTI) ? ether_addmulti(ifr, &sc->sc_ec) : ether_delmulti(ifr, &sc->sc_ec);
if (error == ENETRESET) {
to this,
if ((error = ether_ioctl(ifp, cmd, data)) == ENETRESET) {
which does the same thing.
(A bazillion is a very large number. This seems to make the i386 ALL kernel smaller by 3kB to 4kB.)
Use ifreq_getaddr() twice in es(4).
Whitespace nits.
|
| 1.13 |
| 04-Mar-2007 |
christos | branches: 1.13.2; 1.13.10; 1.13.14; 1.13.16; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.12 |
| 16-Nov-2006 |
christos | branches: 1.12.4; __unused removal on arguments; approved by core.
|
| 1.11 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
| 1.10 |
| 20-Feb-2006 |
thorpej | branches: 1.10.14; 1.10.16; Use device_is_active() rather than testing dv_flags for DVF_ACTIVE directly.
|
| 1.9 |
| 11-Dec-2005 |
christos | branches: 1.9.2; 1.9.4; 1.9.6; merge ktrace-lwp.
|
| 1.8 |
| 27-Feb-2005 |
perry | branches: 1.8.4; nuke trailing whitespace
|
| 1.7 |
| 04-Feb-2005 |
perry | de-__P
|
| 1.6 |
| 30-Oct-2004 |
thorpej | branches: 1.6.4; 1.6.6; When adding/deleting multicast addresses, only whack the address filter if the interface is marked RUNNING.
Fixes kern/27678.
|
| 1.5 |
| 02-Nov-2003 |
wiz | Fix some typos. From Tom Cosgrove via jmc@openbsd.
|
| 1.4 |
| 23-Sep-2003 |
martin | Fix rx buffer size bitmask, do not explicitly set burst length and use 1536 bytes buffers, so this driver can finally cope with full size ethernet packets. From Peter Bex.
|
| 1.3 |
| 14-Jul-2003 |
lukem | add missing __KERNEL_RCSID()
|
| 1.2 |
| 06-Jan-2003 |
wiz | branches: 1.2.2; descriptor with a c.
|
| 1.1 |
| 07-Nov-2002 |
martin | branches: 1.1.2; Add a driver for the Myson Technology MTD803 3-in-1 Fast Ethernet Controller, provided by Peter Bex in PR 18675.
|
| 1.1.2.3 |
| 07-Jan-2003 |
thorpej | Sync with HEAD.
|
| 1.1.2.2 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
| 1.1.2.1 |
| 07-Nov-2002 |
nathanw | file mtd803.c was added on branch nathanw_sa on 2002-11-11 22:09:52 +0000
|
| 1.2.2.6 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.2.2.5 |
| 04-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.2.2.4 |
| 02-Nov-2004 |
skrll | Sync with HEAD.
|
| 1.2.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.2.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.2.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.6.6.2 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.6.6.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
| 1.6.4.1 |
| 29-Apr-2005 |
kent | sync with -current
|
| 1.8.4.7 |
| 17-Mar-2008 |
yamt | sync with head.
|
| 1.8.4.6 |
| 21-Jan-2008 |
yamt | sync with head
|
| 1.8.4.5 |
| 07-Dec-2007 |
yamt | sync with head
|
| 1.8.4.4 |
| 27-Oct-2007 |
yamt | sync with head.
|
| 1.8.4.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
| 1.8.4.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
| 1.8.4.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
| 1.9.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
| 1.9.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
| 1.9.2.1 |
| 01-Mar-2006 |
yamt | sync with head.
|
| 1.10.16.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
| 1.10.16.1 |
| 22-Oct-2006 |
yamt | sync with head
|
| 1.10.14.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
| 1.12.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.13.16.3 |
| 23-Mar-2008 |
matt | sync with HEAD
|
| 1.13.16.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
| 1.13.16.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
| 1.13.14.3 |
| 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
| 1.13.14.2 |
| 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.13.14.1 |
| 03-Sep-2007 |
jmcneill | Sync with HEAD.
|
| 1.13.10.1 |
| 03-Sep-2007 |
skrll | Sync with HEAD.
|
| 1.13.2.2 |
| 23-Oct-2007 |
ad | Sync with head.
|
| 1.13.2.1 |
| 09-Oct-2007 |
ad | Sync with head.
|
| 1.14.4.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
| 1.15.4.1 |
| 08-Dec-2007 |
ad | Sync with head.
|
| 1.15.2.2 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.15.2.1 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.16.4.1 |
| 20-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.17.6.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.17.6.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.17.2.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
| 1.19.4.5 |
| 11-Aug-2010 |
yamt | sync with head.
|
| 1.19.4.4 |
| 11-Mar-2010 |
yamt | sync with head
|
| 1.19.4.3 |
| 16-May-2009 |
yamt | sync with head
|
| 1.19.4.2 |
| 04-May-2009 |
yamt | sync with head.
|
| 1.19.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
| 1.19.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
| 1.20.14.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.20.8.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
| 1.23.4.1 |
| 30-May-2010 |
rmind | sync with head
|
| 1.23.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
| 1.24.12.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
| 1.24.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.24.8.2 |
| 30-Oct-2012 |
yamt | sync with head
|
| 1.24.8.1 |
| 17-Apr-2012 |
yamt | sync with head
|
| 1.26.2.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.26.2.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.26.2.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.27.2.1 |
| 18-May-2014 |
rmind | sync with head
|
| 1.28.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.29.4.4 |
| 05-Feb-2017 |
skrll | Sync with HEAD
|
| 1.29.4.3 |
| 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.29.4.2 |
| 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.29.4.1 |
| 19-Mar-2016 |
skrll | Sync with HEAD
|
| 1.31.2.2 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
| 1.31.2.1 |
| 04-Nov-2016 |
pgoyette | Sync with HEAD
|
| 1.33.14.4 |
| 26-Jan-2019 |
pgoyette | Sync with HEAD
|
| 1.33.14.3 |
| 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|
| 1.33.14.2 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|
| 1.33.14.1 |
| 25-Jun-2018 |
pgoyette | Sync with HEAD
|
| 1.33.8.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.35.2.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.35.2.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.40.4.1 |
| 29-Feb-2020 |
ad | Sync with head.
|