Re: 2.3.36-pre on SPARC

From: Andre Hedrick (andre@suse.com)
Date: Thu Jan 20 2000 - 23:07:47 EST


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@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:24 EST