In message: <[EMAIL PROTECTED]>
kylin <[EMAIL PROTECTED]> writes:
: i am reading the pci code of freeBSD 53 ,and come to the puzzle of
: pci_add_child.
: 1
: why should we =09pci_cfg_save(dinfo->cfg.dev, dinfo, 0); after we have
: already fill the cfg in pci_read_device ?
It hasn't been completely filled in by pci_read_device.
: 2
: what 's the purpose of the function couple
: pci_cfg_save(dinfo->cfg.dev, dinfo, 0);
: pci_cfg_restore(dinfo->cfg.dev, dinfo)
: below is the function ,thank u
Power state gets set to D0 as a side effect so that the device is live
for the probe.
Warner
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"