summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorgrange <grange@openbsd.org>2006-11-29 18:18:39 +0000
committergrange <grange@openbsd.org>2006-11-29 18:18:39 +0000
commitb4decc484425d89e7eb215f485ead209a059d9a5 (patch)
tree0a26dbe3de4b63c4605843686c70e64fce65efc2 /sys/dev
parentadd compress_list, allows for empty lines consisting of spaces... (diff)
downloadwireguard-openbsd-b4decc484425d89e7eb215f485ead209a059d9a5.tar.xz
wireguard-openbsd-b4decc484425d89e7eb215f485ead209a059d9a5.zip
Limit the number of openings to 1 for now, there're still bugs.
Thanks to miod for the hint.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/ips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/ips.c b/sys/dev/pci/ips.c
index ef0b46c6172..04fb82268ae 100644
--- a/sys/dev/pci/ips.c
+++ b/sys/dev/pci/ips.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ips.c,v 1.15 2006/11/29 14:52:19 grange Exp $ */
+/* $OpenBSD: ips.c,v 1.16 2006/11/29 18:18:39 grange Exp $ */
/*
* Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
@@ -395,7 +395,7 @@ ips_attach(struct device *parent, struct device *self, void *aux)
(*sc->sc_inten)(sc);
/* Attach SCSI bus */
- sc->sc_scsi_link.openings = IPS_MAXCMDS; /* XXX: for now */
+ sc->sc_scsi_link.openings = 1; /* XXX: for now */
sc->sc_scsi_link.adapter_target = IPS_MAXTARGETS;
sc->sc_scsi_link.adapter_buswidth = IPS_MAXTARGETS;
sc->sc_scsi_link.device = &ips_scsi_device;