Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ioctl implementation in VxBus

93 views
Skip to first unread message

Vishakh M

unread,
Jun 2, 2015, 9:33:22 AM6/2/15
to
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?

Kisung Cho

unread,
Sep 3, 2015, 1:51:48 AM9/3/15
to
2015년 6월 2일 화요일 오후 10시 33분 22초 UTC+9, vish 님의 말:
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

Kisung Cho

unread,
Sep 3, 2015, 1:58:40 AM9/3/15
to
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

Kisung Cho

unread,
Sep 3, 2015, 2:07:36 AM9/3/15
to
2015년 9월 3일 목요일 오후 2시 58분 40초 UTC+9, Kisung Cho 님의 말:
check the below URL
http://studies.ac.upc.edu/doctorat/ENGRAP/VxWorks-device-drivers.htm

Kisung Cho

unread,
Sep 3, 2015, 2:19:43 AM9/3/15
to

Kisung Cho

unread,
Sep 3, 2015, 2:24:09 AM9/3/15
to
2015년 9월 3일 목요일 오후 3시 19분 43초 UTC+9, Kisung Cho 님의 말:
ftp://ftp.desy.de/pub/EPICS/vx_GPFC/h/blkIo.h
0 new messages