+
    if  c                   s.    ^ RI HtHt  ! R R]]4      tR# )i    )PluginIndependentPluginc                   s8   a  ] tR t^t o RtRtRtR tR tRt	V t
R# )PcizPCI devicesZpcic                s    V P                  R4      '       g   R# V P                  R4      pRV9   d   VP                  R4       \        V4      ^ 8  # )z"Check whether PCI devices present /proc/bus/pciFZdevices)Z
path_isdirZlistdirZremoveZlen)selfZcontents   & ;/usr/lib/python3.14/site-packages/sos/report/plugins/pci.pycheck_for_bus_devicesZPci.check_for_bus_devices   sG    // ,,/NN9%7|a    c                s    V P                  . RO4       V P                  4       '       d(   V P                  RRRR7       V P                  R4       R# R# )/proc/ioportszlspci -nnvvZlspci)Zroot_symlinkZtagsz	lspci -tvN)r   z/proc/iomemr   )Zadd_copy_specr   Zadd_cmd_output)r   s   &r   setupZ	Pci.setup   sS     
 	 %%''G%,   ., (r    N)ZhardwareZsystem)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z
short_descZplugin_nameZprofilesr   r	   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s#     JK%H	 
- 
-r   r   N)Zsos.report.pluginsr    r   r   r
   r   r   <module>r      s    9-&# -r   