![]() ![]() dma_mode +What: /sys/class/ata_device/devX.Z/spdn_cnt +What: /sys/class/ata_device/devX.Z/gscr +What: /sys/class/ata_device/devX.Z/ering +What: /sys/class/ata_device/devX.Z/id +What: /sys/class/ata_device/devX.Z/pio_mode +What: /sys/class/ata_device/devX.Z/xfer_mode +What: /sys/class/ata_device/devX.Z/dma_mode +What: /sys/class/ata_device/devX.Z/class +Date: May, 2010 +KernelVersion: v2.6.37 +Contact: Gwendal Grignou +Description: + spdn_cnt: (RO) Number of times libata decided to lower the + speed of link due to errors. ![]() Can be "ata" for disk, "atapi" for packet device, - "pmp" for PM, or "none" if no device was found behind the link. +The name of the directory is devX.Z where: +- X is ata_port_id of the port where the device is connected, +- Y the port of the PM if any, and +- Z the device id: for PATA, there is usually 2 devices, only 1 for SATA. +Behind each link, up to two ata devices are created. The name of the directory is devX.Z where: - X is ata_port_id of the port where the device is connected, - Y the port of the PM if any, and - Z the device id: for PATA, there is usually 2 devices, - only 1 for SATA. Files under /sys/class/ata_device -ěehind each link, up to two ata device are created. + sata_spd: (RO) Current speed of the link + eg. sata_spd_limit + sata_spd_limit: (RO) Maximum speed imposed by libata. +What: /sys/class/ata_link/linkX/hw_sata_spd_limit +What: /sys/class/ata_link/linkX/sata_spd_limit +What: /sys/class/ata_link/linkX/sata_spd +Date: May, 2010 +KernelVersion: v2.6.37 +Contact: Gwendal Grignou +Description: + hw_sata_spd_limit: (RO) Maximum speed supported by the + connected SATA device. hw_sata_spd_limit - Maximum speed supported by the connected SATA device. If a link is behind a PM, its name is linkX.Y where X is +ata_port_id of the parent port and Y the PM port. +If a link is behind a port, the directory name is linkX, where X is ata_port_id +of the port. ![]() If a link is behind a PM, its name is linkX.Y where X is ata_port_id - of the parent port and Y the PM port. If a link is behind a port, the directory name is linkX, where X is - ata_port_id of the port. If there is a SATA PM in the topology, 15 +ata_link objects are created. If there is a SATA PM in the - topology, 15 ata_link objects are created. Files under /sys/class/ata_link -ěehind each port, there is a ata_link. This attribute is needed by udev for composing + persistent links in /dev/disk/by-path. While registering host controller, + port numbers are tracked based upon number of ports available on + the controller. + +What: /sys/class/ata_port/ataX/port_no +Date: May, 2013 +KernelVersion: v3.11 +Contact: Gwendal Grignou +Description: + (RO) Host local port number. If a SATA Port Multiplier (PM) is connected, number of link behind it. nr_pmp_links (read) + idle_irq: (RO) Number of IRQ received by the port while + idle. +What: /sys/class/ata_port/ataX/nr_pmp_links +What: /sys/class/ata_port/ataX/idle_irq +Date: May, 2010 +KernelVersion: v2.6.37 +Contact: Gwendal Grignou +Description: + nr_pmp_links: (RO) If a SATA Port Multiplier (PM) is + connected, the number of links behind it. idle_irq (read) - Number of IRQ received by the port while idle. The device parent is the ata host device. +For each port, a directory ataX is created where X is the ata_port_id of the +port. Files under /sys/class/ata_port -ğor each port, a directory ataX is created where X is the ata_port_id of - the port. This allows retrieving various information about ATA + objects. + Provide a place in sysfs for storing the ATA topology of the + system. This allows -retrieving various information about ATA objects. Date: August 2008 -Contact: Gwendal Grignou Description: -Provide a place in sysfs for storing the ATA topology of the system. Merge branches 'x86/amd', 'x86/vt-d', 'arm/rockchip', 'arm/omap', 'arm/mediatek', 'arm/exynos', 'arm/renesas', 'arm/smmu' and 'core' into nextĭiff -git a/Documentation/ABI/testing/sysfs-ata b/Documentation/ABI/testing/sysfs-ata ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |