summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2020-02-04 05:16:18 +0000
committerthorpej <thorpej@NetBSD.org>2020-02-04 05:16:18 +0000
commita467cf22eceb0c2cd992d12db185417fc571941e (patch)
treed145fc6f93c0106b5914d41a07bd829705133d34 /sys
parent55d5117498c1cf12b0e5c8391cbc3489106ae197 (diff)
Add a comment that ifmedia_fini() should be used here someday.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm/xscale/ixp425_if_npe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/arm/xscale/ixp425_if_npe.c b/sys/arch/arm/xscale/ixp425_if_npe.c
index a03d585e268..151c866a42a 100644
--- a/sys/arch/arm/xscale/ixp425_if_npe.c
+++ b/sys/arch/arm/xscale/ixp425_if_npe.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ixp425_if_npe.c,v 1.45 2020/01/29 06:05:31 thorpej Exp $ */
+/* $NetBSD: ixp425_if_npe.c,v 1.46 2020/02/04 05:16:18 thorpej Exp $ */
/*-
* Copyright (c) 2006 Sam Leffler. All rights reserved.
@@ -28,7 +28,7 @@
#if 0
__FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/if_npe.c,v 1.1 2006/11/19 23:55:23 sam Exp $");
#endif
-__KERNEL_RCSID(0, "$NetBSD: ixp425_if_npe.c,v 1.45 2020/01/29 06:05:31 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixp425_if_npe.c,v 1.46 2020/02/04 05:16:18 thorpej Exp $");
/*
* Intel XScale NPE Ethernet driver.
@@ -671,6 +671,7 @@ npe_deactivate(struct npe_softc *sc);
npe_dma_destroy(sc, &sc->txdma);
npe_dma_destroy(sc, &sc->rxdma);
bus_generic_detach(sc->sc_dev);
+ XXX ifmedia_fini somewhere
if (sc->sc_mii)
device_delete_child(sc->sc_dev, sc->sc_mii);
#if 0