[PATCH 6/7] PS3: gelic: Add support for dual network interface

2008-02-07 Thread Masakazu Mokuno
PS3: gelic: Add support for dual network interface Add support for dual network (net_device) interface so that ethernet and wireless can own separate ethX interfaces. V2 - Fix the bug that bringing down and up the interface keeps rx disabled. - Make 'gelic_net_poll_controller()' extern ,

[PATCH 4/7] PS3: gelic: remove duplicated ethtool handlers

2008-02-07 Thread Masakazu Mokuno
PS3: gelic: remove duplicated ethtool handlers Remove some ethtool handlers, which duplicate functionality that was already provided by the common ethtool handlers. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c | 43

[PATCH 1/7] PS3: gelic: Fix the wrong dev_id passed

2008-02-07 Thread Masakazu Mokuno
PS3: gelic: Fix the wrong dev_id passed The device id for lv1_net_set_interrupt_status_indicator() is wrong. This path would be invoked only in the case of an initialization failure. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c |2 +- 1 file changed, 1

[PATCH 0/7] PS3: gelic: gelic updates and wireless support

2008-02-07 Thread Masakazu Mokuno
[6] PS3: gelic: Add support for dual network interface [7] PS3: gelic: Add wireless support for PS3 -- Masakazu MOKUNO -- 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

[PATCH 2/7] PS3: gelic: Add endianness macros

2008-02-07 Thread Masakazu Mokuno
PS3: gelic: Add endianness macros Mark the members of the structure for DMA descriptors with proper endian annotations and use the appropriate accessor macros. As the gelic driver works only on PS3, all these macros will be expanded to null. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED

[PATCH 3/7] PS3: gelic: code cleanup

2008-02-07 Thread Masakazu Mokuno
. - Group constants with enum. - Use bitwise constants for interrupt status, instead of bit numbers to eliminate shift operations. - Style fixes. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c | 464 +--- drivers/net

[PATCH 5/7] PS3: gelic: add support for port link status

2008-02-07 Thread Masakazu Mokuno
PS3: gelic: add support for port link status Add support for interrupt driven port link status detection. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c | 77 drivers/net/ps3_gelic_net.h |2 + 2 files changed

Re: [PATCH 0/6] PS3: gelic: gelic updates for 2.6.25

2008-01-29 Thread Masakazu Mokuno
with my wireless patch because the dependent patch set will go into the tree. best regards -- Masakazu MOKUNO -- 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

Re: [PATCH v2] PS3: gelic: Add wireless support for PS3

2008-01-24 Thread Masakazu Mokuno
On Thu, 24 Jan 2008 21:47:25 -0500 John W. Linville [EMAIL PROTECTED] wrote: On Thu, Jan 24, 2008 at 08:49:45PM -0500, Dan Williams wrote: On Thu, 2008-01-24 at 14:51 +0900, Masakazu Mokuno wrote: Hi PS3: gelic: Add wireless support for PS3 This is the version 2 of the re

[PATCH 6/6 v2] PS3: gelic: Add support for dual network interface

2008-01-23 Thread Masakazu Mokuno
This is a prerequisite for the new PS3 wireless support. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c | 765 +++- drivers/net/ps3_gelic_net.h | 108 +- 2 files changed, 564 insertions(+), 309 deletions(-) --- a/drivers/net

Re: [WEXT 8/12]: Pull top-level ioctl dispatch logic into helper function.

2008-01-21 Thread Masakazu Mokuno
in the case of 'ret == 0'? Same issue exists in compat_wext_handle_ioctl() of the #9 patch. + IW_IS_GET(cmd) + copy_to_user(arg, ifr, sizeof(struct iwreq))) return -EFAULT; + return ret; } -- Masakazu MOKUNO -- To unsubscribe from this list: send

Re: : Emit event stream compat iw_point objects correctly.

