patch-2.1.132 linux/arch/m68k/bvme6000/config.c
Next file: linux/arch/m68k/config.in
Previous file: linux/arch/m68k/bvme6000/bvmeints.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Thu Dec 17 09:06:29 1998
- Orig file:
v2.1.131/linux/arch/m68k/bvme6000/config.c
- Orig date:
Tue Jun 23 10:01:20 1998
diff -u --recursive --new-file v2.1.131/linux/arch/m68k/bvme6000/config.c linux/arch/m68k/bvme6000/config.c
@@ -91,8 +91,7 @@
static void bvme6000_get_model(char *model)
{
- /* XXX Need to detect if BVME4000 or BVME6000 */
- sprintf(model, "BVME6000");
+ sprintf(model, "BVME%d000", m68k_cputype == CPU_68060 ? 6 : 4);
}
@@ -152,13 +151,17 @@
pit->pbddr = 0xf3; /* Mostly outputs */
pit->pcdr = 0x01; /* PA transceiver disabled */
pit->pcddr = 0x03; /* WDOG disable */
+
+ /* Disable snooping for Ethernet and VME accesses */
+
+ bvme_acr_addrctl = 0;
}
void bvme6000_abort_int (int irq, void *dev_id, struct pt_regs *fp)
{
unsigned long *new = (unsigned long *)vectors;
- unsigned long *old = (unsigned long *)0xf8000000;;
+ unsigned long *old = (unsigned long *)0xf8000000;
/* Wait for button release */
while (*config_reg_ptr & BVME_ABORT_STATUS)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov