Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261605AbVCRN6S (ORCPT ); Fri, 18 Mar 2005 08:58:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261607AbVCRN6S (ORCPT ); Fri, 18 Mar 2005 08:58:18 -0500 Received: from mailgw3.technion.ac.il ([132.68.238.35]:5026 "EHLO mailgw3.technion.ac.il") by vger.kernel.org with ESMTP id S261605AbVCRN6O (ORCPT ); Fri, 18 Mar 2005 08:58:14 -0500 Date: Fri, 18 Mar 2005 15:58:11 +0200 (IST) From: Jacques Goldberg X-X-Sender: goldberg@localhost.localdomain Reply-To: Jacques Goldberg To: Alan Cox Cc: Linux Kernel Mailing List Subject: Re: Need break driver<-->pci-device automatic association In-Reply-To: <1111151648.9874.10.camel@localhost.localdomain> Message-ID: References: <1111151648.9874.10.camel@localhost.localdomain> X-MailKey: 829.36.63 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1205 Lines: 26 On Fri, 18 Mar 2005, Alan Cox wrote: > On Gwe, 2005-03-18 at 08:57, Jacques Goldberg wrote: > >Question: is there a way, as of kernels 2.6.10 and above, to release the > > device from the serial driver, without having to recompile the kernel? > > There is an ugly way (fake a hot unplug 8)) butif you want to do it > properly you need to get the relevant pci check into the serial driver > proper by submitting it to Russell King. That way the serial driver can > skip the PCI devices that turn out to be modems > Thank you very much. To be ugly or to never be up to date, that's the question. We did patch 8250_pci.c but there is no way to build a stable list of the devices to be handled that way. We will thus spend some time on the hot unplug solution. This is my very last question: is there a script able to do that? Google quotes their existence but no link found. Or a doc showing how to code that in a program? Many many thanks - Jacques - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/