pci(4) - OpenBSD manual pages (original) (raw)
NAME
pci
—introduction to PCI bus support
SYNOPSIS
# alpha
pci* at apecs?
pci* at cia?
pci* at irongate?
pci* at lca?
pci* at tsp?
pci* at mcpcia?
# amd64, i386
pci* at mainbus0
# arm64
pci* at acpipci?
pci* at bcmpcie?
pci* at dwpcie?
pci* at mvkpcie?
pci* at pciecam?
pci* at rkpcie?
# armv7
pci* at mvpcie?
pci* at pciecam?
# hppa
pci* at dino?
pci* at elroy?
# landisk
pci* at shpcic?
# loongson
pci* at bonito?
pci* at htb?
# macppc
pci* at mpcpcibr?
pci* at ht?
pci* at hpb?
# octeon
pci* at octpcie?
# sgi
pci* at macepcibr?
pci* at xbridge?
# sparc64
pci* at psycho?
pci* at schizo?
pci* at pyro?
pci* at vpci?
# all architectures
pci* at pchb?
pci* at ppb?
DESCRIPTION
The system includes a machine-independent PCI bus subsystem and several machine-independent PCI device drivers.
Note that interrupt mappings on the i386 may require that you configure your BIOS to reserve sufficient interrupts as "PCI/ISAPnP" so that there are sufficient interrupts remaining to configure the discovered PCI devices. For more information, seepcibios(4).
OpenBSD provides support for the following devices. Note that not all architectures support all devices.
SCSI host adapters
AdvanSys PCI SCSI interface
Adaptec VL/EISA/PCI SCSI interface
Adaptec PCI/PCI-X AIC79xx-based Ultra320 SCSI interface
Initio INIC-940/950 based PCI SCSI interface
LSI Logic Fusion-MPT Message Passing Interface
LSI Logic Fusion-MPT Message Passing Interface II
Non-Volatile Memory Host Controller Interface
Advanced Micro Devices Am53c974 PCscsi-PCI SCSI interface
QLogic ISP2100/2200/2300 Fibre Channel controller
QLogic ISP2400/2500 Fibre Channel controller
QLogic ISP1000/1020/1x40/1x80/1x160 SCSI controller
LSI/Symbios Logic/NCR 53c8xx SCSI interface
TRM-S1040 based PCI SCSI interface
VMware Paravirtual SCSI
IDE disk controllers
Advanced Host Controller Interface for Serial ATA
JMicron JMB36x SATA II and PATA Host Controller
PCI IDE controller driver
Silicon Image 3124/3132/3531 SATA controller
RAID and cache controllers
Adaptec SAS/SATA/SCSI RAID controller
American Megatrends Inc. MegaRAID PATA/SATA/SCSI RAID controller
Areca Technology Corporation SAS/SATA RAID controller
Compaq Smart Array 2/3/4 SCSI RAID controller
Compaq Smart Array SAS/SATA/SCSI RAID controller
ICP-Vortex and Intel GDT SATA/SCSI RAID controller
IBM SATA/SCSI ServeRAID controller
LSI Logic & Dell MegaRAID SAS RAID controller
LSI Logic MegaRAID SAS Fusion RAID controller
3ware 5000/6000/7000/8000 series PATA/SATA RAID controller
Wired network interfaces
Attansic L1 10/100/Gigabit Ethernet device
Atheros AR813x/AR815x/AR816x/AR817x 10/100/Gigabit Ethernet device
Atheros AR8121/AR8113/AR8114 10/100/Gigabit Ethernet device
Broadcom BCM4401 10/100 Ethernet device
Broadcom BCM57xx/BCM590x 10/100/Gigabit Ethernet device
Broadcom NetXtreme II 10/100/Gigabit Ethernet device
Broadcom NetXtreme-C/E 10/25/40/50Gb Ethernet device
Sun Cassini 10/100/Gigabit Ethernet device
DEC/Intel 21140/21142/21143/21145 and clones 10/100 Ethernet device
DEC DC21x4x (Tulip) 10/100 Ethernet device
Intel PRO/1000 10/100/Gigabit Ethernet device
3Com EtherLink III and Fast EtherLink III 10/100 Ethernet device
SMC 83C170 (EPIC/100) 10/100 Ethernet device
Agere/LSI ET1310 10/100/Gigabit Ethernet device
Intel EtherExpress PRO/100 10/100 Ethernet device
GEM 10/100/Gigabit Ethernet device
Sun Happy Meal 10/100 Ethernet device
Intel Ethernet Adaptive Virtual Function device
Intel 82598/82599/X540/X550 PCI Express 10Gb Ethernet device
Intel PRO/10GbE 10Gb Ethernet device
Intel Ethernet 700 series Ethernet device
JMicron JMC25x/JMC26x 10/100/Gigabit Ethernet device
Level 1 LXT1001 NetCellerator PCI Gigabit Ethernet device
Attansic L2 10/100 Ethernet device
Mellanox 5th generation Ethernet device
Marvell Yukon-2 10/100/Gigabit Ethernet device
Myson Technology MTD800/MTD803/MTD891 10/100/Gigabit Ethernet device
Myricom Myri-10G PCI Express 10Gb Ethernet device
NE2000 and compatible 10/100 Ethernet device
Sun Neptune 10Gb Ethernet device
NVIDIA nForce MCP 10/100/Gigabit Ethernet device
National Semiconductor PCI 10/100/Gigabit Ethernet device
Emulex OneConnect 10Gb Ethernet device
AMD PCnet-PCI 10/100 Ethernet device
Realtek 8139C+/8169/816xS/811xS/8168/810xE 10/100/Gigabit Ethernet device
Realtek 8125/8125B PCI Express 2.5Gb Ethernet device
Realtek 8129/8139 10/100 Ethernet device
SiS 190/191 10/100/Gigabit Ethernet device
Adaptec AIC-6915 "Starfire" PCI 10/100 Ethernet device
SiS 900, SiS 7016, and NS DP83815/6 10/100 Ethernet device
SysKonnect XMAC II and Marvell Yukon 10/100/Gigabit Ethernet device
Sundance Technologies ST201 10/100 Ethernet device
Sundance/Tamarack TC9021 Gigabit Ethernet device
Tehuti Networks 10Gb Ethernet device
Alteon Networks Tigon I and II Gigabit Ethernet device
Texas Instruments ThunderLAN 10/100 Ethernet device
3Com 3XP Typhoon/Sidewinder (3CR990) 10/100 Ethernet device
VIA Velocity 10/100/Gigabit Ethernet device
VMware VMXnet Virtual Interface Controller device
VMware VMXNET3 Virtual Interface Controller device
VIA Rhine I/II/III 10/100 Ethernet device
RDC R6040 10/100 Ethernet device
Winbond W89C840F 10/100 Ethernet device
Neterion Xframe/Xframe II 10Gb Ethernet device
3Com EtherLink XL and Fast EtherLink XL 10/100 Ethernet device
Wireless network interfaces
TI ACX100/ACX111 IEEE 802.11a/b/g wireless network device
Aironet Communications 4500/4800 IEEE 802.11FH/b wireless network device
Atheros IEEE 802.11a/b/g wireless network device with GPIO
Atheros IEEE 802.11a/b/g/n wireless network device
ADMtek ADM8211 IEEE 802.11b wireless network device
Broadcom and Cypress IEEE 802.11a/ac/b/g/n wireless network device
Broadcom AirForce IEEE 802.11b/g wireless network device
Intel PRO/Wireless 2100 IEEE 802.11b wireless network device
Intel PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11a/b/g wireless network device
Intel WiFi Link and Centrino IEEE 802.11a/b/g/n wireless network devices
Intel 7000/8000/9000 IEEE 802.11a/ac/b/g/n wireless network devices
Intel AX200/AX201 IEEE 802.11a/ac/ax/b/g/n wireless network devices
Marvell Libertas IEEE 802.11b/g wireless network device
Conexant/Intersil Prism GT Full-MAC IEEE 802.11a/b/g wireless network device
Ralink Technology/MediaTek IEEE 802.11a/b/g/n wireless network device
Realtek RTL8180L IEEE 802.11b wireless network device
Realtek RTL8188CE/RTL8188EE/RTL8192CE/RTL8723AE PCIe IEEE 802.11b/g/n wireless network device
WaveLAN/IEEE, PRISM 2-3, and Spectrum24 IEEE 802.11b wireless network device
Intel PRO/Wireless 3945ABG IEEE 802.11a/b/g wireless network device
Cryptography accelerators
AMD cryptographic co-processor
Geode LX Security Block crypto accelerator
Hifn 7751/7811/7951/7955/7956/9751 crypto accelerator
SafeNet crypto accelerator
Broadcom and BlueSteel uBsec 5x0x crypto accelerator
Serial interfaces
Cyclades Cyclom-4Y, -8Y, and -16Y asynchronous serial communications devices
Cyclades-Z series multi-port serial adapter device
PCI “universal” communications card driver
Display adapters
HP Standard Text Interface
DECchip 21030 (TGA) graphics driver
VGA graphics cards
Audio devices
Acer Labs I/O Controller Hub integrated AC'97 audio device
AMD Geode LX CS5536 integrated AC'97 audio device
Intel ICH integrated AC'97 audio device
ATI SB200/SB300/SB400/SB600 integrated AC'97 audio device
Trident 4DWAVE-DX/NX, SiS 7018, ALi M5451 audio device
VIA VT82C686A/VT8233/VT8235/VT8237 integrated AC'97 audio device
generic High Definition Audio device
Cirrus Logic CS4280/CS4610/CS4615 audio device
Cirrus Logic CS4281 audio device
C-Media CMI8338/CMI8738/CMI8768 PCI audio device
Ensoniq AudioPCI audio device
Creative Labs SBLive!, PCI 512, and Audigy audio device
VIA Envy24 audio device
ESS Technology Allegro-1/Maestro-3 family audio device
ESS Technology Solo-1 PCI AudioDrive audio device
Forte Media FM801 audio device
ESS Maestro 1 and 2 audio device
NeoMagic 256AV/ZX audio device
S3 SonicVibes audio device
Yamaha DS-XG audio device
Time receiver devices
Meinberg Funkuhren timedelta sensor
Radio receiver devices
Forte Media FM801 audio device
Hardware Sensors
Berkshire Products watchdog timer device
AMD Elan SC520 System Controller with watchdog timer and GPIO
Geode SC1100/SCx200 IAOC watchdog timer device
Intel 6300ESB ICH watchdog timer device
Intel 3400 temperature sensor
AMD K8 temperature sensor
AMD K10 temperature sensor
AMD K17 temperature sensor over SMN
Intel PCH temperature sensor
Quancom PWDOG1 watchdog timer device
VIA SMBus controller and VIA VT82C686A/VT8231 hardware monitor
ICS PCI-WDT500/501 watchdog timer device
Miscellaneous devices
Acer Labs M7101 SMBus controller
AMD memory address map
AMD-8111 SMBus controller
AMD-8111 series LPC bridge and timecounter
AMD-756/766/768/8111 Power Management and SMBus controller
Brooktree Bt848/849/878/879 PCI TV tuners and video capture boards
PCI Yenta compatible CardBus bridges
USB Enhanced Host Controller Interface
Intel EP80579 Global Configuration Unit
CS5536 PCI-ISA Bridge with timecounter, watchdog timer, and GPIO
National Semiconductor Geode SC1100 PCI-ISA bridge with GPIO
HyperTransport-PCI bridge
Intel ICH SMBus controller
NVIDIA nForce2/3/4 SMBus controller
USB Open Host Controller Interface
PCI-ISA bridge
PCI PCMCIA controllers, including the Cirrus Logic GD6729
Intel PIIX SMBus controller
PCI-PCI bridge
Realtek SD card reader
SD Host Controller
National Semiconductor PC87560 Legacy IO
Intel Atom E600 series LPC bridge and watchdog timer
USB Universal Host Controller Interface
VIA SMBus controller
VirtIO support driver
IOCTLS
If the kernel is compiled with theUSER_PCICONF kernel option, the followingioctl(2) calls are supported by the pci
driver. They are defined in the header file<sys/pciio.h>
.
PCIOCREAD struct pci_io *
This ioctl(2) reads the PCI configuration registers specified by the passed-in pci_io structure. Thepci_io structure consists of the following fields:
pi_sel
A pcisel structure which specifies the bus, slot and function the user would like to query.
pi_reg
The PCI configuration register the user would like to access.
pi_width
The width, in bytes, of the data the user would like to read. This value can be only 4.
pi_data
The data returned by the kernel.
PCIOCWRITE struct pci_io *
This ioctl(2) allows users to write to the PCI device specified in the passed-in pci_io structure. Thepci_io structure is described above. The limitations on data width described for reading registers, above, also apply to writing PCI configuration registers.
PCIOCGETROM struct pci_rom *
This ioctl(2) allows users to read the contents of the PCI ROM specified in the passed-in pci_rom structure. Thepci_rom structure consists of the following fields:
pr_sel
A pcisel structure which specifies the bus, slot and function the user would like to query.
pr_romlen
Size of the buffer to store the contents of the ROM. Upon return, this field will contain the size of the ROM
pr_rom
The address of the buffer to store the contents of the ROM.
If the ROM is larger than the specified buffer size,ENOMEM
will be returned.
FILES
/dev/pci*
Character device for the pci
driver.
SEE ALSO
HISTORY
The machine-independent PCI subsystem appeared inOpenBSD 1.2.