Date: Thu, 23 May 2019 18:24:27 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r348184 - head/sys/dev/iicbus Message-ID: <201905231824.x4NIORuu063362@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Thu May 23 18:24:27 2019 New Revision: 348184 URL: https://svnweb.freebsd.org/changeset/base/348184 Log: Add pnpinfo to all i2c drivers that have FDT compat data. Modified: head/sys/dev/iicbus/ds1307.c head/sys/dev/iicbus/ds13rtc.c head/sys/dev/iicbus/isl12xx.c head/sys/dev/iicbus/nxprtc.c head/sys/dev/iicbus/rtc8583.c head/sys/dev/iicbus/sy8106a.c head/sys/dev/iicbus/syr827.c Modified: head/sys/dev/iicbus/ds1307.c ============================================================================== --- head/sys/dev/iicbus/ds1307.c Thu May 23 18:19:56 2019 (r348183) +++ head/sys/dev/iicbus/ds1307.c Thu May 23 18:24:27 2019 (r348184) @@ -435,3 +435,4 @@ static devclass_t ds1307_devclass; DRIVER_MODULE(ds1307, iicbus, ds1307_driver, ds1307_devclass, NULL, NULL); MODULE_VERSION(ds1307, 1); MODULE_DEPEND(ds1307, iicbus, 1, 1, 1); +IICBUS_FDT_PNP_INFO(ds1307_compat_data); Modified: head/sys/dev/iicbus/ds13rtc.c ============================================================================== --- head/sys/dev/iicbus/ds13rtc.c Thu May 23 18:19:56 2019 (r348183) +++ head/sys/dev/iicbus/ds13rtc.c Thu May 23 18:24:27 2019 (r348184) @@ -617,3 +617,4 @@ static devclass_t ds13rtc_devclass; DRIVER_MODULE(ds13rtc, iicbus, ds13rtc_driver, ds13rtc_devclass, NULL, NULL); MODULE_VERSION(ds13rtc, 1); MODULE_DEPEND(ds13rtc, iicbus, IICBB_MINVER, IICBB_PREFVER, IICBB_MAXVER); +IICBUS_FDT_PNP_INFO(compat_data); Modified: head/sys/dev/iicbus/isl12xx.c ============================================================================== --- head/sys/dev/iicbus/isl12xx.c Thu May 23 18:19:56 2019 (r348183) +++ head/sys/dev/iicbus/isl12xx.c Thu May 23 18:24:27 2019 (r348184) @@ -356,3 +356,4 @@ static devclass_t isl12xx_devclass; DRIVER_MODULE(isl12xx, iicbus, isl12xx_driver, isl12xx_devclass, NULL, NULL); MODULE_VERSION(isl12xx, 1); MODULE_DEPEND(isl12xx, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER); +IICBUS_FDT_PNP_INFO(compat_data); Modified: head/sys/dev/iicbus/nxprtc.c ============================================================================== --- head/sys/dev/iicbus/nxprtc.c Thu May 23 18:19:56 2019 (r348183) +++ head/sys/dev/iicbus/nxprtc.c Thu May 23 18:24:27 2019 (r348184) @@ -826,3 +826,4 @@ static devclass_t nxprtc_devclass; DRIVER_MODULE(nxprtc, iicbus, nxprtc_driver, nxprtc_devclass, NULL, NULL); MODULE_VERSION(nxprtc, 1); MODULE_DEPEND(nxprtc, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER); +IICBUS_FDT_PNP_INFO(compat_data); Modified: head/sys/dev/iicbus/rtc8583.c ============================================================================== --- head/sys/dev/iicbus/rtc8583.c Thu May 23 18:19:56 2019 (r348183) +++ head/sys/dev/iicbus/rtc8583.c Thu May 23 18:24:27 2019 (r348184) @@ -300,3 +300,4 @@ static devclass_t rtc8583_devclass; DRIVER_MODULE(rtc8583, iicbus, rtc8583_driver, rtc8583_devclass, NULL, NULL); MODULE_VERSION(rtc8583, 1); MODULE_DEPEND(rtc8583, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER); +IICBUS_FDT_PNP_INFO(compat_data); Modified: head/sys/dev/iicbus/sy8106a.c ============================================================================== --- head/sys/dev/iicbus/sy8106a.c Thu May 23 18:19:56 2019 (r348183) +++ head/sys/dev/iicbus/sy8106a.c Thu May 23 18:24:27 2019 (r348184) @@ -300,3 +300,4 @@ EARLY_DRIVER_MODULE(sy8106a, iicbus, sy8106a_driver, s BUS_PASS_RESOURCE); MODULE_VERSION(sy8106a, 1); MODULE_DEPEND(sy8106a, iicbus, 1, 1, 1); +IICBUS_FDT_PNP_INFO(compat_data); Modified: head/sys/dev/iicbus/syr827.c ============================================================================== --- head/sys/dev/iicbus/syr827.c Thu May 23 18:19:56 2019 (r348183) +++ head/sys/dev/iicbus/syr827.c Thu May 23 18:24:27 2019 (r348184) @@ -352,3 +352,4 @@ EARLY_DRIVER_MODULE(syr827, iicbus, syr827_driver, syr BUS_PASS_RESOURCE); MODULE_VERSION(syr827, 1); MODULE_DEPEND(syr827, iicbus, 1, 1, 1); +IICBUS_FDT_PNP_INFO(compat_data);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905231824.x4NIORuu063362>