Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/seeq8005.c
RevisionDateAuthorComments
 1.66  30-Jan-2020  thorpej Adopt <net/if_stats.h>.
 1.65  10-Nov-2019  chs branches: 1.65.2;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.64  28-May-2019  msaitoh Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.
 1.63  23-May-2019  msaitoh Whitespace fix (mainly tabify).
 1.62  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.61  05-Feb-2019  msaitoh Remove very old IFF_NOTRAILERS flag.
 1.60  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.59  26-Jun-2018  msaitoh branches: 1.59.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.58  22-Jun-2018  msaitoh It's not required to include net/bpfdesc.h. Remove it.
 1.57  15-Dec-2016  ozaki-r branches: 1.57.8; 1.57.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.56  10-Jun-2016  ozaki-r branches: 1.56.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.55  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.54  12-Sep-2015  christos Add missing splx() found by brainy.
 1.53  13-Apr-2015  riastradh Convert sys/dev to use <sys/rndsource.h>.
 1.52  10-Aug-2014  tls branches: 1.52.4;
Merge tls-earlyentropy branch into HEAD.
 1.51  10-Oct-2012  skrll branches: 1.51.10;
Second part of PR/46998. The following is taken from the PR with a slight
edit from me.

The TX buffer size is not a function of the SEEQ chip, it is an arbitrary
driver threshold, so I've renamed the define accordingly and added a new
one to specify how many buffers are used (in my port I allow multiple
packets to be in flight at once, so have used #ifndef, such that the
makefile can override).

Comment corrected, and make use of the above defines.

Missing delay(1) added, otherwise the 20,000 timeout loop is dependent
on the speed of your processor. Matches ea_stoptx logic now.

The FIFO empty check does nothing if the previous mode was 'read', but is
required before changing the BUFCODE (per 80C04 datasheet page 19,
note [2]). Then the mode is set to write, so a second FIFO empty check is
needed incase the previous mode was read.

Treat m0 as a pointer not an integer.

Remove double write of the NULL packet header. Either do
memset/ea_writebuf or two writes to SEEQ_BUFWIN, but not both.

The calculation of nextpacket (for hdr[]) assumes bufstart = 0, and puts
the packet header pointing in the wrong place when it isn't.

The setting of CFG2_OUTPUT is done in ea_init(), so doing it in ea_rxinit
is duplicated code.
 1.50  10-Oct-2012  skrll Split softc/device_t
Use device_xname

From chuq
 1.49  10-Oct-2012  skrll Rename eatxpacket to ea_txpacket for consistency.

First part of PR/46998
 1.48  10-Jun-2012  christos branches: 1.48.2;
PR/46576: Robert Sprowson: Shutdown doesn't disable TX/RX interrupts in
SEEQ8005 driver, plus misc white-space and 0->NULL fixes.
 1.47  09-May-2012  martin PR port-acorn32/46435: type mismatch, padbuf should be unsigned char.
 1.46  02-Feb-2012  tls branches: 1.46.2;
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.45  05-Apr-2010  joerg branches: 1.45.8; 1.45.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.44  19-Jan-2010  pooka branches: 1.44.2; 1.44.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.43  08-Apr-2008  cegger branches: 1.43.4;
use aprint_*_dev and device_xname
 1.42  19-Oct-2007  ad branches: 1.42.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.41  26-Aug-2007  dyoung branches: 1.41.2; 1.41.6;
Constify: LLADDR -> CLLADDR. I'm aiming here to make it easier to
identify sockaddr_dl abuse that remains in the kernel, especially
the potential for overwriting memory past the end of a sockaddr_dl
with, e.g., memcpy(LLADDR(), ...).
 1.40  05-Mar-2007  he branches: 1.40.2; 1.40.10; 1.40.14;
Use a char* variable for doing pointer arithmetic with.
 1.39  04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.38  11-Dec-2005  christos branches: 1.38.26;
merge ktrace-lwp.
 1.37  27-Feb-2005  perry branches: 1.37.4;
nuke trailing whitespace
 1.36  30-Oct-2004  thorpej branches: 1.36.4; 1.36.6;
When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.

Fixes kern/27678.
 1.35  15-Jan-2003  bouyer branches: 1.35.2; 1.35.6;
Use a properly zero'd buffer to pad the packet to ETHER_MIN_LEN
XXX should it be ETHER_MIN_LEN-ETHER_CRC_LEN ?
 1.34  03-Nov-2002  bjh21 Quieten lint a little.
 1.33  07-Jun-2002  bjh21 When copying a block with an odd size to or from the card, be very careful
not to overrun the end of it on the host side, since that might just slip over
a page boundary and cause an embarrassing kernel panic.
 1.32  15-Nov-2001  lukem branches: 1.32.8; 1.32.10;
