1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net
Russell King (Oracle) 86b5f2d8cd net: pcs: lynx: add lynx_pcs_create_mdiodev()
Add lynx_pcs_create_mdiodev() to simplify the creation of the mdio
device associated with lynx PCS. In order to allow lynx_pcs_destroy()
to clean this up, we need to arrange for lynx_pcs_create() to take a
refcount on the mdiodev, and lynx_pcs_destroy() to put it.

Adding the refcounting to lynx_pcs_create()..lynx_pcs_destroy() will
be transparent to existing users of these interfaces.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-05-29 21:46:53 -07:00
..
appletalk
arcnet
bonding Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-05-25 19:57:39 -07:00
caif
can Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-05-18 14:39:34 -07:00
dsa net: dsa: mv88e6xxx: move link forcing to mac_prepare/mac_finish 2023-05-26 10:39:40 +01:00
ethernet net: stmmac: use xpcs_create_mdiodev() 2023-05-29 21:46:53 -07:00
fddi net: fddi: skfp: rmt: Clean up some inconsistent indenting 2023-04-11 12:46:26 +02:00
fjes
hamradio hamradio: drop ISA_DMA_API dependency 2023-04-19 13:11:41 +01:00
hippi
hyperv hv_netvsc: Remove second mapping of send and recv buffers 2023-04-17 19:19:04 +00:00
ieee802154 spi: Updates for v6.4 2023-04-27 11:02:26 -07:00
ipa Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-30 14:43:03 -07:00
ipvlan ipvlan: Remove NULL check before dev_{put, hold} 2023-05-12 08:56:57 +01:00
mctp
mdio net: mdio: i2c: fix rollball accessors 2023-05-15 10:15:57 +01:00
netdevsim driver core: bus: mark the struct bus_type for sysfs callbacks as constant 2023-03-23 13:20:40 +01:00
pcs net: pcs: lynx: add lynx_pcs_create_mdiodev() 2023-05-29 21:46:53 -07:00
phy net: phy: broadcom: Register dummy IRQ handler 2023-05-26 12:17:06 +01:00
plip
ppp net/pppoe: make number of hash bits configurable 2023-05-17 13:03:45 +01:00
pse-pd
slip
team net: fix stack overflow when LRO is disabled for virtual interfaces 2023-05-19 22:46:37 -07:00
thunderbolt net: thunderbolt: Fix typos in comments 2023-04-12 21:09:12 -07:00
usb net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize 2023-05-18 19:56:17 -07:00
vmxnet3 net: introduce and use skb_frag_fill_page_desc() 2023-05-13 19:47:56 +01:00
vxlan net: vxlan: Add nolocalbypass option to vxlan. 2023-05-13 17:02:33 +01:00
wan spi: Updates for v6.4 2023-04-27 11:02:26 -07:00
wireguard
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-05-18 14:39:34 -07:00
wwan Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-05-18 14:39:34 -07:00
xen-netback net: introduce and use skb_frag_fill_page_desc() 2023-05-13 19:47:56 +01:00
amt.c
bareudp.c
dummy.c
eql.c
geneve.c net: geneve: accept every ethertype 2023-03-21 13:39:29 +01:00
gtp.c
ifb.c
Kconfig net: veth: make PAGE_POOL_STATS optional 2023-05-10 09:57:39 +01:00
LICENSE.SRC
loopback.c
macsec.c macsec: Don't rely solely on the dst MAC address to identify destination MACsec device 2023-04-21 08:22:15 +01:00
macvlan.c macvlan: Fix mc_filter calculation 2023-03-31 08:56:42 +01:00
macvtap.c drivers: remove struct module * setting from struct class 2023-03-17 15:16:27 +01:00
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c net/net_failover: fix txq exceeding warning 2023-03-27 08:08:57 +01:00
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c driver core: class: remove struct class_interface * from callbacks 2023-04-03 21:42:52 +02:00
sb1000.c
Space.c
sungem_phy.c
tap.c net: add vlan_get_protocol_and_depth() helper 2023-05-10 10:25:55 +01:00
tun.c tun: Fix memory leak for detached NAPI queue. 2023-05-17 09:02:55 +01:00
veth.c net: veth: make PAGE_POOL_STATS optional 2023-05-10 09:57:39 +01:00
virtio_net.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-05-18 14:39:34 -07:00
vrf.c
vsockmon.c
xen-netfront.c