Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Use a proper local variable.
details: https://anonhg.NetBSD.org/src/rev/4fee5dcc523f
branches: trunk
changeset: 747110:4fee5dcc523f
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Wed Sep 02 17:22:53 2009 +0000
description:
Use a proper local variable.
diffstat:
sys/arch/sgimips/mace/if_mec.c | 6 +++---
sys/dev/ic/dp83932.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 6656b7431df5 -r 4fee5dcc523f sys/arch/sgimips/mace/if_mec.c
--- a/sys/arch/sgimips/mace/if_mec.c Wed Sep 02 17:11:26 2009 +0000
+++ b/sys/arch/sgimips/mace/if_mec.c Wed Sep 02 17:22:53 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_mec.c,v 1.38 2009/09/02 10:43:24 tsutsui Exp $ */
+/* $NetBSD: if_mec.c,v 1.39 2009/09/02 17:22:53 tsutsui Exp $ */
/*-
* Copyright (c) 2004, 2008 Izumi Tsutsui. All rights reserved.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_mec.c,v 1.38 2009/09/02 10:43:24 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_mec.c,v 1.39 2009/09/02 17:22:53 tsutsui Exp $");
#include "opt_ddb.h"
#include "bpfilter.h"
@@ -727,7 +727,7 @@
/* set shutdown hook to reset interface on powerdown */
if (pmf_device_register1(self, NULL, NULL, mec_shutdown))
- pmf_class_network_register(self, &sc->sc_ethercom.ec_if);
+ pmf_class_network_register(self, ifp);
else
aprint_error_dev(self, "couldn't establish power handler\n");
diff -r 6656b7431df5 -r 4fee5dcc523f sys/dev/ic/dp83932.c
--- a/sys/dev/ic/dp83932.c Wed Sep 02 17:11:26 2009 +0000
+++ b/sys/dev/ic/dp83932.c Wed Sep 02 17:22:53 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dp83932.c,v 1.31 2009/09/02 14:58:38 tsutsui Exp $ */
+/* $NetBSD: dp83932.c,v 1.32 2009/09/02 17:22:53 tsutsui Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dp83932.c,v 1.31 2009/09/02 14:58:38 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dp83932.c,v 1.32 2009/09/02 17:22:53 tsutsui Exp $");
#include "bpfilter.h"
@@ -223,7 +223,7 @@
* Make sure the interface is shutdown during reboot.
*/
if (pmf_device_register1(sc->sc_dev, NULL, NULL, sonic_shutdown))
- pmf_class_network_register(sc->sc_dev, &sc->sc_ethercom.ec_if);
+ pmf_class_network_register(sc->sc_dev, ifp);
else
aprint_error_dev(sc->sc_dev,
"couldn't establish power handler\n");
Home |
Main Index |
Thread Index |
Old Index