summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-09-07 10:05:16 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-09-07 10:05:16 +0000
commit42816c6161dd436f82d4cfa4d0d62687f4c77bf3 (patch)
tree3047d56e978e76543c2947fb367803b0e19493d4
parent84e087846d7e581e4b03bd0e3d8e432700ab225a (diff)
Forgotten detach commit, to make detach of xircom realport work
-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;