Article View: comp.sys.sun
Article #10556dr11 driver under 4.0
From: Ned Danieley
Date: Thu, 26 Jan 1989 10:31
Date: Thu, 26 Jan 1989 10:31
54 lines
1862 bytes
1862 bytes
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
Technical Details
Message-ID:
<8901192250.AA01045@sunbar.mc.duke.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!xanth!ukma!mailrus!cornell!uw-beaver!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!xanth!ukma!mailrus!cornell!uw-beaver!rice!sun-spots-request From: ndd@sunbar.mc.duke.edu (Ned Danieley) Newsgroups: comp.sys.sun Subject: dr11 driver under 4.0 Message-ID: <8901192250.AA01045@sunbar.mc.duke.edu> Date: 26 Jan 89 10:31:56 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 54 Approved: Sun-Spots@rice.edu Original-Date: Thu, 19 Jan 89 17:50:49 EST X-Sun-Spots-Digest: Volume 7, Issue 123, message 2 of 8 X-Issue-Reference: v7n111