Add MODULE_PNP_INFO() to the driver to make it autoload if not linked statically into the kernel
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Nice to see this. Perhaps a follow-up change removing rtsx from amd64/i386 GENERIC configs would be appropriate?
sys/dev/rtsx/rtsx.c | ||
---|---|---|
3922 | It would be better to reuse the list from main probe function above without duplication. I haven't looked closer into the format string of the macro, but I think it should be possible. | |
sys/i386/conf/GENERIC | ||
321–322 | I wonder whether anybody use rtsx as boot device. I know that some systems use MMC cards as one, that is why we have sdhci in GENERIC. |
sys/i386/conf/GENERIC | ||
---|---|---|
321–322 | I don't think this is frequent. I try it on my ACER to no avail. |
sys/dev/rtsx/rtsx.c | ||
---|---|---|
3908 | Does this work? I didn't think that you could specify vendor= like this. I can't seem to find the code that parses it like that, can you help me find what I'm overlooking? |
sys/dev/rtsx/rtsx.c | ||
---|---|---|
3908 | I test it at every boot on my laptop. I follow |
sys/dev/rtsx/rtsx.c | ||
---|---|---|
3908 | Ah, indeed. I'd forgotten about T. |
sys/amd64/conf/GENERIC | ||
---|---|---|
366–367 | I think you should pick between keeping the device in GENERIC or removing the line completely, rather than commenting it out. |
sys/amd64/conf/GENERIC | ||
---|---|---|
366–367 | Thanks! |
Hello,
Now that 13.2-RELEASE is almost done I think it would be nice to have this update committed for 14.0-RELEASE.
With the PNP, the kernel is smaller for the configuration without Realtek.