🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #7069

loadable pseudo-device driver

#7069
From: Hans van Staveren
Date: Tue, 19 Mar 1991 18:33
12 lines
1142 bytes
We are trying to make a loadable pseudo-device driver. The problem seems
to be that the "struct vdldrv" contains a pointer to an mb_device struct
which is nonsense for a pseudo-device. We made it NULL, but the driver
crashes in a walk_slave routine that suggests that that doesn't work.  The
comments in the example of the loadable device driver from Sun also do not
talk about setting this to NULL.

Has anyone succesfully created a loadable device driver for a pseudo
device?  We are running 4.1.1 if it is important. Sample drivers are
appreciated.

	Hans van Staveren
Technical Details
Message-ID: <1996@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: sater@cs.vu.nl (Hans van Staveren)
Newsgroups: comp.sys.sun
Subject: loadable pseudo-device driver
Keywords: Miscellaneous
Message-ID: <1996@brchh104.bnr.ca>
Date: 19 Mar 91 18:33:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 12
Approved: Sun-Spots@rice.edu
X-Original-Date: 11 Mar 91 16:10:55 GMT
X-Sun-Spots-Digest: Volume 10, Issue 58, message 10
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu