mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Toplica Tanasković" <toptan@sezampro.yu>
To: linux-kernel@vger.kernel.org
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Marcelo Tosatti <marcelo@conectiva.com.br>
Subject: Radeonfb update and fix
Date: Wed, 18 Jun 2003 22:38:09 +0200	[thread overview]
Message-ID: <200306182238.09581.toptan@sezampro.yu> (raw)

[-- Attachment #1: Type: text/plain, Size: 362 bytes --]

	Hi, everyone!

	This patch does two things:

	1. Adds RV250 (R9000 series) Radeon to radeon framebuffer files.
	2. Fixes small but annoying bug for Radeon P/M users. The brake was missing 
in case so -ENODEV was returned for this card.

	It applies to 2.4.21 and 2.4.21-ac1, both.

	Alan and Marcelo please apply.
-- 
Pozdrav,
Toplica Tanasković

[-- Attachment #2: radeonfb.diff --]
[-- Type: text/x-diff, Size: 1667 bytes --]

diff -ruN orig/linux-2.4.21/drivers/video/radeonfb.c linux/drivers/video/radeonfb.c
--- orig/linux-2.4.21/drivers/video/radeonfb.c	2003-06-14 00:38:58.000000000 +0200
+++ linux/drivers/video/radeonfb.c	2003-06-14 01:46:30.000000000 +0200
@@ -101,7 +101,8 @@
 	RADEON_LW,	/* Radeon Mobility M7 */
 	RADEON_LY,	/* Radeon Mobility M6 */
 	RADEON_LZ,	/* Radeon Mobility M6 */
-	RADEON_PM	/* Radeon Mobility P/M */
+	RADEON_PM,	/* Radeon Mobility P/M */
+	RADEON_IF	/* Radeon RV250 (9000) */
 };


@@ -129,6 +130,7 @@
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LY, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LY},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LZ, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LZ},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_PM, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_PM},
+	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_IF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_IF},
 	{ 0, }
 };
 MODULE_DEVICE_TABLE(pci, radeonfb_pci_table);
@@ -861,6 +863,11 @@
 	        case PCI_DEVICE_ID_RADEON_PM:
 			strcpy(rinfo->name, "Radeon P/M ");
 			rinfo->hasCRTC2 = 1;
+			break;
+		case PCI_DEVICE_ID_RADEON_IF:
+			strcpy(rinfo->name, "Radeon R9000 IF ");
+			rinfo->hasCRTC2 = 1;
+			break;
 		default:
 			return -ENODEV;
 	}
diff -ruN orig/linux-2.4.21/drivers/video/radeon.h linux/drivers/video/radeon.h
--- orig/linux-2.4.21/drivers/video/radeon.h	2002-11-29 00:53:15.000000000 +0100
+++ linux/drivers/video/radeon.h	2003-06-14 01:43:46.000000000 +0200
@@ -15,6 +15,7 @@
 #define PCI_DEVICE_ID_RADEON_PM		0x4c52
 #define PCI_DEVICE_ID_RADEON_QL		0x514c
 #define PCI_DEVICE_ID_RADEON_QW		0x5157
+#define PCI_DEVICE_ID_RADEON_IF		0x4966

 #define RADEON_REGSIZE			0x4000


             reply	other threads:[~2003-06-18 20:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-18 20:38 Toplica Tanasković [this message]
2003-06-18 21:06 ` Benjamin Herrenschmidt
2003-06-18 22:54   ` Toplica Tanasković

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200306182238.09581.toptan@sezampro.yu \
    --to=toptan@sezampro.yu \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®