From owner-freebsd-hackers Wed May 6 20:39:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA27382 for freebsd-hackers-outgoing; Wed, 6 May 1998 20:39:26 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from antipodes.cdrom.com ([210.145.37.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA27342 for ; Wed, 6 May 1998 20:39:11 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id TAA00433; Wed, 6 May 1998 19:34:41 -0700 (PDT) Message-Id: <199805070234.TAA00433@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Nate Williams cc: Mike Smith , Archie Cobbs , stefan@promo.de (Stefan Bethke), luigi@labinfo.iet.unipi.it, freebsd-hackers@FreeBSD.ORG Subject: Re: ISA-PnP w\o BIOS support? In-reply-to: Your message of "Wed, 06 May 1998 18:39:33 MDT." <199805070039.SAA06961@mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 06 May 1998 19:34:41 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Things is, this falls really short for non-ISA/non-PnP devices as well. > > > > No, it doesn't. But I may not have answered your specific qualms. > > > > > Think hot-swappable devices, and devices that *really* no one knows > > > about? > > > > Yes, what about them? How about a concrete problem rather than FUD? > > There's no FUD. You just erased my specific examples. I haven't seen a single example situation from you yet where knowing what is and isn't actually available/used is a disadvantage over the current state of "blessed ignorance". > > > Also, devices that can use IRQ's, but don't necessarily need > > > them. How do you say 'go ahead and use it', vs. 'don't bother'. > > > > Huh? You must specifically be talking about the resource starvation > > case where the "can but don't have to" device comes up before a "must > > have" device and takes the last interrupt. > > No, I'm talking about cases where hardware *can* use IRQ's, but don't > need them. Unless there is a resource starvation issue, who cares? If you have a free IRQ that isn't needed, it doesn't matter if it's assigned to a source that never drives it, or whether it remains free. > > Firstly, there aren't too many devices in the "can but don't have to" > > class, so this is a pathalogical example. > > But it's an example of something we need to have now. (Like, if it were > there, I could use it today.) > > Right not, to get a 'real' interrupt, you must be an ISA device. > Otherwise, you've got to hope for the best. This is simply bogus. I'm not sure I understand what you're talking about. What are the interrupts delivered to PCI devices if not "real" interrupts? Are you bitching about the current interrupt registration mechanism, or about free resource determination? > And, sysctl is a *huge* hack that's completely incapable of dealing with > it. You can't tell a device to not use an interrupt via a sysctl, since > by the time the syctl is active it's much too late. sysctl is a poor implementation of a good idea. Despite my good intentions and support from a number of sources, a replacement hasn't materialised. In the interim, it is more than adequate for the task. And you're thinking *much* too narrowly about when sysctls can be set. -- \\ 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-hackers" in the body of the message