From owner-freebsd-hackers Sun Jun 10 11:47: 2 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 9339D37B40A; Sun, 10 Jun 2001 11:46:54 -0700 (PDT) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (billy-club.village.org [10.0.0.3]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f5AIkq649455; Sun, 10 Jun 2001 12:46:53 -0600 (MDT) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (localhost [127.0.0.1]) by billy-club.village.org (8.11.2/8.8.3) with ESMTP id f5AIo3l21071; Sun, 10 Jun 2001 12:50:07 -0600 (MDT) Message-Id: <200106101850.f5AIo3l21071@billy-club.village.org> To: Doug Rabson Subject: Re: newbussifying drivers Cc: Sergey Babkin , j mckitrick , "Matthew N. Dodd" , Mike Smith , freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Sun, 10 Jun 2001 10:57:43 BST." References: Date: Sun, 10 Jun 2001 12:50:03 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message Doug Rabson writes: : Actually, the ex driver does have an identify method. The issue is that : the identify method uses 'unallocated' ports to do its search. It ought to : allocate them, do its tests and release them for the real probe but it : gets messy due to the fact that a device instance doesn't exist yet. This is ugly. Obviously you don't want to tresspass into another device's address space. The other problem is that the other device might not exist yet and hasn't snagged its resources. You could use the isa bus itself at the resource holder for these temporary resources. One big area we need to clean up is PNPBIOS devices. They should be probed *FIRST* before anything else (which is hard because the isa bus gets attached late on pci systems). We'd need to update our drivers in the tree, plus there's the "hints vs pnp" issue where some people want to specify hints to wire a device unit (eg, the sio that's at address 0xXXXX should be sio9). This is one rats nest that's still around that is going to be hard to solve. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message