File tree Expand file tree Collapse file tree
Documentation/devicetree/bindings/net Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ MOXA ART Ethernet Controller
2+
3+ Required properties:
4+
5+ - compatible : Must be "moxa,moxart-mac"
6+ - reg : Should contain register location and length
7+ - interrupts : Should contain the mac interrupt number
8+
9+ Example:
10+
11+ mac0: mac@90900000 {
12+ compatible = "moxa,moxart-mac";
13+ reg = <0x90900000 0x100>;
14+ interrupts = <25 0>;
15+ };
16+
17+ mac1: mac@92000000 {
18+ compatible = "moxa,moxart-mac";
19+ reg = <0x92000000 0x100>;
20+ interrupts = <27 0>;
21+ };
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ source "drivers/net/ethernet/marvell/Kconfig"
9090source "drivers/net/ethernet/mellanox/Kconfig"
9191source "drivers/net/ethernet/micrel/Kconfig"
9292source "drivers/net/ethernet/microchip/Kconfig"
93+ source "drivers/net/ethernet/moxa/Kconfig"
9394source "drivers/net/ethernet/myricom/Kconfig"
9495
9596config FEALNX
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ obj-$(CONFIG_NET_VENDOR_MARVELL) += marvell/
4242obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
4343obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/
4444obj-$(CONFIG_NET_VENDOR_MICROCHIP) += microchip/
45+ obj-$(CONFIG_NET_VENDOR_MOXART) += moxa/
4546obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/
4647obj-$(CONFIG_FEALNX) += fealnx.o
4748obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/
Original file line number Diff line number Diff line change 1+ #
2+ # MOXART device configuration
3+ #
4+
5+ config NET_VENDOR_MOXART
6+ bool "MOXA ART devices"
7+ default y
8+ depends on (ARM && ARCH_MOXART)
9+ ---help---
10+ If you have a network (Ethernet) card belonging to this class, say Y
11+ and read the Ethernet-HOWTO, available from
12+ <http://www.tldp.org/docs.html#howto>.
13+
14+ Note that the answer to this question doesn't directly affect the
15+ kernel: saying N will just cause the configurator to skip all
16+ the questions about MOXA ART devices. If you say Y, you will be asked
17+ for your specific card in the following questions.
18+
19+ if NET_VENDOR_MOXART
20+
21+ config ARM_MOXART_ETHER
22+ tristate "MOXART Ethernet support"
23+ depends on ARM && ARCH_MOXART
24+ select NET_CORE
25+ ---help---
26+ If you wish to compile a kernel for a hardware with MOXA ART SoC and
27+ want to use the internal ethernet then you should answer Y to this.
28+
29+
30+ endif # NET_VENDOR_MOXART
Original file line number Diff line number Diff line change 1+ #
2+ # Makefile for the MOXART network device drivers.
3+ #
4+
5+ obj-$(CONFIG_ARM_MOXART_ETHER) += moxart_ether.o
You can’t perform that action at this time.
0 commit comments