*BSD News Article 10823


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA762 ; Sun, 07 Feb 93 10:01:30 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!agate!tfs.com!julian
From: julian@tfs.com (Julian Elischer)
Subject: Re: [386BSD] Followup: WD8013 card
Message-ID: <1993Feb6.183432.9396@tfs.com>
Organization: TRW Financial Systems, Berkeley, CA - 94704
References: <C1FuJ7.4A9@rot.qc.ca> <1993Jan26.205504.24467@fcom.cc.utah.edu> <DERAADT.93Feb1010127@newt.newt.cuc.ab.ca>
Date: Sat, 6 Feb 1993 18:34:32 GMT
Lines: 47

In article <DERAADT.93Feb1010127@newt.newt.cuc.ab.ca> deraadt@newt.cuc.ab.ca (Theo de Raadt) writes:
[deleted]
>it generally keeps interrupts off. I'm not a fan of this at all. If we
>were to write the probe routines more carefully, we could do this:
>
[deleted]

>controller ahb0 at isa? port "IO_AHB0" bio irq ? drq ? vector ahbintr
[deleted]
>
>
>If this method is used, we don't have to worry about getting all those
>nasty little interrupt vectors correct any longer, and trying to watch
>out for errors.  The isa_configure() routine can watch for conflicts,
>since it is the routine that calls each of the probe routines. Notice how
>the ahb controller does not have a drq line either? Some controllers can
>tell you what DRQ they are configured to use..

Actually, the AHB controller DOES do this..
there is only an entry in the config file for drq and irq  because
the config program and autoconfigure routine do the wrong thing
if I put a ? in there.  The driver figures out the
irq and the drq used is an EISA drq. The bustek does the same
except that it can decide to use a normal drq as well as the EISA dma.

>
>Every day I spent in 386BSD, I am amazed at how much stuff got lost in
>the transition from BSD4.3tahoe to BSD4.3reno to NET2 to 386BSD...

The reason is that it was such a huge re-write to get to 386bsd that
some files were left at the 'works but is not perfect' stage so that
work could proceed at some other place..

The autoconfigure code is a neat piece that one person could take on
and add this functionallity to.. (need to touch each driver too)

volunteers?


julian
+----------------------------------+       ______ _  __
|   __--_|\  Julian Elischer       |       \     U \/ / On assignment
|  /       \ julian@tfs.com        +------>x   USA    \ in a very strange
| (   OZ    ) 2118 Milvia st. Berkeley CA. \___   ___ | country !
+- X_.---._/  USA+(510) 704-3137(wk)           \_/   \\
	  v