Skip to content

Commit

Permalink
Revert PCIBIOS_MIN_IO changes for 2.6.13
Browse files Browse the repository at this point in the history
This reverts commits

  71db63a
	[PATCH] increase PCIBIOS_MIN_IO on x86

and

  0b2bfb4
    ACPI: increase PCIBIOS_MIN_IO on x86

since Lukas Sandströ<lukass@etek.chalmers.se> reports that this breaks
his on-board nvidia audio.

We should re-visit this later. For now we revert the change

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Linus Torvalds committed Aug 15, 2005
1 parent b4b08e5 commit 2ba8468
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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 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 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 2ba8468

Please sign in to comment.