Module Name: src
Committed By: skrll
Date: Sun Nov 17 06:56:58 UTC 2024
Modified Files:
src/sys/arch/riscv/starfive: jh7110_eqos.c
Log Message:
Miscellaneous cleanup.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/riscv/starfive/jh7110_eqos.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/riscv/starfive/jh7110_eqos.c
diff -u src/sys/arch/riscv/starfive/jh7110_eqos.c:1.1 src/sys/arch/riscv/starfive/jh7110_eqos.c:1.2
--- src/sys/arch/riscv/starfive/jh7110_eqos.c:1.1 Sat Oct 26 15:49:43 2024
+++ src/sys/arch/riscv/starfive/jh7110_eqos.c Sun Nov 17 06:56:58 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: jh7110_eqos.c,v 1.1 2024/10/26 15:49:43 skrll Exp $ */
+/* $NetBSD: jh7110_eqos.c,v 1.2 2024/11/17 06:56:58 skrll Exp $ */
/*-
* Copyright (c) 2024 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: jh7110_eqos.c,v 1.1 2024/10/26 15:49:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: jh7110_eqos.c,v 1.2 2024/11/17 06:56:58 skrll Exp $");
#include <sys/param.h>
@@ -43,7 +43,6 @@ __KERNEL_RCSID(0, "$NetBSD: jh7110_eqos.
#include <net/if_media.h>
#include <dev/fdt/fdtvar.h>
-#include <dev/fdt/syscon.h> // maybe not
#include <dev/mii/miivar.h>
@@ -53,9 +52,6 @@ __KERNEL_RCSID(0, "$NetBSD: jh7110_eqos.
#include <riscv/starfive/jh71x0_eth.h>
-
-
-
struct jh7110_eqos_softc {
struct eqos_softc sc_eqos;
struct jh71x0_eth_softc sc_jh71x0eth;
@@ -116,6 +112,7 @@ jh7110_eqos_match(device_t parent, cfdat
return of_compatible_match(faa->faa_phandle, compat_data);
}
+
static void
jh7110_eqos_attach(device_t parent, device_t self, void *aux)
{