2008-01-21 Thread Masakazu Mokuno
Hi Sorry for my intermittent posts. On Thu, 10 Jan 2008 01:16:02 -0800 (PST) David Miller [EMAIL PROTECTED] wrote: From: Masakazu Mokuno [EMAIL PROTECTED] Date: Thu, 27 Dec 2007 18:24:40 +0900 On ppc64 (PS3), IW_EV_LCP_LEN is 8, not 4. include/linux/wireless.h: #define

Re: [PATCH] PS3: gelic: Add wireless support for PS3

2007-12-21 Thread Masakazu Mokuno
, Thank you for your reviewing. I'll fix it. -- Masakazu MOKUNO -- 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

Re: [PATCH] PS3: gelic: Add wireless support for PS3

2007-12-20 Thread Masakazu Mokuno
the hypervisor guy. Unfortunately all EAPOL frames would be dropped by the wireless chip firmware. -- Masakazu MOKUNO -- 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

[PATCH 0/6] PS3: gelic: gelic updates for 2.6.25

2007-12-13 Thread Masakazu Mokuno
later. Thanks for reviewing! -- Masakazu MOKUNO -- 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

[PATCH 1/6] PS3: gelic: Fix the wrong dev_id passed

2007-12-13 Thread Masakazu Mokuno
PS3: gelic: Fix the wrong dev_id passed The device id for lv1_net_set_interrupt_status_indicator() would be wrong. This path would be invoked only in the case of the initialization failure. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c |2 +- 1 file

[PATCH 4/6] PS3: gelic: remove duplicated ethtool handers

2007-12-13 Thread Masakazu Mokuno
PS3: gelic: remove duplicated ethtool handers Remove some ethtool handers, which the common ethtool handlers already has in functionality Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c | 43 +++ 1 file changed, 3

[PATCH 5/6] PS3: gelic: add support for port link status

2007-12-13 Thread Masakazu Mokuno
PS3: gelic: add support for port link status Add support for interrupt driven port link status detection. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c | 77 drivers/net/ps3_gelic_net.h |2 + 2 files changed

[PATCH 6/6] PS3: gelic: Add support for dual network interface

2007-12-13 Thread Masakazu Mokuno
dual {source,destination} interfaces. - Use new NAPI functions This is a prerequisite for the new PS3 wireless support. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c | 721 ++-- drivers/net/ps3_gelic_net.h | 107

[PATCH 3/6] PS3: gelic: code cleanup

2007-12-13 Thread Masakazu Mokuno
. - Group constatns with enum. - Use bitwise constatns for interrupt status, instead of bit number to eliminate shift operations. - Style fixes. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c | 464 +--- drivers/net

[PATCH 2/6] PS3: gelic: Add endianness macros

2007-12-13 Thread Masakazu Mokuno
PS3: gelic: Add endianness macros Mark the members of the structure for DMA descriptor proper endian and use appropriate accessor macros. As gelic driver works only on PS3, all these macros will be expanded null. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c

Re: [PATCH] PS3: gelic: Add wireless support for PS3

2007-12-13 Thread Masakazu Mokuno
the association and 4way handshake in its firmware/hypervisor. No interventions between them are allowed to the guest OSes. All frames which are sent/received from/to before the connection process completed seems to be dropped by the hardware. Only the static WEP is supported. -- Masakazu MOKUNO

Re: [PATCH] PS3: gelic: Add wireless support for PS3

2007-12-13 Thread Masakazu Mokuno
. -- Masakazu MOKUNO -- 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

Re: [PATCH 1/2] PS3: improve tx throughput for gelic driver

2007-08-31 Thread Masakazu Mokuno
On Fri, 31 Aug 2007 06:57:03 -0400 Jeff Garzik [EMAIL PROTECTED] wrote: Masakazu Mokuno wrote: Improve tx throughputs. netperf score gained approximately 20% This is a useless patch description. It does not adequately summarize the changes contained within the patch

[PATCH 0/2 v2] PS3: gelic updates

