diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-01-15 05:50:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-01-15 05:50:45 +0000 |
commit | db62dea4a0e7fe4ea1cd296e357d0154db4a280f (patch) | |
tree | 844ce5eb80eca4c1b915a028d777c50f6a93afb6 /sys/dev/pci | |
parent | 38a0537c79c088049ded09e18103dfbdd179f900 (diff) |
sc_link.adapter_buswidth, set to 16 if wide scsi. if 0 it gets converted
to 8 internally so that drivers do not need to init it for regular scsi :-)
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/ncr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/ncr.c b/sys/dev/pci/ncr.c index 6f0659f8b4d..cf627ac8df7 100644 --- a/sys/dev/pci/ncr.c +++ b/sys/dev/pci/ncr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr.c,v 1.22 1996/11/30 23:04:38 downsj Exp $ */ +/* $OpenBSD: ncr.c,v 1.23 1997/01/15 05:50:44 deraadt Exp $ */ /* $NetBSD: ncr.c,v 1.48 1996/10/25 21:33:33 cgd Exp $ */ /************************************************************************** @@ -3640,6 +3640,7 @@ static void ncr_attach (pcici_t config_id, int unit) #if defined(__NetBSD__) || defined(__OpenBSD__) np->sc_link.adapter_softc = np; np->sc_link.adapter_target = np->myaddr; + np->sc_link.adapter_buswidth = MAX_TARGET; np->sc_link.openings = 1; #ifndef __OpenBSD__ np->sc_link.channel = SCSI_CHANNEL_ONLY_ONE; |