Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/include/linux Provide enum pci_bus_speed
details: https://anonhg.NetBSD.org/src/rev/d6bb96a9a293
branches: trunk
changeset: 1028244:d6bb96a9a293
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 09:55:32 2021 +0000
description:
Provide enum pci_bus_speed
We don't really make use of it but why not.
Author: Maya Rashish <maya%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/include/linux/pci.h | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 400f48e33936 -r d6bb96a9a293 sys/external/bsd/drm2/include/linux/pci.h
--- a/sys/external/bsd/drm2/include/linux/pci.h Sun Dec 19 09:55:23 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/pci.h Sun Dec 19 09:55:32 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci.h,v 1.45 2021/12/19 09:49:39 riastradh Exp $ */
+/* $NetBSD: pci.h,v 1.46 2021/12/19 09:55:32 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -180,6 +180,14 @@
bool no_64bit_msi;
};
+enum pci_bus_speed {
+ PCI_SPEED_UNKNOWN,
+ PCIE_SPEED_2_5GT,
+ PCIE_SPEED_5_0GT,
+ PCIE_SPEED_8_0GT,
+ PCIE_SPEED_16_0GT,
+};
+
#define PCIBIOS_MIN_MEM 0x100000 /* XXX bogus x86 kludge bollocks */
#define __pci_rom_iomem
Home |
Main Index |
Thread Index |
Old Index