From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Subject: Re: mmc_spi.c driver Date: Fri, 31 Oct 2008 11:32:25 -0700 Message-ID: <200810311132.26213.david-b@pacbell.net> References: <1CF6EDDF0820924DA43C9A52FE7325950A27D544@MI8NYCMAIL17.Mi8.com> <20081031080254.54b22b82@mjolnir.drzeus.cx> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Pierre Ossman To: "hartleys" Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org On Friday 31 October 2008, hartleys wrote: > But it also comes back as a character device not a block device even > though the minor/major numbers are the same. Why would mdev initially > create the node as a block device then change it? Because of the mdev bug I mentioned to you yesterday. Since you didn't enable the sysfs legacy support, a string compare result makes mdev not realize it's a block device. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/