CVS log for src/sys/arch/arm/sunxi/sun4i_emac.c
Up to [cvs.NetBSD.org] / src / sys / arch / arm / sunxi
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Sep 18 02:32:14 2022 UTC (2 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -10
lines
Eliminate use of IFF_OACTIVE.
Revision 1.12.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:18 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +8 -8
lines
Sync with HEAD.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jan 27 03:10:20 2021 UTC (3 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -6
lines
Rename of_match_compat_data() to of_compatible_match(). Similarly,
rename of_search_compatible() to of_compatible_lookup().
Standardize on of_compatible_match() for driver matching, and adapt
all call sites.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Jan 15 22:47:32 2021 UTC (3 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4
lines
use fdtbus_intr_establish_xname
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:31 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +5 -5
lines
Merge changes from current as of 20200406
Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:20 2020 UTC (4 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +5 -5
lines
Sync with head.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jan 29 06:05:31 2020 UTC (4 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3
Branch point for: thorpej-futex
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -5
lines
Adopt <net/if_stats.h>.
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:56 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +63 -52
lines
Sync with HEAD
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue May 28 07:41:46 2019 UTC (5 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +8 -7
lines
Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu May 23 13:10:50 2019 UTC (5 years, 5 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +18 -18
lines
Whitespace fix (mainly tabify).
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu May 23 10:57:27 2019 UTC (5 years, 5 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +28 -24
lines
-No functional change:
- KNF
- u_int*_t -> uint*_t.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed May 8 09:53:43 2019 UTC (5 years, 6 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -2
lines
Protect ether_multi list
PR 54153
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Apr 22 07:51:16 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -7
lines
In drivers which use MII(4) and have hook SIOC[GS]IFMEDIA which just pass to
ifmedia_ioctl(), the hook is not required because ether_ioctl has it
(if_ethersubr.c rev. 1.160). These drivers don't return ENETRESET in
ifmedia_ioctl(), so no functional change.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 26 22:00:01 2019 UTC (5 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +18 -10
lines
Sync with HEAD
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jan 22 03:42:25 2019 UTC (5 years, 9 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +18 -10
lines
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
Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:29 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4
lines
Sync with HEAD
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jul 18 23:10:27 2018 UTC (6 years, 3 months ago) by sevan
Branches: MAIN
CVS tags: pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
Be consistent among ethernet drivers on the convention for printing ethernet
addresses.
NFC
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:47:58 2018 UTC (6 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-base
Branch point for: phil-wifi
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
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.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Feb 12 17:04:58 2018 UTC (6 years, 8 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -2
lines
Another missing NULL-check.
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:56 2017 UTC (6 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +896 -0
lines
update from HEAD
Revision 1.2.2.1
Thu Nov 30 18:29:25 2017 UTC (6 years, 11 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.2: +0 -896
lines
file sun4i_emac.c was added on branch tls-maxphys on 2017-12-03 11:35:56 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Nov 30 18:29:25 2017 UTC (6 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Branch point for: tls-maxphys
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -2
lines
report VLAN MTU capability
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Oct 20 22:29:15 2017 UTC (7 years ago) by jmcneill
Branches: MAIN
Add driver for sun4i/sun7i 10/100 Fast Ethernet controller (EMAC).
CVSweb <webmaster@jp.NetBSD.org>