Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100105
b: refs/heads/master
c: 42a4b42
h: refs/heads/master
i:
  100103: f051e78
v: v3
  • Loading branch information
Robert Richter authored and Ingo Molnar committed Jul 9, 2008
1 parent df453c7 commit 31f8d07
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8eefc6640311bb56408fa0abe3f2930b3037f91a
refs/heads/master: 42a4b427a8d7bff95d9622ffa2365cb56da8e7d6
42 changes: 21 additions & 21 deletions trunk/arch/x86/pci/amd_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,6 @@
* also get peer root bus resource for io,mmio
*/


/*
* sub bus (transparent) will use entres from 3 to store extra from root,
* so need to make sure have enought slot there, increase PCI_BUS_NUM_RESOURCES?
*/
#define RES_NUM 16
struct pci_root_info {
char name[12];
unsigned int res_num;
struct resource res[RES_NUM];
int bus_min;
int bus_max;
int node;
int link;
};

/* 4 at this time, it may become to 32 */
#define PCI_ROOT_NR 4
static int pci_root_num;
static struct pci_root_info pci_root_info[PCI_ROOT_NR];

#ifdef CONFIG_NUMA

#define BUS_NR 256
Expand Down Expand Up @@ -65,8 +44,29 @@ int get_mp_bus_to_node(int busnum)

return node;
}

#endif

/*
* sub bus (transparent) will use entres from 3 to store extra from root,
* so need to make sure have enought slot there, increase PCI_BUS_NUM_RESOURCES?
*/
#define RES_NUM 16
struct pci_root_info {
char name[12];
unsigned int res_num;
struct resource res[RES_NUM];
int bus_min;
int bus_max;
int node;
int link;
};

/* 4 at this time, it may become to 32 */
#define PCI_ROOT_NR 4
static int pci_root_num;
static struct pci_root_info pci_root_info[PCI_ROOT_NR];

void set_pci_bus_resources_arch_default(struct pci_bus *b)
{
int i;
Expand Down

0 comments on commit 31f8d07

Please sign in to comment.