Go to the documentation of this file. 1 #ifndef _ASM_X86_VISWS_LITHIUM_H
2 #define _ASM_X86_VISWS_LITHIUM_H
4 #include <asm/fixmap.h>
10 #define LI_PCI_A_PHYS 0xfc000000
11 #define LI_PCI_B_PHYS 0xfd000000
14 #define LI_PCIA_VADDR (fix_to_virt(FIX_LI_PCIA))
15 #define LI_PCIB_VADDR (fix_to_virt(FIX_LI_PCIB))
18 #define LI_PCI_BUSNUM 0x44
19 #define LI_PCI_INTEN 0x46
22 #define LI_INTA_0 0x0001
23 #define LI_INTA_1 0x0002
24 #define LI_INTA_2 0x0004
25 #define LI_INTA_3 0x0008
26 #define LI_INTA_4 0x0010
27 #define LI_INTB 0x0020
28 #define LI_INTC 0x0040
29 #define LI_INTD 0x0080
32 static inline void li_pcia_write16(
unsigned long reg,
unsigned short v)
37 static inline unsigned short li_pcia_read16(
unsigned long reg)
42 static inline void li_pcib_write16(
unsigned long reg,
unsigned short v)
47 static inline unsigned short li_pcib_read16(
unsigned long reg)