This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Memory mapped and IO mapped


Hi all,

I am writing an ethernet driver for I386 platform.

I am able to detect the card, get the MAC address of the card and read/write from registers using the function HAL_WRITE_UINT16 and HAL_READ_UINT16.

I got the base address from pci_device structurs base_map[0].

I think this is IO mapped.

Linux support function ioremap() takes the physical address and gives the virtual address which we will be used for further read and write.

Is there any function in eCos which does the same.

how can i write my driver memory mapped .

please help me out.

Regards,
Madhava S


This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message.Global Edge Software Ltd has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Global Edge Software Ltd reserves the right to monitor and review the content of all messages sent to or from this e-mail address

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]