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 Define some obscure PCI ...
details: https://anonhg.NetBSD.org/src/rev/2817d2d6bb4a
branches: trunk
changeset: 1027953:2817d2d6bb4a
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 01:21:00 2021 +0000
description:
Define some obscure PCI ids.
diffstat:
sys/external/bsd/drm2/include/linux/pci.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r edd64219e1c0 -r 2817d2d6bb4a sys/external/bsd/drm2/include/linux/pci.h
--- a/sys/external/bsd/drm2/include/linux/pci.h Sun Dec 19 01:20:53 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/pci.h Sun Dec 19 01:21:00 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci.h,v 1.39 2020/02/14 14:34:59 maya Exp $ */
+/* $NetBSD: pci.h,v 1.40 2021/12/19 01:21:00 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -112,8 +112,12 @@
#define PCI_VENDOR_ID_SONY PCI_VENDOR_SONY
#define PCI_VENDOR_ID_VIA PCI_VENDOR_VIATECH
+#define PCI_SUBVENDOR_ID_REDHAT_QUMRANET 0x1af4
+
#define PCI_DEVICE_ID_ATI_RADEON_QY PCI_PRODUCT_ATI_RADEON_RV100_QY
+#define PCI_SUBDEVICE_ID_QEMU 0x1100
+
#define PCI_DEVFN(DEV, FN) \
(__SHIFTIN((DEV), __BITS(3, 7)) | __SHIFTIN((FN), __BITS(0, 2)))
#define PCI_SLOT(DEVFN) __SHIFTOUT((DEVFN), __BITS(3, 7))
Home |
Main Index |
Thread Index |
Old Index