<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false">Hi,</div><div dir="ltr" data-setdir="false">My CPU is Intel x86 (Broadwell DE). I want to write to the command register of the management ethernet PHY's PCIe</div><div dir="ltr" data-setdir="false">config space during Linux boot up. And I want to do that before kernel start loading the igb (ethernet) driver for this PHY.</div><div dir="ltr" data-setdir="false">Can I do that inside the <span><span style="color: rgb(0, 0, 0); font-family: monospace, monospace; font-size: 14px; background-color: rgb(248, 249, 250);">start_kernel() </span></span>routine in init.main.c, or is the driver is already installed once code reaches this point (I am assuming probably not) ?</div><div dir="ltr" data-setdir="false">If this is the correct routine to do this job, is there any kernel code that I can use to write to this config space? </div><div dir="ltr" data-setdir="false">I have bus/device/function info for this management PHY which is already set by the BIOS.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">thanks,</div><div dir="ltr" data-setdir="false">Khalid.</div></div></body></html>