patch-2.2.15 linux/arch/alpha/kernel/core_lca.c
Next file: linux/arch/alpha/kernel/core_mcpcia.c
Previous file: linux/arch/alpha/kernel/core_irongate.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Fri Apr 21 12:45:44 2000
- Orig file:
v2.2.14/arch/alpha/kernel/core_lca.c
- Orig date:
Sun Sep 6 18:34:33 1998
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/arch/alpha/kernel/core_lca.c linux/arch/alpha/kernel/core_lca.c
@@ -16,7 +16,7 @@
#include <asm/ptrace.h>
#include <asm/system.h>
-#include <asm/smp.h>
+#include <asm/pci.h>
#define __EXTERN_INLINE inline
#include <asm/io.h>
@@ -24,6 +24,7 @@
#undef __EXTERN_INLINE
#include "proto.h"
+#include "bios32.h"
/*
* BIOS32-style PCI interface:
@@ -349,6 +350,12 @@
* data parity errors.
*/
*(vulp)LCA_IOC_PAR_DIS = 1UL<<5;
+
+ /* Tell userland where I/O space is located. */
+ default_hose.pci_sparse_io_space = LCA_IO - IDENT_ADDR;
+ default_hose.pci_sparse_mem_space = LCA_SPARSE_MEM - IDENT_ADDR;
+ default_hose.pci_dense_io_space = 0;
+ default_hose.pci_dense_mem_space = LCA_DENSE_MEM - IDENT_ADDR;
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)