http://rain.prohosting.com/scftpd/rivafb-richards2.diff.gz
----------------------------------------------------------
This patch provides the ability to work with LCDs, bug fixes to cleanup code, Mac support, and support for more nvidia cards. The Mac code was added from a patch Ani Joshi sent me.
The core of the riva framebuffer driver lies in riva_hw.c, a file from the xfree86 source tree. The original riva_hw.c in 2.4.19 is dated 2/2000, I have updated this file from xfree86's cvs and made the necessary changes to the other source and header files and so the flatpanel code will work properly. Since the riva_hw.c with flatpanel support from xfree86's cvs has not reached an official stable release, this would obviously make this patch experimental. However, the feedback from the xfree86 cvs driver has been good and I've carefully "ported" all the necessary changes over.
Its been tested with DirectFB demo programs called df_stress and df_window on a Pentium3/GeForce2MX with a regular CRT monitor and with a LCD flatpanel that works off a DVI connection. Unless your on a Mac or a notebook with a chipset that works specifically with LCDs like the GeForce2Go, you will most likely have to pass flatpanel=1 to the module when its loading because there is no x86 code yet that looks for DVI flatpanels. There looks to be some code for twinview but I have not had any success with this on my box with xfree86 cvs driver or this new riva framebuffer module. LCDs that use analog connections and hookup to the standard VGA card connections should not need to pass flatpanel=1, this is for digital connections only.
Below is a link to the patch. I have not pasted it because I'm not sure if it will be accepted in the 2.4 branch. I'm also worried that a few of the entries I added in include/linux/pci_ids.h might be to long for some versions of gcc.
i.e. #define PCI_DEVICE_ID_NVIDIA_GEFORCE4_420_GO_M32 0x0176
/* largest define I added, 40 characters long */
_____________________________________________________________
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/