summaryrefslogtreecommitdiff
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-15 00:05:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-15 00:05:53 +0000
commita577d5af741521cee9abf66ef4458cca8ad6562f (patch)
treeb16d67fb30777e26c161bfe29f06b3da2c479b44 /sys/dev/mii
parenta0a06583a49412e4927cd00b87a93420e8607d62 (diff)
let tree build. brad -- check what you busted
Diffstat (limited to 'sys/dev/mii')
-rw-r--r--sys/dev/mii/luphy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mii/luphy.c b/sys/dev/mii/luphy.c
index aba6aa2d766..8d84ce2c9d9 100644
--- a/sys/dev/mii/luphy.c
+++ b/sys/dev/mii/luphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: luphy.c,v 1.1 2005/04/14 19:54:01 brad Exp $ */
+/* $OpenBSD: luphy.c,v 1.2 2005/04/15 00:05:52 deraadt Exp $ */
/*-
* Copyright (c) 2004 Marius Strobl
@@ -81,7 +81,7 @@ static const struct mii_phydesc luphys[] = {
};
int
-qsphymatch(struct device *parent, void *match, void *aux)
+luphymatch(struct device *parent, void *match, void *aux)
{
struct mii_attach_args *ma = aux;
@@ -157,7 +157,7 @@ luphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
if (IFM_INST(ife->ifm_media) != sc->mii_inst)
return (0);
- if (mii_phy_tick(sc, 0) == EJUSTRETURN)
+ if (mii_phy_tick(sc) == EJUSTRETURN)
return (0);
break;