Re: [Etherboot-developers] Question about ioremap
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ebi...@ln...> - 2002-05-10 00:33:44
|
ke...@us... (Ken Yap) writes: > >I am working on the sundance driver. It seems that the Linux driver is > >written to use PCI memory space. Does any one know whether it is possible > >to use the ioaddr passed to the probe function? Please ignore it, and read the address from PCI configuration space. > Do I need to do an ioremap? No because etherboot does a 1-1 of physical to virtual addresses. If etherboot goes cross platform we might need something like that but we don't right now. > >Is that even supported in the Etherboot code? Any answers would help. > > I think Eric Biederman fixed that aspect of Etherboot. Unless I'm > mistaken, the address obtained from the PCI probe is just an address and > doesn't necessarily mean I/O address anymore, despite the name. Ditto > for membase. The e1000 driver also uses memory space I think. Actually ioaddr is an io address, and membase is a memory address, though if noone was using it membase may be totally removed. No changes have been made to their meaning except depricating them, which is how I avoided breaking old drivers. Feel free and encouraged to ignore them. Eric |