Current-Users archive

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

Re: swwdog pseudo device



Found the answer in my own commit from 4+ years ago:

	Convert swwdog(4) from a simple defpseudo device to a defpseudodev
	so that we can attach a power management handler.  The handler
	prevents a suspend if the watchdog is active, to be consistent
	with other watchdog drivers.

On Tue, 14 Apr 2015, Paul Goyette wrote:

Does anyone know if there is a need for swwdog to be a "defpseudodev swwdog" rather than the simpler "defpseudo swwdog" ?

I'd like to modularize the swwdog driver, and things would be so much cleaner to use defpseudo.



-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index