Deleted Added
full compact
pcivar.h (232704) pcivar.h (253120)
1/*-
2 * Copyright (c) 1997, Stefan Esser <se@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 1997, Stefan Esser <se@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/dev/pci/pcivar.h 232704 2012-03-08 21:09:34Z kan $
26 * $FreeBSD: head/sys/dev/pci/pcivar.h 253120 2013-07-09 23:12:26Z marius $
27 *
28 */
29
30#ifndef _PCIVAR_H_
31#define _PCIVAR_H_
32
33#include <sys/queue.h>
34

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

485device_t pci_find_dbsf(uint32_t, uint8_t, uint8_t, uint8_t);
486device_t pci_find_device(uint16_t, uint16_t);
487device_t pci_find_class(uint8_t class, uint8_t subclass);
488
489/* Can be used by drivers to manage the MSI-X table. */
490int pci_pending_msix(device_t dev, u_int index);
491
492int pci_msi_device_blacklisted(device_t dev);
27 *
28 */
29
30#ifndef _PCIVAR_H_
31#define _PCIVAR_H_
32
33#include <sys/queue.h>
34

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

485device_t pci_find_dbsf(uint32_t, uint8_t, uint8_t, uint8_t);
486device_t pci_find_device(uint16_t, uint16_t);
487device_t pci_find_class(uint8_t class, uint8_t subclass);
488
489/* Can be used by drivers to manage the MSI-X table. */
490int pci_pending_msix(device_t dev, u_int index);
491
492int pci_msi_device_blacklisted(device_t dev);
493int pci_msix_device_blacklisted(device_t dev);
493
494void pci_ht_map_msi(device_t dev, uint64_t addr);
495
496int pci_get_max_read_req(device_t dev);
497void pci_restore_state(device_t dev);
498void pci_save_state(device_t dev);
499int pci_set_max_read_req(device_t dev, int size);
500

--- 19 unchanged lines hidden ---
494
495void pci_ht_map_msi(device_t dev, uint64_t addr);
496
497int pci_get_max_read_req(device_t dev);
498void pci_restore_state(device_t dev);
499void pci_save_state(device_t dev);
500int pci_set_max_read_req(device_t dev, int size);
501

--- 19 unchanged lines hidden ---