All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gavriel State" <u497w7n9@umail.furryterror.org>
To: linuxppc-dev@lists.linuxppc.org
Subject: Patch for Megahertz PCMCIA Ethernet support
Date: Sat, 13 Feb 1999 09:45:10 -0500	[thread overview]
Message-ID: <199902131443.JAA07700@linuxmaster.corel.eng> (raw)


I've had much more success with the latest (3.08) PCMCIA code
and my Megahertz card.  Here's a patch that solves the remaining
problems with the Megahertz card (the last two bytes were being
swapped by the output code).

Is there anyone I should be sending this to in particular, or is
the list the best place?

--- smc91c92_cs.c Mon Feb  8 14:08:02 1999
+++ smc91c92_cs.c.orig Mon Jan 18 08:22:11 1999
@@ -1200,8 +1200,8 @@
 #ifdef USE_32_BIT
  outl((length+6) << 16, ioaddr + DATA_1);
  if (length & 0x2) {
-     outsl_ns(ioaddr + DATA_1, buf,  length >> 2 );
-     outw_ns( *((uint16 *)(buf + (length & 0xFFFFFFFC))),ioaddr +DATA_1);
+     outsl(ioaddr + DATA_1, buf,  length >> 2 );
+     outw( *((uint16 *)(buf + (length & 0xFFFFFFFC))),ioaddr +DATA_1);
  } else
      outsl_ns(ioaddr + DATA_1, buf,  length >> 2 );
 #else

-Gav

--
Gavriel State
Engineering Project Leader - Linux Apps
Corel Corp
gavriels@corel.com



[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

                 reply	other threads:[~1999-02-13 14:45 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=199902131443.JAA07700@linuxmaster.corel.eng \
    --to=u497w7n9@umail.furryterror.org \
    --cc=linuxppc-dev@lists.linuxppc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.