Date: Mon, 19 Oct 1998 16:19:13 -0700 (PDT) From: Julian Elischer <julian@whistle.com> To: Mike Smith <mike@smith.net.au> Cc: current@FreeBSD.ORG Subject: Re: vote:? reversion of BDE change please? Message-ID: <Pine.BSF.3.95.981019161827.13455I-100000@current1.whistle.com> In-Reply-To: <199810192048.NAA01214@dingo.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I guess I'll change the drivers in quiestion to simply register their own intrrupt handlers.. as Justin says he has examples I'll go look there.. On Mon, 19 Oct 1998, Mike Smith wrote: > > > > A while ago bruce changed config(8) to not create the prototypes of > > the interrupt handlers in the generated file ioconf.h. > > > > I don't understand his reasoning but it causes me quite a bit of grief. > > He now has the rather odd idea that all device drivers should have their > > interrupt handlers prototyped in isa_device.h. How isa_device.h is > > supposed to know about al existing 3rd party drivers is apparenlty left as > > an exercise for the reader.... > > > > This is 'odd' in my opinion because that means that if i want to > > add a device driver I need to edit isa_device.h and add an entry for it. > > I think this goes in the oposite direction from being able to add drivers > > easily to the system. > > The change is actually in the right direction, as the goal is to remove > the prototypes from global scope completely. Instead, ISA device > drivers should register their interrupt handlers at attach time. I > don't know if there's an example of this at the present time. > > > Particularly I'd like to know if it breaks tha alpha port, or > > the new device framework? > > As it is now it certainly breaks several automatic build processes I know > > of (including the /usr/share/examples/drivers scripts) > > IMHO, the followup changes have been too slow coming. The new bus > framework should completely obsolete interrupt handler prototypes, > which may explain the pedestrian pace of the followups. > > -- > \\ Sometimes you're ahead, \\ Mike Smith > \\ sometimes you're behind. \\ mike@smith.net.au > \\ The race is long, and in the \\ msmith@freebsd.org > \\ end it's only with yourself. \\ msmith@cdrom.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.981019161827.13455I-100000>