From 922c4432ebdb015a045a23cb42dad6c75b42804a Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 29 Aug 2010 18:01:22 +0000 Subject: expose dp8390_enable/disable to the higher level drivers --- sys/dev/ic/dp8390.c | 5 +---- sys/dev/ic/dp8390var.h | 4 +++- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'sys') diff --git a/sys/dev/ic/dp8390.c b/sys/dev/ic/dp8390.c index 8ec9d8f5ad9..5f8aa6697a2 100644 --- a/sys/dev/ic/dp8390.c +++ b/sys/dev/ic/dp8390.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dp8390.c,v 1.42 2010/04/20 20:42:54 deraadt Exp $ */ +/* $OpenBSD: dp8390.c,v 1.43 2010/08/29 18:01:21 deraadt Exp $ */ /* $NetBSD: dp8390.c,v 1.13 1998/07/05 06:49:11 jonathan Exp $ */ /* @@ -62,9 +62,6 @@ static __inline__ int dp8390_write_mbuf(struct dp8390_softc *, static int dp8390_test_mem(struct dp8390_softc *); -int dp8390_enable(struct dp8390_softc *); -void dp8390_disable(struct dp8390_softc *); - #ifdef DEBUG int dp8390_debug = 0; #endif diff --git a/sys/dev/ic/dp8390var.h b/sys/dev/ic/dp8390var.h index 9897ed8b962..2f0a8077e8c 100644 --- a/sys/dev/ic/dp8390var.h +++ b/sys/dev/ic/dp8390var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dp8390var.h,v 1.11 2006/10/20 18:12:50 brad Exp $ */ +/* $OpenBSD: dp8390var.h,v 1.12 2010/08/29 18:01:21 deraadt Exp $ */ /* $NetBSD: dp8390var.h,v 1.8 1998/08/12 07:19:09 scottr Exp $ */ /* @@ -159,6 +159,8 @@ void dp8390_watchdog(struct ifnet *); void dp8390_reset(struct dp8390_softc *); void dp8390_init(struct dp8390_softc *); void dp8390_stop(struct dp8390_softc *); +int dp8390_enable(struct dp8390_softc *); +void dp8390_disable(struct dp8390_softc *); int dp8390_mediachange(struct ifnet *); void dp8390_mediastatus(struct ifnet *, struct ifmediareq *); -- cgit v1.2.3