summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-02-25 18:55:53 +0000
committerphk <phk@FreeBSD.org>1995-02-25 18:55:53 +0000
commitec7157ee5fd042bf388aec215e4157e24beca6a4 (patch)
tree8f4bbc035666dc89f3cf3ae0760d05cecfa0a320
parent0cde10efb4ac11aadedc65ee3f74596ca273cd4d (diff)
downloadFreeBSD-src-ec7157ee5fd042bf388aec215e4157e24beca6a4.zip
FreeBSD-src-ec7157ee5fd042bf388aec215e4157e24beca6a4.tar.gz
Read K&R and get the { } right :-)
-rw-r--r--sys/amd64/isa/isa.c13
-rw-r--r--sys/i386/isa/isa.c13
2 files changed, 12 insertions, 14 deletions
diff --git a/sys/amd64/isa/isa.c b/sys/amd64/isa/isa.c
index 0d7cec4..5bb18f4 100644
--- a/sys/amd64/isa/isa.c
+++ b/sys/amd64/isa/isa.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
- * $Id: isa.c,v 1.37 1995/02/17 02:22:54 phk Exp $
+ * $Id: isa.c,v 1.38 1995/02/25 18:29:10 phk Exp $
*/
/*
@@ -456,12 +456,11 @@ config_isadev_c(isdp, mp, reconfig)
if (!(isdp->id_iobase & 0xf300)) {
printf(" on motherboard\n");
} else if (isdp->id_iobase >= 0x1000 &&
- !(isdp->id_opbase & 0x300)) {
- printf (" on eisa slot %d\n",
- isdp->id_iobase >> 12);
- } else {
- printf (" on isa\n");
- }
+ !(isdp->id_iobase & 0x300)) {
+ printf (" on eisa slot %d\n",
+ isdp->id_iobase >> 12);
+ } else {
+ printf (" on isa\n");
}
}
/*
diff --git a/sys/i386/isa/isa.c b/sys/i386/isa/isa.c
index 0d7cec4..5bb18f4 100644
--- a/sys/i386/isa/isa.c
+++ b/sys/i386/isa/isa.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
- * $Id: isa.c,v 1.37 1995/02/17 02:22:54 phk Exp $
+ * $Id: isa.c,v 1.38 1995/02/25 18:29:10 phk Exp $
*/
/*
@@ -456,12 +456,11 @@ config_isadev_c(isdp, mp, reconfig)
if (!(isdp->id_iobase & 0xf300)) {
printf(" on motherboard\n");
} else if (isdp->id_iobase >= 0x1000 &&
- !(isdp->id_opbase & 0x300)) {
- printf (" on eisa slot %d\n",
- isdp->id_iobase >> 12);
- } else {
- printf (" on isa\n");
- }
+ !(isdp->id_iobase & 0x300)) {
+ printf (" on eisa slot %d\n",
+ isdp->id_iobase >> 12);
+ } else {
+ printf (" on isa\n");
}
}
/*
OpenPOWER on IntegriCloud