From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Mon, 31 Oct 2011 14:24:48 -0400 Subject: [U-Boot] [PATCH] miiphy: Note that miiphy_* API is deprecated In-Reply-To: <10B6933F-AEDD-49DA-9361-5868A5F2F327@freescale.com> References: <1320072373-367-1-git-send-email-afleming@freescale.com> <10B6933F-AEDD-49DA-9361-5868A5F2F327@freescale.com> Message-ID: <201110311424.49748.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 31 October 2011 11:12:12 Andy Fleming wrote: > On Oct 31, 2011, at 10:08 AM, Tabi Timur-B04825 wrote: > > On Mon, Oct 31, 2011 at 9:46 AM, Andy Fleming wrote: > >> We want to move everything to phylib, and we definitely don't want > >> new drivers using the miiphy infrastructure. > > > > How about using gcc's deprecated function feature? Or is that too > > aggressive? > > I don't think we want every net driver prior to the last release to create > a warning. We may switch to that after we get some momentum on switching > drivers over. The first goal is just to provide information that a new > driver-writer may see so that the old API doesn't expand. right, this is why i didn't suggest a #warning or __deprecated before. i'm pretty sure way more code is using the old phy layer than the new phy layer atm. i also want to say that the new phy layer doesn't have all the support that the old one did ... if you look in include/miiphy.h, there are a few defines at the end there which are not in linux/mii.h. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20111031/296b8b1e/attachment.pgp