Richard Dawe <[EMAIL PROTECTED]> :
[...]
> Attached is a patch against 2.6.13-rc6 that converts the r8169 driver to 
> use constants from <linux/mii.h> for the MII registers, instead of using 
> its own enums.
> 
> Bye, Rich =]
> 
> "r8169: Use constants from <linux/mii.h>"
> Signed-off-by: Richard Dawe <[EMAIL PROTECTED]>

> --- linux-2.6.13-rc6/drivers/net/r8169.c.orig 2005-08-07 19:18:56.000000000 
> +0100
> +++ linux-2.6.13-rc6/drivers/net/r8169.c      2005-08-24 15:06:55.000000000 
> +0100
> @@ -65,6 +65,7 @@ VERSION 2.2LK       <2005/01/25>
>  #include <linux/tcp.h>
>  #include <linux/init.h>
>  #include <linux/dma-mapping.h>
> +#include <linux/mii.h>
             ^^^^^^^^^^^ -> already included.

If you want to experiment with the mii interface you can try the
following serie. It is broken as soon as r8169-770.patch is applied
but that's just a detail.

--
Ueimor
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to