Operating System - HP-UX
1753508 Members
4981 Online
108795 Solutions
New Discussion

porting device driver to HPUX 11.23

 
David Johns
Advisor

porting device driver to HPUX 11.23

Hello:

I'm following the DDG instructions to port an 11i driver to 11.23 and having problems. The compiler wants the device open function to have type int (*)(int,int,long,int) and the device close function to have type int (*)(int,int,int).

Now the examples in the guide and my functions have types int (*) (dev_t, int).

What in the wild, wild, world of sports is a goin on here?

Thanks,
Dave
1 REPLY 1
David Johns
Advisor

Re: porting device driver to HPUX 11.23

All:

I found the new driver_open and driver_close descriptions in the DDR. The driver_open page has a typo, and the DDG examples use the older functions! Not much help!

Cheers,
Dave