Beispiel #1
0
static int
mwl_pci_resume(device_t dev)
{
    struct mwl_pci_softc *psc = device_get_softc(dev);

    pci_enable_busmaster(dev);

    mwl_resume(&psc->sc_sc);

    return (0);
}
Beispiel #2
0
static int
mwl_pci_resume(device_t dev)
{
	struct mwl_pci_softc *psc = device_get_softc(dev);

	if (!mwl_pci_setup(dev))
		return ENXIO;

	mwl_resume(&psc->sc_sc);

	return (0);
}