lkml.org 
[lkml]   [2002]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCHSET] PC-9800 architecture (CORE only)
On Mon, Oct 21, 2002 at 10:49:19PM +0900, Osamu Tomita wrote:
> This is a part of big patchset for support PC-9800 architecture, one of i386
> sub architectures.
> Core part cleanup has done. (But device drivers are still working.)
> Many "#if" are killed by using "mach-xxx" framework.
> If someone pick up this, we are very happy.
> Comments are always welcome. Please tell me.

Ok, you asked for it :))

> if (boot_cpu_data.hard_math && !cpu_has_fpu)
> - setup_irq(13, &irq13);
> +#ifndef CONFIG_PC9800
> + setup_irq(13, &fpu_irq);
> +#else
> + setup_irq(8, &fpu_irq);
> +#endif
> }

May be this should be done this way (with FPU_IRQ_NUMBER hidden in the
arch specific header):

- setup_irq(13, &irq13);
+ setup_irq(FPU_IRQ_NUMBER, &fpu_irq);


> diff -urN linux/arch/i386/kernel/pc9800_debug.c linux98/arch/i386/kernel/pc9800_debug.c

Why this file is not in mach-pc9800 directory ?

And what is IORESOURCE98_SPARSE flag in mach-pc9800/mach_resources.h file ?

--
Andrey Panin | Embedded systems software developer
pazke@orbita1.ru | PGP key: wwwkeys.eu.pgp.net[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:30    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site