summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-10-07 06:49:50 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-10-07 06:49:50 +0000
commit4d6220411b08bced343982427e8e78043b79075b (patch)
tree6e212e12d862b9c24416856c57303643c711752b /sys/arch/i386
parent638838eaf6a009a7ea4dd8db9be0d87b20b3dbed (diff)
make it compile
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/isa/pccom.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/i386/isa/pccom.c b/sys/arch/i386/isa/pccom.c
index b09e7790196..2b400d5b69f 100644
--- a/sys/arch/i386/isa/pccom.c
+++ b/sys/arch/i386/isa/pccom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pccom.c,v 1.12 1997/09/03 20:55:29 deraadt Exp $ */
+/* $OpenBSD: pccom.c,v 1.13 1997/10/07 06:49:49 mickey Exp $ */
/* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */
/*-
@@ -163,8 +163,6 @@ com_pcmcia_mod(pc_link, self, pc_cf, cf)
struct cfdata *cf;
{
int err;
- struct pcmciadevs *dev = pc_link->device;
- struct ed_softc *sc = (void *)self;
if (!(err = PCMCIA_BUS_CONFIG(pc_link->adapter, pc_link, self,
pc_cf, cf))) {
pc_cf->memwin = 0;
@@ -223,7 +221,7 @@ com_pcmcia_isa_attach(parent, match, aux, pc_link)
struct com_softc *sc = match;
int rval;
- if (rval = comprobe(parent, sc->sc_dev.dv_cfdata, ia)) {
+ if ((rval = comprobe(parent, sc->sc_dev.dv_cfdata, ia))) {
if (ISSET(pc_link->flags, PCMCIA_REATTACH)) {
#ifdef PCCOM_DEBUG
printf("comreattach, hwflags=%x\n", sc->sc_hwflags);