Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amiga/dev Show 50ns period instead of 48ns for Ultra.



details:   https://anonhg.NetBSD.org/src/rev/245ad6b5fe3b
branches:  trunk
changeset: 468004:245ad6b5fe3b
user:      mhitch <mhitch%NetBSD.org@localhost>
date:      Thu Apr 01 17:27:22 1999 +0000

description:
Show 50ns period instead of 48ns for Ultra.

diffstat:

 sys/arch/amiga/dev/siop2.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 32ff43d51700 -r 245ad6b5fe3b sys/arch/amiga/dev/siop2.c
--- a/sys/arch/amiga/dev/siop2.c        Thu Apr 01 17:24:03 1999 +0000
+++ b/sys/arch/amiga/dev/siop2.c        Thu Apr 01 17:27:22 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siop2.c,v 1.10 1999/03/28 21:09:54 is Exp $    */
+/*     $NetBSD: siop2.c,v 1.11 1999/04/01 17:27:22 mhitch Exp $        */
 
 /*
  * Copyright (c) 1994,1998 Michael L. Hitch
@@ -1091,7 +1091,8 @@
 #endif /* MAXTOR_KLUDGE */
                                printf ("%s: target %d now synchronous, period=%dns, offset=%d\n",
                                    sc->sc_dev.dv_xname, target,
-                                   acb->msg[4] * 4, acb->msg[5]);
+                                   (acb->msg[4] == 12) ? 50 : acb->msg[4] * 4,
+                                   acb->msg[5]);
                                scsi_period_to_siopng (sc, target);
                        }
                        rp->siop_sxfer = sc->sc_sync[target].sxfer;



Home | Main Index | Thread Index | Old Index