Return-path: Received: from smtp-out003.kontent.com ([81.88.40.217]:58985 "EHLO smtp-out003.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764811AbZLQOgg (ORCPT ); Thu, 17 Dec 2009 09:36:36 -0500 From: Oliver Neukum To: Josua Dietze Subject: Re: [PATCH] move eject code from zd1211rw to usb-storage Date: Thu, 17 Dec 2009 15:36:44 +0100 Cc: Matthew Dharm , Dan Williams , Stefan Seyfried , linux-usb@vger.kernel.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, usb-storage@lists.one-eyed-alien.net, Stefan Seyfried References: <1260878800-14691-1-git-send-email-stefan.seyfried@googlemail.com> <200912171402.42168.oliver@neukum.org> <4B2A3312.104@draisberghof.de> In-Reply-To: <4B2A3312.104@draisberghof.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Message-Id: <200912171536.44220.oliver@neukum.org> Sender: linux-wireless-owner@vger.kernel.org List-ID: Am Donnerstag, 17. Dezember 2009 14:33:06 schrieb Josua Dietze: > > Can storage tell the devices apart so that it knows which ones to leave > > to the kernel solution and which devices to accept so that udev can > > issue an eject command? > > If you are thinking about the two specific devices at hand there is > no need to tell them apart. Same IDs on plugin, same switching > procedure, different IDs on return, different drivers take care. How do you issue an eject command without a /dev/sgX node? Regards Oliver