• ioctl implementation in VxBus

    From Kisung Cho@21:1/5 to All on Wed Sep 2 22:51:46 2015
    2015년 6월 2일 화요일 오후 10시 33분 22초 UTC+9, vish 님의 말:
    Hi all,
    I am trying to develop a VxBus driver. But i am not able to understand how ioctl calls are handeled here.
    How ioctl calls can be registered with the I/O framework?

    Can someone help me to understand this?

    why anyone not reply this.
    i'm also not expert but i read "VxWorks Device Driver Developer's Guide"
    check this?
    sorry not help much

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kisung Cho@21:1/5 to All on Wed Sep 2 22:58:38 2015
    2015년 9월 3일 목요일 오후 2시 51분 48초 UTC+9, Kisung Cho 님의 말:
    2015년 6월 2일 화요일 오후 10시 33분 22초 UTC+9, vish 님의 말:
    Hi all,
    I am trying to develop a VxBus driver. But i am not able to understand how ioctl calls are handeled here.
    How ioctl calls can be registered with the I/O framework?

    Can someone help me to understand this?

    why anyone not reply this?
    i'm also not expert but i read "VxWorks Device Driver Developer's Guide"
    and below can be helpful
    blkDevInitStruct.bd_blkRd = (FUNCPTR)myBlockRead; //FUNCPTR. function to read blocks
    blkDevInitStruct.bd_blkWrt = (FUNCPTR)myBlkDevWrt; //FUNCPTR. function to write blocks
    blkDevInitStruct.bd_ioctl = (FUNCPTR)myBlkDevIoctl; //FUNCPTR. function to ioctl device
    blkDevInitStruct.bd_reset = (FUNCPTR)myBlkDevReset; //FUNCPTR. function to reset device
    blkDevInitStruct.bd_statusChk = (FUNCPTR)myBlkDevStatus; //FUNCPTR. function to check status

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kisung Cho@21:1/5 to All on Wed Sep 2 23:07:32 2015
    2015년 9월 3일 목요일 오후 2시 58분 40초 UTC+9, Kisung Cho 님의 말:
    2015년 9월 3일 목요일 오후 2시 51분 48초 UTC+9, Kisung Cho 님의 말:
    2015년 6월 2일 화요일 오후 10시 33분 22초 UTC+9, vish 님의 말:
    Hi all,
    I am trying to develop a VxBus driver. But i am not able to understand how ioctl calls are handeled here.
    How ioctl calls can be registered with the I/O framework?

    Can someone help me to understand this?

    why anyone not reply this?
    i'm also not expert but i read "VxWorks Device Driver Developer's Guide"
    and below can be helpful
    blkDevInitStruct.bd_blkRd = (FUNCPTR)myBlockRead; //FUNCPTR. function to read blocks
    blkDevInitStruct.bd_blkWrt = (FUNCPTR)myBlkDevWrt; //FUNCPTR. function to write blocks
    blkDevInitStruct.bd_ioctl = (FUNCPTR)myBlkDevIoctl; //FUNCPTR. function to ioctl device
    blkDevInitStruct.bd_reset = (FUNCPTR)myBlkDevReset; //FUNCPTR. function to reset device
    blkDevInitStruct.bd_statusChk = (FUNCPTR)myBlkDevStatus; //FUNCPTR. function to check status
    check the below URL http://studies.ac.upc.edu/doctorat/ENGRAP/VxWorks-device-drivers.htm

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kisung Cho@21:1/5 to All on Wed Sep 2 23:19:40 2015
    2015년 9월 3일 목요일 오후 3시 7분 36초 UTC+9, Kisung Cho 님의 말:
    2015년 9월 3일 목요일 오후 2시 58분 40초 UTC+9, Kisung Cho 님의 말:
    2015년 9월 3일 목요일 오후 2시 51분 48초 UTC+9, Kisung Cho 님의 말:
    2015년 6월 2일 화요일 오후 10시 33분 22초 UTC+9, vish 님의 말:
    Hi all,
    I am trying to develop a VxBus driver. But i am not able to understand how ioctl calls are handeled here.
    How ioctl calls can be registered with the I/O framework?

    Can someone help me to understand this?

    why anyone not reply this?
    i'm also not expert but i read "VxWorks Device Driver Developer's Guide" and below can be helpful
    blkDevInitStruct.bd_blkRd = (FUNCPTR)myBlockRead; //FUNCPTR. function to read blocks
    blkDevInitStruct.bd_blkWrt = (FUNCPTR)myBlkDevWrt; //FUNCPTR. function to write blocks
    blkDevInitStruct.bd_ioctl = (FUNCPTR)myBlkDevIoctl; //FUNCPTR. function to ioctl device
    blkDevInitStruct.bd_reset = (FUNCPTR)myBlkDevReset; //FUNCPTR. function to reset device
    blkDevInitStruct.bd_statusChk = (FUNCPTR)myBlkDevStatus; //FUNCPTR. function to check status
    check the below URL http://studies.ac.upc.edu/doctorat/ENGRAP/VxWorks-device-drivers.htm
    http://read.pudn.com/downloads97/sourcecode/others/395078/vxworks%E6%95%99%E7%A8%8B/DeviceDriver/DD/instructor/testProgs40/LAB7/lambDrv.c__.htm

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kisung Cho@21:1/5 to All on Wed Sep 2 23:24:07 2015
    2015년 9월 3일 목요일 오후 3시 19분 43초 UTC+9, Kisung Cho 님의 말:
    2015년 9월 3일 목요일 오후 3시 7분 36초 UTC+9, Kisung Cho 님의 말:
    2015년 9월 3일 목요일 오후 2시 58분 40초 UTC+9, Kisung Cho 님의 말:
    2015년 9월 3일 목요일 오후 2시 51분 48초 UTC+9, Kisung Cho 님의 말:
    2015년 6월 2일 화요일 오후 10시 33분 22초 UTC+9, vish 님의 말:
    Hi all,
    I am trying to develop a VxBus driver. But i am not able to understand how ioctl calls are handeled here.
    How ioctl calls can be registered with the I/O framework?

    Can someone help me to understand this?

    why anyone not reply this?
    i'm also not expert but i read "VxWorks Device Driver Developer's Guide" and below can be helpful
    blkDevInitStruct.bd_blkRd = (FUNCPTR)myBlockRead; //FUNCPTR. function to read blocks
    blkDevInitStruct.bd_blkWrt = (FUNCPTR)myBlkDevWrt; //FUNCPTR. function to write blocks
    blkDevInitStruct.bd_ioctl = (FUNCPTR)myBlkDevIoctl; //FUNCPTR. function to ioctl device
    blkDevInitStruct.bd_reset = (FUNCPTR)myBlkDevReset; //FUNCPTR. function to reset device
    blkDevInitStruct.bd_statusChk = (FUNCPTR)myBlkDevStatus; //FUNCPTR. function to check status
    check the below URL http://studies.ac.upc.edu/doctorat/ENGRAP/VxWorks-device-drivers.htm
    http://read.pudn.com/downloads97/sourcecode/others/395078/vxworks%E6%95%99%E7%A8%8B/DeviceDriver/DD/instructor/testProgs40/LAB7/lambDrv.c__.htm

    ftp://ftp.desy.de/pub/EPICS/vx_GPFC/h/blkIo.h

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)