From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [loongson-PATCH-v1 24/27] fixup for FUJITSU disk Date: Mon, 25 May 2009 15:10:40 -0400 Message-ID: References: <1243230339.9819.18.camel@localhost.localdomain> <4A1A4A54.6090401@lemote.com> <200905251656.25357.bzolnier@gmail.com> <4A1AEBF7.7040402@ru.mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <4A1AEBF7.7040402@ru.mvista.com> (Sergei Shtylyov's message of "Mon, 25 May 2009 23:05:27 +0400") Sender: linux-ide-owner@vger.kernel.org To: Sergei Shtylyov Cc: Bartlomiej Zolnierkiewicz , =?utf-8?B?6IOh5rSq?= =?utf-8?B?5YW1?= , yanh@lemote.com, wuzhangjin@gmail.com, linux-mips@linux-mips.org, Ralf Baechle , IDE/ATA development list , Linux Kernel , linux-scsi , Philippe Vachon , Zhang Le , Zhang Fuxin , Arnaud Patard , loongson-dev@googlegroups.com, gnewsense-dev@nongnu.org, Nicholas Mc Guire , Liu Junliang , Erwan Lerale List-Id: linux-scsi@vger.kernel.org >>>>> "Sergei" == Sergei Shtylyov writes: >> Could you please explain the issue with platform specific code a bit >> more? >> Is it related to a cable detection by any chance? Sergei> I guess it's rdmsr()/wrmsr()... Those are only used when the driver is explicitly loaded with use_msr=1. The default is to use PCI config space/VSA. In any case I have yet to see a CS5536 system whose BIOS sets the cable detection bit. If that's the problem I guess we could add a quirk flag to override the (lack of) BIOS setting. -- Martin K. Petersen Oracle Linux Engineering