![Freescale Semiconductor i.MX 6DualLite Reference Manual Download Page 279](http://html1.mh-extra.com/html/freescale-semiconductor/i-mx-6duallite/i-mx-6duallite_reference-manual_2330523279.webp)
• Interrupt servicing routine-Supports events, such as TS_AVAIL, TS_TIMER. The
driver shares interrupt servicing routine with FEC driver.
• Miscellaneous routines-Maintain the timestamp circle queue.
38.2.1 Source Code Structure
Table below lists the source files available in the <ltib_dir>/rpm/BUILD/linux/drivers/net
directory.
Table 38-1. ENET 1588 File List
File
Description
fec_1588.h
Header file defining registers
fec_1588.c
Linux driver for ENET 1588 timer
For more information about the generic Linux driver, see the <ltib_dir>/rpm/BUILD/
linux/drivers/net/fec_1588.c source file.
38.2.2 Linux Menu Configuration Options
To get to the ENET 1588 configuration, use the command ./ltib -c when located in the
<ltib dir>.
In the screen, select Configure Kernel, exit, and a new screen appears.
The CONFIG_FEC_1588 Linux kernel configuration is provided for this module. This
option is available under Device Drivers > Network device support > Ethernet (10 or 100
Mbit) > Enable FEC 1588 timestamping.
38.3 Programming Interface
The 1588 driver complies with the IXXAT protocol stack interface.
Stack-specific defines are added to the header file (fec_1588.h).
38.3.1 IXXAT Specific Data structure Defines
Protocol-specific defines are added to the header file (fec_1588.h).
Chapter 38 ENET IEEE-1588 Driver
i.MX 6Solo/6DualLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
Freescale Semiconductor, Inc.
279