Source-Changes-HG archive

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

[src/thorpej_scsipi]: src/sys/dev/ic Call ahc_update_xfer_mode() from ahc_act...



details:   https://anonhg.NetBSD.org/src/rev/0626b680a83e
branches:  thorpej_scsipi
changeset: 477460:0626b680a83e
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue Apr 03 10:05:31 2001 +0000

description:
Call ahc_update_xfer_mode() from ahc_action() when no sync/wide negotiation
is going to happen.

diffstat:

 sys/dev/ic/aic7xxx.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 998879ddec44 -r 0626b680a83e sys/dev/ic/aic7xxx.c
--- a/sys/dev/ic/aic7xxx.c      Tue Apr 03 10:03:24 2001 +0000
+++ b/sys/dev/ic/aic7xxx.c      Tue Apr 03 10:05:31 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aic7xxx.c,v 1.37.2.14 2001/04/02 16:58:59 bouyer Exp $ */
+/*     $NetBSD: aic7xxx.c,v 1.37.2.15 2001/04/03 10:05:31 bouyer Exp $ */
 
 /*
  * Generic driver for the aic7xxx based adaptec SCSI controllers
@@ -3963,6 +3963,8 @@
                                FALSE, FALSE);
                }
                splx(s);
+               if ((xm->xm_mode & (PERIPH_CAP_SYNC | PERIPH_CAP_WIDE16)) == 0)
+                       ahc_update_xfer_mode(ahc, &devinfo);
        }
        }
 }



Home | Main Index | Thread Index | Old Index