]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve mac+phy configuration so that hints can be used to describe
authorSam Leffler <sam@FreeBSD.org>
Sat, 22 Mar 2008 16:53:28 +0000 (16:53 +0000)
committerSam Leffler <sam@FreeBSD.org>
Sat, 22 Mar 2008 16:53:28 +0000 (16:53 +0000)
commitc7ad0d87369e787102524c9e9ef056a88fa86a3f
tree8fd0256262dfac5a587637bf77b3999d928a72fa
parent0e3ec582c65c39144b5f97138cf617294ae6d0c0
Improve mac+phy configuration so that hints can be used to describe
layouts different than the defaults:
o hint.npe.0.mac="A", "B", etc. specifies the window for MAC register accesses
o hint.npe.0.mii="A", "B", etc. specifies PHY registers
o hint.npe.1.phy=%d specifies the PHY to map to a port

This allows devices like NSLU to be setup w/o code changes and will
also be used for forthcoming support for more Avila boards.

Reviewed by: imp
MFC after 1 week
sys/arm/xscale/ixp425/if_npe.c