Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 2 Sep 2002 08:33:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 2 Sep 2002 08:33:42 -0400 Received: from kweetal.tue.nl ([131.155.2.7]:35028 "EHLO kweetal.tue.nl") by vger.kernel.org with ESMTP id ; Mon, 2 Sep 2002 08:33:40 -0400 Date: Mon, 2 Sep 2002 14:38:09 +0200 From: Andries Brouwer To: "Rob Turk" Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MODE SENSE in sd.c; sddr09.c Message-ID: <20020902123809.GA9286@win.tue.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 901 Lines: 20 On Mon, Sep 02, 2002 at 01:00:39PM +0200, Rob Turk wrote: > > The patch below first separates out the MODE SENSE call, > > and then tries it three times: on all pages (3F), only the first > > four bytes; on the vendor page (0), only the first four bytes; > > on all pages (3F), 255 bytes. > > Would it be possible to move away from using 'standard' 255 bytes? Many SCSI > device don't like requests for odd byte counts on 16-bit SCSI busses, and > IDE isn't too crazy about it either. How about asking for 254 instead?? Well, as you can see I did move away from the 255. I ask for 4 bytes. Only if that fails do I fall back on what we do today. Andries - 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/