Source-Changes-HG archive

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

[src/thorpej_scsipi]: src/sys/dev/scsipi Kill scsipi_link from comments.



details:   https://anonhg.NetBSD.org/src/rev/1563e2fd2360
branches:  thorpej_scsipi
changeset: 477410:1563e2fd2360
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue Mar 27 13:03:04 2001 +0000

description:
Kill scsipi_link from comments.

diffstat:

 sys/dev/scsipi/scsipi_base.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e37a509c4738 -r 1563e2fd2360 sys/dev/scsipi/scsipi_base.c
--- a/sys/dev/scsipi/scsipi_base.c      Sun Mar 25 01:09:37 2001 +0000
+++ b/sys/dev/scsipi/scsipi_base.c      Tue Mar 27 13:03:04 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsipi_base.c,v 1.26.2.10 2001/01/22 17:43:02 bouyer Exp $     */
+/*     $NetBSD: scsipi_base.c,v 1.26.2.11 2001/03/27 13:03:04 bouyer Exp $     */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -121,7 +121,7 @@
        TAILQ_INIT(&chan->chan_queue);
        TAILQ_INIT(&chan->chan_complete);
 
-       nbytes = chan->chan_ntargets * sizeof(struct scsipi_link **);
+       nbytes = chan->chan_ntargets * sizeof(struct scsipi_periph **);
        chan->chan_periphs = malloc(nbytes, M_DEVBUF, M_WAITOK);
 
        nbytes = chan->chan_nluns * sizeof(struct scsipi_periph *);



Home | Main Index | Thread Index | Old Index