summaryrefslogtreecommitdiff
path: root/sys/dev/mii/icsphy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mii/icsphy.c')
-rw-r--r--sys/dev/mii/icsphy.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/dev/mii/icsphy.c b/sys/dev/mii/icsphy.c
index e899ccdadef..f5feaafcff1 100644
--- a/sys/dev/mii/icsphy.c
+++ b/sys/dev/mii/icsphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: icsphy.c,v 1.3 1999/07/23 12:39:11 deraadt Exp $ */
+/* $OpenBSD: icsphy.c,v 1.4 1999/09/07 10:05:15 niklas Exp $ */
/* $NetBSD: icsphy.c,v 1.8.6.1 1999/04/23 15:40:56 perry Exp $ */
/*-
@@ -94,9 +94,10 @@ int icsphymatch __P((struct device *, struct cfdata *, void *));
int icsphymatch __P((struct device *, void *, void *));
#endif
void icsphyattach __P((struct device *, struct device *, void *));
+int icsphydetach __P((struct device *, int));
struct cfattach icsphy_ca = {
- sizeof(struct mii_softc), icsphymatch, icsphyattach
+ sizeof(struct mii_softc), icsphymatch, icsphyattach, icsphydetach
};
#ifdef __OpenBSD__
@@ -163,6 +164,14 @@ icsphyattach(parent, self, aux)
}
int
+icsphydetach(dev, flags)
+ struct device *dev;
+ int flags;
+{
+ return (0);
+}
+
+int
icsphy_service(sc, mii, cmd)
struct mii_softc *sc;
struct mii_data *mii;