Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/playstation2/dev Use device_t/struct ifnet* for phy...



details:   https://anonhg.NetBSD.org/src/rev/9d1c85cd4532
branches:  trunk
changeset: 344526:9d1c85cd4532
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Apr 03 10:01:52 2016 +0000

description:
Use device_t/struct ifnet* for phy callbacks

diffstat:

 sys/arch/playstation2/dev/emac3var.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r b6f959e412b0 -r 9d1c85cd4532 sys/arch/playstation2/dev/emac3var.h
--- a/sys/arch/playstation2/dev/emac3var.h      Sun Apr 03 09:58:45 2016 +0000
+++ b/sys/arch/playstation2/dev/emac3var.h      Sun Apr 03 10:01:52 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emac3var.h,v 1.5 2014/03/31 11:25:49 martin Exp $      */
+/*     $NetBSD: emac3var.h,v 1.6 2016/04/03 10:01:52 martin Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -53,6 +53,6 @@
 
 void emac3_setmulti(struct emac3_softc *, struct ethercom *);
 
-int emac3_phy_readreg(struct device *, int, int);
-void emac3_phy_writereg(struct device *, int, int, int);
-void emac3_phy_statchg(struct device *);
+int emac3_phy_readreg(device_t, int, int);
+void emac3_phy_writereg(device_t, int, int, int);
+void emac3_phy_statchg(struct ifnet *);



Home | Main Index | Thread Index | Old Index