public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Luke Reeves <lukelist@oceanlake.com>
To: linux-kernel@vger.kernel.org
Cc: Koby Kahane <kobyk@bigfoot.com>
Subject: Re: Linux 2.4.12 fails to compile with IEEE 1284 parport enabled
Date: Thu, 11 Oct 2001 15:37:54 -0400	[thread overview]
Message-ID: <3BC5F512.2090004@oceanlake.com> (raw)
In-Reply-To: <20011011212015.A7983@darkstar>

This patch fixes the problem, it was originally posted by Tim Waugh.

-- 
     Luke Reeves, Director of Development
     Oceanlake Commerce Inc.
     http://www.oceanlake.com/
     luke.reeves@oceanlake.NOSPAM.com

--- linux/drivers/parport/ieee1284_ops.c.orig	Thu Oct 11 09:40:39 2001
+++ linux/drivers/parport/ieee1284_ops.c	Thu Oct 11 09:40:42 2001
@@ -362,7 +362,7 @@
  	} else {
  		DPRINTK (KERN_DEBUG "%s: ECP direction: failed to reverse\n",
  	 
	 port->name);
- 
	port->ieee1284.phase = IEEE1284_PH_DIR_UNKNOWN;
+ 
	port->ieee1284.phase = IEEE1284_PH_ECP_DIR_UNKNOWN;
  	}

  	return retval;
@@ -394,7 +394,7 @@
  		DPRINTK (KERN_DEBUG
  	 
	 "%s: ECP direction: failed to switch forward\n",
  	 
	 port->name);
- 
	port->ieee1284.phase = IEEE1284_PH_DIR_UNKNOWN;
+ 
	port->ieee1284.phase = IEEE1284_PH_ECP_DIR_UNKNOWN;
  	}




Koby Kahane wrote:

> Hello,
> 
> while attempting to compile 2.4.12, during the module compilation phase, the following errors occur:
> 
> ...
> make -C parport modules
> make[2]: Entering directory `/usr/src/linux/drivers/parport'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h   -c -o share.o share.c
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h   -c -o ieee1284.o ieee1284.c
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h   -c -o ieee1284_ops.o ieee1284_ops.c
> ieee1284_ops.c: In function `ecp_forward_to_reverse':
> ieee1284_ops.c:365: `IEEE1284_PH_DIR_UNKNOWN' undeclared (first use in this function)
> ieee1284_ops.c:365: (Each undeclared identifier is reported only once
> ieee1284_ops.c:365: for each function it appears in.)
> ieee1284_ops.c: In function `ecp_reverse_to_forward':
> ieee1284_ops.c:397: `IEEE1284_PH_DIR_UNKNOWN' undeclared (first use in this function)
> make[2]: *** [ieee1284_ops.o] Error 1
> make[2]: Leaving directory `/usr/src/linux/drivers/parport'
> make[1]: *** [_modsubdir_parport] Error 2
> make[1]: Leaving directory `/usr/src/linux/drivers'
> make: *** [_mod_drivers] Error 2
> 
> The following configuration options which appear to be related are enabled:
> 
> ...
> #
> # Parallel port support
> #
> CONFIG_PARPORT=m
> CONFIG_PARPORT_PC=m
> CONFIG_PARPORT_PC_CML1=m
> CONFIG_PARPORT_SERIAL=m
> CONFIG_PARPORT_PC_FIFO=y
> CONFIG_PARPORT_PC_SUPERIO=y
> # CONFIG_PARPORT_PC_PCMCIA is not set
> # CONFIG_PARPORT_AMIGA is not set
> # CONFIG_PARPORT_MFC3 is not set
> # CONFIG_PARPORT_ATARI is not set
> # CONFIG_PARPORT_SUNBPP is not set
> # CONFIG_PARPORT_OTHER is not set
> CONFIG_PARPORT_1284=y
> ...
> 
> This configuration worked fine with 2.4.11.
> 
>   Koby Kahane
> 
> -
> 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/
> 
> 



      reply	other threads:[~2001-10-11 19:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-11 19:20 Linux 2.4.12 fails to compile with IEEE 1284 parport enabled Koby Kahane
2001-10-11 19:37 ` Luke Reeves [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BC5F512.2090004@oceanlake.com \
    --to=lukelist@oceanlake.com \
    --cc=kobyk@bigfoot.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox