1What: /sys/bus/cdx/rescan 2Date: March 2023 3Contact: [email protected] 4Description: 5 Writing y/1/on to this file will cause rescan of the bus 6 and devices on the CDX bus. Any new devices are scanned and 7 added to the list of Linux devices and any devices removed are 8 also deleted from Linux. 9 10 For example:: 11 12 # echo 1 > /sys/bus/cdx/rescan 13 14What: /sys/bus/cdx/devices/.../vendor 15Date: March 2023 16Contact: [email protected] 17Description: 18 Vendor ID for this CDX device, in hexadecimal. Vendor ID is 19 16 bit identifier which is specific to the device manufacturer. 20 Combination of Vendor ID and Device ID identifies a device. 21 22What: /sys/bus/cdx/devices/.../device 23Date: March 2023 24Contact: [email protected] 25Description: 26 Device ID for this CDX device, in hexadecimal. Device ID is 27 16 bit identifier to identify a device type within the range 28 of a device manufacturer. 29 Combination of Vendor ID and Device ID identifies a device. 30 31What: /sys/bus/cdx/devices/.../enable 32Date: October 2023 33Contact: [email protected] 34Description: 35 CDX bus should be disabled before updating the devices in FPGA. 36 Writing n/0/off will attempt to disable the CDX bus and. 37 writing y/1/on will attempt to enable the CDX bus. Reading this file 38 gives the current state of the bus, 1 for enabled and 0 for disabled. 39 40 For example:: 41 42 # echo 1 > /sys/bus/cdx/.../enable 43 44What: /sys/bus/cdx/devices/.../reset 45Date: March 2023 46Contact: [email protected] 47Description: 48 Writing y/1/on to this file resets the CDX device. 49 On resetting the device, the corresponding driver is notified 50 twice, once before the device is being reset, and again after 51 the reset has been complete. 52 53 For example:: 54 55 # echo 1 > /sys/bus/cdx/.../reset 56 57What: /sys/bus/cdx/devices/.../remove 58Date: March 2023 59Contact: [email protected] 60Description: 61 Writing y/1/on to this file removes the corresponding 62 device from the CDX bus. If the device is to be reconfigured 63 reconfigured in the Hardware, the device can be removed, so 64 that the device driver does not access the device while it is 65 being reconfigured. 66 67 For example:: 68 69 # echo 1 > /sys/bus/cdx/devices/.../remove 70