Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756759Ab0F3TRN (ORCPT ); Wed, 30 Jun 2010 15:17:13 -0400 Received: from mail-gx0-f174.google.com ([209.85.161.174]:64328 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753845Ab0F3TRK (ORCPT ); Wed, 30 Jun 2010 15:17:10 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=xX96g9Ji/nM8ilSvTdHgOxB4PoB5Qgq39E1gJUI1042ewqD4OoQDz5AbuTlUkahvl4 Q+N2OM6fEb4tD3FOqd22PkNv9oP+vwKrDO+7F7GICOpZWSZiwsAaqbvGKCdepqQUYD26 6Gtjf8m/VjiRwalYTSnKZKXaNmHNhfJQGasEg= Message-ID: <4C2B9831.9020801@pobox.com> Date: Wed, 30 Jun 2010 15:17:05 -0400 From: Jeff Garzik User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4 MIME-Version: 1.0 To: Wolfgang Denk CC: Rupjyoti Sarmah , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, sr@denx.de, linuxppc-dev@ozlabs.org Subject: Re: [PATCH v1]460EX on-chip SATA driver References: <201006241327.o5ODRY6m032299@amcc.com> <20100630115808.2D9241524EC@gemini.denx.de> <3b928476b2fffdcf0694e5436e8a482f@mail.gmail.com> <20100630184728.C02D014EBF9@gemini.denx.de> In-Reply-To: <20100630184728.C02D014EBF9@gemini.denx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1763 Lines: 38 On 06/30/2010 02:47 PM, Wolfgang Denk wrote: > Dear Rupjyoti Sarmah, > > In message<3b928476b2fffdcf0694e5436e8a482f@mail.gmail.com> you wrote: >> >> I took the mainline kernel v2.6.35-rc3 and downloaded using the git >> download link. >> I created the patch on 6/24/2010 after doing a git pull. > > I don;t think that you used v2.6.35-rc3; using this version, I still > get this: > > drivers/ata/sata_dwc_460ex.c:43:1: warning: "DRV_NAME" redefined > In file included from drivers/ata/sata_dwc_460ex.c:38: > drivers/ata/libata.h:31:1: warning: this is the location of the previous definition > drivers/ata/sata_dwc_460ex.c:44:1: warning: "DRV_VERSION" redefined > drivers/ata/libata.h:32:1: warning: this is the location of the previous definition > drivers/ata/sata_dwc_460ex.c: In function 'sata_dwc_scr_read': > drivers/ata/sata_dwc_460ex.c:777: error: 'struct ata_port' has no member named 'ioaddr' > drivers/ata/sata_dwc_460ex.c: In function 'sata_dwc_scr_write': > drivers/ata/sata_dwc_460ex.c:793: error: 'struct ata_port' has no member named 'ioaddr' > drivers/ata/sata_dwc_460ex.c: In function 'sata_dwc_error_intr': > drivers/ata/sata_dwc_460ex.c:844: error: 'struct ata_port_operations' has no member named 'sff_check_status' It looks like -your- build config is missing CONFIG_ATA_SFF or similar. If you actually look at include/linux/libata.h, you see that struct ata_port_operations most definitely has a member named sff_check_status, for example. Ditto ata_port and member ioaddr, etc. Jeff -- 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/