Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5793
b: refs/heads/master
c: 2ba8468
h: refs/heads/master
i:
  5791: a70f423
v: v3
  • Loading branch information
Linus Torvalds committed Aug 15, 2005
1 parent a2c8ee5 commit 8f78a4f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 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: b4b08e581fac8e0ba9ae348bdc13246c9798c99e
refs/heads/master: 2ba84684e8cf6f980e4e95a2300f53a505eb794e
2 changes: 1 addition & 1 deletion trunk/drivers/acpi/motherboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ACPI_MODULE_NAME ("acpi_motherboard")
*/
#define IS_RESERVED_ADDR(base, len) \
(((len) > 0) && ((base) > 0) && ((base) + (len) < IO_SPACE_LIMIT) \
&& ((base) + (len) > 0x1000))
&& ((base) + (len) > PCIBIOS_MIN_IO))

/*
* Clearing the flag (IORESOURCE_BUSY) allows drivers to use
Expand Down
4 changes: 3 additions & 1 deletion trunk/include/asm-i386/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ extern unsigned int pcibios_assign_all_busses(void);
#define pcibios_scan_all_fns(a, b) 0

extern unsigned long pci_mem_start;
#define PCIBIOS_MIN_IO 0x4000
#define PCIBIOS_MIN_IO 0x1000
#define PCIBIOS_MIN_MEM (pci_mem_start)

#define PCIBIOS_MIN_CARDBUS_IO 0x4000

void pcibios_config_init(void);
struct pci_bus * pcibios_scan_root(int bus);

Expand Down
4 changes: 3 additions & 1 deletion trunk/include/asm-x86_64/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ extern unsigned int pcibios_assign_all_busses(void);
extern int no_iommu, force_iommu;

extern unsigned long pci_mem_start;
#define PCIBIOS_MIN_IO 0x4000
#define PCIBIOS_MIN_IO 0x1000
#define PCIBIOS_MIN_MEM (pci_mem_start)

#define PCIBIOS_MIN_CARDBUS_IO 0x4000

void pcibios_config_init(void);
struct pci_bus * pcibios_scan_root(int bus);
extern int (*pci_config_read)(int seg, int bus, int dev, int fn, int reg, int len, u32 *value);
Expand Down

0 comments on commit 8f78a4f

Please sign in to comment.