linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] Blackfin fixes for 2.6.30
@ 2009-05-26  9:15 Mike Frysinger
  2009-05-26  9:15 ` [PATCH 1/7] bfin_mac: fix build error due to net_device_ops convert Mike Frysinger
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Mike Frysinger @ 2009-05-26  9:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: uclinux-dist-devel

Sorry for being so late, but our previous Blackfin maintainer has moved
on, so we've been working at picking up the slack.

So the stuff here for 2.6.30 is just simple build fixes, gitignore tweaks,
MAINTAINER updates, and hooking up the new pread syscalls (which was posted
a while ago already).

Mike Frysinger (7):
  bfin_mac: fix build error due to net_device_ops convert
  Blackfin: hook up preadv/pwritev syscalls
  MAINTAINERS: update Blackfin items
  MAINTAINERS: drop (subscribers-only) markings on Blackfin lists
  Blackfin: ignore generated vmlinux.lds
  Blackfin: drop unneeded asm/.gitignore
  Blackfin: fix strncmp.o build error

 MAINTAINERS                          |   18 +++++++++---------
 arch/blackfin/include/asm/.gitignore |    1 -
 arch/blackfin/include/asm/unistd.h   |    4 +++-
 arch/blackfin/kernel/.gitignore      |    1 +
 arch/blackfin/lib/strncmp.c          |    3 +--
 arch/blackfin/mach-common/entry.S    |    2 ++
 drivers/net/bfin_mac.c               |   29 ++++++++++++++---------------
 7 files changed, 30 insertions(+), 28 deletions(-)
 delete mode 100644 arch/blackfin/include/asm/.gitignore
 create mode 100644 arch/blackfin/kernel/.gitignore


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

* [PATCH 1/7] bfin_mac: fix build error due to net_device_ops convert
  2009-05-26  9:15 [PATCH 0/7] Blackfin fixes for 2.6.30 Mike Frysinger
@ 2009-05-26  9:15 ` Mike Frysinger
  2009-05-26  9:15 ` [PATCH 2/7] Blackfin: hook up preadv/pwritev syscalls Mike Frysinger
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Mike Frysinger @ 2009-05-26  9:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: uclinux-dist-devel, Alexander Beregalov, David S. Miller

The previous commit "convert to net_device_ops" broke the Blackfin MAC
driver as it declared the new structure before the function it used:
  CC      drivers/net/bfin_mac.o
drivers/net/bfin_mac.c:984: error: ‘bfin_mac_close’ undeclared here (not in a function)
make[1]: *** [drivers/net/bfin_mac.o] Error 1

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Alexander Beregalov <a.beregalov@gmail.com>
CC: David S. Miller <davem@davemloft.net>
---
 drivers/net/bfin_mac.c |   29 ++++++++++++++---------------
 1 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c
index 9f971ed..b4da182 100644
--- a/drivers/net/bfin_mac.c
+++ b/drivers/net/bfin_mac.c
@@ -979,22 +979,7 @@ static int bfin_mac_open(struct net_device *dev)
 	return 0;
 }
 
-static const struct net_device_ops bfin_mac_netdev_ops = {
-	.ndo_open		= bfin_mac_open,
-	.ndo_stop		= bfin_mac_close,
-	.ndo_start_xmit		= bfin_mac_hard_start_xmit,
-	.ndo_set_mac_address	= bfin_mac_set_mac_address,
-	.ndo_tx_timeout		= bfin_mac_timeout,
-	.ndo_set_multicast_list	= bfin_mac_set_multicast_list,
-	.ndo_validate_addr	= eth_validate_addr,
-	.ndo_change_mtu		= eth_change_mtu,
-#ifdef CONFIG_NET_POLL_CONTROLLER
-	.ndo_poll_controller	= bfin_mac_poll,
-#endif
-};
-
 /*
- *
  * this makes the board clean up everything that it can
  * and not talk to the outside world.   Caused by
  * an 'ifconfig ethX down'
@@ -1019,6 +1004,20 @@ static int bfin_mac_close(struct net_device *dev)
 	return 0;
 }
 
+static const struct net_device_ops bfin_mac_netdev_ops = {
+	.ndo_open		= bfin_mac_open,
+	.ndo_stop		= bfin_mac_close,
+	.ndo_start_xmit		= bfin_mac_hard_start_xmit,
+	.ndo_set_mac_address	= bfin_mac_set_mac_address,
+	.ndo_tx_timeout		= bfin_mac_timeout,
+	.ndo_set_multicast_list	= bfin_mac_set_multicast_list,
+	.ndo_validate_addr	= eth_validate_addr,
+	.ndo_change_mtu		= eth_change_mtu,
+#ifdef CONFIG_NET_POLL_CONTROLLER
+	.ndo_poll_controller	= bfin_mac_poll,
+#endif
+};
+
 static int __devinit bfin_mac_probe(struct platform_device *pdev)
 {
 	struct net_device *ndev;
-- 
1.6.3.1


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

* [PATCH 2/7] Blackfin: hook up preadv/pwritev syscalls
  2009-05-26  9:15 [PATCH 0/7] Blackfin fixes for 2.6.30 Mike Frysinger
  2009-05-26  9:15 ` [PATCH 1/7] bfin_mac: fix build error due to net_device_ops convert Mike Frysinger
