From owner-freebsd-hackers Thu Aug 13 23:36:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA02598 for freebsd-hackers-outgoing; Thu, 13 Aug 1998 23:36:32 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from word.smith.net.au (castles215.castles.com [208.214.165.215]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA02573 for ; Thu, 13 Aug 1998 23:36:18 -0700 (PDT) (envelope-from mike@word.smith.net.au) Received: from localhost (localhost.cdrom.com [127.0.0.1]) by myname.my.domain (8.8.8/8.8.8) with ESMTP id UAA00204; Thu, 13 Aug 1998 20:31:13 GMT (envelope-from mike@myname.my.domain) Message-Id: <199808132031.UAA00204@myname.my.domain> X-Mailer: exmh version 2.0.2 2/24/98 To: Terry Lambert cc: grog@lemis.com (Greg Lehey), hm@kts.org, freebsd-hackers@FreeBSD.ORG Subject: Re: developing device drivers In-reply-to: Your message of "Fri, 14 Aug 1998 02:35:04 GMT." <199808140235.TAA25965@usr02.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 13 Aug 1998 20:31:13 +0000 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG (Apologies off the top if my address in this message is unrepliable to, I'm just reconstructing my laptop after a major upgrade, performed with no help from Toshiba's BIOS, the cost of SelectBay shells, or the z* drivers. *mumble*) > > I think Hellmuth brought up an important issue which you don't appear > > to have covered: sure, it's easy enough to probe. But some probes are > > destructive, and if you don't know what's already been taken, you're > > liable to kill some other device while messing around looking for your > > devices. Is there some list which contains information about what > > resources are already assigned to other drivers? > > Yes. Otherwise PCMCIA cards couldn't work. That's why I specifically > referenced them. Unfortunately, there are two lists covered by your reply. The first is manintained manually in /etc/pccard.conf, and is usually wrong. The second is maintained internal to the kernel, and is also often wrong. Only the first can be corrected at the moment. Work is underway to improve the second, but this requires vetting of Jonathan Lemon's 16-bit protected mode call code, which David has been silent on (to me at least) since it was submitted to him some weeks back. -- \\ 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