Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/am79900.c
RevisionDateAuthorComments
 1.32  25-Sep-2022  thorpej Remove unnecessary include of <sys/malloc.h>.
 1.31  20-Oct-2020  roy le(4): add link status change reporting to drivers which support it

Reviewed by thorpej@
Tested by martin@
 1.30  19-Mar-2020  thorpej Don't bother with IFF_OACTIVE. Just keep processing so long as
sc->sc_no_td is less than sc->sc_ntbuf.
 1.29  04-Feb-2020  skrll Adopt <net/if_stats.h>
 1.28  26-Jun-2018  msaitoh branches: 1.28.2; 1.28.10;
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.27  22-Jun-2018  msaitoh It's not required to include net/bpfdesc.h. Remove it.
 1.26  23-May-2017  ozaki-r branches: 1.26.2; 1.26.8;
Fix builds
 1.25  23-May-2017  ozaki-r 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.24  13-Apr-2015  riastradh Convert sys/dev to use <sys/rndsource.h>.
 1.23  02-Feb-2012  tls branches: 1.23.6; 1.23.24;
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.22  05-Apr-2010  joerg branches: 1.22.8; 1.22.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.21  19-Jan-2010  pooka branches: 1.21.2; 1.21.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.20  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.19  04-Apr-2008  tsutsui branches: 1.19.2; 1.19.4;
Split device_t/softc for le(4) and variants and misc cosmetic changes.
 1.18  26-Aug-2007  dyoung branches: 1.18.22;
Constify.
 1.17  24-Dec-2005  perry branches: 1.17.30; 1.17.40; 1.17.44;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.16  11-Dec-2005  christos merge ktrace-lwp.
 1.15  27-Feb-2005  perry branches: 1.15.4;
nuke trailing whitespace
 1.14  24-Aug-2004  thorpej branches: 1.14.4; 1.14.6;
Use ANSI function decls and more use of static.
 1.13  24-Mar-2004  thorpej My copyright on this file is assigned to TNF.
 1.12  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.11  13-Nov-2001  lukem branches: 1.11.16;
add/cleanup RCSID
 1.10  07-Jul-2001  thorpej branches: 1.10.2;
bcopy -> memcpy
 1.9  30-May-2001  mrg use _KERNEL_OPT
 1.8  14-Dec-2000  thorpej branches: 1.8.2;
ALTQ'ify.
 1.7  28-Sep-2000  tsutsui 6 -> ETHER_ADDR_LEN
 1.6  24-Sep-2000  jdolecek am7990[0]_intr(): only print the "entering with isr=XX" debug message
if compiled with LEDEBUG > 1
 1.5  30-Mar-2000  augustss Remove register declarations.
 1.4  01-Dec-1999  thorpej Quiet down the "excessive collision" messages w/ LEDEBUG. None of the other
Ethernet drivers really report this quite as loudly as this did.
 1.3  08-Aug-1998  mycroft branches: 1.3.4; 1.3.12; 1.3.18;
Use splnet, not splimp.
 1.2  24-Jul-1998  drochner add random generator hook
 1.1  21-Jul-1998  drochner Split the LANCE driver into a part specific to the classic chip with
24-bit DMA addresses, and an independant part.
Implement support for the 32-bit mode in the newer (79c9xx) chips.
 1.3.18.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.12.2  05-Jan-2001  bouyer Sync with HEAD
 1.3.12.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.3.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.8.2.3  14-Nov-2001  nathanw Catch up to -current.
 1.8.2.2  24-Aug-2001  nathanw Catch up with -current.
 1.8.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.10.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.11.16.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.11.16.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.11.16.3  18-Sep-2004  skrll Sync with HEAD.
 1.11.16.2  25-Aug-2004  skrll Sync with HEAD.
 1.11.16.1  03-Aug-2004  skrll Sync with HEAD
 1.14.6.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.14.4.1  29-Apr-2005  kent sync with -current
 1.15.4.2  03-Sep-2007  yamt sync with head.
 1.15.4.1  21-Jun-2006  yamt sync with head.
 1.17.44.1  03-Sep-2007  jmcneill Sync with HEAD.
 1.17.40.1  03-Sep-2007  skrll Sync with HEAD.
 1.17.30.1  09-Oct-2007  ad Sync with head.
 1.18.22.1  02-Jun-2008  mjf Sync with HEAD.
 1.19.4.3  11-Aug-2010  yamt sync with head.
 1.19.4.2  11-Mar-2010  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.21.4.1  30-May-2010  rmind sync with head
 1.21.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.22.12.1  18-Feb-2012  mrg merge to -current.
 1.22.8.1  17-Apr-2012  yamt sync with head
 1.23.24.2  28-Aug-2017  skrll Sync with HEAD
 1.23.24.1  06-Jun-2015  skrll Sync with HEAD
 1.23.6.1  03-Dec-2017  jdolecek update from HEAD
 1.26.8.2  28-Jul-2018  pgoyette Sync with HEAD
 1.26.8.1  25-Jun-2018  pgoyette Sync with HEAD
 1.26.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.28.10.1  29-Feb-2020  ad Sync with head.
 1.28.2.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed