linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Patch for Megahertz PCMCIA Ethernet support
@ 1999-02-13 14:45 Gavriel State
  0 siblings, 0 replies; only message in thread
From: Gavriel State @ 1999-02-13 14:45 UTC (permalink / raw)
  To: linuxppc-dev


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

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

only message in thread, other threads:[~1999-02-13 14:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-13 14:45 Patch for Megahertz PCMCIA Ethernet support Gavriel State

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).