netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] remove broken bitfield use from via-rhine
@ 2004-05-22 23:11 Christoph Hellwig
  2004-05-27 19:13 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2004-05-22 23:11 UTC (permalink / raw)
  To: jgarzik; +Cc: netdev

From: Debian kernel package, author probably Herbert Xu


we're using it to assign if_port to it only anyway so it should have the
same type.



 * Fixed size of default_port in drivers/net/via-rhine.c

diff -urN kernel-source-2.6.6/drivers/net/via-rhine.c kernel-source-2.6.6-1/drivers/net/via-rhine.c
--- kernel-source-2.6.6/drivers/net/via-rhine.c	2004-05-10 19:47:56.000000000 +1000
+++ kernel-source-2.6.6-1/drivers/net/via-rhine.c	2004-05-10 22:21:34.000000000 +1000
@@ -523,8 +523,8 @@
 	u16 chip_cmd;						/* Current setting for ChipCmd */
 
 	/* These values are keep track of the transceiver/media in use. */
-	unsigned int default_port:4;		/* Last dev->if_port value. */
 	u8 tx_thresh, rx_thresh;
+	unsigned int default_port;		/* Last dev->if_port value. */
 
 	/* MII transceiver section. */
 	unsigned char phys[MAX_MII_CNT];			/* MII device addresses. */

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

* Re: [PATCH] remove broken bitfield use from via-rhine
  2004-05-22 23:11 [PATCH] remove broken bitfield use from via-rhine Christoph Hellwig
@ 2004-05-27 19:13 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2004-05-27 19:13 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: netdev

looks OK, forwarded to maintainer Roger Luethi

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

end of thread, other threads:[~2004-05-27 19:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-22 23:11 [PATCH] remove broken bitfield use from via-rhine Christoph Hellwig
2004-05-27 19:13 ` Jeff Garzik

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).