Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752036AbbFDFRP (ORCPT ); Thu, 4 Jun 2015 01:17:15 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:36411 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751737AbbFDFRC (ORCPT ); Thu, 4 Jun 2015 01:17:02 -0400 Date: Thu, 4 Jun 2015 14:16:56 +0900 From: Tejun Heo To: linux Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Question about HighPoint RocketRAID 642L SCSI driver conflict with Linux AHCI driver Message-ID: <20150604051656.GO20091@mtj.duckdns.org> References: <002a01d09e84$22be8f90$683baeb0$@highpoint-tech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002a01d09e84$22be8f90$683baeb0$@highpoint-tech.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1482 Lines: 38 Hello, On Thu, Jun 04, 2015 at 01:05:49PM +0800, linux wrote: > Dear Tejun Heo, > > This is HighPoint Linux Team. We found Linux AHCI driver since kernel 3.16 > has added ID (0x06421103) to support RocketRAID 642L which is not what we > expected. If we want to load HighPoint RR642L RAID version Linux SCSI > driver, it becomes conflict each other. This affects our customers who need > to use our RAID version driver stack. > > Hence, this is to ask Linux how to solve this conflict with AHCI driver? > and why Linux wants to add RR642L ID (0x06421103) into AHCI driver? Is there > any way to prevent this in the future? Hmmm... so, you're trying to load a proprietary driver but you're having problem because in-kernel ahci attaches to the driver? * If the driver is built-in, putting the proprietary driver before ahci in Makefile will make that driver probe before ahci. * If module, ahci can be unbound by echoing the PCI bus ID to /sys/bus/pci/drivers/ahci/unbind and then bind that to the proprietary driver. * Or you can tell pci-stub driver do grab the PCI ID so that ahci doesn't probe it at all. Once the proprietary driver becomes available, the device can be rebound to the driver. Thanks. -- tejun -- 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/