Re: lspci shpchp and /sys vs /lib/modules questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-03-16 14:11, David Mathog wrote:
Things I do not understand:


4. lspci -k:
00:0a.0 PCI bridge: Broadcom HT2100 PCI-Express Bridge (rev a2)
        Kernel driver in use: pcieport
        Kernel modules: shpchp

but...

grep -i pcieport /lib/modules/*/modules.builtin
#nothing
grep -i pcieport /lib/modules/*/modules.alias
#nothing

Yet there are reciprocal links here:

ls -al /sys/bus/pci/drivers/pcieport/0000:00:0a.0
lrwxrwxrwx 1 root root 0 Mar 16 14:25 /sys/bus/pci/drivers/pcieport/0000:00:0a.0 -> ../../../../devices/pci0000:00/0000:00:0a.0
 ls -al /sys/devices/pci0000:00/0000:00:0a.0/driver
lrwxrwxrwx 1 root root 0 Mar 16 15:03 /sys/devices/pci0000:00/0000:00:0a.0/driver -> ../../../bus/pci/drivers/pcieport

Not builtin, not a module, yet still a driver!  Where did it come from?

Thanks,

David Mathog
mathog@xxxxxxxxxxx
Manager, Sequence Analysis Facility, Biology Division, Caltech



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux