Hello!
In my laptop, the BIOS does not configure properly the hardware. The
OpenBSD code does, instead, as regards the PCI-to-PCI bridge before my
network card.
Because no BIOS update and no other OS can do this, I would like to
know what my bridge actually needs. In sys/dev/pci/ppb.c:

void
ppb_alloc_resources(struct ppb_softc *sc, struct pci_attach_args *pa)

this function acts according to the contents in `pa->pa_memex' and
`pa->pa_ioex'. These are members of the `struct pci_attach_args pa'. 
autoconf(9) states that:

``Device data structures are allocated dynamically during
autoconfiguration''.

If this is the case, what are the autoconf(9) routines that fill the
data structure `pci_attach_args' of a `ppb' device? And how can they
determine the amount of `memex' and `ioex' needed by the bridge?
If someone of you could help me about this question, I would be very
grateful.
Thank you,

Rocky

Reply via email to