~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to arch/arm/mach-integrator/include/mach/hardware.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings, Ben Hutchings, Aurelien Jarno, Martin Michlmayr
  • Date: 2011-04-06 13:53:30 UTC
  • mfrom: (43.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110406135330-wjufxhd0tvn3zx4z
Tags: 2.6.38-3
[ Ben Hutchings ]
* [ppc64] Add to linux-tools package architectures (Closes: #620124)
* [amd64] Save cr4 to mmu_cr4_features at boot time (Closes: #620284)
* appletalk: Fix bugs introduced when removing use of BKL
* ALSA: Fix yet another race in disconnection
* cciss: Fix lost command issue
* ath9k: Fix kernel panic in AR2427
* ses: Avoid kernel panic when lun 0 is not mapped
* PCI/ACPI: Report ASPM support to BIOS if not disabled from command line

[ Aurelien Jarno ]
* rtlwifi: fix build when PCI is not enabled.

[ Martin Michlmayr ]
* rtlwifi: Eliminate udelay calls with too large values (Closes: #620204)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#define __ASM_ARCH_HARDWARE_H
24
24
 
25
25
#include <asm/sizes.h>
26
 
#include <mach/platform.h>
27
26
 
28
27
/*
29
28
 * Where in virtual memory the IO devices (timers, system controllers
33
32
#define IO_SIZE                 0x0B000000                 // How much?
34
33
#define IO_START                INTEGRATOR_HDR_BASE        // PA of IO
35
34
 
36
 
#define PCIO_BASE               PCI_IO_VADDR
37
35
#define PCIMEM_BASE             PCI_MEMORY_VADDR
38
36
 
39
 
#ifdef CONFIG_MMU
40
 
/* macro to get at IO space when running virtually */
41
 
#define IO_ADDRESS(x) (((x) >> 4) + IO_BASE) 
42
 
#else
43
 
#define IO_ADDRESS(x) (x)
44
 
#endif
45
 
 
46
37
#define pcibios_assign_all_busses()     1
47
38
 
48
39
#define PCIBIOS_MIN_IO          0x6000
49
40
#define PCIBIOS_MIN_MEM         0x00100000
50
41
 
 
42
/* macro to get at IO space when running virtually */
 
43
#ifdef CONFIG_MMU
 
44
#define IO_ADDRESS(x)   (((x) & 0x000fffff) | (((x) >> 4) & 0x0ff00000) | IO_BASE)
 
45
#else
 
46
#define IO_ADDRESS(x)   (x)
 
47
#endif
 
48
 
 
49
#define __io_address(n)         ((void __iomem *)IO_ADDRESS(n))
 
50
 
51
51
#endif
52
52