# \[PrPMC800\] Allocating DMA-able memory with scarce PCI resources

- List: linuxppc-dev
- 1 message, 1 author
- Page: https://ratatoskr.run/linuxppc-dev/2003/01/9386291/t

## \[PrPMC800\] Allocating DMA-able memory with scarce PCI resources

- From: Anders Blomdell \<hidden\>
- Date: 2003-01-17 19:23:59 
- Message: https://ratatoskr.run/linuxppc-dev/2003/01/9386291.md

```text

Hi,

My PrPMC800's are to be run in as slaves in a PCI-system, where they will
only be alloted a limited amount of PCI-space each (< 1MB), how do I do to
make allocation of datastructures that should be accessible from the
outside (e.g ethernet controllers) fall within a memory area that is
accessible from the PCI bus?

I guess that it has something to do with page_alloc and zones, but I have
[not yet] found out where zones gets initialized...

Regards

Anders Blomdell

------------------------------------------------------------------------------
 Anders Blomdell
 Department of Automatic Control        Email: anders.blomdell@control.lth.
se
 Lund Institute of Technology           Phone: +46 46 222 4625
 Box 118, S-221 00 Lund, Sweden         Fax:   +46 46 138118


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