ioremap (still?) broken

Troy Benjegerdes hozer at
Tue Sep 7 16:44:38 EST 1999

I am attempting to make an Alteon based Gigabit Ethernet card work in a
Yosemite G3, and it appears that either ioremap is not mapping memory
correctly, or the implementation of 'readl,writel' on PPC is not
consistent with the implementation on all other architectures.

The alteon driver does an 'ioremap' on the address provided by the kernel
PCI services, and then expects to be able to access the PCI card's memory
via accessing the memory returned using 'readl,writel'.

The first thing the driver does is check the card version by reading a
particular register. By using appropriate printf's, I have found that the
value returned is '0xffffffff'. (defininitely NOT the register it's
looking for)

Before I go on a wild chase again, could someone let me know whether the
2.2.12 kernel might have a better chance with this, or will I need to go
to the 2.3.x series? (I tried this on a 2.2.6 kernel).


| Troy Benjegerdes    |  troy at    |    hozer at   |
|    Unix is user friendly... You just have to be friendly to it first.  |
| This message composed with 100% free software.   |

** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list