mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
b2e47002b2
Add the unified read/write API for C22 and C45 registers. The abstractions support access to only C22 registers now. Instead of adding read/write_c45 methods specifically for C45, a new reg module supports the unified API to access C22 and C45 registers with trait, by calling an appropriate phylib functions. Reviewed-by: Trevor Gross <tmgross@umich.edu> Reviewed-by: Benno Lossin <benno.lossin@proton.me> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
13 lines
315 B
C
13 lines
315 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Header that contains the headers for which Rust UAPI bindings
|
|
* will be automatically generated by `bindgen`.
|
|
*
|
|
* Sorted alphabetically.
|
|
*/
|
|
|
|
#include <uapi/asm-generic/ioctl.h>
|
|
#include <uapi/linux/mdio.h>
|
|
#include <uapi/linux/mii.h>
|
|
#include <uapi/linux/ethtool.h>
|