lkml.org 
[lkml]   [2000]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.3.36-pre on SPARC

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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.053 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site