tech-kern archive

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

Re: xxxVERBOSE module?

On Fri, 21 May 2010, John Nemeth wrote:

} be loaded during start-up time and then unloaded after the machine is up

    It would have to be loaded by the boot loader then.  As far as I
know, only the x86 boot loader is capable of loading modules.

I'm almost finished with the PCIVERBOSE stuff...

My current approach is to load the module right before the first pcibus is enumerated, and unload when finished. So we can use the in-kernel loader/linker for whichever platforms it supports. For other platforms it will still be possible to set 'options PCIVERBOSE' to generate a built-in module.

The fun part is making sure that the shared code still plays nicely with src/lib/libpci :)

    Yes, I think it would be very useful.  I was thinking of looking
at this myself.  Thanks for taking on this task.  It's one thing I can
cross off my TODO list.  :-)

No worries!  When I finish up with PCI, I'll start in on USB.

| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at |
| Kernel Developer |                          | pgoyette at  |

Home | Main Index | Thread Index | Old Index