13 Apr, 2017

2 commits

  • Add a couple of special IOCTLs to:

    * Inform userspace of firmware partition locations
    * Pass event counts and allow userspace to wait on events
    * Translate PFF numbers used by the switch to port numbers

    [Dan Carpenter : fix off-by-one in
    ioctl_event_ctl()]
    Tested-by: Krishna Dhulipala
    Signed-off-by: Logan Gunthorpe
    Signed-off-by: Stephen Bates
    Signed-off-by: Bjorn Helgaas
    Reviewed-by: Wei Zhang
    Reviewed-by: Jens Axboe

    Logan Gunthorpe
     
  • Add standard documentation for the sysfs switchtec attributes and a RST
    formatted text file which documents the char device interface. Jonathan
    Corbet has indicated he will move this to a new user-space developer
    documentation book once it's created.

    Tested-by: Krishna Dhulipala
    Signed-off-by: Logan Gunthorpe
    Signed-off-by: Stephen Bates
    Signed-off-by: Bjorn Helgaas
    Reviewed-by: Wei Zhang
    Reviewed-by: Jens Axboe

    Logan Gunthorpe