sys32_ioctl issue
Kevin Curtis <[email protected]>
| Newsgroups | gmane.linux.aurora.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, many thanks to the list for getting me of the ground with porting our Intel 32 bit drivers to sparc64. I have now managed to compile and load the driver module successfully. The next step is to load our card with it's firmware. We do this through an ioctl interface to the driver with a loader program. I was getting on fine with this until I came to the first ioctl operation. In the 32 bit Intel version the ioctl command is calculated (with the _IO macro) as 0x7800, and this comes out as 0x20007800 on sparc64 with the same calculation. The sys32_ioctl function reports the following error: Apr 29 15:37:16 icarus kernel: sys32_ioctl(fsx25load:5058): Unknown cmd fd(3) cmd(20007800) arg(00000000) How is sys32_ioctl making the conversion of the ioctl and what does my fsx25load program or driver need to do to solve the problem? Thanks Kevin