.. | .. |
---|
11 | 11 | |
---|
12 | 12 | if NET_VENDOR_MICROSEMI |
---|
13 | 13 | |
---|
| 14 | +# Users should depend on NET_SWITCHDEV, HAS_IOMEM |
---|
| 15 | +config MSCC_OCELOT_SWITCH_LIB |
---|
| 16 | + select REGMAP_MMIO |
---|
| 17 | + select PHYLIB |
---|
| 18 | + tristate |
---|
| 19 | + help |
---|
| 20 | + This is a hardware support library for Ocelot network switches. It is |
---|
| 21 | + used by switchdev as well as by DSA drivers. |
---|
| 22 | + |
---|
14 | 23 | config MSCC_OCELOT_SWITCH |
---|
15 | 24 | tristate "Ocelot switch driver" |
---|
16 | 25 | depends on NET_SWITCHDEV |
---|
17 | 26 | depends on HAS_IOMEM |
---|
18 | | - select PHYLIB |
---|
19 | | - select REGMAP_MMIO |
---|
20 | | - help |
---|
21 | | - This driver supports the Ocelot network switch device. |
---|
22 | | - |
---|
23 | | -config MSCC_OCELOT_SWITCH_OCELOT |
---|
24 | | - tristate "Ocelot switch driver on Ocelot" |
---|
25 | | - depends on MSCC_OCELOT_SWITCH |
---|
| 27 | + depends on OF_NET |
---|
| 28 | + select MSCC_OCELOT_SWITCH_LIB |
---|
| 29 | + select GENERIC_PHY |
---|
26 | 30 | help |
---|
27 | 31 | This driver supports the Ocelot network switch device as present on |
---|
28 | | - the Ocelot SoCs. |
---|
| 32 | + the Ocelot SoCs (VSC7514). |
---|
29 | 33 | |
---|
30 | 34 | endif # NET_VENDOR_MICROSEMI |
---|