linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ioremap (still?) broken
@ 1999-09-07  6:44 Troy Benjegerdes
  1999-09-07  6:55 ` Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Troy Benjegerdes @ 1999-09-07  6:44 UTC (permalink / raw)
  To: linuxppc-dev


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).

Thanks.

--------------------------------------------------------------------------
| Troy Benjegerdes    |  troy@blacklablinux.com    |    hozer@drgw.net   |
|    Unix is user friendly... You just have to be friendly to it first.  |
| This message composed with 100% free software.    http://www.gnu.org   |
--------------------------------------------------------------------------


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-09-10  3:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-07  6:44 ioremap (still?) broken Troy Benjegerdes
1999-09-07  6:55 ` Geert Uytterhoeven
1999-09-08  1:03 ` Paul Mackerras
1999-09-09  6:29 ` Michel Lanners
1999-09-10  3:07   ` Troy Benjegerdes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).