Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Increase max string length for PCI Product names...



details:   https://anonhg.NetBSD.org/src/rev/13ac8e20d876
branches:  trunk
changeset: 818690:13ac8e20d876
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Oct 25 05:43:40 2016 +0000

description:
Increase max string length for PCI Product names.  Affects only kernels
with PCIVERBOSE (or corresponding module).

We currently have a few product names that exceed the old limit, and
this is triggering an SSP check in pci_devinfo().  This commit doesn't
directly address the SSP issue, but pushes the can down the road...

diffstat:

 sys/dev/pci/pci_verbose.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r da6f229ab7ee -r 13ac8e20d876 sys/dev/pci/pci_verbose.h
--- a/sys/dev/pci/pci_verbose.h Tue Oct 25 02:45:09 2016 +0000
+++ b/sys/dev/pci/pci_verbose.h Tue Oct 25 05:43:40 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_verbose.h,v 1.4 2014/09/21 14:30:22 christos Exp $ */
+/*     $NetBSD: pci_verbose.h,v 1.5 2016/10/25 05:43:40 pgoyette Exp $ */
 
 /*
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
 #endif
 
 #define        PCI_VENDORSTR_LEN       64
-#define        PCI_PRODUCTSTR_LEN      64
+#define        PCI_PRODUCTSTR_LEN      128
 
 DEV_VERBOSE_DECLARE(pci);
 



Home | Main Index | Thread Index | Old Index