public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jon Smirl <jonsmirl@gmail.com>
To: lkml <linux-kernel@vger.kernel.org>
Subject: Intel AGP support attaching to wrong PCI IDs
Date: Sat, 5 Feb 2005 20:45:19 -0500	[thread overview]
Message-ID: <9e4733910502051745c25d6f@mail.gmail.com> (raw)

I have an i875 chipset with these two devices:

8086:2578 - 00:00.0 Host bridge: Intel Corp. 82875P/E7210 Memory
Controller Hub (rev 02)
8086:2579 - 00:01.0 PCI bridge: Intel Corp. 82875P Processor to AGP
Controller (rev 02)

In the legacy io space thread we are talking about making a device
driver for host bridges.  The Intel AGP drivers (in my case
agpgart-intel-mch) are attaching to the PCI IDs of the host bus device
instead of the AGP bridge. This blocks us from making a host bridge
driver.
PCI_DEVICE_ID_INTEL_82875_HB 0x2578

Shouldn't they be attaching to device 0x2579? It looks like all of the
drivers have this problem and are attaching to the host bus PCI IDs
instead of the AGP bridge ID.

[root@jonsmirl pci]# cat devices
0000    80862578        0       ec000008        00000000       
00000000        00000000        00000000        00000000       
00000000      04000000 00000000        00000000        00000000       
00000000        00000000        00000000        agpgart-intel-mch
0008    80862579        0       00000000        00000000       
00000000        00000000        00000000        00000000       
00000000      00000000 00000000        00000000        00000000       
00000000        00000000        00000000

Am I correct in thinking that in all cases there has to be two PCI
IDs, one for the host bridge and one for the APG bridge?

-- 
Jon Smirl
jonsmirl@gmail.com

             reply	other threads:[~2005-02-06  1:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-06  1:45 Jon Smirl [this message]
2005-02-06  4:05 ` Intel AGP support attaching to wrong PCI IDs Dave Jones
2005-02-06  5:58   ` Jon Smirl
2005-02-06  6:08     ` Dave Jones
1996-01-19 21:38       ` Maciej W. Rozycki
2005-02-06  6:49       ` Jon Smirl
2005-02-06  7:25         ` Kyle Moffett
2005-02-06 21:37       ` Ian Pilcher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9e4733910502051745c25d6f@mail.gmail.com \
    --to=jonsmirl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox