Quoting Peter Stuge peter@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
On Wed, Feb 06, 2008 at 10:10:10PM -0500, joe@smittys.pointclark.net wrote:
OK, here is what I have picked up reading, reading, and more reading:
- When the system is powered on "At this point, the LAN
controller is in the D0u state"
Check.
- The "Platform LAN Connect component" is actually a command
script (probibly a rom written in assembly) runs and sets up the CSR register
That would explain things.
(I could setup a script in the mainboard directory and run from auto.c).
Sounds like a plan.
- At this point it goes into a DOa state.
Yep.
- 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"
Check. Though I don't think this is an active hand-over from the connect component, rather that it is called from the BIOS, then when it has finished the BIOS continues on.
- nic is setup and ready to go!
What do you think?
This matches your observations and the datasheet quotes. Since the Platform LAN Connect component is indeed software it is no doubt the missing piece of your puzzle.
//Peter