Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/thorpej_scsipi]: src/sys/dev/pci make it compile
details: https://anonhg.NetBSD.org/src/rev/096cfaa41f2e
branches: thorpej_scsipi
changeset: 477379:096cfaa41f2e
user: bouyer <bouyer%NetBSD.org@localhost>
date: Mon Jan 22 18:03:51 2001 +0000
description:
make it compile
diffstat:
sys/dev/pci/pcscp.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 4d9563357c94 -r 096cfaa41f2e sys/dev/pci/pcscp.c
--- a/sys/dev/pci/pcscp.c Mon Jan 22 18:03:32 2001 +0000
+++ b/sys/dev/pci/pcscp.c Mon Jan 22 18:03:51 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcscp.c,v 1.5.2.5 2001/01/05 17:36:17 bouyer Exp $ */
+/* $NetBSD: pcscp.c,v 1.5.2.6 2001/01/22 18:03:51 bouyer Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -56,10 +56,9 @@
#include <uvm/uvm_extern.h>
+#include <dev/scsipi/scsipi_all.h>
#include <dev/scsipi/scsi_all.h>
-#include <dev/scsipi/scsipi_all.h>
#include <dev/scsipi/scsiconf.h>
-#include <dev/scsipi/scsi_message.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
@@ -330,7 +329,9 @@
/* Do the common parts of attachment. */
printf("%s", sc->sc_dev.dv_xname);
- ncr53c9x_attach(sc, NULL, NULL);
+ sc->sc_adapter.adapt_minphys = minphys;
+ sc->sc_adapter.adapt_request = ncr53c9x_scsipi_request;
+ ncr53c9x_attach(sc);
/* Turn on target selection using the `dma' method */
ncr53c9x_dmaselect = 1;
Home |
Main Index |
Thread Index |
Old Index