patch-2.4.20 linux-2.4.20/include/asm-mips/sibyte/sb1250.h

Next file: linux-2.4.20/include/asm-mips/sibyte/sb1250_defs.h
Previous file: linux-2.4.20/include/asm-mips/sibyte/board.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-mips/sibyte/sb1250.h linux-2.4.20/include/asm-mips/sibyte/sb1250.h
@@ -10,7 +10,7 @@
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
@@ -19,11 +19,21 @@
 #ifndef _ASM_SIBYTE_SB1250_H
 #define _ASM_SIBYTE_SB1250_H
 
+#ifndef __ASSEMBLY__
+
+#include <asm/addrspace.h>
+
+/* For revision/pass information */
+#include <asm/sibyte/sb1250_scd.h>
+extern unsigned int sb1250_pass;
+
 extern void sb1250_time_init(void);
+extern unsigned long sb1250_gettimeoffset(void);
 extern void sb1250_mask_irq(int cpu, int irq);
 extern void sb1250_unmask_irq(int cpu, int irq);
 extern void sb1250_smp_finish(void);
+#endif
 
-#define IO_SPACE_BASE 0xa0000000UL
+#define IO_SPACE_BASE KSEG1
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)