diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-08-29 18:01:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-08-29 18:01:22 +0000 |
commit | 922c4432ebdb015a045a23cb42dad6c75b42804a (patch) | |
tree | 37d3e0947ab4c16f455834c9951d9ed6677e117a /sys | |
parent | 443ca83eb31088cd95697f0322e7497eff777fd5 (diff) |
expose dp8390_enable/disable to the higher level drivers
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/dp8390.c | 5 | ||||
-rw-r--r-- | sys/dev/ic/dp8390var.h | 4 |
2 files changed, 4 insertions, 5 deletions
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 *); |