Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 8 Oct 2002 18:35:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 8 Oct 2002 18:35:52 -0400 Received: from pc1-cwma1-5-cust42.swa.cable.ntl.com ([80.5.120.42]:61599 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Tue, 8 Oct 2002 18:35:51 -0400 Subject: Re: [RFC] embedded struct device Re: [patch] IDE driver model update From: Alan Cox To: Patrick Mochel Cc: Kai Germaschewski , Alexander Viro , Linus Torvalds , Andre Hedrick , Linux Kernel Mailing List In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 08 Oct 2002 23:51:35 +0100 Message-Id: <1034117495.31448.25.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 728 Lines: 16 > > That's because normally pci_unregister_driver() or whatever is called in > > cleanup_module(), but obviously to be able to call it the refcount has to > > be zero already... > > That's true for drivers, but not for devices. Nonetheless, it's a big > problem that I've hoped would magically go away. Of course it won't, but I > don't have a solution for it off hand... Is it actually cleanly solvable without sticking the refcounts in the layer they belong not in driverfs ? - 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/