diff options
author | 1999-09-07 10:05:15 +0000 | |
---|---|---|
committer | 1999-09-07 10:05:15 +0000 | |
commit | 1751a15919b470353258eb7d8e7430afd7152ec3 (patch) | |
tree | 5979e21350cb749378e54fca5396775a8051162a | |
parent | update the comment about how the srmmu works (some names were wrong) (diff) | |
download | wireguard-openbsd-1751a15919b470353258eb7d8e7430afd7152ec3.tar.xz wireguard-openbsd-1751a15919b470353258eb7d8e7430afd7152ec3.zip |
Forgotten detach commit, to make detach of xircom realport work
-rw-r--r-- | sys/dev/mii/icsphy.c | 13 |
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; |