@ 2009-05-26  9:15 ` Mike Frysinger
  2009-05-26  9:15 ` [PATCH 3/7] MAINTAINERS: update Blackfin items Mike Frysinger
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Mike Frysinger @ 2009-05-26  9:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: uclinux-dist-devel

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 arch/blackfin/include/asm/unistd.h |    4 +++-
 arch/blackfin/mach-common/entry.S  |    2 ++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/arch/blackfin/include/asm/unistd.h b/arch/blackfin/include/asm/unistd.h
index 1e57b63..cf5066d 100644
--- a/arch/blackfin/include/asm/unistd.h
+++ b/arch/blackfin/include/asm/unistd.h
@@ -378,8 +378,10 @@
 #define __NR_dup3		363
 #define __NR_pipe2		364
 #define __NR_inotify_init1	365
+#define __NR_preadv		366
+#define __NR_pwritev		367
 
-#define __NR_syscall		366
+#define __NR_syscall		368
 #define NR_syscalls		__NR_syscall
 
 /* Old optional stuff no one actually uses */
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S
index 21e65a3..a063a43 100644
--- a/arch/blackfin/mach-common/entry.S
+++ b/arch/blackfin/mach-common/entry.S
@@ -1581,6 +1581,8 @@ ENTRY(_sys_call_table)
 	.long _sys_dup3
 	.long _sys_pipe2
 	.long _sys_inotify_init1	/* 365 */
+	.long _sys_preadv
+	.long _sys_pwritev
 
 	.rept NR_syscalls-(.-_sys_call_table)/4
 	.long _sys_ni_syscall
-- 
1.6.3.1


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

* [PATCH 3/7] MAINTAINERS: update Blackfin items
  2009-05-26  9:15 [PATCH 0/7] Blackfin fixes for 2.6.30 Mike Frysinger
  2009-05-26  9:15 ` [PATCH 1/7] bfin_mac: fix build error due to net_device_ops convert Mike Frysinger
  2009-05-26  9:15 ` [PATCH 2/7] Blackfin: hook up preadv/pwritev syscalls Mike Frysinger
@ 2009-05-26  9:15 ` Mike Frysinger
  2009-05-26  9:15 ` [PATCH 4/7] MAINTAINERS: drop (subscribers-only) markings on Blackfin lists Mike Frysinger
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Mike Frysinger @ 2009-05-26  9:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: uclinux-dist-devel

With Bryan Wu having moved on to another job, push the slack onto some
other ADI lackeys.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 MAINTAINERS |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 77cbfb1..7dd3475 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1132,16 +1132,16 @@ F:	fs/bfs/
 F:	include/linux/bfs_fs.h
 
 BLACKFIN ARCHITECTURE
-P:	Bryan Wu
-M:	cooloney@kernel.org
+P:	Mike Frysinger
+M:	vapier@gentoo.org
 L:	uclinux-dist-devel@blackfin.uclinux.org
 W:	http://blackfin.uclinux.org
 S:	Supported
 F:	arch/blackfin/
 
 BLACKFIN EMAC DRIVER
