From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753996AbbLVIJP (ORCPT ); Tue, 22 Dec 2015 03:09:15 -0500 Received: from mx2.suse.de ([195.135.220.15]:44806 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753160AbbLVIJN (ORCPT ); Tue, 22 Dec 2015 03:09:13 -0500 Subject: Re: [PATCH v3 77/77] ncr5380: Add support for HP C2502 To: Finn Thain , "James E.J. Bottomley" , Michael Schmitz , linux-m68k@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, "Martin K. Petersen" References: <20151222011737.980475848@telegraphics.com.au> <20151222011758.956108574@telegraphics.com.au> Cc: Ondrej Zary From: Hannes Reinecke Message-ID: <56790527.4010006@suse.de> Date: Tue, 22 Dec 2015 09:09:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151222011758.956108574@telegraphics.com.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/22/2015 02:18 AM, Finn Thain wrote: > From: Ondrej Zary > > HP C2502 cards (based on 53C400A chips) use different magic numbers for > software-based I/O address configuration than other cards. > The configuration is also extended to allow setting the IRQ. > > Move the configuration to a new function magic_configure() and move > magic the magic numbers into an array. Add new magic numbers for these > HP cards and hp_c2502 module parameter to use them, e.g.: > modprobe g_NCR5380 ncr_irq=7 ncr_addr=0x280 hp_c2502=1 > > Tested with HP C2502 and DTCT-436P. > > Signed-off-by: Ondrej Zary > Signed-off-by: Finn Thain > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)