*BSD News Article 12462


Return to BSD News archive

Newsgroups: comp.os.386bsd.development
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!menudo.uh.edu!uuneo!sugar!peter
From: peter@NeoSoft.com (Peter da Silva)
Subject: Re: Some ideas on the driver interface (was: Re: Release of drivers etc.)
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Tue, 9 Mar 1993 11:13:25 GMT
Message-ID: <C3MCIF.Iv@sugar.neosoft.com>
Keywords: device drivers
References: <1993Feb24.130019.9933@gmd.de> <C30yA8.1yx@jshark.inet-uk.co.uk> <1ng3hb$ekf@sax.sax.de>
Lines: 22

It would probably be best to integrate the master file and the BSD-ish config
file somehow... maybe:

controller	wd0 at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0 at wd0 drive 0
device		wd0 at major 0 minor wd0a 0 wd0b 1 wd0c 2 wd0d 3...
disk		wd1 at wd1 drive 1
device		wd1 at major 1 minor wd1a 8 wd1b 9 wd1c 10 wd1d 11...

or:

device		wd0a at wd0 major 0 minor 0 block user 0 group 5 mode 640
device		wd0b at wd0 major 0 minor 1 block user 0 group 5 mode 640

And for stuff that doesn't matter so much:

device		soundblaster at major ? minor 0 character
-- 
Peter da Silva.  <peter@sugar.neosoft.com>.
 `-_-'   Oletko halannut suttasi tänään?
  'U`    
Tarjoilija, tämä ateria elää vielä.