-P:	Bryan Wu
-M:	cooloney@kernel.org
+P:	Michael Hennerich
+M:	michael.hennerich@analog.com
 L:	uclinux-dist-devel@blackfin.uclinux.org (subscribers-only)
 W:	http://blackfin.uclinux.org
 S:	Supported
-- 
1.6.3.1


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

* [PATCH 4/7] MAINTAINERS: drop (subscribers-only) markings on Blackfin lists
  2009-05-26  9:15 [PATCH 0/7] Blackfin fixes for 2.6.30 Mike Frysinger
                   ` (2 preceding siblings ...)
  2009-05-26  9:15 ` [PATCH 3/7] MAINTAINERS: update Blackfin items Mike Frysinger
@ 2009-05-26  9:15 ` Mike Frysinger
  2009-05-26  9:15 ` [PATCH 5/7] Blackfin: ignore generated vmlinux.lds Mike Frysinger
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Mike Frysinger @ 2009-05-26  9:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: uclinux-dist-devel

All of the Blackfin lists are transparently moderated for non-subscribers.
i.e. there are no annoying notices and people get whitelisted after first
their posting.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 MAINTAINERS |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 7dd3475..5ee166e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1142,7 +1142,7 @@ F:	arch/blackfin/
 BLACKFIN EMAC DRIVER
 P:	Michael Hennerich
 M:	michael.hennerich@analog.com
-L:	uclinux-dist-devel@blackfin.uclinux.org (subscribers-only)
+L:	uclinux-dist-devel@blackfin.uclinux.org
 W:	http://blackfin.uclinux.org
 S:	Supported
 F:	drivers/net/bfin_mac.*
@@ -1150,7 +1150,7 @@ F:	drivers/net/bfin_mac.*
 BLACKFIN RTC DRIVER
 P:	Mike Frysinger
 M:	vapier.adi@gmail.com
-L:	uclinux-dist-devel@blackfin.uclinux.org (subscribers-only)
+L:	uclinux-dist-devel@blackfin.uclinux.org
 W:	http://blackfin.uclinux.org
 S:	Supported
 F:	drivers/rtc/rtc-bfin.c
@@ -1158,7 +1158,7 @@ F:	drivers/rtc/rtc-bfin.c
 BLACKFIN SERIAL DRIVER
 P:	Sonic Zhang
 M:	sonic.zhang@analog.com
-L:	uclinux-dist-devel@blackfin.uclinux.org (subscribers-only)
+L:	uclinux-dist-devel@blackfin.uclinux.org
 W:	http://blackfin.uclinux.org
 S:	Supported
 F:	drivers/serial/bfin_5xx.c
@@ -1166,7 +1166,7 @@ F:	drivers/serial/bfin_5xx.c
 BLACKFIN WATCHDOG DRIVER
 P:	Mike Frysinger
 M:	vapier.adi@gmail.com
-L:	uclinux-dist-devel@blackfin.uclinux.org (subscribers-only)
+L:	uclinux-dist-devel@blackfin.uclinux.org
 W:	http://blackfin.uclinux.org
 S:	Supported
 F:	drivers/watchdog/bfin_wdt.c
@@ -1174,7 +1174,7 @@ F:	drivers/watchdog/bfin_wdt.c
 BLACKFIN I2C TWI DRIVER
 P:	Sonic Zhang
 M:	sonic.zhang@analog.com
-L:	uclinux-dist-devel@blackfin.uclinux.org (subscribers-only)
+L:	uclinux-dist-devel@blackfin.uclinux.org
 W:	http://blackfin.uclinux.org/
 S:	Supported
 F:	drivers/i2c/busses/i2c-bfin-twi.c
-- 
1.6.3.1


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

* [PATCH 5/7] Blackfin: ignore generated vmlinux.lds
  2009-05-26  9:15 [PATCH 0/7] Blackfin fixes for 2.6.30 Mike Frysinger
                   ` (3 preceding siblings ...)
  2009-05-26  9:15 ` [PATCH 4/7] MAINTAINERS: drop (subscribers-only) markings on Blackfin lists Mike Frysinger
@ 2009-05-26  9:15 ` Mike Frysinger
  2009-05-26  9:15 ` [PATCH 6/7] Blackfin: drop unneeded asm/.gitignore Mike Frysinger
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Mike Frysinger @ 2009-05-26  9:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: uclinux-dist-devel

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 arch/blackfin/kernel/.gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
 create mode 100644 arch/blackfin/kernel/.gitignore

