Module Name: src Committed By: pgoyette Date: Sun Apr 30 10:17:26 UTC 2017
Modified Files: src/sys/dev/pci [prg-localcount2]: twa.c twe.c Log Message: More DEVSW_MODULE_INIT for modular drivers To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.55.6.1 src/sys/dev/pci/twa.c cvs rdiff -u -r1.106 -r1.106.6.1 src/sys/dev/pci/twe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/twa.c diff -u src/sys/dev/pci/twa.c:1.55 src/sys/dev/pci/twa.c:1.55.6.1 --- src/sys/dev/pci/twa.c:1.55 Tue Sep 27 12:04:16 2016 +++ src/sys/dev/pci/twa.c Sun Apr 30 10:17:26 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: twa.c,v 1.55 2016/09/27 12:04:16 pgoyette Exp $ */ +/* $NetBSD: twa.c,v 1.55.6.1 2017/04/30 10:17:26 pgoyette Exp $ */ /* $wasabi: twa.c,v 1.27 2006/07/28 18:17:21 wrstuden Exp $ */ /*- @@ -67,7 +67,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: twa.c,v 1.55 2016/09/27 12:04:16 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: twa.c,v 1.55.6.1 2017/04/30 10:17:26 pgoyette Exp $"); //#define TWA_DEBUG @@ -2287,6 +2287,7 @@ fw_passthru_done: } const struct cdevsw twa_cdevsw = { + DEVSW_MODULE_INIT .d_open = twaopen, .d_close = twaclose, .d_read = noread, Index: src/sys/dev/pci/twe.c diff -u src/sys/dev/pci/twe.c:1.106 src/sys/dev/pci/twe.c:1.106.6.1 --- src/sys/dev/pci/twe.c:1.106 Tue Sep 27 03:33:32 2016 +++ src/sys/dev/pci/twe.c Sun Apr 30 10:17:26 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: twe.c,v 1.106 2016/09/27 03:33:32 pgoyette Exp $ */ +/* $NetBSD: twe.c,v 1.106.6.1 2017/04/30 10:17:26 pgoyette Exp $ */ /*- * Copyright (c) 2000, 2001, 2002, 2003, 2004 The NetBSD Foundation, Inc. @@ -63,7 +63,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: twe.c,v 1.106 2016/09/27 03:33:32 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: twe.c,v 1.106.6.1 2017/04/30 10:17:26 pgoyette Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1908,6 +1908,7 @@ done: } const struct cdevsw twe_cdevsw = { + DEVSW_MODULE_INIT .d_open = tweopen, .d_close = tweclose, .d_read = noread,