]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
arcnet: com20020-pci: set dev_port to the subdevice index
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Fri, 20 Mar 2015 14:22:24 +0000 (15:22 +0100)
committerMichael Grzeschik <m.grzeschik@pengutronix.de>
Mon, 26 Oct 2015 08:10:56 +0000 (09:10 +0100)
commitae8ede6a0cdcf3b21596f44dff30bbd02265bb41
tree00c6a1a423af8070a8d65d08f9b8a1cd82195adb
parent27daf6ed5c1fbeca9029c59c7f4f70a5c7e13531
arcnet: com20020-pci: set dev_port to the subdevice index

This patch sets the dev_port according to the index of
the card. This can be used by udev to name the ports
in userspace.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
drivers/net/arcnet/com20020-pci.c