Commit Graph

43 Commits

Author SHA1 Message Date
Björn Stein
d87b874b21 eth: add memory barriers, reorder access 2019-10-18 00:04:22 +02:00
Björn Stein
9053166acc eth: increase desc list safety 2019-10-18 00:03:17 +02:00
4e9c38527e rm debug, delint 2019-09-29 03:01:24 +02:00
a76214cb9d eth: split into Eth and EthInner 2019-09-29 02:58:17 +02:00
0f6bc68d1f eth: prepare link change detection 2019-09-29 02:30:03 +02:00
644cc64524 eth: align DescEntries 2019-09-29 01:39:12 +02:00
9c73cf130d eth: wait for link 2019-08-19 02:21:02 +02:00
d11e581862 main: setup smoltcp
still panics, leading to a DataAbort
2019-08-19 01:18:12 +02:00
3a5ed0aac6 eth: add smoltcp support 2019-08-19 01:18:12 +02:00
5603766c5d eth: enable csum offloading
should prevent FCS errors
2019-08-19 01:12:52 +02:00
43c3f3e4a6 eth: fix tx_clock magnitude bug
Ethernet TX now works!
2019-08-18 22:52:05 +02:00
4bc1d21ae9 eth: rm obsolete TODO 2019-08-18 22:44:33 +02:00
bfb3a00a4e eth: derive proper mdc_clk_div from clocks 2019-08-18 22:43:56 +02:00
b8818863c4 read clocks 2019-08-17 03:20:04 +02:00
1f9ad5ff62 delint 2019-08-11 00:56:54 +02:00
b9c233b05b compile fixes 2019-07-01 00:15:17 +02:00
d6b2321fee eth: fix mio_pin setup 2019-06-29 00:00:22 +02:00
9ab40daca2 eth: setup_gem0/1_clock() 2019-06-25 21:50:38 +02:00
5823d90db1 phy: implement control, status, reset 2019-06-25 21:48:47 +02:00
e6827a81f3 eth tx: set net_ctrl.start_tx on sending 2019-06-25 01:46:29 +02:00
374686fd3e eth tx: set last_buffer flag 2019-06-24 02:15:11 +02:00
ce74fe7299 eth: prepare tx 2019-06-22 01:39:44 +02:00
ec5dda4d0a eth: add const MTU 2019-06-22 01:34:17 +02:00
6757ceb76c eth rx: error handling 2019-06-22 01:20:18 +02:00
a4be03bee9 rx: PktRef 2019-06-21 01:19:04 +02:00
e5881a14ad eth rx: descriptors/buffers as refs
avoid moving these after their addresses have been written to the qbar
2019-06-21 00:58:18 +02:00
b3b65f9b74 eth: find Phy 2019-06-19 00:21:17 +02:00
54d0f3583d eth: fix io configuration
phy detection now works
2019-06-18 23:10:35 +02:00
81a892b618 eth: recv_next() 2019-06-10 02:44:29 +02:00
f92ea3b99d eth: start_tx 2019-06-09 20:28:33 +02:00
f07a541c99 eth: model rx/tx state with type parameters 2019-06-09 20:10:41 +02:00
74bd81f87f eth: add safety asserts 2019-06-09 02:23:37 +02:00
824e91e6cb eth: rx/tx desc list, start_rx 2019-06-09 01:02:10 +02:00
b9ca9324f0 eth: fix initialization 2019-06-04 23:48:33 +02:00
b13bf72c17 eth: begin phy communication 2019-05-30 02:42:42 +02:00
c0610ad66a slcr: init gem* rclk/clk 2019-05-30 02:26:19 +02:00
d10ffe9eb9 eth: setup mio_pins, configure net_cfg 2019-05-25 03:06:39 +02:00
6bf210366a regs: properly emit doc_comments 2019-05-24 23:49:49 +02:00
56c2f1d833 eth: add net_status, phy_maint registers 2019-05-24 00:20:59 +02:00
ad77e3dc04 eth: add net_cfg register 2019-05-24 00:06:29 +02:00
402b8c9ab1 eth: no unsafe, note, add qbar register fields 2019-05-23 23:18:36 +02:00
785e726661 RegisterW/RegisterRW: required &mut self for safety 2019-05-23 18:01:18 +02:00
b754581452 eth: add regs and init 2019-05-07 19:28:33 +02:00