summaryrefslogtreecommitdiff
path: root/sys/dev/ic/dp8390.c
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2001-08-18 16:50:04 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2001-08-18 16:50:04 +0000
commit7a6e1fc1c959aa19351483b178b98e6b7b7a9e36 (patch)
tree3719a12dff5ed295c9b4b822e5ef34841a47416d /sys/dev/ic/dp8390.c
parent57c58f989cf6e38ddac5d327a71e81f25e536206 (diff)
Make use of ax88190_stop_card and dl10019_stop_card.
Diffstat (limited to 'sys/dev/ic/dp8390.c')
-rw-r--r--sys/dev/ic/dp8390.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/dp8390.c b/sys/dev/ic/dp8390.c
index b2db45c8b4b..819c04c2420 100644
--- a/sys/dev/ic/dp8390.c
+++ b/sys/dev/ic/dp8390.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dp8390.c,v 1.17 2001/07/09 17:22:12 fgsch Exp $ */
+/* $OpenBSD: dp8390.c,v 1.18 2001/08/18 16:50:03 aaron Exp $ */
/* $NetBSD: dp8390.c,v 1.13 1998/07/05 06:49:11 jonathan Exp $ */
/*
@@ -221,6 +221,9 @@ dp8390_stop(sc)
while (((NIC_GET(regt, regh,
ED_P0_ISR) & ED_ISR_RST) == 0) && --n)
;
+
+ if (sc->stop_card != NULL)
+ (*sc->stop_card)(sc);
}
/*