summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2018-04-02 16:51:59 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2018-04-02 16:51:59 +0000
commitb2ebff1642663f368b79aa429e6f30166fce3466 (patch)
tree1471224cc44bfe7decda2727e31edf04814f9bd4
parent9a035b39b0f7e1bff1df53e95f6c02c8e8bbeddc (diff)
Move fec(4) to sys/dev/fdt.
-rw-r--r--sys/arch/armv7/imx/files.imx6
-rw-r--r--sys/dev/fdt/files.fdt6
-rw-r--r--sys/dev/fdt/if_fec.c (renamed from sys/arch/armv7/imx/if_fec.c)2
3 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/armv7/imx/files.imx b/sys/arch/armv7/imx/files.imx
index 00b444d4b3a..33eca1f5939 100644
--- a/sys/arch/armv7/imx/files.imx
+++ b/sys/arch/armv7/imx/files.imx
@@ -1,4 +1,4 @@
-# $OpenBSD: files.imx,v 1.28 2018/04/02 16:47:39 patrick Exp $
+# $OpenBSD: files.imx,v 1.29 2018/04/02 16:51:58 patrick Exp $
device imxiomuxc
attach imxiomuxc at fdt
@@ -8,10 +8,6 @@ device imxdog
attach imxdog at fdt
file arch/armv7/imx/imxdog.c imxdog
-device fec: ether, ifnet, mii, ifmedia
-attach fec at fdt
-file arch/armv7/imx/if_fec.c fec
-
device imxehci: usbus
attach imxehci at fdt
file arch/armv7/imx/imxehci.c imxehci
diff --git a/sys/dev/fdt/files.fdt b/sys/dev/fdt/files.fdt
index e70bba21be0..9fb01b3e97d 100644
--- a/sys/dev/fdt/files.fdt
+++ b/sys/dev/fdt/files.fdt
@@ -1,4 +1,4 @@
-# $OpenBSD: files.fdt,v 1.54 2018/04/02 16:47:39 patrick Exp $
+# $OpenBSD: files.fdt,v 1.55 2018/04/02 16:51:58 patrick Exp $
#
# Config file and device description for machine-independent FDT code.
# Included by ports that need it.
@@ -217,3 +217,7 @@ file dev/fdt/imxiic.c imxiic
device imxuart
attach imxuart at fdt
file dev/fdt/imxuart.c imxuart
+
+device fec: ether, ifnet, mii, ifmedia
+attach fec at fdt
+file dev/fdt/if_fec.c fec
diff --git a/sys/arch/armv7/imx/if_fec.c b/sys/dev/fdt/if_fec.c
index e7ae8576f77..829025c9bab 100644
--- a/sys/arch/armv7/imx/if_fec.c
+++ b/sys/dev/fdt/if_fec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fec.c,v 1.25 2018/04/02 16:39:20 patrick Exp $ */
+/* $OpenBSD: if_fec.c,v 1.1 2018/04/02 16:51:58 patrick Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*