Source-Changes-HG archive

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

[src/thorpej_scsipi]: src/sys/dev/tc Make this compile.



details:   https://anonhg.NetBSD.org/src/rev/3486d12566a3
branches:  thorpej_scsipi
changeset: 477423:3486d12566a3
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed Mar 28 15:10:17 2001 +0000

description:
Make this compile.

diffstat:

 sys/dev/tc/asc_tcds.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 000ea25a0e1c -r 3486d12566a3 sys/dev/tc/asc_tcds.c
--- a/sys/dev/tc/asc_tcds.c     Wed Mar 28 09:39:40 2001 +0000
+++ b/sys/dev/tc/asc_tcds.c     Wed Mar 28 15:10:17 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asc_tcds.c,v 1.1.2.2 2000/11/20 11:43:13 bouyer Exp $ */
+/* $NetBSD: asc_tcds.c,v 1.1.2.3 2001/03/28 15:10:17 bouyer Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -68,12 +68,13 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: asc_tcds.c,v 1.1.2.2 2000/11/20 11:43:13 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: asc_tcds.c,v 1.1.2.3 2001/03/28 15:10:17 bouyer Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
+#include <sys/buf.h>
 
 #include <dev/scsipi/scsi_all.h>
 #include <dev/scsipi/scsipi_all.h>
@@ -235,7 +236,9 @@
        sc->sc_maxxfer = 64 * 1024;
 
        /* Do the common parts of attachment. */
-       ncr53c9x_attach(sc, NULL, NULL);
+       sc->sc_adapter.adapt_minphys = minphys;
+       sc->sc_adapter.adapt_request = ncr53c9x_scsipi_request;
+       ncr53c9x_attach(sc);
 }
 
 static void



Home | Main Index | Thread Index | Old Index