I am removing linux-kernel from the mailing list, as this thread is more appropriate to netdev, and there is a lot more traffic on linux-kernel.
On Fri, Feb 17, 2006 at 09:12:52PM +0100, Seewer Philippe wrote: > > Don Fry wrote: > > Philippe, > > > > On a purely mechanical note, the patches do not apply cleanly because > > of whitespace changes. Possibly your mailer changed tabs to spaces, > > which causes the patch not to apply, and also causes your patch to have > > different spacing than the rest of the file. The driver does not > > conform to the 8-space indentation guideline/rule, but it is consistent > > in 4-space indentation. > uhhh.... did i forget to run Lindent..? Or was it that i just > selected-middle clicked them into thunderbird? > what's the recommended procedure oh how to append patches to > mails? (Documentation just says included not attached...) I use mutt and just ':r filename' to include the patch file(s). When I forget and middle click the changes I get a gentle reminder that I have messed up again ;-) > > > > I am looking over this change and the following one, to try and > > understand what and why you made your changes. > > > > The change made by Thomas Bogendoerfer and modified by myself is much > > more flexible than your changes, in that they are not specific just to > > the Allied Telesyn boards with multiple Phys. > I'm not sure what you are talking about. I didn't see any PHY switching > code in the driver... And the specs specifically say that when more than I sent out a patch for testing on November 8 to netdev which is available on the archives, with a patch to support boards with multiple phys. I have received few comments on the code. Maybe you could test that code and see if it does what you need. I was waiting until 2.6.16 is final before resubmitting the enhancements to go into 2.6.17. search for [RFT] pcnet32: support for boards with multiple phys > one PHY is connected control should revert to software. > > > They also allow dynamic > > changing of cabling without requiring the driver to be removed/installed > > or the card power cycled. I also see little value in the module > > parameters, when it can be determined dynamically. Also, maxphy might be > > thought to the the maximum number of phys, rather than the maximum phy > > number supported. If static selection of the phy to use is passed in as > > a module parameter, why also include a maxphy? > maxphy is supposed to be how many PHYs are actually connected to the chip. > I didn't want to introduce a generic PHY scanner (which is possible) > because that would have haa impact on all cards not only cards that actually > have more than one phy. If maxphy is just the number of phys, and the vendor used phy 3 and 7, instead of 1 and 2, your code would not work, asis. > > I really tried to put this into pcnet32_open. But i just didn't work... > > > > > As I review your patches I will follow up to the mailing list. > > > > On Fri, Feb 17, 2006 at 05:14:39PM +0100, Seewer Philippe wrote: > > > >>This patch extends Don Fry's last patch for AT 2700/01 FX to set the > >>speed/fdx options for the FTX variants of these cards as well. > >> > >>Additionally the option override has been moved from pcnet32_open to > >>pcnet32_probe1 because it's only necessary to override the options once. > >> > >>Tested and works. > >> > >>Patch applies to 2.6.16-rc3 > >> > > > > Don Fry > > [EMAIL PROTECTED] > -- Don Fry [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html