Re: [PATCH] Introduce PCI <-> CPU address conversion [1/2]
From: Colin Ngam
Date: Thu Oct 14 2004 - 18:04:18 EST
Matthew Wilcox wrote:
> On Thu, Oct 14, 2004 at 07:00:06PM +0100, Christoph Hellwig wrote:
> > For some architectures the sysdata is different for bus vs device, so
> > yes, we do want strict typechecking.
>
> How interesting. I was under the impression that dev->sysdata was always
> a copy of the bus's. If that's not guaranteed, then we're just going
> to have to dereference the additional pointer and use the bus' sysdata.
Hi Matthew,
On SGI's Altix system, the sysdata for the device is very much different than
the sysdata for the bus.
Thanks.
colin
>
>
> --
> "Next the statesmen will invent cheap lies, putting the blame upon
> the nation that is attacked, and every man will be glad of those
> conscience-soothing falsities, and will diligently study them, and refuse
> to examine any refutations of them; and thus he will by and by convince
> himself that the war is just, and will thank God for the better sleep
> he enjoys after this process of grotesque self-deception." -- Mark Twain
> -
> 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/
-
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/