From owner-freebsd-stable Wed Mar 11 16:48:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA20549 for freebsd-stable-outgoing; Wed, 11 Mar 1998 16:48:24 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from gaia.coppe.ufrj.br (cisigw.coppe.ufrj.br [146.164.5.200]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA20507; Wed, 11 Mar 1998 16:48:08 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.8/8.8.8) id VAA02362; Wed, 11 Mar 1998 21:47:35 -0300 (EST) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199803120047.VAA02362@gaia.coppe.ufrj.br> Subject: Re: Sound Question In-Reply-To: <199803110657.HAA10627@labinfo.iet.unipi.it> from Luigi Rizzo at "Mar 11, 98 07:57:00 am" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Wed, 11 Mar 1998 21:47:35 -0300 (EST) Cc: mike@smith.net.au, jkh@FreeBSD.ORG, steph8@flash.net, stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk #define quoting(Luigi Rizzo) // > At the time that the PCI/ISA probe runs, it has now way of knowing // > whether the static configuration values that are possessed by the ISA // > instance actually correspond to anything. So it can't up and take it // > away. // // in any case i agree that this is ugly, but I don't have a good solution // other than to use some bit in the "flags" field to tell the driver that // it is allowed to grab the statically configured unit number. // // But if this is done, i'd like to see it done consistently also for PCI // devices, otherwise it will just add confusion. I may be wrong, but should not the static devices be probed BEFORE the PCI and Plug&Play ones ? At least, PnP and PCI devices could be changed if there is a conflict. Also, if a static device has not been used, PCI or PnP could use it's reference number. Is there something wrong with this statement ? Other option for PnP (maybe PCI, but I have no knowledge about) would be to transform it in a real bus, and use "pcm0 at pnp?", instead of "pcm0 at isa?". In the device, check to which bus it's attached, and chose the right probes. After this, is just a matter of changing other devices: "sio1 at pnp?", "ed0 at pnp?", etc. JMHO, Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message