CIA core logic with BWX enabled appears on EV6. We require at least

EV56 for the assembler to emit BWX opcodes, so set the arch to "ev6".
This commit is contained in:
thorpej 1999-12-02 19:43:58 +00:00
parent dc362cf369
commit 4e08cc6996
2 changed files with 15 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: tsp_bus_io.c,v 1.1 1999/06/29 06:46:46 ross Exp $ */
/* $NetBSD: tsp_bus_io.c,v 1.2 1999/12/02 19:43:58 thorpej Exp $ */
/*-
* Copyright (c) 1999 by Ross Harvey. All rights reserved.
@ -33,7 +33,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(1, "$NetBSD: tsp_bus_io.c,v 1.1 1999/06/29 06:46:46 ross Exp $");
__KERNEL_RCSID(1, "$NetBSD: tsp_bus_io.c,v 1.2 1999/12/02 19:43:58 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -60,4 +60,10 @@ typedef struct tsp_config *TSPCON;
#define CHIP_IO_SYS_START(v) (((TSPCON)(v))->pc_iobase | P_PCI_IO)
/*
* Tsunami core logic appears on EV6. We require at least EV56
* support for the assembler to emit BWX opcodes.
*/
__asm(".arch ev6");
#include <alpha/pci/pci_bwx_bus_io_chipdep.c>

View File

@ -1,4 +1,4 @@
/* $NetBSD: tsp_bus_mem.c,v 1.1 1999/06/29 06:46:46 ross Exp $ */
/* $NetBSD: tsp_bus_mem.c,v 1.2 1999/12/02 19:43:58 thorpej Exp $ */
/*-
* Copyright (c) 1999 by Ross Harvey. All rights reserved.
@ -54,4 +54,10 @@
#define CHIP_MEM_SYS_START(v) (((struct tsp_config *)(v))->pc_iobase)
/*
* Tsunami core logic appears on EV6. We require at least EV56
* support for the assembler to emit BWX opcodes.
*/
__asm(".arch ev6");
#include <alpha/pci/pci_bwx_bus_mem_chipdep.c>