Re: Accessing high PCI memory

Richard Dynes (rdynes@sun1.varcom.com)
Tue, 10 Nov 1998 10:17:00 -0500


> When I try to use read[bwl]() I get a segmentation fault
> and in[bwl]() always returns 0xffffffff. The book talks about
> remapping PCI memory but only in terms of making it available
> to user-space. I only want to access these locations from
> within the driver.

Try ioremap(). It will return a pointer that you can use within the driver.

-- 
    Richard Dynes
    Varcom Corporation
    rdynes@varcom.com

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