pre 2.0.31-6 and 3c509 driver

Michael J. Maravillo (mmj@philonline.com.ph)
Fri, 15 Aug 1997 13:36:26 +0800 (GMT+0800)


Thanks for updating the 3c509 driver. There a minor difference
though from the current version on the homepage.

Mike

--- 3c509.c.orig Fri Aug 15 13:15:51 1997
+++ 3c509.c Fri Aug 15 13:29:22 1997
@@ -35,7 +35,7 @@
other cleanups. -djb
*/

-static char *version = "3c509.c:1.11 4/22/97 becker@cesdis.gsfc.nasa.gov\n";
+static char *version = "3c509.c:1.12 6/4/97 becker@cesdis.gsfc.nasa.gov\n";
/* A few values that may be tweaked. */

/* Time in jiffies before concluding the transmitter is hung. */
@@ -279,10 +279,8 @@
memcpy(dev->dev_addr, phys_addr, sizeof(phys_addr));
dev->base_addr = ioaddr;
dev->irq = irq;
- if (dev->mem_start)
- dev->if_port = dev->mem_start & 3;
- else
- dev->if_port = if_port;
+ dev->if_port = (dev->mem_start & 0x1f) ? dev->mem_start & 3 : if_port;
+
request_region(dev->base_addr, EL3_IO_EXTENT, "3c509");

{

__
Michael J. Maravillo Philippines Online
System Administrator PGP KeyID: 470AED9D InfoDyne, Incorporated
http://www.philonline.com.ph/~mmj/ 4A N&M Bldg, 1184 Chino Roces, Makati