Lines Matching +full:pci +full:- +full:domain

29 .Nm pci
30 .Nd generic PCI/PCIe bus driver
32 To compile the PCI bus driver into the kernel,
35 .Bd -ragged -offset indent
36 .Cd device pci
40 .Pq SR-IOV :
41 .Bd -ragged -offset indent
45 To compile in support for native PCI-express HotPlug:
46 .Bd -ragged -offset indent
53 .Tn PCI
57 .Tn PCI
63 .Pa /dev/pci
65 .Tn PCI
68 .Tn PCI
70 .Tn PCI
76 .Tn PCI
84 .Pa /dev/pci
91 or a BAR read access could have function-specific side-effects.
96 .Tn PCI
99 .Tn PCI
101 .Tn PCI
106 .Tn PCI
108 .Tn PCI
113 driver also includes support for PCI-PCI bridges,
114 various platform-specific Host-PCI bridges,
116 .Tn PCI
126 .Bl -tag -width 012345678901234
134 .Tn PCI
136 .Tn PCI
147 .Bl -tag -width match_buf_len
149 The length, in bytes, of the buffer filled with user-supplied patterns.
151 The number of user-supplied patterns.
153 Pointer to a buffer filled with user-supplied patterns.
162 .Bl -tag -width pd_vendor
164 .Tn PCI
165 domain, bus, slot and function.
167 .Tn PCI
170 .Tn PCI
173 .Tn PCI
176 .Tn PCI
179 .Tn PCI
203 .Bl -tag -width pc_subvendor
205 .Tn PCI
206 domain, bus, slot and function.
208 .Tn PCI
211 .Tn PCI
214 .Tn PCI
217 .Tn PCI
220 .Tn PCI
223 .Tn PCI
226 .Tn PCI
229 .Tn PCI
232 .Tn PCI
250 .Tn PCI
264 .Bl -ohang
266 This means that there are no more devices in the PCI device list matching
273 .Tn PCI
301 .Tn PCI
302 configuration registers specified by the passed-in
308 .Bl -tag -width pi_width
312 structure which specifies the domain, bus, slot and function the user would
314 If the specific bus is not found, errno will be set to ENODEV and -1 returned
318 .Tn PCI
324 3-byte reads and reads larger than 4 bytes are
334 .Tn PCI
335 configuration registers specified in the passed-in
343 .Tn PCI
349 .Tn PCI
350 device specified in the passed-in
370 the memory-mapped PCI BAR into its address space.
374 .Bl -tag -width Vt struct pcise pbm_sel
404 Regular memory-like BAR should be mapped with
410 .Bl -tag -width PCIIO_BAR_MMAP_ACTIVATE
423 Without the flag, read-only mapping is established.
424 Note that it is common for the device registers to have side-effects
438 .Bl -tag
453 1-byte, 2-byte, 4-byte and 8-byte perations are supported.
476 tunable to a non-zero value.
477 .Bl -tag -width indent
478 .It Va hw.pci.clear_bars Pq Defaults to 0
479 Ignore any firmware-assigned memory and I/O port resources.
481 .Tn PCI
484 .It Va hw.pci.clear_buses Pq Defaults to 0
485 Ignore any firmware-assigned bus number registers in PCI-PCI bridges.
487 .Tn PCI
488 bus driver and PCI-PCI bridge driver to allocate bus numbers for secondary
489 buses behind PCI-PCI bridges.
490 .It Va hw.pci.clear_pcib Pq Defaults to 0
491 Ignore any firmware-assigned memory and I/O port resource windows in PCI-PCI
493 This forces the PCI-PCI bridge driver to allocate memory and I/O port resources
496 By default the PCI-PCI bridge driver will allocate windows that
497 contain the firmware-assigned resources devices behind the bridge.
498 In addition, the PCI-PCI bridge driver will suballocate from existing window
502 .Va hw.pci.clear_bars
504 .Va hw.pci.clear_pcib
505 must be enabled to fully ignore firmware-supplied resource assignments.
506 .It Va hw.pci.default_vgapci_unit Pq Defaults to -1
509 .Tn PCI
515 .It Va hw.pci.do_power_nodriver Pq Defaults to 0
520 .Bl -tag -width indent
523 .Tn PCI
537 .Tn PCI
540 .It Va hw.pci.do_power_resume Pq Defaults to 1
542 .Tn PCI
546 up non-powered PCI devices after a suspend.
547 .It Va hw.pci.do_power_suspend Pq Defaults to 1
549 .Tn PCI
554 .It Va hw.pci.enable_ari Pq Defaults to 1
555 Enable support for PCI-express Alternative RID Interpretation.
556 This is often used in conjunction with SR-IOV.
557 .It Va hw.pci.enable_io_modes Pq Defaults to 1
558 Enable memory or I/O port decoding in a PCI device's command register if it has
559 firmware-assigned memory or I/O port resources.
565 .It Va hw.pci.enable_msi Pq Defaults to 1
569 .It Va hw.pci.enable_msix Pq Defaults to 1
571 .Pq MSI-X .
572 MSI-X interrupts can be disabled by setting this tunable to 0.
573 .It Va hw.pci.enable_pcie_ei Pq Defaults to 0
574 Enable support for PCI-express Electromechanical Interlock.
575 .It Va hw.pci.enable_pcie_hp Pq Defaults to 1
576 Enable support for native PCI-express HotPlug.
577 .It Va hw.pci.honor_msi_blacklist Pq Defaults to 1
578 MSI and MSI-X interrupts are disabled for certain chipsets known to have
579 broken MSI and MSI-X implementations when this tunable is set.
580 It can be set to zero to permit use of MSI and MSI-X interrupts if the
582 .It Va hw.pci.iov_max_config Pq Defaults to 1MB
584 used when creating Virtual Functions via SR-IOV.
587 .It Va hw.pci.realloc_bars Pq Defaults to 0
589 for any memory or I/O port resources with firmware-assigned ranges that
591 .It Va hw.pci.usb_early_takeover Pq Defaults to 1 on Tn amd64 and Tn i386
596 .It Va hw.pci<D>.<B>.<S>.INT<P>.irq
601 The tunable name includes the address of the PCI device as well as the
603 .Bl -tag -width indent
605 The domain
607 of the PCI device in decimal.
609 The bus address of the PCI device in decimal.
611 The slot of the PCI device in decimal.
613 The interrupt pin of the PCI slot to override.
629 .Va hints.<name>.<unit>.at="pci<B>:<S>:<F>"
631 .Va hints.<name>.<unit>.at="pci<D>:<B>:<S>:<F>"
636 for any PCI device found to match the specification, where:
637 .Bl -tag -width -indent
639 The domain
641 of the PCI device in decimal.
644 The bus address of the PCI device in decimal.
646 The slot of the PCI device in decimal.
648 The function of the PCI device in decimal.
667 at PCI bus 14 slot 0 function 0,
671 card at PCI bus 6 slot 0 function 0,
680 .Bl -tag -width /dev/pci -compact
681 .It Pa /dev/pci
692 .Tn PCI
696 Support for device listing and matching was re-implemented by