2007-08-31 Thread Masakazu Mokuno
Hi Jeff, The comments for the patch #1 was rewritten. I believe it's more descriptive than the older one. #1 Change the way to handle tx skbs (comments rewritten) #2 Remove work-around code no longer needed regards. -- Masakazu MOKUNO - To unsubscribe from this list: send the line

[PATCH 1/2 v2] PS3: changed the way to handle tx skbs

2007-08-31 Thread Masakazu Mokuno
make the headroom for moving mac address fields in the skb buffer. Then we can send one tx skb with one tx descriptor. This also gives us a tx throughut gain of approx. 20% according to netperf results. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] CC: Geoff Levand [EMAIL PROTECTED] --- drivers

[PATCH 2/2 v2] PS3: Remove the workaround no longer needed

2007-08-31 Thread Masakazu Mokuno
Removed the workaround that was needed for PS3 firmware versions prior to the first release. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] CC: Geoff Levand [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c | 16 1 file changed, 4 insertions(+), 12 deletions

[PATCH 0/2] PS3: gelic updates

2007-08-29 Thread Masakazu Mokuno
Hi, Two updates for the gelic network driver; - Improve tx throughput - Remove work-around code no longer needed -- Masakazu MOKUNO - 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

[PATCH 2/2] PS3: Remove the workaround no longer needed

2007-08-29 Thread Masakazu Mokuno
Removed the workaround that was needed for PS3 firmware versions prior to the first release. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] CC: Geoff Levand [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c | 16 1 file changed, 4 insertions(+), 12 deletions

[PATCH 1/2] PS3: improve tx throughput for gelic driver

2007-08-29 Thread Masakazu Mokuno
Improve tx throughputs. netperf score gained approximately 20% Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] CC: Geoff Levand [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c | 140 +++- 1 file changed, 63 insertions(+), 77 deletions

[PATCH] PS3: fix the bug that 'ifconfig down' would hang

2007-08-27 Thread Masakazu Mokuno
Fix the bug that 'ifconfig eth0 down' would hang up, reported by Stefan Assmann [EMAIL PROTECTED]. As we removed netif_poll_enable() from dev-open(), we should not use netif_poll_disable() in dev-stop(). Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] CC: Geoff Levand [EMAIL PROTECTED

Re: ps3 gelic network driver doesn't restart properly

2007-08-26 Thread Masakazu Mokuno
and Mike. -- Masakazu MOKUNO - 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

[PATCH 0/10] ps3: fixes for ps3_gelic driver

2007-07-20 Thread Masakazu Mokuno
] ps3: reduce allocation size of rx skb buffers -- Masakazu MOKUNO - 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

[PATCH 1/10] ps3: fix wrong calculation of rx descriptor address

2007-07-20 Thread Masakazu Mokuno
Fixed the bug that calculation of the address of rx descriptor was wrong. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ps3_gelic_net.c +++ b/drivers/net/ps3_gelic_net.c @@ -1107,7

[PATCH 2/10] ps3: some minor cleanups

2007-07-20 Thread Masakazu Mokuno
- Removed the embarrassing definition which was used in only one place. - Fixed wrong initialization of dmac_cmd_status. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c |5 +++-- drivers/net/ps3_gelic_net.h |1 - 2 files changed, 3 insertions(+), 3

[PATCH 3/10] ps3: tx descriptor handling cleanup

2007-07-20 Thread Masakazu Mokuno
descriptors are more than 2 - Fixed descriptor leak if dma map for second descriptor failed - Stopped calling xmit handler from interrupt handler in order to recheck tx queue. Instead, call appropriate helper functions. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED

[PATCH 4/10] ps3: removed defines no longer used

2007-07-20 Thread Masakazu Mokuno
Removed defines no longer used. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.h |7 --- 1 file changed, 7 deletions(-) --- a/drivers/net/ps3_gelic_net.h +++ b/drivers/net/ps3_gelic_net.h @@ -28,15 +28,8 @@ #ifndef _GELIC_NET_H #define _GELIC_NET_H

[PATCH 5/10] ps3: removed conditional ethtool support

