1 What: /sys/class/ata_* 2 Description: 3 Provide a place in sysfs for s 4 system. This allows retrieving 5 objects. 6 7 Files under /sys/class/ata_port 8 ------------------------------- 9 10 For each port, a directory ataX is created whe 11 port. The device parent is the ata host device 12 13 14 What: /sys/class/ata_port/ataX/nr_pm 15 What: /sys/class/ata_port/ataX/idle_ 16 Date: May, 2010 17 KernelVersion: v2.6.37 18 Contact: Gwendal Grignou <gwendal@chromi 19 Description: 20 nr_pmp_links: (RO) If a SATA 21 connected, the 22 23 idle_irq: (RO) Number of 24 idle [some ata 25 26 27 What: /sys/class/ata_port/ataX/port_ 28 Date: May, 2013 29 KernelVersion: v3.11 30 Contact: Gwendal Grignou <gwendal@chromi 31 Description: 32 (RO) Host local port number. W 33 port numbers are tracked based 34 the controller. This attribute 35 persistent links in /dev/disk/ 36 37 Files under /sys/class/ata_link 38 ------------------------------- 39 40 Behind each port, there is a ata_link. If ther 41 ata_link objects are created. 42 43 If a link is behind a port, the directory name 44 of the port. If a link is behind a PM, its nam 45 ata_port_id of the parent port and Y the PM po 46 47 48 What: /sys/class/ata_link/linkX[.Y]/ 49 What: /sys/class/ata_link/linkX[.Y]/ 50 What: /sys/class/ata_link/linkX[.Y]/ 51 Date: May, 2010 52 KernelVersion: v2.6.37 53 Contact: Gwendal Grignou <gwendal@chromi 54 Description: 55 hw_sata_spd_limit: (RO) M 56 connec 57 58 sata_spd_limit: (RO) M 59 60 sata_spd: (RO) C 61 eg. 1. 62 63 64 Files under /sys/class/ata_device 65 --------------------------------- 66 67 Behind each link, up to two ata devices are cr 68 The name of the directory is devX[.Y].Z where: 69 - X is ata_port_id of the port where the devic 70 - Y the port of the PM if any, and 71 - Z the device id: for PATA, there is usually 72 73 74 What: /sys/class/ata_device/devX[.Y] 75 What: /sys/class/ata_device/devX[.Y] 76 What: /sys/class/ata_device/devX[.Y] 77 What: /sys/class/ata_device/devX[.Y] 78 What: /sys/class/ata_device/devX[.Y] 79 What: /sys/class/ata_device/devX[.Y] 80 What: /sys/class/ata_device/devX[.Y] 81 What: /sys/class/ata_device/devX[.Y] 82 Date: May, 2010 83 KernelVersion: v2.6.37 84 Contact: Gwendal Grignou <gwendal@chromi 85 Description: 86 spdn_cnt: (RO) Number of 87 speed of link 88 89 gscr: (RO) Cached re 90 register. Vali 91 92 0: SATA_P 93 1: SATA_P 94 2: SATA_P 95 32: SATA_P 96 33: SATA_P 97 64: SATA_P 98 96: SATA_P 99 130: SATA_P 100 101 Only valid if 102 103 ering: (RO) Formatted 104 device. 105 106 id: (RO) Cached re 107 described in A 108 the device is 109 110 pio_mode: (RO) PIO trans 111 Mostly used by 112 113 xfer_mode: (RO) Current t 114 PATA devices. 115 116 dma_mode: (RO) DMA trans 117 Mostly used by 118 119 class: (RO) Device cl 120 "atapi" for pa 121 "none" if no d 122 123 124 What: /sys/class/ata_device/devX[.Y] 125 Date: May, 2015 126 KernelVersion: v4.10 127 Contact: Gwendal Grignou <gwendal@chromi 128 Description: 129 (RO) Shows the DSM TRIM mode c 130 values are: 131 132 unsupported: Drive 133 134 unqueued: Drive 135 136 queued: Drive 137 138 forced_unqueued: Drive' 139 be bug 140 are se
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.