Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: [jmcneill-pm] src/sys/dev/pci



On Tue, 4 Sep 2007, DEGROOTE Arnaud wrote:
Modified Files:
        src/sys/dev/pci [jmcneill-pm]: if_wpi.c if_wpivar.h

Log Message:
Convert wpi_power to use pci_net_generic_power.
With this, I can use the card after resume.

You should actually nuke the wpi_power function altogether and register pci_net_generic_power directly via pnp_register (in wpi_attach), ie:

  /* set power handler */
  if (pnp_register(self, pci_net_generic_power) != PNP_STATUS_SUCCESS)
          aprint_error("%s: couldn't establish power handler\n",
              device_xname(self));

Cheers,
Jared



Home | Main Index | Thread Index | Old Index