summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1993-06-26 02:32:26 +0000
committerdg <dg@FreeBSD.org>1993-06-26 02:32:26 +0000
commitc1b03d1c9c4a42a7c8acab252f2fd926b376b882 (patch)
tree8c0214fea0d31536b8151ec213c0bb90a13d5071 /sys/dev/ed
parent4dd0bd219700a4d0348ed1529c6107daa87d2259 (diff)
downloadFreeBSD-src-c1b03d1c9c4a42a7c8acab252f2fd926b376b882.zip
FreeBSD-src-c1b03d1c9c4a42a7c8acab252f2fd926b376b882.tar.gz
fixed bug in probe that causes it to complain about 'Invalid irq configuration'
if the interface isn't present in the system.
Diffstat (limited to 'sys/dev/ed')
-rw-r--r--sys/dev/ed/if_ed.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index 697e4d0..4e6e110 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -17,6 +17,10 @@
* Modification history
*
* $Log: if_ed.c,v $
+ * Revision 1.10 93/06/25 19:23:19 davidg
+ * fixed bug that caused erroneous 'Invalid irq configuration' message when
+ * no board is present (during autoconfiguration).
+ *
* Revision 1.9 93/06/23 03:48:14 davidg
* fixed minor typo introduced when cleaning up probe routine
*
@@ -450,6 +454,8 @@ type_3Com:
if (isa_dev->id_iobase != 0x2e0)
return(0);
break;
+ default:
+ return(0);
}
/*
@@ -473,6 +479,8 @@ type_3Com:
if (kvtop(isa_dev->id_maddr) != ED_3COM_PCFR_C8000)
return(0);
break;
+ default:
+ return(0);
}
/*
OpenPOWER on IntegriCloud