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

Re: Help needed for Linux driver




>>>>> "Scott" == Scott C Karlin <scott@CS.Princeton.EDU> writes:
    Scott> Andreas Heiner wrote:
    >>  1. What is the right way to found my PCI card inside the system and
    >> to read out the BAR's ?

    Scott> To find your device, use the following code.  Note that this
    Scott> supports more than one of your cards in a system:

  But, it doesn't work as well if you have to recognize multiple
vendor IDs, or if you need to look at the subsystem vendor IDs before
being sure, etc.
  Mostly a code structure issue.

   :!mcr!:            |  Solidum Systems Corporation, http://www.solidum.com
   Michael Richardson |For a better connected world,where data flows faster<tm>
 Personal: http://www.sandelman.ottawa.on.ca/People/Michael_Richardson/Bio.html
	mailto:mcr@sandelman.ottawa.on.ca	mailto:mcr@solidum.com