summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Account for changes in the syn1588 directory treeMartin Burnicki2022-07-044-11/+11
|
* Proper file header in libmbg/MakefileMartin Burnicki2022-06-301-1/+3
|
* Support force-reading XMR info and status in mbgstatusMartin Burnicki2022-06-305-23/+331
| | | | | | | This can be useful for debugging but can be dangerous if the device generally doesn't support XMR. New mbgstatus option -F enable force-reading.
* Update mbglib module deviohlpMartin Burnicki2022-06-302-27/+47
|
* Let mbgstatus show MRS/XMR status with verbosity 4+Martin Burnicki2022-06-246-2/+331
| | | | Add some new mbglib modules to support this.
* Update mbgdevio and mbgutil version code to 3.14Martin Burnicki2022-06-242-6/+10
| | | | The number corresponds to the Windows DLL versions.
* Fix some functions in module mbgdevioMartin Burnicki2022-06-241-8/+12
|
* Update module nanotimeMartin Burnicki2022-06-242-6/+10
| | | | Unified return code of some snprintf_ functions.
* Cleaner text of some IOCTL error messagesMartin Burnicki2022-06-221-3/+5
|
* Add Doxyfile and update .gitignore accordinglyMartin Burnicki2022-06-012-6/+2503
|
* Update SYN1588 interface filesMartin Burnicki2022-06-017-365/+176
|
* Support DEBUG_SYN1588_C_API at the build levelMartin Burnicki2022-06-011-1/+7
|
* Improve SYN1588 sync status handling by mbgstatusMartin Burnicki2022-06-011-20/+124
|
* Update some mbglib files improve SYN1588 supportMartin Burnicki2022-06-018-123/+974
|
* Update definition of unique device name format MBG_DEV_NAMEMartin Burnicki2022-04-273-66/+144
| | | | | | | | | | | | | | Change the definition of MBG_DEV_NAME so that it can now take a name based on RECEIVER_INFO::model_name or PCPS_DEV_TYPE::name. Replace the old static function snprint_dev_name() by a new inline function mbg_create_dev_name_from_dev_info(), which is based on another new, more versatile inline function mbg_create_dev_name(). Change some function parameter types from MBG_DEV_NAME to (const char *) because the length of a name in MBG_DEV_NAME format can vary. Update function prototypes and doxygen comments accordingly.
* Let mbgstatus print the firmware ID string in verbose modeMartin Burnicki2022-04-011-1/+6
|
* Preferably print the RECEIVER_INFO's model_name as device nameMartin Burnicki2022-04-011-2/+5
|
* Update mbg_tgt.hMartin Burnicki2022-04-011-2/+7
|
* Improve setup of a RECEIVER_INFO for devices that don't provide oneMartin Burnicki2022-03-303-36/+65
| | | | | The new inline function setup_default_receiver_info() also copies the device name into the model_name field, so it's safe to always show the model_name as device name.
* Fix a build error that occurred when building a package in a sandboxMartin Burnicki2022-03-231-2/+4
| | | | Patch submitted by Dr. Martin P.J. Zinser.
* Enable TZDL support for TCR180USB only with firmware v1.18 and newerMartin Burnicki2022-03-212-33/+42
| | | | In earlier firmware versions, the implementation was faulty.
* Remove obsolete shared memory stuff from SYN1588 distribution filesMartin Burnicki2022-03-1814-2359/+0
|
* Update pcpsdefs.hMartin Burnicki2022-03-161-13/+23
| | | | Reserve PCI ID range 0x0A00 to 0x0AFF for future Oregano PCI cards.
* Support building with SYN1588 support by defaultMartin Burnicki2022-03-101-2/+13
| | | | | | If a link has been set up that points to a specific directory with SYN1588 support files, we assume that SYN1588 support is to be included by default.
* Fix build without SYN1588 shared memory supportMartin Burnicki2022-02-181-11/+10
|
* Move SYN1588-specific makefile stuff to an extra fileMartin Burnicki2022-02-182-281/+298
| | | | | | This is to reduce the complexity of the Makefile a little bit. The extra file Makefile-supp-syn1588.mk is included in the top level makefile.
* Use a 32 bit status port value internallyMartin Burnicki2022-02-106-54/+85
| | | | Also fix some doxygen comments, spelling, etc.
* Read the memory mapped status port as 32 bit quantityMartin Burnicki2022-02-081-21/+16
| | | | | This avoids a trap on a 64 bit ARM system, and also improves compatibility on some x86_64 systems.
* Support printing real pointer addresses in debug outputMartin Burnicki2022-01-218-71/+112
| | | | | | | | | | Since Linux kernel 4.15, specific format specifiers have to be used instead of "%p" to get real addresses printed to the kernel log. With "%p" as usual, only a hash of the address is printed. This has been introduced to avoid leakage of real kernel addresses, but is not very helpful when debugging. As a workaround, we use a macro for the format specifier which is defined as appropriate.
* Fix stddef.h include path for the Linux kernelMartin Burnicki2022-01-192-13/+15
| | | | Starting with kernel 5.16, the include path must be linux/stddef.h.
* Update copyright year to 2022Martin Burnicki2022-01-191-2/+4
|
* Fix conditional build without optional featuresMartin Burnicki2021-12-011-2/+5
|
* Conditional mbgsvcd support for PPS signal via serial portMartin Burnicki2021-12-018-125/+1131
| | | | Build with 'make SUPP_SERIAL=1 SUPP_PPS=1' to enable support.
* Update module mbgserioMartin Burnicki2021-12-012-4/+9
| | | | Make a parameter of mbgserio_get_duration_rcv() const.
* New error code MBG_ERR_OP_NOT_SUPP for EOPNOTSUPP and ENOTSUPMartin Burnicki2021-12-012-4/+16
|
* Update mbgsystm.hMartin Burnicki2021-12-011-15/+26
| | | | Requires new macros from updated words.h.
* Update words.h because of a few new macrosMartin Burnicki2021-12-011-1/+24
|
* Add SYN1588 support for mbg_get_time_info_hrt() and mbg_get_time_info_tstamp()Martin Burnicki2021-12-013-4/+167
|
* mbgsvcd has to identify a SYN1588 device as bus level deviceMartin Burnicki2021-12-011-2/+5
|
* Update mbgsvcdMartin Burnicki2021-12-011-154/+413
| | | | | Improved device status tracking and logging. New parameter -u which lets the SHM unit be updated even if the NTP leap bits are 0x03.
* Improved printing of usage information by the command line toolsMartin Burnicki2021-11-1513-54/+146
|
* Build by default without using SYN1588 SHMMartin Burnicki2021-11-151-2/+5
|
* Build without SYN1588 support by defaultMartin Burnicki2021-11-121-53/+60
|
* Update SYN1588 API filesMartin Burnicki2021-11-127-61/+310
|
* SYN1588-specific info can be shown by mbgstatusMartin Burnicki2021-11-101-9/+66
|
* Improve SYN1588 device handlingMartin Burnicki2021-11-106-295/+751
| | | | | | | | | SYN1588 devices are now enumerated after native Meinberg devices. For SYN1588 devices, the build number is printed instead of the firmware version number of native Meinberg devices. New functions in mbgdevio are used to to avoid dependency on preprocessor symbols if other source modules are built against DLLs / shared object libraries.
* In mbg_str_dev_name(), print build num in case of SYN1588 deviceMartin Burnicki2021-11-081-17/+28
|
* Add global definition MBG_SYN1588_TYPE_NAMEMartin Burnicki2021-11-081-1/+7
|
* Change type of MBG_DEV_FN to a structureMartin Burnicki2021-11-085-24/+41
| | | | To avoid potential errors with arrays of device names.
* Update nanotime.cMartin Burnicki2021-11-081-3/+11
|