| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
BEFORE I my driver appears on scene IORegistry ALREADY indicates no memory for this card. If I am not misstaken all these problems appears BECAUSE Open Firmware did not correctly identified the card's needs?
gives any reason why there is no mapping done. There is really a need for an insider who knows at what stage the config (the card?) might fail ( might be not proper PCI conformance?)
I more or less worked around by creating two IOMemoryDescriptors with physical address as read from bar0 and bar1 and sizes of 0x800 and 0x4000 as read out from IORegistry, and call IOMemoryDescriptor's map method which returns an IOMemoryMap. As far as I am today it seems I can talk to the card but I do not know whether am I living dangerously or not... Will my code break when interrupts come into play or DMA?
| References: | |
| >Re: PCI-card memory not mapped (From: Bela Farago <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.