From 7a6e1fc1c959aa19351483b178b98e6b7b7a9e36 Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Sat, 18 Aug 2001 16:50:04 +0000 Subject: Make use of ax88190_stop_card and dl10019_stop_card. --- sys/dev/ic/dp8390.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/dev/ic/dp8390.c') 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); } /* -- cgit v1.2.3