From owner-freebsd-hackers Sun Jun 10 17:52: 7 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 64D0C37B403; Sun, 10 Jun 2001 17:52:04 -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 f5B0q3650609; Sun, 10 Jun 2001 18:52:03 -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 f5B0tLl22229; Sun, 10 Jun 2001 18:55:21 -0600 (MDT) Message-Id: <200106110055.f5B0tLl22229@billy-club.village.org> To: Mike Smith Subject: Re: newbussifying drivers Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Sun, 10 Jun 2001 17:12:17 PDT." <200106110012.f5B0CH202578@mass.dis.org> References: <200106110012.f5B0CH202578@mass.dis.org> Date: Sun, 10 Jun 2001 18:55:21 -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 <200106110012.f5B0CH202578@mass.dis.org> Mike Smith writes: : > 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). : : This isn't actually such a problem; the space in which PNPBIOS devices : tend to have their resources allocated is protected from abuse by other : drivers (PCI won't allocate space in the 'ISA preferred' space). Interrupts are the only thing that really matters. pccard might want to allocate low memory, but come to think of it, it usually doesn't have to do that. : > 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. : : Wiring stuff sensibly seems to just be a few millimetres beyond reach, : forever. 8( heh. I had an idea today while squirrel proofing my shed. What if we looked at the hints for a device that's plug and play and if they match the hints, use that device (assuming it accepts the PnP Id). That is, give preferencial treatment to the wired devices. But that might get ugly. I'd have to think about it more. Of course, there is still the "sio on pci" problem that we'd need to overcome too. Since PCI is probed before isa, the pci sio devices wind up as sio0 (or would if I didn't kludge them like I do). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message