Module Name: src Committed By: martin Date: Sun Apr 3 10:01:52 UTC 2016
Modified Files: src/sys/arch/playstation2/dev: emac3var.h Log Message: Use device_t/struct ifnet* for phy callbacks To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/playstation2/dev/emac3var.h 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/playstation2/dev/emac3var.h diff -u src/sys/arch/playstation2/dev/emac3var.h:1.5 src/sys/arch/playstation2/dev/emac3var.h:1.6 --- src/sys/arch/playstation2/dev/emac3var.h:1.5 Mon Mar 31 11:25:49 2014 +++ src/sys/arch/playstation2/dev/emac3var.h Sun Apr 3 10:01:52 2016 @@ -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 @@ int emac3_tx_done(void); 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 *);