[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Q : PCI bus and boot ROM on a NIC



Hi !!
  I am facing a problem for design of a PCI based NIC card , I want a
boot ROM support. My card is addressed in memory mapped fashion and no IO
space is asked by it.

So all the registers implemented on my chip   are  memory mapped.

   The PCI may give any address space to my card. My card supports 64
bit addressing as well. So above 4Gb address is also possible.

   I have a boot ROM present on a card , it will also be mapped to that
memory region.
Now the driver(present in the boot ROM ) will try to access the
register of NIC chip and it will not do so because the system is booted in
real mode and it

will not be able to access the memory mapped registers as these registers
are in protected
mode memory region.

   Does this mean that all my necessery register will be having two
addresses one IO/mapped
and the other memory mapped address ?
Need I have to support IO space for my PCI design ?

Any help is appriciated

Ajit Madhekar