device-driver question

device-driver question

Post by Ram G. Iy » Sat, 18 Mar 1995 03:51:07

I am writing a device-driver  for SunOS 4.1.3  on a SPARCstation 2.  I
am awaiting the DDK, but would like to forge ahead without it.

I implemented quite a bit  of the functionality,  but hit a brick wall
when  I  tried to code up  the  XXX_select() routine.   I realize that
XXX_select()  should call  selwait()  but  I don't   have any docs  on

Has anyone out there implemented the select()  function in the driver?
If so, could you enlighten me?

I will post a summary with the answers I receive


| Western Geophysical  | phone: (713) 964-6236       |
| 3600 Briarpark Drive | fax  : (713) 781-7417       |
| Houston, Texas 77042 | My opinions are just that.  |


1. Device driver question (generic device driver)

Hi, I post this for a colleague, who is unable to post here, so please

Now his questions:

I'm currently involved in writing a generic device driver, that
implements some common functions for other real drivers. My problem is:
How can I make sure that the generic driver is loaded first (before the
real driver modules)? Is there any order besides the order in the
How does the OS loads it's own generic driver-modules?
Is it on demand ?
If yes, how is the "demanding" encoded, and where (Is there a defaults
file for this ? Is it hardcoded or can it be configured?) ?

Any help appreciated!
Thanks in advance for your replies!




"Now's the time to impress not suppress your intellect, hold a gun to
 your head, if your mind's dead, blow away the cobweb" TEST DEPT; "bang
 on it" (Metal Edit) CD LEGACY (1990-1993), freud cd 047, efa 75230-2

2. Red Hat install: "cylinder 1023"

3. Device-driver questions

4. Unicode/UTF-8 documentation?

5. Device driver question: How to implement semaphore in driver?

6. APM problem on MACOM Laptop

7. A LAN device driver question

8. Modem configuration for a PPP connection in a leased line

9. Solaris device driver question

10. Device Driver Questions (MIDI)

11. Device Driver Question - Take 2

12. Char. device driver question.

13. Loadable 4.1.3 SunOS Device Driver question.