[SDBUG] read/write mii regs in FreeBSD
J. Cordaro
oradrocyaj at yahoo.com
Mon Dec 3 12:20:42 PST 2007
Ron,
The mediaopt to dump MII Reg 0x5 (AutoNeg Link) and
0x11 bit 15 (AutoNeg Base Page Selection Mismatch)
would be...? I don't need to set an option I need to
print out status of some mii registers.
seriously,
how do you do this in BSD short of writing a custom
driver?
regards,
Jay Cordaro
--- Ron Rosson <ron at oneinsane.net> wrote:
> On Dec 3, 2007, at 12:52 PM, J. Cordaro wrote:
>
> > Guys,
> >
> > My yahoo mail sux, sorry if this is a duplicate.
> > I am trying to read/write mii registers in BSD.
> This
> > is simple in linux, I just use ethtool.
> >
> > I need more than what ifconfig can provide, I
> think.
> > I need to monitor the status of the autoneg
> registers.
> > I am having an interop issue with a machine. I
> want
> > to see what this machine's autoneg status register
> > says after I plug a cable in. I would like to do
> this
> > without wiping out the machine and loading linux.
>
> jay,
> Under *BSD this is all handled with the ifconfig
> command. Below are
> a few snippits from the man page of ifconfig:
>
> mediaopt opts
> If the driver supports the media
> selection system, set
> the speci-
> fied media options on the interface.
> The opts argument
> is a
> comma delimited list of options to
> apply to the
> interface. Refer
> to the interfaces' driver specific man
> page for a
> complete list
> of available options.
>
> -mediaopt opts
> If the driver supports the media
> selection system,
> disable the
> specified media options on the
> interface.
>
> Take a more complete at the ifconfig man page for
> more information.
>
> -Ron
>
> --
> Ron Rosson
> ron at oneinsane.net
> http://www.oneinsane.net
>
> _______________________________________________
> SDBUG mailing list
> SDBUG at sdbug.org
> http://lists.sdbug.org/mailman/listinfo/sdbug
>
____________________________________________________________________________________
Get easy, one-click access to your favorites.
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs
More information about the SDBUG
mailing list