net: designware: make alt/enhanced descriptor runtime configurable
Instead of hardcoding the alternate/enhanced descriptor layout make
it configurable during runtime. This is based on the value of the
enh_desc variable which is currently hardcoded to zero. This should
be configurable via device_id in the future. Since currently we have
no in tree user of this driver this currently doesn't hurt.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f8db2d2 commit 8c3c7c5d646f377fd52cda3b79a84808c6c7bbec
@Sascha Hauer Sascha Hauer authored on 9 Sep 2013
Showing 3 changed files
View
drivers/net/Kconfig
View
drivers/net/designware.c
View
drivers/net/designware.h