[ECOS] Vendor/Device Id's in pci

Mark Salter msalter@redhat.com
Mon Jun 25 08:35:00 GMT 2001


>>>>> 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



More information about the Ecos-discuss mailing list