Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23841
b: refs/heads/master
c: 9c01dda
h: refs/heads/master
i:
  23839: 5ccca28
v: v3
  • Loading branch information
Navin Boppuri authored and Linus Torvalds committed Mar 25, 2006
1 parent 5cc2ae3 commit 97791b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 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: 94949436191f69dac735919a9698612ef6b3dbba
refs/heads/master: 9c01dda02f417270e733e38effe1084c77ae107d
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/kernel/aperture.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ static __u32 __init search_agp_bridge(u32 *order, int *valid_agp)
int num, slot, func;

/* Poor man's PCI discovery */
for (num = 0; num < 32; num++) {
for (num = 0; num < 256; num++) {
for (slot = 0; slot < 32; slot++) {
for (func = 0; func < 8; func++) {
u32 class, cap;
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/x86_64/kernel/pci-gart.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ static u32 gart_unmapped_entry;

#define for_all_nb(dev) \
dev = NULL; \
while ((dev = pci_get_device(PCI_VENDOR_ID_AMD, 0x1103, dev))!=NULL)\
if (dev->bus->number == 0 && \
(PCI_SLOT(dev->devfn) >= 24) && (PCI_SLOT(dev->devfn) <= 31))
while ((dev = pci_get_device(PCI_VENDOR_ID_AMD, 0x1103, dev))!=NULL)

static struct pci_dev *northbridges[MAX_NB];
static u32 northbridge_flush_word[MAX_NB];
Expand Down

0 comments on commit 97791b5

Please sign in to comment.