Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751628AbWADJOz (ORCPT ); Wed, 4 Jan 2006 04:14:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751635AbWADJOz (ORCPT ); Wed, 4 Jan 2006 04:14:55 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:65212 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S1751628AbWADJOy (ORCPT ); Wed, 4 Jan 2006 04:14:54 -0500 Date: Wed, 4 Jan 2006 10:14:06 +0100 (MET) From: Jan Engelhardt To: Jason Dravet cc: greg@kroah.com, linux-kernel@vger.kernel.org, linux-parport@lists.infradead.org Subject: Re: [RFC]: add sysfs support to parport_pc, v3 In-Reply-To: Message-ID: References: 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: 960 Lines: 21 >> somewhere? > Good question. The answer is I have no idea. I booted Fedora Core and I did a > ls -l /dev and wrote down the specs for lp0 and parport0. lp0 looked like > crw-rw---- root lp 6, 0 date lp0 so that is what I used. After reading > Linux Device Drivers I found out that 6 is the major number and 0 is the minor > number. The goal was to make sure that the nodes generated by my patch were > the same as the nodes generated before my patch so I used those numbers. > Should I have used different major numbers? You should have at least used the constants from Jan Engelhardt -- | Alphagate Systems, http://alphagate.hopto.org/ | jengelh's site, http://jengelh.hopto.org/ - 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/