Thread (9 messages) flat view 9 messages, 3 authors, 2017-11-14
STALE3201d

[PATCH v1 RFC 0/1] Add Microchip KSZ8795 DSA driver

From: <hidden>
Date: 2017-10-06 20:33:47
Also in: lkml

From: Tristram Ha <redacted>

This patch requires the previous patches for Microchip KSZ9477 DSA driver.

v1
- Return error codes instead of numbers
- Add more comments to clarify operation
- Use ksz8795 prefix to indicate KSZ8795 specific code
- Simplify MIB counter reading code
- Switch driver code is not accessed from tag_ksz.c

Tristram Ha (1):
  Add Microchip KSZ8795 DSA driver.

 drivers/net/dsa/microchip/Kconfig       |   17 +
 drivers/net/dsa/microchip/Makefile      |    2 +
 drivers/net/dsa/microchip/ksz8795.c     | 1372 +++++++++++++++++++++++++++++++
 drivers/net/dsa/microchip/ksz8795_reg.h | 1016 +++++++++++++++++++++++
 drivers/net/dsa/microchip/ksz8795_spi.c |  166 ++++
 drivers/net/dsa/microchip/ksz_priv.h    |    1 +
 include/net/dsa.h                       |    1 +
 net/dsa/Kconfig                         |    4 +
 net/dsa/dsa.c                           |    3 +
 net/dsa/dsa_priv.h                      |    1 +
 net/dsa/tag_ksz.c                       |   37 +
 11 files changed, 2620 insertions(+)
 create mode 100644 drivers/net/dsa/microchip/ksz8795.c
 create mode 100644 drivers/net/dsa/microchip/ksz8795_reg.h
 create mode 100644 drivers/net/dsa/microchip/ksz8795_spi.c

-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help