xref: /minix/minix/drivers/net/lan8710a/README.txt (revision 9f81acbc)
1--------------------------------------------------------------------------------
2*                           INFORMATION:                                       *
3--------------------------------------------------------------------------------
4README file for the LAN8710A ethernet board driver for BeagleBone Rev. A6a
5
6created July 2013, JPEmbedded (info@jpembedded.eu)
7
8--------------------------------------------------------------------------------
9*                           INSTALLATION:                                      *
10--------------------------------------------------------------------------------
11To configure LAN8710A for BeagleBone under MINIX you execute 'netconf' as
12usual.  If an interface 'cpsw0' is listed, the driver is running and you can
13configure it however you wish.
14
15--------------------------------------------------------------------------------
16*                                 TESTS:                                       *
17--------------------------------------------------------------------------------
18Driver was tested using various tools, i. e.
19* fetch - downloading file from the Internet and also local server. Every file
20	  downloaded well, but speed was about 50-200 kB/s.
21* ftp - downloading and uploading 20 MB file completed.
22* ping - checking connection between BeagleBone and computer passed using stan -
23	 dard  settings,  when we set ping  requests interval  to 200 ms it also
24	 passed. But  with 20 ms  and 2 ms  driver dropped some packets (20 ms -
25	 about 20% loss, 2 ms - 50% loss).
26* udpstat, hostaddr, dhcpd, ifconfig, arp gave proper results.
27Tests passed, so driver meets the requirements of ethernet driver.
28
29--------------------------------------------------------------------------------
30*                                LIMITATION:                                   *
31--------------------------------------------------------------------------------
32Download speed:  50-200 kB/s
33Low bandwidth is probably caused by memory copy functions. Standard Linux driver
34copies packets data directly to destination buffer using DMA. Minix driver needs
35to do a safe copy (sys_safecopyfrom and sys_safecopyto) from local buffer to the
36system buffer. This operation slows down the whole driver.
37