Re: PCI driver gets loaded too many times

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: David Liao \(MS\) (davli_at_online.microsoft.com)
Date: 12/21/04


Date: Mon, 20 Dec 2004 17:05:56 -0800

Make sure those value is match with your card.
  "Raymond Rogers" <Raymond.Rogers@gmail.com> wrote in message news:41C76F17.1050003@gmail.com...
  I have added the ProgIF key and now the device driver never gets loaded. This is what the registry looks like now.

  [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\TM8xAGP]
      "Prefix"="AGP"
      "Dll"="TM8xAGP.dll"
      "Flags"=dword:1000
      "Order"=dword:3
      "Class"=dword:06
      "SubClass"=dword:04
      "ProgIF"=dword:00
      "VendorID"=dword:1279
      "DeviceID"=dword:0061

  David Liao (MS) wrote:
    This is because you don't have "ProgIF" key. Without this key, they VendorID and DeviceID is ignored.
    So please add "ProgIF" key

    David Liao

      "Raymond Rogers" <Raymond.Rogers@gmail.com> wrote in message news:41C31D01.1000102@gmail.com...
      Sorry, must have clicked the wrong button.

      Yes the VendorID is 10B9 and the DeviceID is 5249. I have also changed the VendorID and DeviceID registry entries to use the multi_sz entries and that does not seem to make any difference.

      David Liao (MS) wrote:
        Please post it to newsgroup.
        Are you sure the South bridge has different "VendorID" and "DeviceID"?
          "Raymond Rogers" <raymond.rogers@gmail.com> wrote in message news:41C2DF15.30505@gmail.com.....
          David,
          I already have the VendorID and the DeviceID in the registry. Here is what my registry looks like right now.

          [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\TM8xAGP]
              "Prefix"="AGP"
              "Dll"="TM8xAGP.dll"
              "Order"=dword:21
              "Class"=dword:06
              "SubClass"=dword:04
              "VendorID"=dword:1279
              "DeviceID"=dword:0061

          This driver also gets loaded for the PCI-PCI bridge in the south bridge. It has the same Class and SubClass as the AGP bridge but the VendorID and DeviceID are different.

          David Liao (MS) wrote:
Yes. Add "VenderID" and DeviceID".
Here is example for TI PC Card bridge.
[$(PCI_BUS_ROOT)\Template\PCC_TIPCCARD]
   "Dll"="pcc_tipccard.dll"
   "Order"=dword:3
   "Class"=dword:06
   "SubClass"=dword:07
   "ProgIF"=dword:0
   "VendorID"=multi_sz:"104c","104c","104c","104c","1180"
   "DeviceID"=multi_sz:"ac19","ac1c","ac55","ac56","0476"
   "IsrDll"="giisr.dll"
   "IsrHandler"="ISRHandler"
   "ConfigEntry"="PCIBus_Config"
   "ConfigDll"="pcc_tipccard.dll"
   "MemWindowSize"=dword:400000
   "IoWindowSize"= dword:400
   "PCCARDDLL"="pcc_serv.dll"
   "RegPowerOption"=dword:1
    "IClass"=multi_sz:"{57430CF2-A260-4c9b-8F5C-FEF89217FE7C}=%b","{35CE81FB-6788-46ec-87D0-B54D96410C09}=%b"

"Raymond Rogers" <Raymond.Rogers@gmail.com> wrote in message
news:41C22500.9060308@gmail.com...
  I'm writing a device driver for a specific PCI-PCI bridge. The problem
that I'm running into is that there are more than one PCI-PCI bridge
devices in my system and none of the other bridges have their own device
drivers. So, when the PCI Class and SubClass match on my driver it gets
loaded again. Is there anyway that I can specify that the VendorID and
DeviceID *MUST* match before my driver gets loaded? Or is there a better
way to configure this one bridge when the system boots?

--Raymond
    

  


Quantcast