summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_ze.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-10-07 21:23:33 +0000
committerphk <phk@FreeBSD.org>1994-10-07 21:23:33 +0000
commit36596f7928d9f06d0cf2086f1e5c02a98838eef1 (patch)
tree8e3253eb5ec6be26ccacdeff745717e0ee4c3f54 /sys/i386/isa/if_ze.c
parent719bcaffe999c19165a06b472df5332972876877 (diff)
downloadFreeBSD-src-36596f7928d9f06d0cf2086f1e5c02a98838eef1.zip
FreeBSD-src-36596f7928d9f06d0cf2086f1e5c02a98838eef1.tar.gz
I forgot this bit of APM stuff last week.
Diffstat (limited to 'sys/i386/isa/if_ze.c')
-rw-r--r--sys/i386/isa/if_ze.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/sys/i386/isa/if_ze.c b/sys/i386/isa/if_ze.c
index 3a16263..e3b2bb3 100644
--- a/sys/i386/isa/if_ze.c
+++ b/sys/i386/isa/if_ze.c
@@ -82,9 +82,6 @@
#include "i386/isa/icu.h"
#include "i386/isa/if_zereg.h"
-#ifdef APM
-#include "i386/include/apm_bios.h"
-#endif /* APM */
/*****************************************************************************
@@ -759,26 +756,6 @@ ze_probe(isa_dev)
sc->last_up = 0;
return 32;
}
-
-#ifdef APM
-#define ZEDEVS 4
-static apm_hook_func_t ze_hook;
-struct isa_device* ze_devs[ZEDEVS] = {NULL};
-
-static int
-ze_resume(void)
-{
- int i;
-
- for (i = 0; i < ZEDEVS; i++) {
- if (ze_devs[i] != NULL) {
- reconfig_isadev(ze_devs[i], &net_imask);
- }
- }
-
- return 0;
-}
-#endif /* APM */
/*
* Install interface into kernel networking data structures
@@ -886,10 +863,6 @@ ze_attach(isa_dev)
bpfattach(&sc->bpf, ifp, DLT_EN10MB, sizeof(struct ether_header));
#endif
-#ifdef APM
- ze_devs[isa_dev->id_unit] = isa_dev;
- ze_hook = apm_resume_hook_init(ze_resume, "IBM PCMCIA Ethernet", APM_MID_ORDER);
-#endif /* APM */
return 1;
}
OpenPOWER on IntegriCloud