Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Don't forget to init chan_bustype.



details:   https://anonhg.NetBSD.org/src/rev/9cc40d0f66d5
branches:  trunk
changeset: 509346:9cc40d0f66d5
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed May 02 10:31:41 2001 +0000

description:
Don't forget to init chan_bustype.

diffstat:

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

diffs (17 lines):

diff -r e5a539c9328f -r 9cc40d0f66d5 sys/dev/ic/aha.c
--- a/sys/dev/ic/aha.c  Wed May 02 09:47:45 2001 +0000
+++ b/sys/dev/ic/aha.c  Wed May 02 10:31:41 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aha.c,v 1.31 2001/04/25 17:53:30 bouyer Exp $  */
+/*     $NetBSD: aha.c,v 1.32 2001/05/02 10:31:41 bouyer Exp $  */
 
 #include "opt_ddb.h"
 
@@ -279,6 +279,7 @@
         */
        memset(chan, 0, sizeof(*chan));
        chan->chan_adapter = adapt;
+       chan->chan_bustype = &scsi_bustype;
        chan->chan_channel = 0;
        chan->chan_ntargets = 8;
        chan->chan_nluns = 8;



Home | Main Index | Thread Index | Old Index