Skip to contentSkip to conversation

CAN: add controller hardware name for Softing cards

PATCH Applied Kurt Van Dijck 4 participants 4 messages Feb 21, 2011 – Feb 28, 2011

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

PATCH 1/1 CAN: add controller hardware name for Softing cards

I just found that the controller hardware name is not set for the Softing driver. After this patch, "$ ip -d link show" looks nicer.

---

drivers/net/can/softing/softing_main.c +1 -0
index 5157e15..aeea9f9 100644
@@ -633,6 +633,7 @@ static const struct net_device_ops softing_netdev_ops = {
 };
 
 static const struct can_bittiming_const softing_btr_const = {
+	.name = "softing",
 	.tseg1_min = 1,
 	.tseg1_max = 16,
 	.tseg2_min = 1,
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Kurt Van Dijck

I just found that the controller hardware name is not set for the Softing driver. After this patch, "$ ip -d link show" looks nicer.

Marc

Quoted 17 lines

---

drivers/net/can/softing/softing_main.c +1 -1
index 5157e15..aeea9f9 100644
@@ -633,6 +633,7 @@ static const struct net_device_ops softing_netdev_ops = {
 };
 
 static const struct can_bittiming_const softing_btr_const = {
+	.name = "softing",
 	.tseg1_min = 1,
 	.tseg1_max = 16,
 	.tseg2_min = 1,
--

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

Signature · 4 lines
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |
#2 lore raw

OT: Re: [PATCH] CAN: add controller hardware name for Softing cards

Quoted 7 lines · Marc Kleine-Budde
Quoted 4 lines · Kurt Van Dijck

I just found that the controller hardware name is not set for the Softing driver. After this patch, "$ ip -d link show" looks nicer.

Hello Marc,

i really appreciate your work regarding the CAN driver maintenance together with Wolfgang!

Would it probably make sense to add your name to the drivers/net/can section in the MAINTAINERS file so that Dave and the other listeners on netdev-ML can appraise your Acked-by more easily?

Regards,
Oliver