Lines Matching +full:hw +full:- +full:device +full:- +full:address
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
64 character device that can be used by userland programs to read and write
67 Programs can also use this device to get a list of all
80 device.
91 or a BAR read access could have function-specific side-effects.
113 driver also includes support for PCI-PCI bridges,
114 various platform-specific Host-PCI bridges,
126 .Bl -tag -width 012345678901234
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
168 device driver name.
171 device driver unit number.
177 device ID.
180 device class.
183 A device must match all specified fields in order to be returned.
203 .Bl -tag -width pc_subvendor
221 device ID.
224 device class.
227 device subclass.
230 device programming interface.
241 start traversing the device list.
254 device list to the generation passed in by the user to determine whether
255 its device list has changed since the user last called the
258 If the device list has changed, a status of
262 The status tells the user the disposition of his request for a device list.
264 .Bl -ohang
266 This means that there are no more devices in the PCI device list matching
274 device list has changed since his last call to the
283 remaining devices in the device list that match his criteria.
302 configuration registers specified by the passed-in
308 .Bl -tag -width pi_width
314 If the specific bus is not found, errno will be set to ENODEV and -1 returned
324 3-byte reads and reads larger than 4 bytes are
335 configuration registers specified in the passed-in
350 device specified in the passed-in
360 The status of the device is stored in the
370 the memory-mapped PCI BAR into its address space.
374 .Bl -tag -width Vt struct pcise pbm_sel
380 with the desired address for the mapping.
385 Reports length of the bar as exposed by the device.
391 Describes the device to operate on.
404 Regular memory-like BAR should be mapped with
410 .Bl -tag -width PCIIO_BAR_MMAP_ACTIVATE
412 The resulted mappings should be established at the address
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
440 Describes the device to operate on.
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.
484 .It Va hw.pci.clear_buses Pq Defaults to 0
485 Ignore any firmware-assigned bus number registers in PCI-PCI bridges.
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
510 VGA adapter encountered by the system is assumed to be the boot display device.
514 device.
515 .It Va hw.pci.do_power_nodriver Pq Defaults to 0
518 when a suitable device driver is not found.
520 .Bl -tag -width indent
524 devices without a device driver.
526 Powers down most devices without a device driver.
527 PCI devices with the display, memory, and base peripheral device classes
538 device must support power management to be powered down.
539 Placing a device into a low power state may not reduce power consumption.
540 .It Va hw.pci.do_power_resume Pq Defaults to 1
544 individual device.
546 up non-powered PCI devices after a suspend.
547 .It Va hw.pci.do_power_suspend Pq Defaults to 1
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.
563 even when it has assigned resources to the device.
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
588 Attempt to allocate a new resource range during the initial device scan
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
592 Disable legacy device emulation of USB devices during the initial device
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
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.
626 .Sh DEVICE WIRING
627 You can wire the device unit at a given location with
628 .Xr device.hints 5 .
630 Devices may be wired to a Bus / Slot / Function (BSF) address.
641 for any PCI device found to match the specification, where:
642 .Bl -tag -width -indent
646 of the PCI device in decimal.
649 The bus address of the PCI device in decimal.
651 The slot of the PCI device in decimal.
653 The function of the PCI device in decimal.
667 .Pa /boot/device.hints :
668 .Bd -literal
673 If there is a device that supports
679 device at PCI bus 6 slot 0 function 0,
688 While simple to locate where to place a device for BSF wiring, the
692 The UEFI Standard defines a device path that's based only on the invariant parts
693 of the address: The root complex (domain), the slot number and the function.
701 .Bd -literal
707 device will be at.
712 It is also less natural to think of the UEFI Device Paths since little else
715 .Bl -tag -width /dev/pci -compact
717 Character device for the
722 .Xr device.hints 5
732 Support for device listing and matching was re-implemented by
738 It is not possible for users to specify an accurate offset into the device