minix/drivers/lan8710a
Lionel Sambuc 175d3e7eae Changing the message union to anonymous.
This allows us to write things like this:
  message m;
  m.m_notify.interrupts = new_value;

or
  message *mp;
  mp->m_notify.interrupts = new_value;

The shorthands macro have been adapted for the new scheme, and will be
kept as long as we have generic messages being used.

Change-Id: Icfd02b5f126892b1d5d2cebe8c8fb02b180000f7
2014-03-03 20:46:47 +01:00
..
lan8710a.c Changing the message union to anonymous. 2014-03-03 20:46:47 +01:00
lan8710a.conf Lan8710 driver initial version, after first review 2013-08-04 21:31:05 +00:00
lan8710a.h Lan8710 driver initial version, after first review 2013-08-04 21:31:05 +00:00
lan8710a_reg.h Lan8710 driver initial version, after first review 2013-08-04 21:31:05 +00:00
Makefile Lan8710 driver initial version, after first review 2013-08-04 21:31:05 +00:00
README.txt beaglebone ethernet improvements 2013-08-19 13:47:10 +00:00

--------------------------------------------------------------------------------
*                           INFORMATION:                                       *
--------------------------------------------------------------------------------
README file for the LAN8710A ethernet board driver for BeagleBone Rev. A6a

created July 2013, JPEmbedded (info@jpembedded.eu)

--------------------------------------------------------------------------------
*                           INSTALLATION:                                      *
--------------------------------------------------------------------------------
To install LAN8710A for BeagleBone under MINIX you execute 'netconf' as
usual.  Select the LAN8710A driver from the list.  Restart the system
and the driver should work.

--------------------------------------------------------------------------------
*                                 TESTS:                                       *
--------------------------------------------------------------------------------
Driver was tested using various tools, i. e.
* fetch - downloading file from the Internet and also local server. Every file
	  downloaded well, but speed was about 50-200 kB/s.
* ftp - downloading and uploading 20 MB file completed.
* ping - checking connection between BeagleBone and computer passed using stan -
	 dard  settings,  when we set ping  requests interval  to 200 ms it also
	 passed. But  with 20 ms  and 2 ms  driver dropped some packets (20 ms -
	 about 20% loss, 2 ms - 50% loss).
* udpstat, hostaddr, dhcpd, ifconfig, arp gave proper results.
Tests passed, so driver meets the requirements of ethernet driver.

--------------------------------------------------------------------------------
*                                LIMITATION:                                   *
--------------------------------------------------------------------------------
Download speed:  50-200 kB/s
Low bandwidth is probably caused by memory copy functions. Standard Linux driver 
copies packets data directly to destination buffer using DMA. Minix driver needs
to do a safe copy (sys_safecopyfrom and sys_safecopyto) from local buffer to the 
system buffer. This operation slows down the whole driver.