This is a very simple, but working kernel driver for WhiteRabbit mini-NIC (hdl/modules/wrsw_mini_nic) with proper WR timestamping. TODO: - add calibration/DMTD ioctls() - add support for more than 1 endpoint + miNIC (configurable platform_devices) - add NAPI polling - add support for sending multiple descriptors (TX ring buffer) - cleanup, adapt to kernel coding rules - add TX_TS interrupt handler for proper reception of TX timestamps BUGS: - sometimes drops a warning like this one: # ping 192.168.100.1 PING 192.168.100.1 (192.168.100.1): 56 data bytes ------------[ cut here ]------------ WARNING: at kernel/softirq.c:143 local_bh_enable+0x44/0xac() Modules linked in: wr_minic whiterabbit_vic [] (unwind_backtrace+0x0/0xf0) from [] (warn_slowpath_common+0x4c/0x64) [] (warn_slowpath_common+0x4c/0x64) from [] (warn_slowpath_null+0x18/0x1c) [] (warn_slowpath_null+0x18/0x1c) from [] (local_bh_enable+0x44/0xac) [] (local_bh_enable+0x44/0xac) from [] (neigh_lookup+0xb0/0xb8) [] (neigh_lookup+0xb0/0xb8) from [] (arp_process+0x514/0x680) [] (arp_process+0x514/0x680) from [] (__netif_receive_skb+0x244/0x26c) [] (__netif_receive_skb+0x244/0x26c) from [] (minic_rx_frame+0x1f4/0x238 [wr_minic]) [] (minic_rx_frame+0x1f4/0x238 [wr_minic]) from [<00000002>] (0x2) ---[ end trace b836ae4c93691b2b ]--- - fix compilation warning: MODPOST 1 modules WARNING: "wrmch_vic_request_irq" [/home/slayer/wrdev-new/software/drivers/wr_minic/wr-minic.ko] undefined! WARNING: "wrmch_vic_free_irq" [/home/slayer/wrdev-new/software/drivers/wr_minic/wr-minic.ko] undefined!