mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.5.62 ide/pci/piix with CONFIG_PROC_FS=n
@ 2003-02-23  3:46 Randy.Dunlap
  2003-02-24 18:43 ` Randy.Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2003-02-23  3:46 UTC (permalink / raw)
  To: linux-kernel

Hi,

I haven't seen this reported, but maybe I just missed it.

drivers/ide/pci/piix.c: In function `piix_config_drive_for_dma':
drivers/ide/pci/piix.c:530: `no_piix_dma' undeclared (first use in this function)
drivers/ide/pci/piix.c:530: (Each undeclared identifier is reported only once
drivers/ide/pci/piix.c:530: for each function it appears in.)
drivers/ide/pci/piix.c: In function `piix_check_450nx':
drivers/ide/pci/piix.c:770: `no_piix_dma' undeclared (first use in this function)

~Randy




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.5.62 ide/pci/piix with CONFIG_PROC_FS=n
  2003-02-23  3:46 2.5.62 ide/pci/piix with CONFIG_PROC_FS=n Randy.Dunlap
@ 2003-02-24 18:43 ` Randy.Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2003-02-24 18:43 UTC (permalink / raw)
  To: alan; +Cc: linux-kernel, andre

On Sat, 22 Feb 2003 19:46:58 -0800 (PST)
"Randy.Dunlap" <rddunlap@osdl.org> wrote:

| I haven't seen this reported, but maybe I just missed it.
| 
| drivers/ide/pci/piix.c: In function `piix_config_drive_for_dma':
| drivers/ide/pci/piix.c:530: `no_piix_dma' undeclared (first use in this function)
| drivers/ide/pci/piix.c:530: (Each undeclared identifier is reported only once
| drivers/ide/pci/piix.c:530: for each function it appears in.)
| drivers/ide/pci/piix.c: In function `piix_check_450nx':
| drivers/ide/pci/piix.c:770: `no_piix_dma' undeclared (first use in this function)


Here's a patch to build ide/pci/piix.c with CONFIG_PROC_FS=n.


patch_name:	piixdata-2562.patch
patch_version:	2003-02-24.10:29:21
author:		Randy.Dunlap <rddunlap@osdl.org>
description:	enable drivers/ide/pci/piix.c to compile with CONFIG_PROC_FS=n
product:	Linux
product_versions: linux-2.5.62
changelog:	_
URL:		_
requires:	_
conflicts:	_
diffstat:	=
 drivers/ide/pci/piix.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Naur ./drivers/ide/pci/piix.c%PIIX ./drivers/ide/pci/piix.c
--- ./drivers/ide/pci/piix.c%PIIX	Mon Feb 24 10:16:27 2003
+++ ./drivers/ide/pci/piix.c	Mon Feb 24 10:27:30 2003
@@ -106,6 +106,7 @@
 #include "ide_modes.h"
 #include "piix.h"
 
+static int no_piix_dma;
 #if defined(DISPLAY_PIIX_TIMINGS) && defined(CONFIG_PROC_FS)
 #include <linux/stat.h>
 #include <linux/proc_fs.h>
@@ -114,7 +115,6 @@
 #define PIIX_MAX_DEVS		5
 static struct pci_dev *piix_devs[PIIX_MAX_DEVS];
 static int n_piix_devs;
-static int no_piix_dma = 0;
 
 /**
  *	piix_get_info		-	fill in /proc for PIIX ide


--
~Randy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-24 18:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-23  3:46 2.5.62 ide/pci/piix with CONFIG_PROC_FS=n Randy.Dunlap
2003-02-24 18:43 ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®