vfio_pci.c (0aea30a07ec6b50de0fc5f5b2ec34a68ead86b61) vfio_pci.c (70693f470848f05fae04144675e6e41b105d45fe)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved
4 *
5 * Copyright (C) 2012 Red Hat, Inc. All rights reserved.
6 * Author: Alex Williamson <alex.williamson@redhat.com>
7 *
8 * Derived from original vfio:

--- 180 unchanged lines hidden (view full) ---

189
190static struct pci_driver vfio_pci_driver = {
191 .name = "vfio-pci",
192 .id_table = vfio_pci_table,
193 .probe = vfio_pci_probe,
194 .remove = vfio_pci_remove,
195 .sriov_configure = vfio_pci_sriov_configure,
196 .err_handler = &vfio_pci_core_err_handlers,
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved
4 *
5 * Copyright (C) 2012 Red Hat, Inc. All rights reserved.
6 * Author: Alex Williamson <alex.williamson@redhat.com>
7 *
8 * Derived from original vfio:

--- 180 unchanged lines hidden (view full) ---

189
190static struct pci_driver vfio_pci_driver = {
191 .name = "vfio-pci",
192 .id_table = vfio_pci_table,
193 .probe = vfio_pci_probe,
194 .remove = vfio_pci_remove,
195 .sriov_configure = vfio_pci_sriov_configure,
196 .err_handler = &vfio_pci_core_err_handlers,
197 .driver_managed_dma = true,
197};
198
199static void __init vfio_pci_fill_ids(void)
200{
201 char *p, *id;
202 int rc;
203
204 /* no ids passed actually */

--- 69 unchanged lines hidden ---
198};
199
200static void __init vfio_pci_fill_ids(void)
201{
202 char *p, *id;
203 int rc;
204
205 /* no ids passed actually */

--- 69 unchanged lines hidden ---