summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2009-06-28 01:35:28 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2009-06-28 01:35:28 +0000
commit1ca05a94c9486b0d7da6ece9cfeb5a6c44190924 (patch)
tree01b57f1d5f5d968df5d91a9138481b61bc21c784 /sys
parent39ef3eba59cdeadeaff76aad96d3fc82f79e8f3d (diff)
Restore lost string constant, make DEBUG kernels compile.
Noticed by deraadt@.
Diffstat (limited to 'sys')
-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 },