• Alexandre Bounine's avatar
    rapidio: add new sysfs attributes · cd8b974f
    Alexandre Bounine authored
    Add new sysfs attributes.
    
    1. Routing information required to to reach the RIO device:
    destid - device destination ID (real for for endpoint, route for switch)
    hopcount - hopcount for maintenance requests (switches only)
    
    2. device linking information:
    lprev - name of device that precedes the given device in the enumeration
            or discovery order (displayed along with of the port to which it
            is attached).
    lnext - names of devices (with corresponding port numbers) that are
            attached to the given device as next in the enumeration or
            discovery order (switches only)
    Signed-off-by: default avatarAlexandre Bounine <alexandre.bounine@idt.com>
    Cc: Kumar Gala <galak@kernel.crashing.org>
    Cc: Matt Porter <mporter@kernel.crashing.org>
    Cc: Li Yang <leoli@freescale.com>
    Cc: Thomas Moll <thomas.moll@sysgo.com>
    Cc: Micha Nelissen <micha@neli.hopto.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    cd8b974f
rio-sysfs.c 6.68 KB