[coreboot] [PATCH] [RFC] v3: CS5536 cleanup, and v3 design

Stefan Reinauer stepan at coresystems.de
Thu Jul 3 23:58:59 CEST 2008

Carl-Daniel Hailfinger wrote:
> Absolutely. The ultimate goal is to kill dev_find_pci_device completely.
> We have a really nice device model and we should not work around it with
> v2-style code. 

This will not always be possible, because devices have interactions.


function setup_link_between_a_and_b:
- Set bit X in device A
- Set bit Y in device B
- Poll bit Z in device A until a link between A and B is valid

Now, you have to put that function either in device A or device B.


coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080703/012876c0/attachment.sig>

More information about the coreboot mailing list