Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261921AbVCSXNS (ORCPT ); Sat, 19 Mar 2005 18:13:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261923AbVCSXNS (ORCPT ); Sat, 19 Mar 2005 18:13:18 -0500 Received: from are.twiddle.net ([64.81.246.98]:30595 "EHLO are.twiddle.net") by vger.kernel.org with ESMTP id S261921AbVCSXNQ (ORCPT ); Sat, 19 Mar 2005 18:13:16 -0500 Date: Sat, 19 Mar 2005 15:11:16 -0800 From: Richard Henderson To: Jeff Garzik Cc: Andrew Morton , Dave Jones , Greg KH , chas williams - CONTRACTOR , Leendert van Doorn , Reiner Sailer , Linux Kernel Subject: Re: [PATCH] alpha build fixes Message-ID: <20050319231116.GA4114@twiddle.net> Mail-Followup-To: Jeff Garzik , Andrew Morton , Dave Jones , Greg KH , chas williams - CONTRACTOR , Leendert van Doorn , Reiner Sailer , Linux Kernel References: <423BABBF.6030103@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <423BABBF.6030103@pobox.com> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 713 Lines: 18 On Fri, Mar 18, 2005 at 11:34:07PM -0500, Jeff Garzik wrote: > +/* TODO: integrate with include/asm-generic/pci.h ? */ > +static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) > +{ > + return channel ? 15 : 14; > +} Am I missing something, or is this *only* used by drivers/ide/pci/amd74xx.c? Why in the world would we have this much infrastructure for one driver? And why not just not compile that one for Alpha, since it'll never be used. r~ - 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/