[PATCH] [NETDEV] [005] dmfe : Add support for wake-on-lan [FIXED]

2007-02-07 Thread Levitsky Maxim
Hello , I just noticed a error in my patch , just a mistake , sorry please in dmfe_resume I mixed DMFE_WOL_LINKCHANGE | DMFE_WOL_MAGICPACKET , and WAKE_PHY | WAKE_MAGIC here goes updated patch: From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NET] [005] dmfe : Add support for wake-on-

[PATCH] [NETDEV] [002] dmfe : Fix possible oops

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NET] [002] dmfe : Fix possible oops Deallocate memory after driver is unregistred to prevent oops Don't dereference NULL pointer that can be returned by dev_alloc_skb in case of oom Signed-off-by: Maxim Levitsky <[EMAIL PROTECTED]> ---

[PATCH] [NETDEV] [001] dmfe : trivial/spelling fixes

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NET] [001] dmfe : trivial/spelling fixes Fix a typo, and wrap lines on 80-th column Signed-off-by: Maxim Levitsky <[EMAIL PROTECTED]> --- --- linux-2.6.20-org/drivers/net/tulip/dmfe.c   2007-02-03 11:47:52.0 +0200 +++ linux-2.6

[PATCH] [NETDEV] [005] dmfe : Add support for wake-on-lan

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NETDEV] [005] dmfe : Add support for wake-on-lan Adds support for wake on lan feature Signed-off-by: Maxim Levitsky <[EMAIL PROTECTED]> --- This board supports WOL on magic packet / link change / specific packet This adds support for WO

[PATCH] [NETDEV] [000] dmfe : fix bugs and add features

2007-02-07 Thread Levitsky Maxim
Hello, Before some time I decided to fix suspend/resume on my Davicom network card. During development I also fixed couple of bugs and added support for link detection and WOL Note : 2.6.20 already has support for link detection , but it is broken when card has external PHY , like mine. So here

[PATCH] [NETDEV] [004] dmfe : Add suspend/resume support

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NETDEV] [004] dmfe : Add suspend/resume support Adds support for suspend/resume --- --- linux-2.6.20-mod/drivers/net/tulip/dmfe.c   2007-02-07 18:46:13.0 +0200 +++ linux-2.6.20-test/drivers/net/tulip/dmfe.c  2007-02-07 18:50:52

[PATCH] [NETDEV] [003] dmfe : fix link detection

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NET] [003] dmfe : fix link detection Cleanup link detection Fix link not detected when using external PHY Signed-off-by: Maxim Levitsky <[EMAIL PROTECTED]> --- CR12's bits 0 and 1 show link status/speed only for internal PHY. In case ex