Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/thorpej_scsipi]: src/sys/dev/isa fill in adapt_minphys and adapt_request
details: https://anonhg.NetBSD.org/src/rev/4d9563357c94
branches: thorpej_scsipi
changeset: 477378:4d9563357c94
user: bouyer <bouyer%NetBSD.org@localhost>
date: Mon Jan 22 18:03:32 2001 +0000
description:
fill in adapt_minphys and adapt_request
diffstat:
sys/dev/isa/esp_isa.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 4c414cf35fb7 -r 4d9563357c94 sys/dev/isa/esp_isa.c
--- a/sys/dev/isa/esp_isa.c Mon Jan 22 18:00:43 2001 +0000
+++ b/sys/dev/isa/esp_isa.c Mon Jan 22 18:03:32 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: esp_isa.c,v 1.16.10.1 2000/11/20 11:41:12 bouyer Exp $ */
+/* $NetBSD: esp_isa.c,v 1.16.10.2 2001/01/22 18:03:32 bouyer Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -120,8 +120,8 @@
#include <machine/bus.h>
#include <machine/intr.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/isa/isavar.h>
@@ -412,7 +412,9 @@
/*
* Now try to attach all the sub-devices
*/
- ncr53c9x_attach(sc, NULL, NULL);
+ sc->sc_adapter.adapt_minphys = minphys;
+ sc->sc_adapter.adapt_request = ncr53c9x_scsipi_request;
+ ncr53c9x_attach(sc);
}
/*
Home |
Main Index |
Thread Index |
Old Index