In the linux-2.4.12-ac2-lba48.patch.bz2 patch there are typos for the
files include/asm-(ppc,sparc,sparc64)/ide.h that cause compile errors in
those platforms.

There is a line that looks like:
+               unsigned int nIEN       : 1;    /* device INTRQ to host *

Which is missing the end of its comment tag. 

The patch is something like this (for each of the three files in the
patch):

--- ide.h~      Fri Oct 19 23:54:33 2001
+++ ide.h       Fri Oct 19 23:56:35 2001
@@ -136,7 +136,7 @@
                unsigned reserved456    : 3;
                unsigned bit3           : 1;    /* ATA-2 thingy */
                unsigned SRST           : 1;    /* host soft reset bit */
-               unsigned nIEN           : 1;    /* device INTRQ to host *
+               unsigned nIEN           : 1;    /* device INTRQ to host */
                unsigned bit0           : 1;
        } b;
 } control_t;



And it fails to change arch/ppc/kernel/setup.c which uses the old names:

/usr/bin/gcc -D__KERNEL__ -I/usr/src/RPM/BUILD/linux/include  -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -D__powerpc__ -fsigned-char -msoft-float -pipe
-ffixed-r2 -Wno-uninitialized -mmultiple -mstring    -c -o setup.o setup.c
setup.c: In function `ppc_generic_ide_fix_driveid':
setup.c:717: structure has no member named `words94_125'
setup.c:717: structure has no member named `words94_125'
setup.c:717: structure has no member named `words94_125'
setup.c:717: structure has no member named `words94_125'
setup.c:728: structure has no member named `words160_255'
setup.c:728: structure has no member named `words160_255'
setup.c:728: structure has no member named `words160_255'
setup.c:728: structure has no member named `words160_255'
make[1]: *** [setup.o] Error 1

Ian


-------------------------------------------
Ian White
email: [EMAIL PROTECTED]



Reply via email to