forked from Minki/linux
23d2d9a630
Some platforms have special bank registers which might be used to select the correct clock or the right mode for Media Indepent Interface controllers. Sometimes, it is also required to activate vcc regulators in the right order to supply the ethernet controller at the right time. This patch is an architecture refactoring of the arc-emac device driver. It adds a new software design which allows to add specific platform glue layer. Each platform has now its own module which performs custom initialization and remove for the target and then calls to the core driver. Signed-off-by: Romain Perier <romain.perier@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
8 lines
172 B
Makefile
8 lines
172 B
Makefile
#
|
|
# Makefile for the ARC network device drivers.
|
|
#
|
|
|
|
arc_emac-objs := emac_main.o emac_mdio.o
|
|
obj-$(CONFIG_ARC_EMAC_CORE) += arc_emac.o
|
|
obj-$(CONFIG_ARC_EMAC) += emac_arc.o
|