Patch to 3c59x.c

From: Pete Zaitcev (zaitcev@metabyte.com)
Date: Sat Feb 12 2000 - 01:27:52 EST


Hello,

recent intruduction of DMA cache coherency interfaces
allowed me to remove crud that I carried in my copy
of 3c59x.c and to think about a full merge. All I need
is this (against 2.3.43):

--- drivers/net/3c59x.c 2000/02/11 21:33:33 1.47
+++ drivers/net/3c59x.c 2000/02/12 06:05:36
@@ -333,10 +333,23 @@
 union wn3_config {
         int i;
         struct w3_config_fields {
+#if defined(__sparc__)
+ int pad25:7;
+ unsigned int autoselect:1;
+ unsigned int xcvr:4;
+ int pad18:2;
+ unsigned int ram_split:2;
+ int pad8:8;
+ unsigned int rom_size:2;
+ unsigned int ram_speed:2;
+ unsigned int ram_width:1;
+ unsigned int ram_size:3;
+#else
                 unsigned int ram_size:3, ram_width:1, ram_speed:2, rom_size:2;
                 int pad8:8;
                 unsigned int ram_split:2, pad18:2, xcvr:4, autoselect:1;
                 int pad24:7;
+#endif
         } u;
 };
 
@@ -1160,7 +1170,7 @@
                         printk(KERN_DEBUG "%s: Media %s has link beat, %x.\n",
                                    dev->name, media_tbl[dev->if_port].name, media_status);
                 } else if (vortex_debug > 1)
- printk(KERN_DEBUG "%s: Media %s is has no link beat, %x.\n",
+ printk(KERN_DEBUG "%s: Media %s has no link beat, %x.\n",
                                    dev->name, media_tbl[dev->if_port].name, media_status);
                 break;
           case XCVR_MII: case XCVR_NWAY:

Would the responsible person take it in?

Thank you in advance,
--Pete

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:22 EST