ubnt routerstation and lan ports ??

Berislav Purgar bpurgar at gmail.com
Sat Sep 17 16:52:05 UTC 2011


On Sat, Sep 17, 2011 at 6:02 PM, Adrian Chadd <adrian at 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


More information about the freebsd-mips mailing list