summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_dc_pci.c
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-10-16 17:08:09 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-10-16 17:08:09 +0000
commit80f2e900a465814c19deeb0fc8250aedffca0334 (patch)
tree8c932151b5017cccfd0df13f1d034856f7a84125 /sys/dev/pci/if_dc_pci.c
parent446e06cf4fde4c29fb426a44db99010362e27a48 (diff)
Use mii_attach() directly instead of mii_phy_probe().
Diffstat (limited to 'sys/dev/pci/if_dc_pci.c')
-rw-r--r--sys/dev/pci/if_dc_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_dc_pci.c b/sys/dev/pci/if_dc_pci.c
index 59a8b575789..532cdd162e6 100644
--- a/sys/dev/pci/if_dc_pci.c
+++ b/sys/dev/pci/if_dc_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dc_pci.c,v 1.6 2000/09/13 00:29:35 aaron Exp $ */
+/* $OpenBSD: if_dc_pci.c,v 1.7 2000/10/16 17:08:08 aaron Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -386,7 +386,7 @@ void dc_pci_attach(parent, self, aux)
* which have no LEDs, and twiddling these bits has adverse effects
* on them. (I.e. you suddenly can't get a link.)
*
- * If mii_phy_probe() returns an error, we leave the DC_TULIP_LEDS
+ * If mii_attach() returns an error, we leave the DC_TULIP_LEDS
* bit set, else we clear it. Since our dc(4) driver is split into
* bus-dependent and bus-independent parts, we must do set this bit
* here while we are able to do PCI configuration reads.