opnsense-src/sys/dev/mlx4/mlx4_core
Emmanuel Vadot 105a37cac7 linuxkpi: Add more pci functions needed by DRM
-pci_get_class : This function search for a matching pci device based on
   the class/subclass and returns a newly created pci_dev.
 - pci_{save,restore}_state : This is analogous to ours with the same name
 - pci_is_root_bus : Return true if this is the root bus
 - pci_get_domain_bus_and_slot : This function search for a matching pci
   device based on domain, bus and slot/function concat into a single
   unsigned int (devfn) and returns a newly created pci_dev
 - pci_bus_{read,write}_config* : Read/Write to the config space.

While here add some helper function to alloc and fill the pci_dev struct.

Reviewed by:   hselasky, bz (older version)
Differential Revision:	   https://reviews.freebsd.org/D27550
2021-01-12 12:31:00 +01:00
..
fw.h
fw_qos.h
icm.h
mlx4.h Bump driver versions for mlx5en(4) and mlx4en(4). 2021-01-08 12:35:55 +01:00
mlx4_alloc.c
mlx4_catas.c
mlx4_cmd.c Improve support for switching to and from command polling mode in mlx4core. 2019-03-11 14:29:50 +00:00
mlx4_cq.c
mlx4_eq.c mlx4en: Add support for netdump. 2018-12-05 13:32:15 +00:00
mlx4_fw.c
mlx4_fw_qos.c
mlx4_icm.c
mlx4_intf.c mlx4: Make sure default VNET is set when adding a new interface. 2018-12-05 13:39:05 +00:00
mlx4_main.c linuxkpi: Add more pci functions needed by DRM 2021-01-12 12:31:00 +01:00
mlx4_mcg.c
mlx4_mr.c
mlx4_pd.c
mlx4_port.c
mlx4_profile.c
mlx4_qp.c
mlx4_reset.c
mlx4_resource_tracker.c
mlx4_sense.c
mlx4_srq.c