Module Name: src Committed By: riastradh Date: Sun Dec 19 09:55:32 UTC 2021
Modified Files: src/sys/external/bsd/drm2/include/linux: pci.h Log Message: Provide enum pci_bus_speed We don't really make use of it but why not. Author: Maya Rashish <m...@netbsd.org> To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/external/bsd/drm2/include/linux/pci.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/drm2/include/linux/pci.h diff -u src/sys/external/bsd/drm2/include/linux/pci.h:1.45 src/sys/external/bsd/drm2/include/linux/pci.h:1.46 --- src/sys/external/bsd/drm2/include/linux/pci.h:1.45 Sun Dec 19 09:49:39 2021 +++ src/sys/external/bsd/drm2/include/linux/pci.h Sun Dec 19 09:55:32 2021 @@ -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 @@ struct pci_dev { 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