Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Sep 2011 18:52:03 +0200
From:      Berislav Purgar <bpurgar@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: ubnt routerstation and lan ports ??
Message-ID:  <CAAUsrB7yBSwnGJehR5j4RhR-e9P0LQ_dVPTm47juADNawQTUnA@mail.gmail.com>
In-Reply-To: <CAJ-VmomJ0FCYQ-cOKfmbqM2hNewO=ZLJeGLjViJugg00CM7v=w@mail.gmail.com>
References:  <CAAUsrB4Mh815MhLwUhGFZ5fNrCLSQDdRdS-PW6p6Hu-051odtg@mail.gmail.com> <CAJ-Vmo=DE6gttcjDP1fFGdHmuwsyZCTutfOxeEd37MtBBVVTOQ@mail.gmail.com> <CAAUsrB513DGsHYP=bQDNPsp16sc6-1%2B1y8REW9Jm1CffQBUVYw@mail.gmail.com> <201109170831.58398.milu@dat.pl> <CAAUsrB6uk4SWt7rEx-h%2Bo%2Bv%2B5xeg7VYLAwkeUKgjL27ukUsiYA@mail.gmail.com> <49F9E5C3-D4BF-4273-85BF-30B51A0A75AD@gmail.com> <CAAUsrB6t8a2jFEE=m5KTMBS2waLxuNPVVUEM0REvv4JSKiZq2w@mail.gmail.com> <CAJ-VmomJ0FCYQ-cOKfmbqM2hNewO=ZLJeGLjViJugg00CM7v=w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 17, 2011 at 6:02 PM, Adrian Chadd <adrian@freebsd.org> wrote:

> Which file are you editing?
>
> hints don't "override" if they're included the way my kernel config is
> setup.
>
> Ie, UBNT_AR71XX_BASE.hints doesn't have any phymask/speed/duplex hints.
> The ROUTERSTATION config includes UBNT_AR71XX_BASE and
> UBNT_AR71XX_BASE.hints; the phymask/speed/duplex settings are in
> ROUTERSTATION.hints.
> Don't edit UBNT_AR71XX_BASE.hints. :)
>
>
> Adrian
>
I edit only ROUTERSTATION.hint and there i make changes for phymask ..
example if hint.arge.1.phymask=0x10000

pci0: <old, non-VGA display device> at device 0.0 (no driver attached)
arge0: <Atheros AR71xx built-in ethernet interface> at mem
0x19000000-0x19000ff0
miibus0: <MII bus> on arge0
ukphy0: <Generic IEEE 802.3u media interface> PHY 20 on miibus0
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
arge0: Ethernet address: 00:15:6d:c4:20:f6
arge1: <Atheros AR71xx built-in ethernet interface> at mem
0x1a000000-0x1a000ff0
miibus1: <MII bus> on arge1
ukphy1: <Generic IEEE 802.3u media interface> PHY 16 on miibus1
ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
arge1: Ethernet address: 00:15:6d:c4:20:f7
spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0
spibus0: <spibus bus> on spi0
mx25l0: <M25Pxx Flash Family> at cs 0 on spibus0
mx25l0: mx25ll128, sector 65536 bytes, 256 sectors
ar71xx_wdog0: <Atheros AR71XX watchdog timer> on nexus0

bsd-rs@~# ifconfig arge1
arge1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 00:15:6d:c4:20:f7
media: Ethernet autoselect (none)
status: no carrier
bsd-rs@~#

--------------------------------

hint.arge.1.phymask=0x30000

pcib0 at irq 0 on
nexus0
pci0: <PCI bus> on
pcib0
pci0: <old, non-VGA display device> at device 0.0 (no driver
attached)
arge0: <Atheros AR71xx built-in ethernet interface> at mem
0x19000000-0x19000ff0
miibus0: <MII bus> on
arge0
ukphy0: <Generic IEEE 802.3u media interface> PHY 20 on
miibus0
ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
auto
arge0: Ethernet address:
00:15:6d:c4:20:f6
arge1: <Atheros AR71xx built-in ethernet interface> at mem
0x1a000000-0x1a000ff0
arge1: Ethernet address:
00:15:6d:c4:20:f7
spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on
nexus0
spibus0: <spibus bus> on spi0


bsd-rs@~# ifconfig
arge1
arge1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu
1500
        ether
00:15:6d:c4:20:f7
        media: Ethernet 100baseTX
<full-duplex>
        status:
active
bsd-rs@~#


Beri



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