patch-2.2.0-final linux/include/asm-i386/lithium.h
Next file: linux/include/asm-i386/smp.h
Previous file: linux/include/asm-i386/i82489.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Sun Jan 24 21:56:35 1999
- Orig file:
v2.2.0-pre9/linux/include/asm-i386/lithium.h
- Orig date:
Wed Jan 20 23:14:06 1999
diff -u --recursive --new-file v2.2.0-pre9/linux/include/asm-i386/lithium.h linux/include/asm-i386/lithium.h
@@ -1,6 +1,8 @@
#ifndef __I386_LITHIUM_H
#define __I386_LITHIUM_H
+#include <linux/config.h>
+
/*
* Lithium is the I/O ASIC on the SGI 320 and 540 Visual Workstations
*/
@@ -16,6 +18,7 @@
#define LI_PCI_BUSNUM 0x44 /* lo8: primary, hi8: sub */
#define LI_PCI_INTEN 0x46
+#ifdef CONFIG_X86_VISWS_APIC
/* More special purpose macros... */
extern __inline void li_pcia_write16(unsigned long reg, unsigned short v)
{
@@ -36,5 +39,7 @@
{
return *((volatile unsigned short *)(LI_PCIB_VADDR+reg));
}
+#endif
#endif
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov