From 64c91a1cc399db959bb4e4fdb75828401495653d Mon Sep 17 00:00:00 2001 From: mark Date: Wed, 21 Aug 1996 19:46:47 +0000 Subject: [PATCH] Report EASI space timings when probing the podule bus. --- sys/arch/arm32/podulebus/podulebus.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/sys/arch/arm32/podulebus/podulebus.c b/sys/arch/arm32/podulebus/podulebus.c index 8f7addf83b07..5872e4ea1e84 100644 --- a/sys/arch/arm32/podulebus/podulebus.c +++ b/sys/arch/arm32/podulebus/podulebus.c @@ -1,4 +1,4 @@ -/* $NetBSD: podulebus.c,v 1.10 1996/06/12 21:09:55 mark Exp $ */ +/* $NetBSD: podulebus.c,v 1.11 1996/08/21 19:46:47 mark Exp $ */ /* * Copyright (c) 1994,1995 Mark Brinicombe. @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -535,7 +536,18 @@ podulebusattach(parent, self, aux) { int loop; struct podule_attach_args pa; - + int easi_time; + int bit; + + easi_time = ReadByte(IOMD_ECTCR); + + printf(": easi timings="); + for (bit = 0x01; bit < 0x100; bit = bit << 1) + if (easi_time & bit) + printf("C"); + else + printf("A"); + printf("\n"); /* Ok we need to map in the podulebus */