All of lore.kernel.org
 help / color / mirror / Atom feed
* [trivial] no mili-bits-per-second for via-rhine
@ 2004-06-01 21:43 Pavel Machek
  2004-06-02  8:40 ` Roger Luethi
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2004-06-01 21:43 UTC (permalink / raw)
  To: jgarzik, Rusty trivial patch monkey Russell, kernel list

Hi!

via-rhine claims to support 100 mili-bits-per-second mode and one
place and 100 mega-bit-second mode ("100 mega-bit-seconds of storage
for only $1?"). This cleans it up.

								Pavel

--- tmp/linux/drivers/net/via-rhine.c	2004-05-20 23:08:19.000000000 +0200
+++ linux/drivers/net/via-rhine.c	2004-05-20 23:11:26.000000000 +0200
@@ -863,12 +863,12 @@
 		if (np->default_port & 0x330) {
 			/* FIXME: shouldn't someone check this variable? */
 			/* np->medialock = 1; */
-			printk(KERN_INFO "  Forcing %dMbs %s-duplex operation.\n",
+			printk(KERN_INFO "  Forcing %dMbps %s-duplex operation.\n",
 				   (option & 0x300 ? 100 : 10),
 				   (option & 0x220 ? "full" : "half"));
 			if (np->mii_cnt)
 				mdio_write(dev, np->phys[0], MII_BMCR,
-						   ((option & 0x300) ? 0x2000 : 0) |  /* 100mbps? */
+						   ((option & 0x300) ? 0x2000 : 0) |  /* 100Mbps? */
 						   ((option & 0x220) ? 0x0100 : 0));  /* Full duplex? */
 		}
 	}

-- 
934a471f20d6580d5aad759bf0d97ddc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-02  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-01 21:43 [trivial] no mili-bits-per-second for via-rhine Pavel Machek
2004-06-02  8:40 ` Roger Luethi

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.