public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel 2.4.12: drivers/parport/ieee1284_ops.c undefined symbol
@ 2001-10-17  1:47 Bryan
  0 siblings, 0 replies; only message in thread
From: Bryan @ 2001-10-17  1:47 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 997 bytes --]

When compiling the latest kernel (2.4.12), gcc failed, in
drivers/parport/ieee1284_ops.c with two errors about an undefined
symbol, IEEE1284_PH_DIR_UNKNOWN.

I looked at the source, and found that the symbol apparently (as far as
I can tell, anyway) should have been IEEE1284_PH_ECP_DIR_UNKNOWN.

I made the changes, recompiled, set my parallel port to ECP in the BIOS,
and was able to successfully print using lpr, so I am fairly sure it
works well.  However, I haven't been able to try any demanding
ECP-specific tests (like, for example, custom hardware using the ECP
protocol, with both forward and reverse channels).  I have no such
hardware.

Let me know if the change makes sense or not.  Thanks.

Oh, and I am using gcc 2.95.3, make 3.79.1, and binutils 2.11.90.0.8, if
that matters (I think not, given the nature of the error).

Sorry if this has been addressed already, but I didn't see it in a
search of the archive (through Oct 15) on
uwsg.indiana.edu/hypermail/linux/kernel/index.html

[-- Attachment #2: parport-ecp-fix-2.4.12.diff.tar --]
[-- Type: application/x-tar, Size: 10240 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-17  1:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-17  1:47 [PATCH] kernel 2.4.12: drivers/parport/ieee1284_ops.c undefined symbol Bryan

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