summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-09-06 23:09:20 +0000
committerphk <phk@FreeBSD.org>1996-09-06 23:09:20 +0000
commitbca885205da7f15208946f0896edc2eda3caff01 (patch)
tree35dad08bf59366e84921fd4aad9718c2f9426a1b /sys/dev/fxp
parent9640e2d9e8f825813ec445d294de60884ad82bc8 (diff)
downloadFreeBSD-src-bca885205da7f15208946f0896edc2eda3caff01.zip
FreeBSD-src-bca885205da7f15208946f0896edc2eda3caff01.tar.gz
Remove devconf, it never grew up to be of any use.
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index fa64fca..6da34be 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_fxp.c,v 1.12 1996/04/08 01:31:41 davidg Exp $
+ * $Id: if_fxp.c,v 1.13 1996/06/01 23:25:10 gpalmer Exp $
*/
/*
@@ -39,7 +39,6 @@
#include <sys/mbuf.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
-#include <sys/devconf.h>
#include <sys/syslog.h>
#include <net/if.h>
@@ -131,7 +130,7 @@ static u_char fxp_cb_config_template[] = {
static inline int fxp_scb_wait __P((struct fxp_csr *));
static char *fxp_probe __P((pcici_t, pcidi_t));
static void fxp_attach __P((pcici_t, int));
-static int fxp_shutdown __P((struct kern_devconf *, int));
+static int fxp_shutdown __P((int, int));
static void fxp_intr __P((void *));
static void fxp_start __P((struct ifnet *));
static int fxp_ioctl __P((struct ifnet *, int, caddr_t));
@@ -392,15 +391,14 @@ fxp_get_macaddr(sc)
* kernel memory doesn't get clobbered during warmboot.
*/
static int
-fxp_shutdown(kdc, force)
- struct kern_devconf *kdc;
+fxp_shutdown(unit, force)
+ int unit;
int force;
{
- struct fxp_softc *sc = fxp_sc[kdc->kdc_unit];
+ struct fxp_softc *sc = fxp_sc[unit];
fxp_stop(sc);
- (void) dev_detach(kdc);
return 0;
}
OpenPOWER on IntegriCloud