All of lore.kernel.org
 help / color / mirror / Atom feed
From: rajesh.shah-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
To: gregkh-l3A5Bk7waGM@public.gmane.org,
	ink-biIs/Y0ymYJMZLIVYojuPNP0rXTJTi09@public.gmane.org,
	ak-l3A5Bk7waGM@public.gmane.org,
	len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	akpm-3NddpPZAyC0@public.gmane.org
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-pci-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Rajesh Shah <rajesh.shah-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: [patch 1/2] Increase the number of PCI bus resources
Date: Thu, 02 Jun 2005 15:41:48 -0700	[thread overview]
Message-ID: <20050602224326.656154000@csdlinux-1> (raw)
In-Reply-To: 20050602224147.177031000@csdlinux-1

[-- Attachment #1: inc-pci-bus-resources --]
[-- Type: text/plain, Size: 1237 bytes --]

This patch increases the number of resource pointers in the
pci_bus structure. This is needed to store >4 resource ranges
for host bridges and transparent PCI bridges. With this change,
all PCI buses will have more resource pointers, but most PCI
buses will only use the first 3 or 4, the remaining being NULL.
The PCI core already deals with this correctly.

Signed-off-by: Rajesh Shah <rajesh.shah-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Index: linux-2.6.12-rc5/include/linux/pci.h
===================================================================
--- linux-2.6.12-rc5.orig/include/linux/pci.h
+++ linux-2.6.12-rc5/include/linux/pci.h
@@ -586,7 +586,7 @@ struct pci_dev {
 #define PCI_NUM_RESOURCES 11
 
 #ifndef PCI_BUS_NUM_RESOURCES
-#define PCI_BUS_NUM_RESOURCES 4
+#define PCI_BUS_NUM_RESOURCES 8
 #endif
   
 #define PCI_REGION_FLAG_MASK 0x0fU	/* These bits of resource flags tell us the PCI region flags */

--


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

WARNING: multiple messages have this Message-ID (diff)
From: rajesh.shah@intel.com
To: gregkh@suse.de, ink@jurassic.park.msu.ru, ak@suse.de,
	len.brown@intel.com, akpm@osdl.org
Cc: linux-kernel@vger.kernel.org, linux-pci@atrey.karlin.mff.cuni.cz,
	acpi-devel@lists.sourceforge.net,
	Rajesh Shah <rajesh.shah@intel.com>
Subject: [patch 1/2] Increase the number of PCI bus resources
Date: Thu, 02 Jun 2005 15:41:48 -0700	[thread overview]
Message-ID: <20050602224326.656154000@csdlinux-1> (raw)
In-Reply-To: 20050602224147.177031000@csdlinux-1

[-- Attachment #1: inc-pci-bus-resources --]
[-- Type: text/plain, Size: 893 bytes --]

This patch increases the number of resource pointers in the
pci_bus structure. This is needed to store >4 resource ranges
for host bridges and transparent PCI bridges. With this change,
all PCI buses will have more resource pointers, but most PCI
buses will only use the first 3 or 4, the remaining being NULL.
The PCI core already deals with this correctly.

Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>

Index: linux-2.6.12-rc5/include/linux/pci.h
===================================================================
--- linux-2.6.12-rc5.orig/include/linux/pci.h
+++ linux-2.6.12-rc5/include/linux/pci.h
@@ -586,7 +586,7 @@ struct pci_dev {
 #define PCI_NUM_RESOURCES 11
 
 #ifndef PCI_BUS_NUM_RESOURCES
-#define PCI_BUS_NUM_RESOURCES 4
+#define PCI_BUS_NUM_RESOURCES 8
 #endif
   
 #define PCI_REGION_FLAG_MASK 0x0fU	/* These bits of resource flags tell us the PCI region flags */

--

  reply	other threads:[~2005-06-02 22:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-02 22:41 [patch 0/2] Collecting host bridge resources - take 2 rajesh.shah-ral2JQCrhuEAvxtiuMwx3w
2005-06-02 22:41 ` rajesh.shah
2005-06-02 22:41 ` rajesh.shah-ral2JQCrhuEAvxtiuMwx3w [this message]
2005-06-02 22:41   ` [patch 1/2] Increase the number of PCI bus resources rajesh.shah
2005-06-02 22:41 ` [patch 2/2] i386/x86_64: collect host bridge resources v2 rajesh.shah-ral2JQCrhuEAvxtiuMwx3w
2005-06-02 22:41   ` rajesh.shah
2005-06-28 11:51   ` Ivan Kokshaysky
2005-06-28 18:21     ` Kristen Accardi
2005-06-28 20:03       ` Ivan Kokshaysky
2005-06-28 20:03         ` Ivan Kokshaysky
     [not found]         ` <20050629000300.A26118-biIs/Y0ymYJMZLIVYojuPNP0rXTJTi09@public.gmane.org>
2005-06-30 16:05           ` Greg KH
2005-06-30 16:05             ` Greg KH
2005-07-01  0:33             ` Rajesh Shah

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=20050602224326.656154000@csdlinux-1 \
    --to=rajesh.shah-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=ak-l3A5Bk7waGM@public.gmane.org \
    --cc=akpm-3NddpPZAyC0@public.gmane.org \
    --cc=gregkh-l3A5Bk7waGM@public.gmane.org \
    --cc=ink-biIs/Y0ymYJMZLIVYojuPNP0rXTJTi09@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-pci-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.