The NetBSD Project

CVS log for src/sys/arch/arm/rockchip/Attic/rockchip_emac.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / rockchip

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.18
Thu Feb 8 00:10:26 2018 UTC (7 years ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-futex-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, 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, pgoyette-compat, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, isaki-audio2-base, isaki-audio2, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
FILE REMOVED
Changes since revision 1.17: +2 -2 lines
Move Rockchip port to the attic. It is not very useful.

Revision 1.17.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:55 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.17.12.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.12.1: +938 -0 lines
update from HEAD

Revision 1.12.2.7: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:31 2017 UTC (7 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.12.2.6: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.6: +4 -3 lines
Sync with HEAD

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:24 2017 UTC (7 years, 9 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +4 -3 lines
Sync with HEAD

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:11 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +4 -3 lines
Sync with HEAD

Revision 1.17.12.1
Mon Feb 20 08:25:57 2017 UTC (7 years, 11 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.17: +0 -938 lines
file rockchip_emac.c was added on branch tls-maxphys on 2017-12-03 11:35:55 +0000

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Feb 20 08:25:57 2017 UTC (7 years, 11 months ago) by ozaki-r
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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -3 lines
Apply deferred if_start to more drivers...

Revision 1.12.2.6: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:04 2017 UTC (8 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.12.2.5: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.5: +2 -4 lines
Sync with HEAD

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:11 2017 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -4 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Dec 15 09:28:02 2016 UTC (8 years, 1 month ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, nick-nhusb-base-20170204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -4 lines
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

Revision 1.12.2.5: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:24:50 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.12.2.4: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.4: +3 -3 lines
Sync with HEAD

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Jun 10 13:27:11 2016 UTC (8 years, 8 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
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.

Revision 1.12.2.4: download - view: text, markup, annotated - select for diffs
Fri Apr 22 15:44:09 2016 UTC (8 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.12.2.3: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.3: +3 -3 lines
Sync with HEAD

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Mar 26 17:04:03 2016 UTC (8 years, 10 months ago) by martin
Branches: MAIN
CVS tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
David Binderman in port-arm/51013: masking of rxbdtlen happened before
the value was read - move it down a few lines.

Revision 1.12.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:29:56 2016 UTC (8 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.12.2.2: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.2: +3 -3 lines
Sync with HEAD

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Feb 9 08:32:08 2016 UTC (9 years ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20160319
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
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!

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:17:53 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.1: +939 -0 lines
Sync with HEAD

Revision 1.12.2.1
Mon Feb 23 19:05:16 2015 UTC (9 years, 11 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.12: +0 -939 lines
file rockchip_emac.c was added on branch nick-nhusb on 2015-04-06 15:17:53 +0000

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Feb 23 19:05:16 2015 UTC (9 years, 11 months ago) by martin
Branches: MAIN
CVS tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Branch point for: nick-nhusb
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +37 -26 lines
Apply patch from FUKAUMI Naoki to fix ring buffer handling when the
ring fills completely.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jan 17 15:05:24 2015 UTC (10 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -5 lines
Add Rockchip PX2 support, from FUKAUMI Naoki <fun@naobsd.org>

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jan 13 10:36:15 2015 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
one more segment can be queued, from FUKAUMI Naoki <naobsd@gmail.com>

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jan 8 14:17:42 2015 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4 lines
fix a couple txq fencepost issues, from FUKAUMI Naoki <fun@naobsd.org>

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jan 8 13:37:54 2015 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
no need to invert ether_crc32_le return, now multicast works

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jan 6 11:22:09 2015 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -0 lines
Make sure to write our MAC address to the chip

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jan 6 11:19:16 2015 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
fix multicast hash calculation

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Jan 5 23:00:52 2015 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
dont clear EMAC_STAT_MDIO on irq, as we poll this bit in readreg/writereg

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jan 5 22:16:49 2015 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +58 -33 lines
add multicast filter support

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jan 5 21:57:49 2015 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +39 -17 lines
various fixes from FUKAUMI Naoki <fun@naobsd.org> and martin@

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jan 4 11:54:43 2015 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +29 -3 lines
set rmii rate to 50MHz, handle 10 vs 100 Mbps

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jan 4 03:53:02 2015 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
Add Rockchip ethernet driver, untested.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>