2.3.36-pre on SPARC

Andre Hedrick andre en suse.com
Vie Ene 21 18:18:25 CST 2000


fs/partitions/msdos.c

Well make the patch that works and send it to me.

#ifndef __sparc_32__
#include <linux/ide.h>
#endif

Try doing it of the arch calls.........
All you have to do is explain the issue........and propose a fix.



On Fri, 21 Jan 2000, Anton Blanchard wrote:

>  
> > 1. ide-geometry is forced into the block device code unconditionally. That
> >    breaks all archs which don't know about IDE drives (and don't care: ever
> >    seen an Apollo Domain or an Mac-68k or an IBM S/390 with IDE drives? and
> >    sparc doesn't need it either, newer Ultra's have IDE but to my knowledge
> >    none of the older 32bit SPARCs).
> > 
> >    My suggestion: make it conditional on CONFIG_BLK_DEV_IDE...
> > 
> > 2. linux/ide.h is included by fs/partitions/msdos.c. This breaks compilation
> >    also, because that requires asm-<arch>/hdreg.h which does not exist on all
> >    archs (but could if need should be).
> > 
> > So the problem is: keep the IDE stuff out of where it does not belong.
> 
> I agree. It is the only thing preventing sparc32 from compiling now.
> 
> Anton
> 

Andre Hedrick
The Linux IDE guy


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda