Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760841AbXJZTKo (ORCPT ); Fri, 26 Oct 2007 15:10:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751940AbXJZTKh (ORCPT ); Fri, 26 Oct 2007 15:10:37 -0400 Received: from sj-iport-5.cisco.com ([171.68.10.87]:17718 "EHLO sj-iport-5.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751150AbXJZTKg (ORCPT ); Fri, 26 Oct 2007 15:10:36 -0400 X-IronPort-AV: E=Sophos;i="4.21,335,1188802800"; d="scan'208";a="183221548" To: Ivo van Doorn Cc: rt2400-devel@lists.sourceforge.net, kernel-stuff@comcast.net, linux-kernel@vger.kernel.org Subject: Re: [Rt2400-devel] [PATCH] rt2500usb - Don't claim 050d:705{0/a} X-Message-Flag: Warning: May contain useful information References: <200710252315.49427.IvDoorn@gmail.com> <200710262039.17027.IvDoorn@gmail.com> From: Roland Dreier Date: Fri, 26 Oct 2007 12:10:15 -0700 In-Reply-To: <200710262039.17027.IvDoorn@gmail.com> (Ivo van Doorn's message of "Fri, 26 Oct 2007 20:39:16 +0200") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.20 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 26 Oct 2007 19:10:16.0296 (UTC) FILETIME=[D7B48680:01C81803] Authentication-Results: sj-dkim-4; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 852 Lines: 17 > Well it could be something quite simple, in the module loader it is looping > through all modules to look for a device with the correct USB/PCI ID. > Currently, after the first occurence it loads the module and doesn't continue, > it should perhaps be relatively easy that it checks if the driver returned -ENODEV > and continues looping to search for another driver. But a driver (especially a driver for something as hot-pluggable as a USB device) shouldn't return -ENODEV just because no devices are present at the moment. It should just load successfully and wait for a device to appear. - R. - 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/