From: David Mathog <mathog@caltech.edu>
To: linux-pci@vger.kernel.org
Cc: mj@ucw.cz
Subject: Re: lspci shpchp and /sys vs /lib/modules questions
Date: Mon, 16 Mar 2020 15:06:00 -0700 [thread overview]
Message-ID: <4298133c8a3dbc89ac12854dbf786816@saf.bio.caltech.edu> (raw)
In-Reply-To: <50c91fec35004aa29a7553f255214531@saf.bio.caltech.edu>
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@caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech
prev parent reply other threads:[~2020-03-16 22:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <a3d09c2b013e08d7d0eaa3799a00593f@saf.bio.caltech.edu>
2020-03-16 21:11 ` lspci shpchp and /sys vs /lib/modules questions David Mathog
2020-03-16 22:06 ` David Mathog [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4298133c8a3dbc89ac12854dbf786816@saf.bio.caltech.edu \
--to=mathog@caltech.edu \
--cc=linux-pci@vger.kernel.org \
--cc=mj@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).