diff --git a/arch/blackfin/kernel/.gitignore b/arch/blackfin/kernel/.gitignore
new file mode 100644
index 0000000..c5f676c
--- /dev/null
+++ b/arch/blackfin/kernel/.gitignore
@@ -0,0 +1 @@
+vmlinux.lds
-- 
1.6.3.1


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

* [PATCH 6/7] Blackfin: drop unneeded asm/.gitignore
  2009-05-26  9:15 [PATCH 0/7] Blackfin fixes for 2.6.30 Mike Frysinger
                   ` (4 preceding siblings ...)
  2009-05-26  9:15 ` [PATCH 5/7] Blackfin: ignore generated vmlinux.lds Mike Frysinger
@ 2009-05-26  9:15 ` Mike Frysinger
  2009-05-26  9:15 ` [PATCH 7/7] Blackfin: fix strncmp.o build error Mike Frysinger
  2009-05-26  9:26 ` [PATCH 0/7] Blackfin fixes for 2.6.30 David Miller
  7 siblings, 0 replies; 11+ messages in thread
From: Mike Frysinger @ 2009-05-26  9:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: uclinux-dist-devel

We don't create a include/asm/mach/ symlink anymore, so we don't need the
.gitignore for it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 arch/blackfin/include/asm/.gitignore |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
 delete mode 100644 arch/blackfin/include/asm/.gitignore

diff --git a/arch/blackfin/include/asm/.gitignore b/arch/blackfin/include/asm/.gitignore
deleted file mode 100644
index 7858564..0000000
--- a/arch/blackfin/include/asm/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-+mach
-- 
1.6.3.1


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

* [PATCH 7/7] Blackfin: fix strncmp.o build error
  2009-05-26  9:15 [PATCH 0/7] Blackfin fixes for 2.6.30 Mike Frysinger
                   ` (5 preceding siblings ...)
  2009-05-26  9:15 ` [PATCH 6/7] Blackfin: drop unneeded asm/.gitignore Mike Frysinger
@ 2009-05-26  9:15 ` Mike Frysinger
  2009-05-26  9:26 ` [PATCH 0/7] Blackfin fixes for 2.6.30 David Miller
  7 siblings, 0 replies; 11+ messages in thread
From: Mike Frysinger @ 2009-05-26  9:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: uclinux-dist-devel, Rusty Russell

Fix some more fallout of the string changes:

  CC      arch/blackfin/lib/strncmp.o
In file included from include/linux/bitmap.h:9,
                 from include/linux/nodemask.h:90,
                 from include/linux/mmzone.h:17,
                 from include/linux/gfp.h:5,
                 from include/linux/kmod.h:23,
                 from include/linux/module.h:14,
                 from arch/blackfin/lib/strncmp.c:14:
include/linux/string.h: In function ‘strstarts’:
include/linux/string.h:132: error: implicit declaration of function ‘strncmp’
make[1]: *** [arch/blackfin/lib/strncmp.o] Error 1

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Rusty Russell <rusty@rustcorp.com.au>
---
 arch/blackfin/lib/strncmp.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/blackfin/lib/strncmp.c b/arch/blackfin/lib/strncmp.c
index 2aaae78..46518b1 100644
--- a/arch/blackfin/lib/strncmp.c
+++ b/arch/blackfin/lib/strncmp.c
@@ -8,9 +8,8 @@
 
 #define strncmp __inline_strncmp
 #include <asm/string.h>
-#undef strncmp
-
 #include <linux/module.h>
+#undef strncmp
 
 int strncmp(const char *cs, const char *ct, size_t count)
 {
-- 
1.6.3.1


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

* Re: [PATCH 0/7] Blackfin fixes for 2.6.30
  2009-05-26  9:15 [PATCH 0/7] Blackfin fixes for 2.6.30 Mike Frysinger
                   ` (6 preceding siblings ...)
  2009-05-26  9:15 ` [PATCH 7/7] Blackfin: fix strncmp.o build error Mike Frysinger
@ 2009-05-26  9:26 ` David Miller
  2009-05-26  9:28   ` David Miller
  7 siblings, 1 reply; 11+ messages in thread
From: David Miller @ 2009-05-26  9:26 UTC (permalink / raw)
  To: vapier; +Cc: linux-kernel, uclinux-dist-devel

From: Mike Frysinger <vapier@gentoo.org>
Date: Tue, 26 May 2009 05:15:49 -0400

> Sorry for being so late, but our previous Blackfin maintainer has moved
> on, so we've been working at picking up the slack.
> 
> So the stuff here for 2.6.30 is just simple build fixes, gitignore tweaks,
> MAINTAINER updates, and hooking up the new pread syscalls (which was posted
> a while ago already).

Several problems:

1) 10 patches is way too much this late in the 2.6.30 release process.

   Pick 1 or 2 that are the most critical and submit those for 2.6.30,
   the rest get queued up for 2.6.31

2) Networking patches must have netdev@vger.kernel.org at least
   CC:'d so that your patches get properly traced at:

   http://patchwork.ozlabs.org/project/netdev/list/

Thank you.

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

* Re: [PATCH 0/7] Blackfin fixes for 2.6.30
  2009-05-26  9:26 ` [PATCH 0/7] Blackfin fixes for 2.6.30 David Miller