2007-07-20 Thread Masakazu Mokuno
Removed conditional ethtool support. Always enabled. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c |4 drivers/net/ps3_gelic_net.h |2 -- 2 files changed, 6 deletions(-) --- a/drivers/net/ps3_gelic_net.c +++ b/drivers/net/ps3_gelic_net.c

[PATCH 6/10] ps3: use net_device_stats of net_device structure

2007-07-20 Thread Masakazu Mokuno
Removed the statistics information from private structre. Instead, use net_device_stats in net_device structure. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c | 31 --- drivers/net/ps3_gelic_net.h |1 - 2 files changed, 8

[PATCH 7/10] ps3: use ethX as the name of irq

2007-07-20 Thread Masakazu Mokuno
Use net_device name for registration of irq as many network drivers do. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ps3_gelic_net.c +++ b/drivers/net/ps3_gelic_net.c @@ -1073,7

[PATCH 8/10] ps3: removed calling netif_poll_enable() in open()

2007-07-20 Thread Masakazu Mokuno
Removed use of netif_poll_enable() in open function. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c |1 - 1 file changed, 1 deletion(-) --- a/drivers/net/ps3_gelic_net.c +++ b/drivers/net/ps3_gelic_net.c @@ -1134,7 +1134,6 @@ static int gelic_net_open

[PATCH 10/10] ps3: reduce allocation size of rx skb buffers

2007-07-20 Thread Masakazu Mokuno
Reduced allocation size for rx skb buffers, from 2308 bytes to 1356 per buffer. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c | 45 drivers/net/ps3_gelic_net.h | 12 ++- 2 files changed, 44 insertions

[PATCH 9/10] ps3: fix rare issue that reenabling rx DMA fails

2007-07-20 Thread Masakazu Mokuno
of the hypervisor would be updated by processing interrupt in the hypervisor. Thus we should wait for the interrupt delivery before restarting DMA. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c |9 +++-- drivers/net/ps3_gelic_net.h |1 + 2 files

Re: [PATCH] ps3: gigabit ethernet driver for PS3, take3

2007-07-13 Thread Masakazu Mokuno
Hi Sthephen, Thank you for your review. I'll submit the patches which would fix these issues. -- Masakazu MOKUNO - 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

[PATCH] ps3: fix return value in the case of tx error

2007-07-12 Thread Masakazu Mokuno
Hi This patch fixes the improper return value of the hard_start_xmit() handler of PS3 gelic network driver. Signed-off-by: Masakazu Mokuno [EMAIL PROTECTED] --- drivers/net/ps3_gelic_net.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net

[PATCH] ps3: gigabit ethernet driver for PS3, take3

2007-07-05 Thread Masakazu Mokuno
If there are no more comments, please apply for 2.6.23. Thank you -- Subject: PS3: Ethernet driver From: Masakazu Mokuno [EMAIL PROTECTED] Add Gigabit Ethernet support for the PS3 game console. The module will be called ps3_gelic. CC: Geoff Levand [EMAIL PROTECTED] Signed-off-by: Masakazu Mokuno

Re: [PATCH] ps3: gigabit ethernet driver for PS3, take2

2007-07-03 Thread Masakazu Mokuno
-$(CONFIG_GELIC_NET) += gelic_net.o obj-$(CONFIG_GELIC_WIRELESS) += gelic_wireless.o then we would get two modules gelic_net.ko and gelic_wireless.ko, which we don't want. -- Masakazu MOKUNO - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH] ps3: gigabit ethernet driver for PS3, take2

2007-06-25 Thread Masakazu Mokuno
On Sat, 23 Jun 2007 11:09:04 -0700 Geoff Levand [EMAIL PROTECTED] wrote: MOKUNO Masakazu wrote: --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2920,6 +2920,12 @@ M: [EMAIL PROTECTED] L: [EMAIL PROTECTED] S: Maintained +PS3 NETWORK SUPPORT +P: Masakazu Mokuno +M: [EMAIL