diff options
author | Marty Connor | 2007-07-02 21:26:40 +0200 |
---|---|---|
committer | Marty Connor | 2007-07-02 21:26:40 +0200 |
commit | bf871c4d03f1dd00a196e15df5267e8be0c8878c (patch) | |
tree | 85c823e5fa4fd9202f6655401d95de8dd6b9cc12 /src/core/pcmcia.c | |
parent | Build bochs with ne2000 support, and add sample lines in bochsrc.txt (diff) | |
download | ipxe-bf871c4d03f1dd00a196e15df5267e8be0c8878c.tar.gz ipxe-bf871c4d03f1dd00a196e15df5267e8be0c8878c.tar.xz ipxe-bf871c4d03f1dd00a196e15df5267e8be0c8878c.zip |
Warnings purge of src/core
Diffstat (limited to 'src/core/pcmcia.c')
-rw-r--r-- | src/core/pcmcia.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/core/pcmcia.c b/src/core/pcmcia.c index c15fe9cc..53d45416 100644 --- a/src/core/pcmcia.c +++ b/src/core/pcmcia.c @@ -1,3 +1,5 @@ +#if 0 + /* * pcmcia.c * @@ -23,12 +25,13 @@ * at some point. If there's anything obvious or better, not-so-obvious, * please contact me by e-mail: anselm (AT) hoffmeister (DOT) be *THANKS* */ -#include "pcmcia.h" -#include "i82365.h" +#include <stdio.h> +#include <pcmcia.h> +#include <i82365.h> #define CODE_STATUS "alpha" #define CODE_VERSION "0.1.3" -#include "pcmcia-opts.h" -#include "console.h" +#include <pcmcia-opts.h> +#include <console.h> #include <gpxe/init.h> int sockets; /* AHTODO: Phase this out! */ @@ -118,7 +121,7 @@ static void pcmcia_init_all(void) { printf ( "]\nHighest config available is %d\n", uc[2*(ui+3)] ); m = uc[2*(ui+2)]; pccsock[i].configoffset = 0; - for ( j = 0; j <= m & 3; ++j ) { + for ( j = 0; j <= (m & 3); ++j ) { pccsock[i].configoffset += uc[2*(ui+4+j)] << (8*j); } pccsock[i].rmask0 = 0; @@ -262,3 +265,5 @@ static void pcmcia_shutdown_all(void) { } INIT_FN ( INIT_PCMCIA, pcmcia_init_all, NULL, pcmcia_shutdown_all ); + +#endif |