Stefan Roese  
		
	
	
		e3b9c98a23 
		
	 
	
	
	net: mvneta: Convert to driver model  
		
			... 
			Update this driver to support driver model. As all MVEBU boards using
this driver are converted with this patch, the non-driver-model code
can be removed completely. This is also the reason why this patch
is quite big and includes a) the driver change and b) the
platform change. As its not git-bisect save otherwise.
With this conversion, some parameters are now extracted from the
DT instread of using the config header defines. The supported
properties right now are:
PHY-mode ("phy-mode") and PHY-address ("reg").
The base addresses for the ethernet controllers can be removed from
the header files as well.
Please note that this patch also removes the E1000 network driver
from some MVEBU config headers. This is necessary, as with DM_ETH
configured and the e1000 driver enabled, the PCI driver also needs
to support DM. But the MVEBU PCI(e) driver still needs to get
ported to DM. When this is done, the E1000 driver can be enabled
again.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Cc: Dirk Eibach <dirk.eibach@gdsys.cc>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Simon Glass <sjg@chromium.org> 
		
	 
 
		2016-01-14 14:08:59 +01:00 
	 
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2014-10-23 11:53:02 -04:00 
		 
	
		
			
			
			
			
			
			2014-11-21 04:43:15 +01:00 
		 
	
		
			
			
			
			
			
			2014-11-21 04:43:15 +01:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:32 -06:00 
		 
	
		
			
			
			
			
			
			2015-12-23 16:11:49 +01:00 
		 
	
		
			
			
			
			
			
			2015-11-19 20:27:50 -07:00 
		 
	
		
			
			
			
			
			
			2015-08-28 11:46:35 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-19 20:27:50 -07:00 
		 
	
		
			
			
			
			
			
			2015-10-30 15:08:55 +01:00 
		 
	
		
			
			
			
			
			
			2015-03-24 10:50:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-21 21:50:28 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-19 20:27:50 -07:00 
		 
	
		
			
			
			
			
			
			2015-11-10 09:19:52 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-30 22:27:53 +01:00 
		 
	
		
			
			
			
			
			
			2015-05-13 09:46:19 -07:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-12 17:26:33 +01:00 
		 
	
		
			
			
			
			
			
			2015-09-13 10:37:29 +02:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-05-20 11:07:27 -05:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-05-20 11:07:27 -05:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-05-20 11:07:27 -05:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-05 08:24:42 +01:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-05 08:24:42 +01:00 
		 
	
		
			
			
			
			
			
			2015-05-20 11:07:27 -05:00 
		 
	
		
			
			
			
			
			
			2015-05-20 11:07:27 -05:00 
		 
	
		
			
			
			
			
			
			2015-05-20 11:07:27 -05:00 
		 
	
		
			
			
			
			
			
			2015-05-20 11:07:27 -05:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-05 08:24:42 +01:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:36 -06:00 
		 
	
		
			
			
			
			
			
			2015-11-10 09:19:52 -05:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2014-10-29 09:02:09 -04:00 
		 
	
		
			
			
			
			
			
			2015-02-21 08:23:51 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-13 11:05:15 +02:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-17 21:54:41 +01:00 
		 
	
		
			
			
			
			
			
			2015-05-28 08:18:25 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-12 13:17:27 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-11 17:12:57 -04:00 
		 
	
		
			
			
			
			
			
			2015-05-13 13:01:25 +02:00 
		 
	
		
			
			
			
			
			
			2014-09-24 18:30:28 -04:00 
		 
	
		
			
			
			
			
			
			2014-10-29 09:02:09 -04:00 
		 
	
		
			
			
			
			
			
			2014-10-29 09:02:09 -04:00 
		 
	
		
			
			
			
			
			
			2014-10-23 09:59:21 -04:00 
		 
	
		
			
			
			
			
			
			2015-08-14 11:05:28 -04:00 
		 
	
		
			
			
			
			
			
			2015-05-20 11:07:27 -05:00 
		 
	
		
			
			
			
			
			
			2014-09-24 18:30:28 -04:00 
		 
	
		
			
			
			
			
			
			2015-05-20 11:07:27 -05:00 
		 
	
		
			
			
			
			
			
			2015-05-20 11:07:27 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-05 08:24:42 +01:00 
		 
	
		
			
			
			
			
			
			2014-09-24 18:30:28 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-19 20:27:50 -07:00 
		 
	
		
			
			
			
			
			
			2015-11-10 09:19:52 -05:00 
		 
	
		
			
			
			
			
			
			2016-01-12 10:19:09 -07:00 
		 
	
		
			
			
			
			
			
			2016-01-10 10:51:43 +01:00 
		 
	
		
			
			
			
			
			
			2015-06-04 03:03:18 -06:00 
		 
	
		
			
			
			
			
			
			2015-11-21 21:50:20 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-12 17:38:08 +01:00 
		 
	
		
			
			
			
			
			
			2015-01-12 09:38:47 -05:00 
		 
	
		
			
			
			
			
			
			2015-01-23 16:53:36 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-11 14:59:16 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-28 10:48:23 -04:00 
		 
	
		
			
			
			
			
			
			2015-05-12 18:10:02 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-20 03:36:51 +01:00 
		 
	
		
			
			
			
			
			
			2015-05-20 11:07:27 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-20 03:36:51 +01:00 
		 
	
		
			
			
			
			
			
			2015-08-05 08:44:06 -06:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:11 -06:00 
		 
	
		
			
			
			
			
			
			2015-09-13 10:37:29 +02:00 
		 
	
		
			
			
			
			
			
			2015-11-13 06:46:24 -08:00 
		 
	
		
			
			
			
			
			
			2015-11-19 20:27:50 -07:00 
		 
	
		
			
			
			
			
			
			2015-03-24 10:50:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-01 08:07:22 -07:00 
		 
	
		
			
			
			
			
			
			2015-09-02 21:28:24 -06:00 
		 
	
		
			
			
			
			
			
			2016-01-11 11:22:43 -05:00 
		 
	
		
			
			
			
			
			
			2014-11-04 15:01:46 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-01 16:09:51 +01:00 
		 
	
		
			
			
			
			
			
			2015-11-19 20:27:50 -07:00 
		 
	
		
			
			
			
			
			
			2015-12-09 17:44:56 +08:00 
		 
	
		
			
			
			
			
			
			2015-06-08 17:32:40 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-07 13:41:04 +02:00 
		 
	
		
			
			
			
			
			
			2015-08-12 12:08:19 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-28 10:48:22 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-09 16:48:03 -04:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2014-11-21 04:43:15 +01:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:32 -06:00 
		 
	
		
			
			
			
			
			
			2015-01-29 13:11:02 +01:00 
		 
	
		
			
			
			
			
			
			2014-10-29 09:02:09 -04:00 
		 
	
		
			
			
			
			
			
			2015-02-17 22:52:41 +01:00 
		 
	
		
			
			
			
			
			
			2015-11-19 20:27:50 -07:00 
		 
	
		
			
			
			
			
			
			2015-09-09 07:48:03 -06:00 
		 
	
		
			
			
			
			
			
			2015-11-10 09:19:52 -05:00 
		 
	
		
			
			
			
			
			
			2015-04-09 09:14:12 +02:00 
		 
	
		
			
			
			
			
			
			2015-01-25 23:56:09 +01:00 
		 
	
		
			
			
			
			
			
			2015-05-20 11:07:27 -05:00 
		 
	
		
			
			
			
			
			
			2015-08-14 16:27:10 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-21 21:50:17 -05:00 
		 
	
		
			
			
			
			
			
			2014-11-21 04:43:15 +01:00 
		 
	
		
			
			
			
			
			
			2015-11-18 15:28:58 -05:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-01 16:09:51 +01:00 
		 
	
		
			
			
			
			
			
			2015-12-13 20:51:50 -07:00 
		 
	
		
			
			
			
			
			
			2015-10-19 11:26:49 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-21 21:50:17 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-30 12:50:29 +01:00 
		 
	
		
			
			
			
			
			
			2015-11-21 21:50:17 -05:00 
		 
	
		
			
			
			
			
			
			2016-01-14 14:08:59 +01:00 
		 
	
		
			
			
			
			
			
			2016-01-14 14:08:59 +01:00 
		 
	
		
			
			
			
			
			
			2015-05-12 18:10:02 -04:00 
		 
	
		
			
			
			
			
			
			2015-08-21 15:47:04 +02:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2014-11-21 04:43:15 +01:00 
		 
	
		
			
			
			
			
			
			2014-11-21 04:43:15 +01:00 
		 
	
		
			
			
			
			
			
			2015-11-19 20:27:50 -07:00 
		 
	
		
			
			
			
			
			
			2014-11-13 08:48:48 +09:00 
		 
	
		
			
			
			
			
			
			2014-11-13 08:48:48 +09:00 
		 
	
		
			
			
			
			
			
			2015-03-24 10:50:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-03-24 10:50:50 -04:00 
		 
	
		
			
			
			
			
			
			2014-11-21 04:43:15 +01:00 
		 
	
		
			
			
			
			
			
			2015-10-22 14:18:30 -04:00 
		 
	
		
			
			
			
			
			
			2016-01-12 10:19:09 -07:00 
		 
	
		
			
			
			
			
			
			2014-12-19 15:32:14 +01:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-21 21:50:17 -05:00 
		 
	
		
			
			
			
			
			
			2015-10-22 14:18:30 -04:00 
		 
	
		
			
			
			
			
			
			2014-11-01 18:18:04 +01:00 
		 
	
		
			
			
			
			
			
			2014-11-21 04:43:15 +01:00 
		 
	
		
			
			
			
			
			
			2015-10-02 10:42:59 +02:00 
		 
	
		
			
			
			
			
			
			2014-10-29 09:02:09 -04:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2014-11-01 18:18:04 +01:00 
		 
	
		
			
			
			
			
			
			2015-11-21 21:50:17 -05:00 
		 
	
		
			
			
			
			
			
			2015-01-25 23:56:09 +01:00 
		 
	
		
			
			
			
			
			
			2015-12-05 18:22:36 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-19 20:27:50 -07:00 
		 
	
		
			
			
			
			
			
			2015-04-18 11:11:11 -06:00 
		 
	
		
			
			
			
			
			
			2015-12-17 21:54:41 +01:00 
		 
	
		
			
			
			
			
			
			2015-11-19 20:13:41 -07:00 
		 
	
		
			
			
			
			
			
			2014-10-29 09:02:09 -04:00 
		 
	
		
			
			
			
			
			
			2014-11-21 04:43:15 +01:00 
		 
	
		
			
			
			
			
			
			2014-11-21 04:43:15 +01:00 
		 
	
		
			
			
			
			
			
			2015-10-19 17:06:19 -04:00 
		 
	
		
			
			
			
			
			
			2014-10-29 09:02:09 -04:00 
		 
	
		
			
			
			
			
			
			2015-01-14 11:37:39 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-10 09:19:52 -05:00 
		 
	
		
			
			
			
			
			
			2015-03-24 10:50:50 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-12 15:56:10 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-12 18:13:19 -05:00 
		 
	
		
			
			
			
			
			
			2015-03-30 23:24:39 -05:00 
		 
	
		
			
			
			
			
			
			2016-01-11 11:22:43 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-22 04:42:27 +01:00 
		 
	
		
			
			
			
			
			
			2015-12-20 03:36:51 +01:00 
		 
	
		
			
			
			
			
			
			2015-12-12 15:56:08 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-21 20:37:15 +01:00 
		 
	
		
			
			
			
			
			
			2015-11-18 00:39:22 +03:00 
		 
	
		
			
			
			
			
			
			2015-04-23 14:56:07 -04:00 
		 
	
		
			
			
			
			
			
			2015-02-24 17:06:51 -05:00 
		 
	
		
			
			
			
			
			
			2014-09-13 16:43:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-02 15:34:12 +02:00 
		 
	
		
			
			
			
			
			
			2015-09-11 17:15:27 -04:00 
		 
	
		
			
			
			
			
			
			2015-05-20 11:07:27 -05:00 
		 
	
		
			
			
			
			
			
			2015-05-20 11:07:27 -05:00 
		 
	
		
			
			
			
			
			
			2015-10-22 14:18:30 -04:00 
		 
	
		
			
			
			
			
			
			2015-09-02 15:26:13 +02:00 
		 
	
		
			
			
			
			
			
			2015-10-22 14:18:30 -04:00 
		 
	
		
			
			
			
			
			
			2015-12-20 03:36:51 +01:00 
		 
	
		
			
			
			
			
			
			2015-11-21 21:50:19 -05:00 
		 
	
		
			
			
			
			
			
			2015-11-21 21:50:17 -05:00 
		 
	
		
			
			
			
			
			
			2016-01-12 10:19:09 -07:00 
		 
	
		
			
			
			
			
			
			2015-11-19 20:27:50 -07:00 
		 
	
		
			
			
			
			
			
			2016-01-11 11:22:43 -05:00 
		 
	
		
			
			
			
			
			
			2014-09-24 18:30:28 -04:00 
		 
	
		
			
			
			
			
			
			2015-11-10 09:19:52 -05:00 
		 
	
		
			
			
			
			
			
			2014-11-21 04:43:15 +01:00 
		 
	
		
			
			
			
			
			
			2015-08-05 17:20:34 +02:00 
		 
	
		
			
			
			
			
			
			2016-01-11 11:22:43 -05:00 
		 
	
		
			
			
			
			
			
			2015-09-13 10:37:29 +02:00 
		 
	
		
			
			
			
			
			
			2015-01-20 10:15:33 -05:00 
		 
	
		
			
			
			
			
			
			2015-04-10 14:23:39 +02:00 
		 
	
		
			
			
			
			
			
			2015-11-19 20:27:50 -07:00 
		 
	
		
			
			
			
			
			
			2015-12-18 13:15:58 +01:00 
		 
	
		
			
			
			
			
			
			2015-11-29 22:16:14 +01:00