Module Name: src
Committed By: skrll
Date: Sat Aug 24 10:09:03 UTC 2024
Modified Files:
src/sys/dev/cadence: if_cemac.c
Log Message:
G/C
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/cadence/if_cemac.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/dev/cadence/if_cemac.c
diff -u src/sys/dev/cadence/if_cemac.c:1.29 src/sys/dev/cadence/if_cemac.c:1.30
--- src/sys/dev/cadence/if_cemac.c:1.29 Sat Aug 24 07:24:34 2024
+++ src/sys/dev/cadence/if_cemac.c Sat Aug 24 10:09:02 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: if_cemac.c,v 1.29 2024/08/24 07:24:34 skrll Exp $ */
+/* $NetBSD: if_cemac.c,v 1.30 2024/08/24 10:09:02 skrll Exp $ */
/*
* Copyright (c) 2015 Genetec Corporation. All rights reserved.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cemac.c,v 1.29 2024/08/24 07:24:34 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cemac.c,v 1.30 2024/08/24 10:09:02 skrll Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -156,13 +156,6 @@ int cemac_debug = CEMAC_DEBUG;
CFATTACH_DECL_NEW(cemac, sizeof(struct cemac_softc),
cemac_match, cemac_attach, NULL, NULL);
-int
-cemac_match_common(device_t parent, cfdata_t match, void *aux)
-{
- if (strcmp(match->cf_name, "cemac") == 0)
- return 1;
- return 0;
-}
void
cemac_attach_common(device_t self, bus_space_tag_t iot,