summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/isp_pci.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2009-06-28 01:35:27 +0000
committerkrw <krw@openbsd.org>2009-06-28 01:35:27 +0000
commit6f6d4ab07a4cd3e676fbdbaefc5b65af98daffb7 (patch)
tree03bf9365ad9749633431b2e5b4abb0f63ff74e52 /sys/dev/pci/isp_pci.c
parentStricter checks when deciding which acceleration code to use. Instead of (diff)
downloadwireguard-openbsd-6f6d4ab07a4cd3e676fbdbaefc5b65af98daffb7.tar.xz
wireguard-openbsd-6f6d4ab07a4cd3e676fbdbaefc5b65af98daffb7.zip
Restore lost string constant, make DEBUG kernels compile.
Noticed by deraadt@.
Diffstat (limited to 'sys/dev/pci/isp_pci.c')
-rw-r--r--sys/dev/pci/isp_pci.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/isp_pci.c b/sys/dev/pci/isp_pci.c
index 4b8c6ce001f..37ff874d7d7 100644
--- a/sys/dev/pci/isp_pci.c
+++ b/sys/dev/pci/isp_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isp_pci.c,v 1.48 2009/06/24 11:38:40 deraadt Exp $ */
+/* $OpenBSD: isp_pci.c,v 1.49 2009/06/28 01:35:27 krw Exp $ */
/* $FreeBSD: src/sys/dev/isp/isp_pci.c,v 1.148 2007/06/26 23:08:57 mjacob Exp $*/
/*-
* Copyright (c) 1997-2006 by Matthew Jacob
@@ -376,6 +376,11 @@ static struct ispmdvec mdvec_2400 = {
#endif
#endif
+#ifdef DEBUG
+const char vstring[] =
+ "QLogic ISP Driver, OpenBSD (pci) Platform Version %d.%d Core Version %d.%d";
+#endif
+
const struct pci_matchid ispdev[] = {
{ PCI_VENDOR_QLOGIC, PCI_PRODUCT_QLOGIC_ISP1020 },
{ PCI_VENDOR_QLOGIC, PCI_PRODUCT_QLOGIC_ISP1080 },