This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Vendor/Device Id's in pci
>>>>> Narayana, Venkat A writes:
> Hi
> I am going thru iq80310_pci.c file and i came across
> these lines...
> / ********* vendor / device id **********
> *(cyg_uint16 *)ASVIR_ADDR = 0x113C;
> *(cyg_uint16 *)ASIR_ADDR = 0x0700;
> So, my doubt is what are these values? and how these have been
> choosen?
These set the subsystem vendor/device ID for the address translation
unit. See the 80312 I/O companion chip manual and the PCI spec for
more derails. The 0x113C is the vendor ID for Cyclone Microsystems.
> Basically, my intention is to add 82559 Net card to my redboot flash
> image(reboot.bin).
You should probably start by looking at the 82559 driver used on the
iq80310. (.../devs/eth/arm/iq80310).
--Mark