Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/lib Add some comments to make some #if/#...



details:   https://anonhg.NetBSD.org/src/rev/44271529b734
branches:  trunk
changeset: 522466:44271529b734
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Feb 19 20:18:36 2002 +0000

description:
Add some comments to make some #if/#else/#endif's more clear.

diffstat:

 sys/arch/i386/stand/lib/pcio.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 7cc5ff095d1b -r 44271529b734 sys/arch/i386/stand/lib/pcio.c
--- a/sys/arch/i386/stand/lib/pcio.c    Tue Feb 19 20:08:19 2002 +0000
+++ b/sys/arch/i386/stand/lib/pcio.c    Tue Feb 19 20:18:36 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcio.c,v 1.10 1999/09/10 16:23:55 drochner Exp $        */
+/*     $NetBSD: pcio.c,v 1.11 2002/02/19 20:18:36 thorpej Exp $         */
 
 /*
  * Copyright (c) 1996, 1997
@@ -115,7 +115,7 @@
 #endif
                           )
                                goto ok;
-#else
+#else /* ! DIRECT_SERIAL */
                        /*
                         * serial console must have hardware handshake!
                         * check:
@@ -131,7 +131,7 @@
 #endif
                            )
                                goto ok;
-#endif
+#endif /* DIRECT_SERIAL */
                }
                iodev = CONSDEV_PC;
 ok:
@@ -168,7 +168,7 @@
 #endif
                           )
                                break;
-#else
+#else /* ! DIRECT_SERIAL */
                        /*
                         * serial console must have hardware handshake!
                         * check:
@@ -184,7 +184,7 @@
 #endif
                            )
                                break;
-#endif
+#endif /* DIRECT_SERIAL */
            default:
 nocom:
                iodev = CONSDEV_PC;



Home | Main Index | Thread Index | Old Index