CVS log for src/sys/dev/ic/dwc_gmac_var.h
Up to [cvs.NetBSD.org] / src / sys / dev / ic
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Aug 11 12:48:09 2024 UTC (5 months ago) by riastradh
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +7 -7
lines
awge(4): Narrow scope of `core' lock and rename to mcast lock.
Sprinkle locking notes.
Proposed at:
https://mail-index.netbsd.org/source-changes-d/2024/08/10/msg014251.html
Comment-only changes from the updated patch at:
https://mail-index.netbsd.org/source-changes-d/2024/08/10/msg014252.html
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Aug 10 12:16:47 2024 UTC (5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -17
lines
awge(4): MP improvements
Remove the non-MP-safe scaffolding and make the locking less
coarse.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Aug 8 06:44:19 2024 UTC (5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3
lines
KNF
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Feb 27 08:33:06 2024 UTC (10 months, 2 weeks ago) by skrll
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2
lines
Use __BIT.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Feb 11 12:25:20 2024 UTC (11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -7
lines
Fix a comment. arm32 stopped using 8K pages a long time ago.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Sep 18 18:26:53 2022 UTC (2 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-1-RELEASE,
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
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -1
lines
Eliminate use of IFF_OACTIVE.
Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:21 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +17 -3
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Sep 13 07:55:06 2019 UTC (5 years, 4 months ago) by msaitoh
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-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2
lines
if_flags is neither int nor short. It's unsigned short.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jul 21 08:24:32 2019 UTC (5 years, 5 months ago) by mrg
Branches: MAIN
CVS tags: 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
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +15 -1
lines
move DWCGMAC_MPSAFE into dwc_gmac_var.h and introduce an
additional define that is 0 or FDT_INTR_MPSAFE that the
frontends can use when passing to fdtbus_intr_establish().
with NET_MPSAFE enabled, this avoids hangs seen on rock64,
as well as finishing the MPSAFE port for this driver.
XXX: still don't know why the existing hangs occur.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jul 8 03:22:38 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
Add rnd(9) support.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:10 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +20 -2
lines
Sync with HEAD
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Feb 23 17:18:07 2019 UTC (5 years, 10 months ago) by martin
Branches: MAIN
CVS tags: phil-wifi-20190609,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -2
lines
Pass the phy ID to dwc_gmac_attach.
Revision 1.7.14.4: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:31 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.7.14.3: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.14.3: +18 -1
lines
Sync with head
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Oct 8 17:09:31 2018 UTC (6 years, 3 months ago) by martin
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +17 -0
lines
Bring back support for enhanced descriptor format in newer core versions.
Fix a few endian bugs and check the main core version before trying to
read the hardware feature mask. Only read the hardware feature register
if core version reported is >= 3.5 (all my older hardware reports 0).
With some hints and patches from jared, and ok from aymeric
Revision 1.7.14.3: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:50 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.7.14.2: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.14.2: +1 -1
lines
Ssync with HEAD
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Sep 28 21:51:42 2018 UTC (6 years, 3 months ago) by aymeric
Branches: MAIN
CVS tags: pgoyette-compat-0930
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -18
lines
Revert the recent support for enhanced descriptors until a viable solution is
found.
It broke at least Cubietruck, Orange Pi One, and maybe Rock64 ethernets in
different ways. Unfortunately it works on my Olinuxino Micro and Lime 2 so I
can't reproduce the bugs for now.
Should fix PR#53637
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Sep 17 20:25:49 2018 UTC (6 years, 3 months ago) by aymeric
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +18 -1
lines
Add support for the enhanced descriptors feature.
This makes "recent" dwc gmac controllers, as found e.g. on the Cyclone V, work.
The change was also tested working on an Allwinner A20 which doesn't have the
feature.
No negative reaction on port-arm.
Revision 1.7.14.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:45 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.7.14.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.14.1: +2 -2
lines
Sync with HEAD
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jun 30 16:27:48 2018 UTC (6 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-0906,
pgoyette-compat-0728,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
dwc_gmac_attach: return non-zero on failure
Revision 1.7.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:50 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -1
lines
Sync with HEAD
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Jun 16 00:15:00 2018 UTC (6 years, 7 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -1
lines
Add flag for disabling store-and-forward mode, and a callback for notifying
bus glue that the link speed has changed.
Revision 1.7.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:03 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.7.12.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.12.1: +100 -0
lines
update from HEAD
Revision 1.6.6.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:46 2017 UTC (7 years, 8 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +7 -1
lines
Sync with HEAD
Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:28 2017 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +7 -1
lines
Sync with HEAD
Revision 1.7.12.1
Sat Jan 21 10:30:15 2017 UTC (7 years, 11 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.7: +0 -100
lines
file dwc_gmac_var.h was added on branch tls-maxphys on 2017-12-03 11:37:03 +0000
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jan 21 10:30:15 2017 UTC (7 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-compat-base,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: tls-maxphys,
pgoyette-compat
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -1
lines
Merge from nick-nhusb - some MPification
Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 12 07:18:52 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +7 -1
lines
First pass at making this driver and attachments NET_MPSAFE aware.
I've not tested this yet.
Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Tue Feb 3 08:11:21 2015 UTC (9 years, 11 months ago) by bouyer
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.5.2.2: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.2: +2 -2
lines
Pull up following revision(s) (requested by snj in ticket #481):
sys/dev/ic/dwc_gmac_var.h: revision 1.6
sys/dev/ic/dwc_gmac_reg.h: revision 1.13
sys/dev/ic/dwc_gmac.c: revision 1.25
sys/dev/ic/dwc_gmac.c: revision 1.26
sys/dev/ic/dwc_gmac.c: revision 1.28
sys/dev/ic/dwc_gmac.c: revision 1.31
- Add MII flow control support
- Set "disable jabber" and "auto padding/CRC stripping" bits in MAC conf
- Write intr mask to intr mask register, not status
- Setup both TX and RX burst modes
- Setup both TX and RX store & forward modes
- Correct an issue with the "end" descriptor passed to dwc_gmac_txdesc_sync
in dwc_gmac_tx_intr
ok martin@
Revert previous change to dwc_gmac_txintr() - while it looks strange at
first sight (and sorry I didn't spot it when reviewing), it is a small
optimization and actually correct.
Add a comment explaining it.
After handling an interrupt, try to handle more packets as we may have
space in the descriptor ring now.
Pointed out by Jared.
fix a couple txq fencepost issues, from FUKAUMI Naoki <fun@naobsd.org>
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Nov 22 18:31:03 2014 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
localcount-20160914,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
nick-nhusb,
bouyer-socketcan
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
- Add MII flow control support
- Set "disable jabber" and "auto padding/CRC stripping" bits in MAC conf
- Write intr mask to intr mask register, not status
- Setup both TX and RX burst modes
- Setup both TX and RX store & forward modes
- Correct an issue with the "end" descriptor passed to dwc_gmac_txdesc_sync
in dwc_gmac_tx_intr
ok martin@
Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 9 19:06:57 2014 UTC (10 years, 2 months ago) by snj
Branches: netbsd-7
Diff to: previous 1.5.2.1: preferred, colored
Changes since revision 1.5.2.1: +94 -0
lines
Pull up following revision(s) (requested by martin in ticket #189):
sys/dev/ic/dwc_gmac.c: revision 1.1-1.24
sys/dev/ic/dwc_gmac_reg.h: revision 1.1-1.12
sys/dev/ic/dwc_gmac_var.h: revision 1.1-1.5
Add support for Synopsis Designware GMAC ethernet core, as found on
various Allwiner boards and used by the awge(4) driver.
Revision 1.5.2.1
Sun Oct 26 17:39:16 2014 UTC (10 years, 2 months ago) by snj
Branches: netbsd-7
FILE REMOVED
Changes since revision 1.5: +0 -94
lines
file dwc_gmac_var.h was added on branch netbsd-7 on 2014-11-09 19:06:57 +0000
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Oct 26 17:39:16 2014 UTC (10 years, 2 months ago) by martin
Branches: MAIN
Branch point for: netbsd-7
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1
lines
Greatly simplify ioctl handling by fully relying on ether_ioctl and a
ifflags-change callback, together with a shadow copy of the last active
interface flags.
Fix ALLMULTI vs. PROMISC handling.
Fix mac hash filter calculation by reversing the crc bits (pointed out
by Jared).
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Oct 20 20:10:05 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -0
lines
add $NetBSD$ to top of files
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Sep 11 06:56:05 2014 UTC (10 years, 4 months ago) by martin
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1
lines
Simplify device property handling by moving it into the core driver.
Overriding the MAC address now works again.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Sep 9 10:04:19 2014 UTC (10 years, 4 months ago) by martin
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1
lines
Make the MII clock variable and passed in from the frontend.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Sep 8 14:24:32 2014 UTC (10 years, 4 months ago) by martin
Branches: MAIN
Add work-in-progress driver for the Designware GMAC core, found on some
allwinner chips.
CVSweb <webmaster@jp.NetBSD.org>