[coreboot] Run PCI rom before PCI bus scan??

joe at smittys.pointclark.net joe at smittys.pointclark.net
Thu Feb 7 04:10:10 CET 2008


Quoting Peter Stuge <peter at stuge.se>:

> On Tue, Feb 05, 2008 at 02:49:52PM -0500, Corey Osgood wrote:
>> "In the LAN controller the D0 state is partitioned into two substates
>>
>> and
>>
>> "The integrated LAN controller will be disabled if no Platform LAN
>> Connect component is detected (See Section 5.2.1.3)."
>>
>>
>> Any help?
>
> The first one isn't that interesting since it also implies that PCI
> config regs are actually available.
>
> The second one, or rather section 5.2.1.3, could be interesting if
> "Platform LAN Connect component" is usually found in the BIOS.
>
>
> //Peter
>
OK, here is what I have picked up reading, reading, and more reading:

1. When the system is powered on "At this point, the LAN
controller is in the D0u state"

2. The "Platform LAN Connect component" is actually a command script
(probibly a rom written in assembly) runs and sets up the CSR register
(I could setup a script in the mainboard directory and run from auto.c).

3. At this point it goes into a DOa state.

3. The "Platform LAN Connect component" hands it over to the bios
(coreboot) to setup "Memory, or I/O Base Registers in the PCI
Configuration space"

4. nic is setup and ready to go!

What do you think?

Thanks - Joe





More information about the coreboot mailing list