aboutsummaryrefslogtreecommitdiff
path: root/libs/xr_usb_serial_common
Commit message (Collapse)AuthorAge
* xr_usb_serial_common: bump to 2023-03-31John Thomson2023-06-25
| | | | | | | | | | Fix 6.1 kernel compile git log --oneline ecc6eb.. -- xr_usb_serial_common-1a/ 90ad530166f0 Support Linux 6.1 af618e2eded6 #45 Fix some warnings Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
* xr_usb_serial_common: fix compilation warningChristian Marangi2023-05-14
| | | | | | | | | | | | | | | | | | | | | | | | Add patch fixing compilation warning due to unused function. Fix compilation warning: /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/usb-serial-xr_usb_serial_common-2022-03-30-ecc6ebe0/xr_usb_serial_common-1a/xr_usb_serial_common.c: In function 'xr_usb_serial_ctrl_irq': /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/usb-serial-xr_usb_serial_common-2022-03-30-ecc6ebe0/xr_usb_serial_common-1a/xr_usb_serial_common.c:261:28: error: unused variable 'tty' [-Werror=unused-variable] 261 | struct tty_struct *tty; | ^~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/usb-serial-xr_usb_serial_common-2022-03-30-ecc6ebe0/xr_usb_serial_common-1a/xr_usb_serial_common.c: In function 'xr_usb_serial_process_read_urb': /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/usb-serial-xr_usb_serial_common-2022-03-30-ecc6ebe0/xr_usb_serial_common-1a/xr_usb_serial_common.c:393:28: error: unused variable 'tty' [-Werror=unused-variable] 393 | struct tty_struct *tty; | ^~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/usb-serial-xr_usb_serial_common-2022-03-30-ecc6ebe0/xr_usb_serial_common-1a/xr_usb_serial_common.c: In function 'xr_usb_serial_softint': /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/usb-serial-xr_usb_serial_common-2022-03-30-ecc6ebe0/xr_usb_serial_common-1a/xr_usb_serial_common.c:468:28: error: unused variable 'tty' [-Werror=unused-variable] 468 | struct tty_struct *tty; | ^~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/usb-serial-xr_usb_serial_common-2022-03-30-ecc6ebe0/xr_usb_serial_common-1a/xr_usb_serial_common.c: In function 'xr_usb_serial_reset_resume': /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/usb-serial-xr_usb_serial_common-2022-03-30-ecc6ebe0/xr_usb_serial_common-1a/xr_usb_serial_common.c:1634:28: error: unused variable 'tty' [-Werror=unused-variable] 1634 | struct tty_struct *tty; | ^~~ cc1: all warnings being treated as errors Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* treewide: remove AUTORELEASEPaul Fertser2023-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. The following temporary change was made to the core: diff --git a/rules.mk b/rules.mk index 57d7995d4fa8..f16367de87a8 100644 --- a/rules.mk +++ b/rules.mk @@ -429,7 +429,7 @@ endef abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1)))) COMMITCOUNT = $(if $(DUMP),0,$(call commitcount)) -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1)) +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) all: FORCE: ; And this command used to fix affected packages: for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/download done Signed-off-by: Paul Fertser <fercerpav@gmail.com>
* xr_usb_serial_common: bump to 2022-03-30Eneas U de Queiroz2022-05-11
| | | | | | | | | | | | | This is the latest commit that touches the xr_usb_serial_common-1a dir. The changes are restricted to whitespace fixes and kernel version adaptations: ecc6ebe xr_usb: Use tty_driver_kref_put for kernel 5.15 and above caf6d25 xr_usb: Use tty_alloc_driver for kernel 5.15 and above a42b7e6 xr_usb: Compilation fixes for kernel 5.14 497adb7 #39 fix compilation for newer linux kernels 9103471 xr_usb: fix some whitespace errors Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* xr_usb_serial_common: fix kernel 5.10 buildsDavid Bauer2021-05-25
| | | | | | | | | | | | | Building the xr_usb_serial module fails for Kenel 5.10 with CONFIG_PM enabled: xr_usb_serial_common.c:1574:15: error: 'ASYNCB_INITIALIZED' undeclared (first use in this function); did you mean 'RCU_INITIALIZER'? Use tty_port_initialized in order to determine the status of the TTY port. This is compatible with Kernel 5.10 and at least Kernel 5.4. Signed-off-by: David Bauer <mail@david-bauer.net>
* xr_usb_serial_common: update to 2017-08-01Rosen Penev2020-12-31
| | | | | | Cleaned up Makefile to modern standards. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* xr_usb_serial_common: replace SUBDIRS with M in package recipeDavid Bauer2020-03-11
| | | | | | | The SUBDIRS variable has been removed in kernel 5.4, and was deprecated since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD. Signed-off-by: David Bauer <mail@david-bauer.net>
* add xr_usb_serial_common driver for USB to RS-485/RS-422Daniel Golle2016-06-24
Signed-off-by: Daniel Golle <daniel@makrotopia.org>