From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boaz Harrosh Subject: [PATCH 01/18] major.h: char-major number for OSD device driver Date: Tue, 6 Jan 2009 16:07:54 +0200 Message-ID: <1231250874-8666-1-git-send-email-bharrosh@panasas.com> References: <49636507.8060808@panasas.com> Return-path: Received: from gw-ca.panasas.com ([66.104.249.162]:20519 "EHLO laguna.int.panasas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750808AbZAFOH6 (ORCPT ); Tue, 6 Jan 2009 09:07:58 -0500 In-Reply-To: <49636507.8060808@panasas.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: James Bottomley , linux-scsi , open-osd ml Cc: Andrew Morton We need a major for a char device for our OSD device driver. Attached is a proposed patch for the Documentation/devices.txt and include/linux/major.h files. I have allocated the *260* char device as it looked like the next available on the lanana.org web-site (http://lanana.org/docs/device-list/devices-2.6+.txt) Any number will do. Please allocate a number for us (See http:/open-osd.org for further information) Signed-off-by: Boaz Harrosh CC: Torben Mathiasen --- Documentation/devices.txt | 6 ++++++ include/linux/major.h | 1 + 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/Documentation/devices.txt b/Documentation/devices.txt index 2be0824..62254d4 100644 --- a/Documentation/devices.txt +++ b/Documentation/devices.txt @@ -3145,6 +3145,12 @@ Your cooperation is appreciated. 1 = /dev/blockrom1 Second ROM card's translation layer interface ... +260 char OSD (Object-based-device) SCSI Device + 0 = /dev/osd0 First OSD Device + 1 = /dev/osd1 Second OSD Device + ... + 255 = /dev/osd255 256th OSD Device + **** ADDITIONAL /dev DIRECTORY ENTRIES This section details additional entries that should or may exist in diff --git a/include/linux/major.h b/include/linux/major.h index 8824945..058ec15 100644 --- a/include/linux/major.h +++ b/include/linux/major.h @@ -171,5 +171,6 @@ #define VIOTAPE_MAJOR 230 #define BLOCK_EXT_MAJOR 259 +#define SCSI_OSD_MAJOR 260 /* open-osd's OSD scsi device */ #endif -- 1.6.0.1