don't need <sys/types.h> when including <sys/param.h>
 1.31  13-Nov-2001  lukem add/cleanup RCSID
 1.30  07-Nov-2001  bjh21 Add support for feeding entropy to rnd(4).
 1.29  07-Jul-2001  thorpej branches: 1.29.2; 1.29.6;
bcopy -> strcpy
 1.28  07-Jul-2001  thorpej bcmp -> memcmp
 1.27  26-Jun-2001  bjh21 Add support for handling full-size 802.1Q packets.
 1.26  23-Jun-2001  bjh21 ea_mc_reset_8004(): Rather than doing the CRC32 ourselves, call
ether_crc32_be() to do it for us.
 1.25  23-Jun-2001  bjh21 Fix bogons in previous commit:
* Remove harmful debugging code from seeq8005_attach().
* Re-insert variable declarations in ea_mc_reset_8004(), since they aren't
dead yet.
 1.24  22-Jun-2001  bjh21 Attampt support for 8-bit mode. I believe this should work, but I need a more
flexible bus_space on arm26 before I can test it.
 1.23  12-Jun-2001  bjh21 No need to pull in INET or NS headers -- that's all done by ether_ioctl() now.
 1.22  06-Apr-2001  bjh21 In ea_writembuf(), reset the DMA pointer for each mbuf we copy, since
odd-sized mbufs will confuse things. This makes transmission of odd-sized
packets work.
 1.21  05-Apr-2001  bjh21 Add a bit of voodoo code from the old "eb" driver that seems to prevent the
80C04 returning garbage when we read from it. This driver can now handle flood
pings without dropping packets.
 1.20  02-Apr-2001  bjh21 Tweak product ID printing in light of the 80C04A data sheet.

Split out Rx and Tx interrupt handlers into their own functions for clarity.
 1.19  29-Mar-2001  bjh21 On an 80C04, try not to start reads at addresses of the form xx,ea, xx,ee, or
xx,f0. This appears to heavily alleviate, but not to eliminate entirely,
the problems I've been seeing with garbage being read from the rx buffer.
I suspect the real solution lies elsewhere.
 1.18  29-Mar-2001  bjh21 Print a warning message when the DMA FIFO fails to fill or empty before we
time out.
 1.17  27-Mar-2001  bjh21 Print the address within the Rx buffer whenever anything goes wrong: it seems
to be significant.
 1.16  27-Mar-2001  bjh21 Clean up debugging printfs a little.
 1.15  27-Mar-2001  bjh21 Add some extra diagnostics:
* Use the timer to timoe out transmit operations.
* Spot when the "next packet" pointer falls outside the recieve buffer and
reset the interface.
* Don't reset the interface when we get a bad packet (unless there's
something else wrong as well).
 1.14  27-Mar-2001  bjh21 Comment and #ifdef cleanup.
 1.13  25-Mar-2001  bjh21 Tweak handling of multicast on 80C04. I think we need to set the match mode
to "multicast" for it to work, but I could be wrong.

Also make ALLMULTI work on 80C04, but this is untested.
 1.12  24-Mar-2001  bjh21 Re-arrange board memory to suit the current (crude) transmit code.

Add ea_writembuf() from mark's code, and re-work eatxpacket() to use it.
 1.11  24-Mar-2001  bjh21 Enormous pile of changes from mark's (uncommitted) work on this driver.
About the only bit of his code not here is the transmit routines, which I'll
merge in separately.

Also a few bug-fixes, so (for instance) multicast on an 8005 doesn't
immediately fall back to IFF_ALLMULTI.
 1.10  24-Mar-2001  bjh21 Change all the register definitions to match the names using in mark's
improved version of the driver.
 1.9  24-Mar-2001  bjh21 Handle IFF_ALLMULTI correctly. We can now cope with multicast, but for
some reason DAD fails when starting IPv6.
 1.8  23-Dec-2000  bjh21 branches: 1.8.2;
Print the newline after the memory test. This makes it clear that the delay's
related to this driver rather than the next device to be attached.
 1.7  14-Dec-2000  thorpej ALTQ'ify.
 1.6  15-Nov-2000  thorpej branches: 1.6.2;
Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().
 1.5  03-Nov-2000  bjh21 First attempt at multicast stuff. I suspect it doesn't work.
Use ether_ioctl -- saves 300 bytes of text.
 1.4  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.3  23-Sep-2000  bjh21 Substantial overhaul, factoring out of common code, removal of redundancy
and general cleanup. Still not a beautiful driver, but one I'd be willing to
introduce to my parents now.
 1.2  21-Sep-2000  bjh21 Add rudimentary 80C04 support (basically saying "Oh look, an 80C04!").
