Skip to contentSkip to conversation

s390: network patches for net-next

PATCH In review Ursula Braun 2 participants 5 messages Feb 27, 2015 – Mar 1, 2015

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover s390: network patches for net-next

From: Ursula Braun <[email protected]>

Hi Dave,

here are some s390 related patches for net-next

shortlog:

Stefan Raspl (1)
qeth: Fix command sizes

Ursula Braun (2)
s390: remove claw driver
MAINTAINERS: update S390 NETWORK DRIVERS maintainer

Thanks,
Ursula

#1 lore raw

PATCH 1/3 s390: remove claw driver

From: Ursula Braun <[email protected]>

claw devices are outdated and no longer supported. This patch removes the claw driver.

---
 arch/s390/kernel/irq.c    |    1 -
 drivers/s390/net/Kconfig  |   13 +-
 drivers/s390/net/Makefile |    1 -
 drivers/s390/net/claw.c   | 3377 ---------------------------------------------
 drivers/s390/net/claw.h   |  348 -----
 5 files changed, 1 insertion(+), 3739 deletions(-)
 delete mode 100644 drivers/s390/net/claw.c
 delete mode 100644 drivers/s390/net/claw.h
arch/s390/kernel/irq.c +0 -1
index f238720..0220e7d 100644
@@ -79,7 +79,6 @@ static const struct irq_class irqclass_sub_desc[NR_ARCH_IRQS] = {
 	{.irq = IRQIO_TAP,  .name = "TAP", .desc = "[I/O] Tape"},
 	{.irq = IRQIO_VMR,  .name = "VMR", .desc = "[I/O] Unit Record Devices"},
 	{.irq = IRQIO_LCS,  .name = "LCS", .desc = "[I/O] LCS"},
-	{.irq = IRQIO_CLW,  .name = "CLW", .desc = "[I/O] CLAW"},
 	{.irq = IRQIO_CTC,  .name = "CTC", .desc = "[I/O] CTC"},
 	{.irq = IRQIO_APB,  .name = "APB", .desc = "[I/O] AP Bus"},
 	{.irq = IRQIO_ADM,  .name = "ADM", .desc = "[I/O] EADM Subchannel"},
drivers/s390/net/Kconfig +1 -12
index f1b5111..b2837b1 100644
@@ -57,17 +57,6 @@ config SMSGIUCV_EVENT
 
 	  To compile as a module, choose M. The module name is "smsgiucv_app".
 
-config CLAW
-	def_tristate m
-	prompt "CLAW device support"
-	depends on CCW && NETDEVICES
-	help
-	  This driver supports channel attached CLAW devices.
-	  CLAW is Common Link Access for Workstation.  Common devices
-          that use CLAW are RS/6000s, Cisco Routers (CIP) and 3172 devices.
-	  To compile as a module, choose M. The module name is claw.
-	  To compile into the kernel, choose Y.
-
 config QETH
 	def_tristate y
 	prompt "Gigabit Ethernet device support"
@@ -106,6 +95,6 @@ config QETH_IPV6
 
 config CCWGROUP
 	tristate
-	default (LCS || CTCM || QETH || CLAW)
+	default (LCS || CTCM || QETH)
 
 endmenu
drivers/s390/net/Makefile +0 -1
index d28f05d..c351b07 100644
@@ -8,7 +8,6 @@ obj-$(CONFIG_NETIUCV) += netiucv.o fsm.o
 obj-$(CONFIG_SMSGIUCV) += smsgiucv.o
 obj-$(CONFIG_SMSGIUCV_EVENT) += smsgiucv_app.o
 obj-$(CONFIG_LCS) += lcs.o
-obj-$(CONFIG_CLAW) += claw.o
 qeth-y += qeth_core_sys.o qeth_core_main.o qeth_core_mpc.o
 obj-$(CONFIG_QETH) += qeth.o
 qeth_l2-y += qeth_l2_main.o qeth_l2_sys.o
drivers/s390/net/claw.c deleted +0 -3377

2,962 lines not on this page · raw message

drivers/s390/net/claw.h deleted +0 -348

348 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.1.4

Part of the diff is not shown here. View the raw message.

#2 lore raw

PATCH 2/3 qeth: Fix command sizes

In reply to Ursula Braun

From: Stefan Raspl <[email protected]>

This patch adjusts two instances where we were using the (too big) struct qeth_ipacmd_setadpparms size instead of the commands' actual size. This didn't do any harm, but wasted a few bytes.

---
 drivers/s390/net/qeth_core_main.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/s390/net/qeth_core_main.c +3 -2
index 642c77c..3466d3c 100644
@@ -4218,7 +4218,7 @@ void qeth_setadp_promisc_mode(struct qeth_card *card)
 	QETH_CARD_TEXT_(card, 4, "mode:%x", mode);
 
 	iob = qeth_get_adapter_cmd(card, IPA_SETADP_SET_PROMISC_MODE,
-			sizeof(struct qeth_ipacmd_setadpparms));
+			sizeof(struct qeth_ipacmd_setadpparms_hdr) + 8);
 	if (!iob)
 		return;
 	cmd = (struct qeth_ipa_cmd *)(iob->data + IPA_PDU_HEADER_SIZE);
@@ -4290,7 +4290,8 @@ int qeth_setadpparms_change_macaddr(struct qeth_card *card)
 	QETH_CARD_TEXT(card, 4, "chgmac");
 
 	iob = qeth_get_adapter_cmd(card, IPA_SETADP_ALTER_MAC_ADDRESS,
-				   sizeof(struct qeth_ipacmd_setadpparms));
+				   sizeof(struct qeth_ipacmd_setadpparms_hdr) +
+				   sizeof(struct qeth_change_addr));
 	if (!iob)
 		return -ENOMEM;
 	cmd = (struct qeth_ipa_cmd *)(iob->data+IPA_PDU_HEADER_SIZE);
Signature · 1 line
2.1.4
#3 lore raw

PATCH 3/3 MAINTAINERS: update S390 NETWORK DRIVERS maintainer

In reply to Ursula Braun

From: Ursula Braun <[email protected]>

remove Frank Blaschka as S390 NETWORK DRIVERS maintainer

---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 0597c5b..274a005 100644
@@ -8328,7 +8328,6 @@ F:	block/partitions/ibm.c
 
 S390 NETWORK DRIVERS
 M:	Ursula Braun <[email protected]>
-M:	Frank Blaschka <[email protected]>
 M:	[email protected]
 L:	[email protected]
 W:	http://www.ibm.com/developerworks/linux/linux390/
Signature · 1 line
2.1.4