Re: /proc/iomem (was: Modems on PowerBook 3400)
>At 2:18 AM +0200 7/17/02, Benjamin Herrenschmidt wrote:
>>Copy your /proc/iomem here and I'll explain
>
>Thanks for taking the time to do so. I and future generations of
>archive searchers will be in your debt.
>
>The 3400 (2.4.19rc1benh):
>rafial@biomorph:~$ cat /proc/iomem
>80000000-afffffff : /bandit@F2000000
> 80000000-803fffff : PCI CardBus #01
> 80400000-807fffff : PCI CardBus #05
> 80802000-8080207f : Digital Equipment Corporation DECchip 21041
>[Tulip Pass 3]
> 80802000-8080207f : tulip
> 80803000-80803fff : Texas Instruments PCI1130 (#2)
> 80804000-80804fff : Texas Instruments PCI1130
> 81000000-81ffffff : Chips and Technologies F65550
> 81000000-81ffffff : chipsfb
> 90000000-90000fff : card services
>f3000000-f3ffffff : /bandit@F2000000
> f3000000-f307ffff : Apple Computer Inc. O'Hare I/O
> f3000034-f3000034 : media-bay
> f3008400-f30084ff : ch-a (tx dma)
> f3008500-f30085ff : ch-a (rx dma)
> f3008600-f30086ff : ch-b (tx dma)
> f3008700-f30087ff : ch-b (rx dma)
> f3008b00-f3008bff : ata (mac-io IDE DMA)
> f3008c00-f3008cff : ata (mac-io IDE DMA)
> f3013000-f301301f : ch-b
> f3013020-f301303f : ch-a
> f3015000-f3015fff : floppy
> f3016000-f3017fff : via-pmu
> f3020000-f3020fff : ata (mac-io IDE IO)
> f3021000-f3021fff : ata (mac-io IDE IO)
> f3400000-f37fffff : PCI CardBus #01
> f3800000-f3bfffff : PCI CardBus #05
>
>---
>The TiBook (2.14.17benh):
>rafial@blackbird:~$ cat /proc/iomem
>80000000-afffffff : /pci@f2000000
Ok, the above is the PCI bus. There are 3 root PCI busses on this
machines @f0000000, f2000000 and f4000000 (all AGP macs have that,
older ones have only one or 2),
> 80000000-8007ffff : Apple Computer Inc. KeyLargo Mac I/O
> 80008400-800084ff : ch-a (tx dma)
> 80008500-800085ff : ch-a (rx dma)
> 80008600-800086ff : ch-b (tx dma)
> 80008700-800087ff : ch-b (rx dma)
> 80008800-800088ff : davbus (tx dma)
> 80008900-800089ff : davbus (rx dma)
> 80008a00-80008aff : ata-4 (mac-io IDE DMA)
> 80008b00-80008bff : ata-3 (mac-io IDE DMA)
> 80008c00-80008cff : ata-3 (mac-io IDE DMA)
> 80013000-80013000 : ch-b
> 80013020-80013020 : ch-a
> 80014000-80014fff : davbus
> 80016000-80017fff : via-pmu
> 8001f000-8001ffff : ata-4 (mac-io IDE IO)
> 80020000-80020fff : ata-3 (mac-io IDE IO)
> 80021000-80021fff : ata-3 (mac-io IDE IO)
> 80030000-800300ff : radio (airport)
> 80040000-8007ffff : interrupt-controller
> 90000000-9fffffff : PCI CardBus #02
> a0000000-a0000fff : Texas Instruments PCI1211
The 2 above are your cardbus controller. As you can see,
they are on the pci bus @f2000000. So for your iomem, you
need to pick a range that is covered by this PCI host
(that is between 0x80000000 and 0xafffffff and that is
not already used by any of the other devices under this
PCI host.
> a0001000-a0001fff : Apple Computer Inc. KeyLargo USB (#2)
> a0001000-a0001fff : usb-ohci
> a0002000-a0002fff : Apple Computer Inc. KeyLargo USB
> a0002000-a0002fff : usb-ohci
Ok, that's the end of devices under pci@f2000000. An
example of available range here would be 0x81000000 to
0x81ffffff.
>b0000000-bfffffff : /pci@f0000000
> b0000000-b0003fff : ATI Technologies Inc Rage Mobility M3 AGP 2x
> b0000000-b0003fff : aty128fb MMIO
> b4000000-b7ffffff : ATI Technologies Inc Rage Mobility M3 AGP 2x
> b4000000-b7ffffff : aty128fb FB
>f1000000-f1ffffff : /pci@f0000000
>f3000000-f3ffffff : /pci@f2000000
> f3000000-f33fffff : PCI CardBus #02
>f5000000-f5ffffff : /pci@f4000000
> f5000000-f5000fff : Apple Computer Inc. UniNorth FireWire
> f5200000-f53fffff : Apple Computer Inc. UniNorth GMAC (Sun GEM)
> f5200000-f53fffff : ethernet (gmac)
>f8000000-f8ffffff : uni-n
>
>--
>______________________________________________________________________
> Wilhelm Fitzpatrick | When we speak of free
> http://www.3roses.com/ | software we are referring
> rafial@well.com | to freedom not price.
>
>
>--
>To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: