patch-2.2.15 linux/arch/alpha/kernel/core_t2.c
Next file: linux/arch/alpha/kernel/core_tsunami.c
Previous file: linux/arch/alpha/kernel/core_pyxis.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Fri Apr 21 12:45:44 2000
- Orig file:
v2.2.14/arch/alpha/kernel/core_t2.c
- Orig date:
Sun Jan 10 03:08:21 1999
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/arch/alpha/kernel/core_t2.c linux/arch/alpha/kernel/core_t2.c
@@ -18,6 +18,7 @@
#include <asm/ptrace.h>
#include <asm/system.h>
+#include <asm/pci.h>
#define __EXTERN_INLINE
#include <asm/io.h>
@@ -25,6 +26,7 @@
#undef __EXTERN_INLINE
#include "proto.h"
+#include "bios32.h"
/*
* NOTE: Herein lie back-to-back mb instructions. They are magic.
@@ -477,6 +479,12 @@
*(vulp)T2_HAE_4 = 0; mb(); /* do not touch this */
#endif
}
+
+ /* Tell userland where I/O space is located. */
+ default_hose.pci_sparse_io_space = T2_IO - IDENT_ADDR;
+ default_hose.pci_sparse_mem_space = T2_SPARSE_MEM - IDENT_ADDR;
+ default_hose.pci_dense_io_space = 0;
+ default_hose.pci_dense_mem_space = T2_DENSE_MEM - IDENT_ADDR;
}
#define SIC_SEIC (1UL << 33) /* System Event Clear */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)