svn commit: r322570 - in projects/krb5/sys: compat/linuxkpi/common/include/linux modules/i2c modules/i2c/ds1307 modules/i2c/ds3231 modules/i2c/nxprtc

Cy Schubert cy at FreeBSD.org
Wed Aug 16 08:19:46 UTC 2017


Author: cy
Date: Wed Aug 16 08:19:44 2017
New Revision: 322570
URL: https://svnweb.freebsd.org/changeset/base/322570

Log:
  MFH five files missed in 322568.

Replaced:
  projects/krb5/sys/modules/i2c/Makefile
     - copied unchanged from r322566, head/sys/modules/i2c/Makefile
  projects/krb5/sys/modules/i2c/ds1307/Makefile
     - copied unchanged from r322566, head/sys/modules/i2c/ds1307/Makefile
  projects/krb5/sys/modules/i2c/ds3231/Makefile
     - copied unchanged from r322566, head/sys/modules/i2c/ds3231/Makefile
  projects/krb5/sys/modules/i2c/nxprtc/Makefile
     - copied unchanged from r322566, head/sys/modules/i2c/nxprtc/Makefile
Modified:
  projects/krb5/sys/compat/linuxkpi/common/include/linux/device.h
Directory Properties:
  projects/krb5/   (props changed)

Modified: projects/krb5/sys/compat/linuxkpi/common/include/linux/device.h
==============================================================================
--- projects/krb5/sys/compat/linuxkpi/common/include/linux/device.h	Wed Aug 16 07:59:57 2017	(r322569)
+++ projects/krb5/sys/compat/linuxkpi/common/include/linux/device.h	Wed Aug 16 08:19:44 2017	(r322570)
@@ -113,6 +113,9 @@ struct device {
 	unsigned int	msix;
 	unsigned int	msix_max;
 	const struct attribute_group **groups;
+
+	spinlock_t	devres_lock;
+	struct list_head devres_head;
 };
 
 extern struct device linux_root_device;
@@ -290,6 +293,9 @@ device_initialize(struct device *dev)
 	dev->bsddev = bsddev;
 	MPASS(dev->bsddev != NULL);
 	kobject_init(&dev->kobj, &linux_dev_ktype);
+
+	spin_lock_init(&dev->devres_lock);
+	INIT_LIST_HEAD(&dev->devres_head);
 }
 
 static inline int

Copied: projects/krb5/sys/modules/i2c/Makefile (from r322566, head/sys/modules/i2c/Makefile)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/krb5/sys/modules/i2c/Makefile	Wed Aug 16 08:19:44 2017	(r322570, copy of r322566, head/sys/modules/i2c/Makefile)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+SUBDIR = \
+	controllers \
+	cyapa \
+	ds1307 \
+	ds13rtc \
+	ds3231 \
+	if_ic \
+	iic \
+	iicbb \
+	iicbus \
+	iicsmb \
+	isl \
+	isl12xx \
+	jedec_ts \
+	nxprtc \
+	s35390a \
+	smb \
+	smbus \
+
+.include <bsd.subdir.mk>

Copied: projects/krb5/sys/modules/i2c/ds1307/Makefile (from r322566, head/sys/modules/i2c/ds1307/Makefile)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/krb5/sys/modules/i2c/ds1307/Makefile	Wed Aug 16 08:19:44 2017	(r322570, copy of r322566, head/sys/modules/i2c/ds1307/Makefile)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+.PATH:		${SRCTOP}/sys/dev/iicbus
+KMOD		= ds1307
+SRCS		= ds1307.c bus_if.h clock_if.h device_if.h iicbus_if.h ofw_bus_if.h
+
+.include <bsd.kmod.mk>

Copied: projects/krb5/sys/modules/i2c/ds3231/Makefile (from r322566, head/sys/modules/i2c/ds3231/Makefile)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/krb5/sys/modules/i2c/ds3231/Makefile	Wed Aug 16 08:19:44 2017	(r322570, copy of r322566, head/sys/modules/i2c/ds3231/Makefile)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+.PATH:		${SRCTOP}/sys/dev/iicbus
+KMOD		= ds3231
+SRCS		= ds3231.c bus_if.h clock_if.h device_if.h iicbus_if.h ofw_bus_if.h
+
+.include <bsd.kmod.mk>

Copied: projects/krb5/sys/modules/i2c/nxprtc/Makefile (from r322566, head/sys/modules/i2c/nxprtc/Makefile)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/krb5/sys/modules/i2c/nxprtc/Makefile	Wed Aug 16 08:19:44 2017	(r322570, copy of r322566, head/sys/modules/i2c/nxprtc/Makefile)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+.PATH:		${SRCTOP}/sys/dev/iicbus
+KMOD		= nxprtc
+SRCS		= nxprtc.c bus_if.h clock_if.h device_if.h iicbus_if.h ofw_bus_if.h
+
+.include <bsd.kmod.mk>


More information about the svn-src-projects mailing list