readl() / writel() on PowerPC

2001-07-02 Thread David T Eger
I have been working on a driver for a PowerPC PCI card/framebuffer device, and noticed that the standard readl() and writel() for this platform to byte swapping, since PowerPC runs big-endian. However, at least for my hardware it's *really* not needed, and should just do a regular load store, as

PCI Power Management / Interrupt Context

2001-06-26 Thread David T Eger
So I'm writing some code for a PCI card that is a framebuffer device, and happily filling in the functions for the probe() and remove() functions when I read documentation (Documentation/pci.txt) which mentions that remove() can be called from interrupt context. Now in order to properly tear dow