Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/prg-localcount2]: src/sys/dev/pci More DEVSW_MODULE_INIT for modular dri...
details: https://anonhg.NetBSD.org/src/rev/082acca6e6ea
branches: prg-localcount2
changeset: 823531:082acca6e6ea
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun Apr 30 10:17:26 2017 +0000
description:
More DEVSW_MODULE_INIT for modular drivers
diffstat:
sys/dev/pci/twa.c | 5 +++--
sys/dev/pci/twe.c | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (52 lines):
diff -r 7d8c3ca90dd3 -r 082acca6e6ea sys/dev/pci/twa.c
--- a/sys/dev/pci/twa.c Sun Apr 30 07:07:56 2017 +0000
+++ b/sys/dev/pci/twa.c Sun Apr 30 10:17:26 2017 +0000
@@ -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 @@
}
const struct cdevsw twa_cdevsw = {
+ DEVSW_MODULE_INIT
.d_open = twaopen,
.d_close = twaclose,
.d_read = noread,
diff -r 7d8c3ca90dd3 -r 082acca6e6ea sys/dev/pci/twe.c
--- a/sys/dev/pci/twe.c Sun Apr 30 07:07:56 2017 +0000
+++ b/sys/dev/pci/twe.c Sun Apr 30 10:17:26 2017 +0000
@@ -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 @@
}
const struct cdevsw twe_cdevsw = {
+ DEVSW_MODULE_INIT
.d_open = tweopen,
.d_close = tweclose,
.d_read = noread,
Home |
Main Index |
Thread Index |
Old Index