ndd@sunbar.mc.duke.edu (Ned Danieley) (01/26/89)
I asked this question a while back and never got around to posting the results. The consensus seemed to be that the driver from Sun consulting will run under 4.0 with these changes: __________ You have to change the driver source to look for include files in ../sys instead of ../h and the cdevsw entry is somewhat different. Here's a diff of conf.c: *** conf_org.c Thu Aug 18 14:46:40 1988 --- conf.c Fri Dec 16 18:16:50 1988 *************** *** 637 **** --- 654,664 ---- + #include "dr.h" + #if NDR > 0 + extern int dropen(), drclose(), drwrite(), drread(), drioctl(); + #else + #define dropen nodev + #define drclose nodev + #define drwrite nodev + #define drread nodev + #define drioctl nodev + #endif + *************** *** 954 **** --- 982,991 ---- + { + dropen, drclose, drread, drwrite, /*63*/ + drioctl, nulldev, seltrue, 0, + 0, + }, __________ I'm not giving credit here because I haven't checked with the gentleman in question for permission to identify him. You may also be interested in this: __________ Sun Consulting has upgraded CONSULT-DR11W to SunOS 4.0 including Sun-4/2xx support and several bug fixes. You can order this from us at $750 for all your copies. Call Lisa Ventresca at: (415)336-2438 or fax a P.O. to: (415)968-4356 Attn: Lisa Ventresca