public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Patch to make ymfpci legacy address 16 bits
@ 2001-05-09 20:17 Pavel Roskin
  2001-05-09 20:23 ` Jeff Garzik
  0 siblings, 1 reply; 10+ messages in thread
From: Pavel Roskin @ 2001-05-09 20:17 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: linux-kernel

Hi, Pete!

Next time you are asking my opinion please cc: me, so that I can quote
you.

Yes, I think you have fixed a terrible bug in ymfpci. Decoding only 10-bit
addresses is extremely dangerous, considering that only 388-38b is
reserved, while 788-78b etc are not.

In order to get your patch accepted sooner please use symbolic constants
and better indentation. I don't want to steal your credits by doing it for
you :-)

If you want to play further with APM and ymfpci, I made a stub for proper
apm support in the ymfpci driver. It's available here:

http://www.red-bean.com/~proski/linux/ymfpci_pm.diff

You may need to save some data in memory when the system goes to suspend
and restore them afterwards. I believe that the PCI config space should be
saved by BIOS. Everything else is the responsibility of the driver.

If I find a similar problem in ALSA it will be reported with cc: to you.

-- 
Regards,
Pavel Roskin


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-05-11  2:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-09 20:17 Patch to make ymfpci legacy address 16 bits Pavel Roskin
2001-05-09 20:23 ` Jeff Garzik
2001-05-09 20:52   ` Pavel Roskin
2001-05-09 21:08     ` Jeff Garzik
2001-05-09 23:43       ` Pavel Roskin
2001-05-09 23:53       ` Zach Brown
2001-05-10  2:53   ` Albert D. Cahalan
2001-05-10  7:28     ` Question: Status of USAGI/FreeSWAN? Dax Kelson
2001-05-11  2:52       ` Mike Fedyk
2001-05-10 11:54     ` Patch to make ymfpci legacy address 16 bits mirabilos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox