]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
arcnet: com20020-pci: fix dev_id calculation
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Wed, 28 Jun 2017 16:28:36 +0000 (18:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jun 2017 19:18:36 +0000 (15:18 -0400)
commitcb108619f2fc77846bf7a7543517f3487f455b24
tree97efed19db0fb87fcdba34fd04f32afdb32b1878
parent0d494fcf867f95040b5b67e4bc5af739bcda37da
arcnet: com20020-pci: fix dev_id calculation

The dev_id was miscalculated. Only the two bits 4-5 are relevant for the
MA1 card. PCIARC1 and PCIFB2 use the four bits 4-7 for id selection.

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