@ 2009-05-26  9:28   ` David Miller
  2009-05-26  9:30     ` Mike Frysinger
  0 siblings, 1 reply; 11+ messages in thread
From: David Miller @ 2009-05-26  9:28 UTC (permalink / raw)
  To: vapier; +Cc: linux-kernel, uclinux-dist-devel

From: David Miller <davem@davemloft.net>
Date: Tue, 26 May 2009 02:26:59 -0700 (PDT)

> 1) 10 patches is way too much this late in the 2.6.30 release process.
> 
>    Pick 1 or 2 that are the most critical and submit those for 2.6.30,
>    the rest get queued up for 2.6.31
> 
> 2) Networking patches must have netdev@vger.kernel.org at least
>    CC:'d so that your patches get properly traced at:
> 
>    http://patchwork.ozlabs.org/project/netdev/list/

I take back #1 I see what you're doing.

Please submit the one bfin_mac network driver patch via the proper
channels, that would be netdev@vger.kernel.org as mentioned, so I can
queue it up.

Thanks.

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

* Re: [PATCH 0/7] Blackfin fixes for 2.6.30
  2009-05-26  9:28   ` David Miller
@ 2009-05-26  9:30     ` Mike Frysinger
  0 siblings, 0 replies; 11+ messages in thread
From: Mike Frysinger @ 2009-05-26  9:30 UTC (permalink / raw)
  To: David Miller; +Cc: vapier, linux-kernel, uclinux-dist-devel

On Tue, May 26, 2009 at 05:28, David Miller wrote:
> Please submit the one bfin_mac network driver patch via the proper
> channels, that would be netdev@vger.kernel.org as mentioned, so I can
> queue it up.

resent
-mike

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

end of thread, other threads:[~2009-05-26  9:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-26  9:15 [PATCH 0/7] Blackfin fixes for 2.6.30 Mike Frysinger
2009-05-26  9:15 ` [PATCH 1/7] bfin_mac: fix build error due to net_device_ops convert Mike Frysinger
2009-05-26  9:15 ` [PATCH 2/7] Blackfin: hook up preadv/pwritev syscalls Mike Frysinger
2009-05-26  9:15 ` [PATCH 3/7] MAINTAINERS: update Blackfin items Mike Frysinger
2009-05-26  9:15 ` [PATCH 4/7] MAINTAINERS: drop (subscribers-only) markings on Blackfin lists Mike Frysinger
2009-05-26  9:15 ` [PATCH 5/7] Blackfin: ignore generated vmlinux.lds Mike Frysinger
2009-05-26  9:15 ` [PATCH 6/7] Blackfin: drop unneeded asm/.gitignore Mike Frysinger
2009-05-26  9:15 ` [PATCH 7/7] Blackfin: fix strncmp.o build error Mike Frysinger
2009-05-26  9:26 ` [PATCH 0/7] Blackfin fixes for 2.6.30 David Miller
2009-05-26  9:28   ` David Miller
2009-05-26  9:30     ` Mike Frysinger

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