Re: [PATCH net-next] mdio: Export mdio.h to userland |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Wed, 2012-02-29 at 19:02 +0000, Ben Hutchings wrote:
> The ID packing/unpacking functions are needed by userland and the
> register definitions may also be useful there.
Minor issue with this: mdio_phy_id_is_c45() returns bool, and that's not
defined by default. Should I add #include <stdbool.h> or change the
return type to int for maximum compatibility?
Ben.
> Signed-off-by: Ben Hutchings <bhutchings@xxxxxxxxxxxxxx>
> ---
> include/linux/Kbuild | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/Kbuild b/include/linux/Kbuild
> index c94e717..4b0b7ed 100644
> --- a/include/linux/Kbuild
> +++ b/include/linux/Kbuild
> @@ -238,6 +238,7 @@ header-y += magic.h
> header-y += major.h
> header-y += map_to_7segment.h
> header-y += matroxfb.h
> +header-y += mdio.h
> header-y += media.h
> header-y += mempolicy.h
> header-y += meye.h
> --
> 1.7.7.6
>
>
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel Discussion]
[Ethernet Bridging]
[Linux Wireless Networking]
[Linux Bluetooth Networking]
[Linux Networking Users]
[VLAN]
[Git]
[IETF Annouce]
[Linux Assembly]
[Security]
[Bugtraq]
[Photo]
[Singles Social Networking]
[Yosemite Information]
[MIPS Linux]
[ARM Linux Kernel]
[ARM Linux]
[Linux Virtualization]
[Linux Security]
[Linux IDE]
[Linux RAID]
[Linux SCSI]
[Free Dating]