Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2020 13:21:34 +0900 (JST)
From:      Mori Hiroki <yamori813@yahoo.co.jp>
To:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   can not get mib from ar8316 on etherswitch
Message-ID:  <1126553482.4132161.1585714894446.JavaMail.yahoo@mail.yahoo.co.jp>
References:  <1126553482.4132161.1585714894446.JavaMail.yahoo.ref@mail.yahoo.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

I try to get mib from AR8316. But I can not get value.

AR8316 mib start from 0x20000. This is over 16bit.

But member is only 16Bit in=C2=A0sys/dev/etherswitch/etherswitch.h.

struct etherswitch_reg {
=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0uint16_t=C2=A0 =C2=A0 =C2=A0 =C2=A0 reg;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 uint32_t=C2=A0 =C2=A0 =C2=A0 =C2=A0 val;

};

I think good that is change to=C2=A0uint32_t at reg.

Do you think this ?

Thanks

Hiroki Mori




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1126553482.4132161.1585714894446.JavaMail.yahoo>