Re: [PATCH 2/2] ioc4: Enable build on non-SN2

From: Andrew Morton
Date: Wed Oct 11 2006 - 20:24:01 EST


On Tue, 10 Oct 2006 12:11:16 -0500 (CDT)
Brent Casavant <bcasavan@xxxxxxx> wrote:

> The SGI PCI-RT card, based on the SGI IOC4 chip, will be made available
> on Altix XE (x86_64) platforms in the near future. As such it is now a
> misnomer for the IOC4 base device driver to live under drivers/sn, and
> would complicate builds for non-SN2.
>
> This patch moves the IOC4 base driver code from drivers/sn to drivers/misc,
> and updates the associated Makefiles and Kconfig files to allow building
> on non-SN2 configs. Due to the resulting change in link order, it is now
> necessary to use late_initcall() for IOC4 subdriver initialization.
>
> ...
>
> +#include <asm/sn/addrs.h>
> +#include <asm/sn/clksupport.h>
> +#include <asm/sn/shub_mmr.h>

That doesn't work so good on x86.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/