[LinuxBIOS] r386 - in LinuxBIOSv3/arch/x86: . geodelx

Uwe Hermann uwe at hermann-uwe.de
Thu Jun 28 01:39:23 CEST 2007


On Thu, Jun 28, 2007 at 01:08:28AM +0200, Peter Stuge wrote:
> On Wed, Jun 27, 2007 at 11:01:01PM +0200, svn at openbios.org wrote:
> > +struct constructor geodelx_constructors[] = {
> > +  {.id = {.type = DEVICE_ID_PCI,
> > +	  .u = {.pci = {.vendor = X86_VENDOR_AMD,.device = 0x05A2}}},
> > +   .ops = &geodelx_cpuops},
> > +  {.ops = 0},
> > +};
> 
> Did this get changed to better PCI ID #defines already?

I'm not even sure it works this way. X86_VENDOR_AMD is not a PCI vendor
ID, it's simply a 3, see cpu.h. As this uses ".type = DEVICE_ID_PCI"
I doubt it'll work. We probably need some DEVICE_ID_CPU or something?


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070628/6b13f023/attachment.sig>


More information about the coreboot mailing list