lkml.org 
[lkml]   [2001]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC] I/O Access Abstractions
    Alan Cox wrote:
    >
    > > > > You pass a single cookie to the readb code
    > > > > Odd platforms decode it
    > > >
    > > > Last time I checked, ioremap didn't work for inb() and outb().
    > >
    > > It should :)
    >
    > it doesnt need to.
    >
    > pci_find_device returns the io address and can return a cookie, ditto
    > isapnp etc

    Is the idea here to mitigate the amount of driver code changes, or
    something else?

    If you are sticking a cookie in there behind the scenes, why go ahead
    and use ioremap?

    We -already- have a system which does remapping and returns cookies and
    such for PCI mem regions. Why not use it for I/O regions too?

    Jeff


    --
    Jeff Garzik | "I respect faith, but doubt is
    Building 1024 | what gives you an education."
    MandrakeSoft | -- Wilson Mizner
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:55    [W:0.022 / U:0.836 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site