Move printing the initial ":" into the board driver, like i82586.c does.
Don't bother printing the amount of RAM, as it's always 64 KB.
 1.1  18-Sep-2000  bjh21 Split the arm26 Ether3 (ea) driver into an MI driver for the SEEQ 8005 chip,
and a front-end driver for the Ether3. Only semantic change is to remove
ea_claimirq() and ea_releaseirq() on the grounds that the seem too spurious
to warrant a callback to the front-end.
 1.6.2.6  21-Apr-2001  bouyer Sync with HEAD
 1.6.2.5  27-Mar-2001  bouyer Sync with HEAD.
 1.6.2.4  05-Jan-2001  bouyer Sync with HEAD
 1.6.2.3  22-Nov-2000  bouyer Sync with HEAD.
 1.6.2.2  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.6.2.1  15-Nov-2000  bouyer file seeq8005.c was added on branch thorpej_scsipi on 2000-11-20 11:40:53 +0000
 1.8.2.8  17-Jan-2003  thorpej Sync with HEAD.
 1.8.2.7  11-Nov-2002  nathanw Catch up to -current
 1.8.2.6  20-Jun-2002  nathanw Catch up to -current.
 1.8.2.5  08-Jan-2002  nathanw Catch up to -current.
 1.8.2.4  14-Nov-2001  nathanw Catch up to -current.
 1.8.2.3  24-Aug-2001  nathanw Catch up with -current.
 1.8.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.8.2.1  09-Apr-2001  nathanw Catch up with -current.
 1.29.6.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.29.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.29.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.32.10.2  27-Jan-2003  jmc Pullup revisions 1.34-1.35 (requested by bouyer in ticket #1087)

Use a properly zero'd buffer to pad the packet to ETHER_MIN_LEN
XXX should it be ETHER_MIN_LEN-ETHER_CRC_LEN ?
 1.32.10.1  07-Jun-2002  thorpej pullup-1-6 ticket #201:

syssrc/sys/dev/ic/seeq8005.c 1.33

When copying a block with an odd size to or from the card, be very careful
not to overrun the end of it on the host side, since that might just slip over
a page boundary and cause an embarrassing kernel panic.
 1.32.8.1  20-Jun-2002  gehenna catch up with -current.
 1.35.6.1  24-Jan-2005  he Pull up revision 1.36 (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.35.2.2  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.35.2.1  02-Nov-2004  skrll Sync with HEAD.
 1.36.6.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.36.4.1  29-Apr-2005  kent sync with -current
 1.37.4.2  27-Oct-2007  yamt sync with head.
 1.37.4.1  03-Sep-2007  yamt sync with head.
 1.38.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.40.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.40.14.1  03-Sep-2007  jmcneill Sync with HEAD.
 1.40.10.1  03-Sep-2007  skrll Sync with HEAD.
 1.40.2.2  23-Oct-2007  ad Sync with head.
 1.40.2.1  09-Oct-2007  ad Sync with head.
 1.41.6.1  25-Oct-2007  bouyer Sync with HEAD.
 1.41.2.1  06-Nov-2007  matt sync with HEAD
 1.42.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.43.4.2  11-Aug-2010  yamt sync with head.
 1.43.4.1  11-Mar-2010  yamt sync with head
 1.44.4.1  30-May-2010  rmind sync with head
 1.44.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.45.12.2  02-Jun-2012  mrg sync to latest -current.
 1.45.12.1  18-Feb-2012  mrg merge to -current.
 1.45.8.3  30-Oct-2012  yamt sync with head
 1.45.8.2  23-May-2012  yamt sync with head.
 1.45.8.1  17-Apr-2012  yamt sync with head
 1.46.2.1  12-Jun-2012  riz Pull up following revision(s) (requested by christos in ticket #325):
sys/dev/ic/seeq8005.c: revision 1.48
PR/46576: Robert Sprowson: Shutdown doesn't disable TX/RX interrupts in
SEEQ8005 driver, plus misc white-space and 0->NULL fixes.
 1.48.2.3  03-Dec-2017  jdolecek update from HEAD
 1.48.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.48.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.51.10.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.52.4.5  05-Feb-2017  skrll Sync with HEAD
 1.52.4.4  09-Jul-2016  skrll Sync with HEAD
 1.52.4.3  19-Mar-2016  skrll Sync with HEAD
 1.52.4.2  22-Sep-2015  skrll Sync with HEAD
 1.52.4.1  06-Jun-2015  skrll Sync with HEAD
 1.56.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.57.14.3  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.57.14.2  28-Jul-2018  pgoyette Sync with HEAD
 1.57.14.1  25-Jun-2018  pgoyette Sync with HEAD
 1.57.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.59.2.3  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.59.2.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.59.2.1  10-Jun-2019  christos Sync with HEAD
 1.65.2.1  29-Feb-2020  ad Sync with head.

RSS XML Feed