Subject: Re: kern/29113: re(4) reports "unknown subtype"
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 01/25/2005 11:57:02
The following reply was made to PR kern/29113; it has been noted by GNATS.

From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
To: kanaoka@ann.hi-ho.ne.jp
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/29113: re(4) reports "unknown subtype"
Date: Tue, 25 Jan 2005 20:55:56 +0900

 hi,
 
 > $ 	check RTK_ENABLED in re_ifmedia_sts().
 > 
 > I checked rtk driver with ukphy. 
 > rtk has same code, but media is NONE when NIC is down. 
 > So I think that problem is rgephy.c rather than rtl8169.c.
 > 
 > I attached a patch.
 
 i have to admit i don't know anything about phy/mii.
 (that's why i filed this PR rather than fix it by myself. :-)
 
 only reason i thought RTK_ENABLED should be checked is the fact that
 my favorite driver, fxp, does the similar.  (fxp_mii_mediastatus)
 
 YAMAMOTO Takashi