Date: Tue, 30 Jan 2001 13:52:48 -0800 From: Mike Smith <msmith@freebsd.org> To: david@metalogik.com Cc: freebsd-mobile@freebsd.org Subject: Re: idea [was Re: apm in fxp driver (4.2-RELEASE)] Message-ID: <200101302152.f0ULqmk01322@mass.dis.org> In-Reply-To: Your message of "30 Jan 2001 13:10:05 PST." <20010130211005.8674.cpmta@c001.snv.cp.net>
next in thread | previous in thread | raw e-mail | index | archive | help
(Please wrap your paragraphs.) > On Tue, 30 January 2001, Mike Smith wrote: > > > The problem is that the fxp driver doesn't understand being suspended; > > the stuff in -current just helps when it comes to waking the card up the > > first time, but it doesn't deal with the need to shut down and then > > restart the controller on suspend/resume. > > so what do i do at this point? is someone working on it or should i > look into it (which i have no idea where to start then)? If you don't have any idea what to do, then you're basically SOL - you can try to encourage the driver author (David Greenman) to do something about it, or you can try to find someone else with the hardware and the experience to work on it... > some others on the list have said that the fxp driver was working for > them with power management, i have heard this from people claiming to be > runnning 4.2-RELEASE and -CURRENT (or something close to it). It will depend a lot on the platform that you're doing this with, and how far down the hardware is taken by the suspend. In some cases the device will just be paused, wheras in others it'll be completely powered off. > i may be new to this code, but i am certainly willing to try and learn > and help out....i really appreciate the help that people have been giving > me so far, putting up with my ignorance with respect to the code. Basically, you're in for a long haul on this - you're going to learn a lot about the EEpro before you're done. The steps you will need to implement are basically: suspend: - pause the receiver, wait for it to finish - drain the transmitter and stop it - (optional) put the device into a low-power mode resume: - bring the device up to full-power mode - reinitialise the receiver - reinitialise the transmitter (ie. basically the same as the initial attachment) > cheers, > david j harding - david@metalogik.com > metalogik industries -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101302152.f0ULqmk01322>