]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Provide a generic ifmedia set of routines as a fallback. The
authorWarner Losh <imp@FreeBSD.org>
Tue, 7 Apr 2009 05:41:38 +0000 (05:41 +0000)
committerWarner Losh <imp@FreeBSD.org>
Tue, 7 Apr 2009 05:41:38 +0000 (05:41 +0000)
commit1cac1dbfab7edc277f6a724adc52e65e2aea550a
tree725aebbd29e112c37b96e10c448ef7b8b44f6c7f
parentfdda6436a7629bad433e59cb0026fb03dd0e61e9
Provide a generic ifmedia set of routines as a fallback.  The
DP8390-based cards have no generic way of reporting status of the link
or setting the media type.  Some specific versions of these cards do,
however, allow for this, and we already support some of them.  Make
the 'ed' experience more uniform by providing "autoselect" as the
meida and status "active" always.  This won't affect the chips that
provide more specific details.
sys/dev/ed/if_ed.c
sys/dev/ed/if_ed_cbus.c
sys/dev/ed/if_ed_isa.c
sys/dev/ed/if_ed_pci.c
sys/dev/ed/if_edvar.h