From 3e019deaed5ad0687ea53ed5b5ba3336dc0be3c4 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Thu, 15 Jul 2004 08:26:07 +0000 Subject: Do a pass over all modules in the kernel and make them return EOPNOTSUPP for unknown events. A number of modules return EINVAL in this instance, and I have left those alone for now and instead taught MOD_QUIESCE to accept this as "didn't do anything". --- sys/dev/ispfw/ispfw.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/ispfw') diff --git a/sys/dev/ispfw/ispfw.c b/sys/dev/ispfw/ispfw.c index f0b0a4d20944..633fdf76b8e6 100644 --- a/sys/dev/ispfw/ispfw.c +++ b/sys/dev/ispfw/ispfw.c @@ -164,6 +164,7 @@ isp_module_handler(module_t mod, int what, void *arg) } break; default: + return (EOPNOTSUPP); break; } return (0); -- cgit v1.3