Re: [PATCH V4 1/2] pm80xx : Support for get phy profile functionality.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29/07/2020 14:41, Deepak Ukey wrote:
> +struct phy_status {
> +	char		phy_id;
> +	unsigned int	phy_state:4;
> +	unsigned int	nlr:4;
> +	unsigned int	plr:4;
> +	unsigned int	reserved1:12;
> +	unsigned char	port_id;
> +	unsigned int	prts:4;
> +	unsigned int	reserved2:20;
> +} __packed;

Does this work on big-endian systems? If I'm not mistaken some of 
these will get exchanged on BE systems.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux