Linux-kernel mailing list archive 2000-01,: Re: PCI resource allocation (was Re: Ok, making ready for pre-2.4 and code-freeze..)

# Re: PCI resource allocation (was Re: Ok, making ready for pre-2.4 and code-freeze..)

Martin Mares (mj@suse.cz)
Mon, 3 Jan 2000 22:05:27 +0100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Chad Miller: "Re: core dump"
- Previous message: P.A.M. van Dam: "Where to get ext3?"

Hello!

> Thanks, I have been looking for this bug!
>
> I am not looking at the code right now, but I'll bet that "nvram" is a
> pointer to PCI memory. On most Alphas, including mine, you cannot
> directly de-reference memory like that. Just a guess, but the code
> should probably look like
>
> writel (0, &nvram->type);
>
> Let me know if a patch emerges out of this (before I fix it), because I
> cannot boot my alpha at the moment. I haven't had time to look at Alpha
> much due to the upcoming Mandrake release, otherwise it is probably a
> 5-minute fix...

No, nvram is just a pointer to an automatic variable.

Have a nice fortnight

    --
    Martin `MJ' Mares <mj@ucw.cz> <mj@suse.cz> http://atrey.karlin.mff.cuni.cz/~mj/
    "God doesn't play dice."    -- Albert Einstein

    -
    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/

- Next message: Chad Miller: "Re: core dump"
- Previous message: P.A.M. van Dam: "Where to get ext3?"