summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2022-01-07 06:57:57 +0000
committermsaitoh <msaitoh@NetBSD.org>2022-01-07 06:57:57 +0000
commit1bbff15bb4835a9b20214b8878bc0357f41d6c8d (patch)
tree0b7cd63a81c1448b654f1d0b7761fb37dc0ff74e /sys/dev
parent6afb9894444026876b829fb82ac7833c456c1a90 (diff)
Two fixes:
- Fix previous again. The missing comma is intended to split the long line. - Add missing right parenthesis.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/pci_subr.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/pci/pci_subr.c b/sys/dev/pci/pci_subr.c
index 0d28aa3fc47..5fe1432ba77 100644
--- a/sys/dev/pci/pci_subr.c
+++ b/sys/dev/pci/pci_subr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_subr.c,v 1.237 2022/01/07 05:17:38 msaitoh Exp $ */
+/* $NetBSD: pci_subr.c,v 1.238 2022/01/07 06:57:57 msaitoh Exp $ */
/*
* Copyright (c) 1997 Zubin D. Dittia. All rights reserved.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.237 2022/01/07 05:17:38 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.238 2022/01/07 06:57:57 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_pci.h"
@@ -4369,15 +4369,15 @@ pci_conf_print_pl16g_cap(const pcireg_t *regs, int extcapoff)
}
static const char * const pcie_receive_number_dp[] = {
- "Broadcast ",
- "(Downstream Port Receiver and all Retimer Pseudo Port Receiver",
- "Rx(A) (Downstream Port Receiver)",
- "Rx(B) (Retimer X or Z Upstream Pseudo Port Receiver)",
- "Rx(C) (Retimer X or Z Downstream Pseudo Port Receiver)",
- "Rx(D) (Retimer Y Upstream Pseudo Port Receiver)",
- "Rx(E) (Retimer Y Downstream Pseudo Port Receiver)",
- "Reserved",
- "Reserved"
+ [0] = "Broadcast "
+ "(Downstream Port Receiver and all Retimer Pseudo Port Receiver)",
+ [1] = "Rx(A) (Downstream Port Receiver)",
+ [2] = "Rx(B) (Retimer X or Z Upstream Pseudo Port Receiver)",
+ [3] = "Rx(C) (Retimer X or Z Downstream Pseudo Port Receiver)",
+ [4] = "Rx(D) (Retimer Y Upstream Pseudo Port Receiver)",
+ [5] = "Rx(E) (Retimer Y Downstream Pseudo Port Receiver)",
+ [6] = "Reserved",
+ [7] = "Reserved"
};
static const char * const pcie_receive_number_up[] = {