public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bryan <bwkadzba@mtu.edu>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] kernel 2.4.12: drivers/parport/ieee1284_ops.c undefined symbol
Date: Tue, 16 Oct 2001 21:47:39 -0400	[thread overview]
Message-ID: <3BCCE33B.E73F381A@mtu.edu> (raw)

[-- 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 --]

                 reply	other threads:[~2001-10-17  1:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3BCCE33B.E73F381A@mtu.edu \
    --to=bwkadzba@mtu.edu \
    --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