Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
470d3cc3
Commit
470d3cc3
authored
Apr 10, 2003
by
James Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[RADEON FBDEV] Compile fixes.
parent
1e1b793f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
14 deletions
+4
-14
drivers/video/radeonfb.c
drivers/video/radeonfb.c
+3
-14
include/linux/pci_ids.h
include/linux/pci_ids.h
+1
-0
No files found.
drivers/video/radeonfb.c
View file @
470d3cc3
...
...
@@ -122,7 +122,7 @@ enum radeon_chips {
RADEON_NE
,
RADEON_NF
,
RADEON_NG
,
RADEON_QM
/* LN (my Radeon 9100) */
RADEON_QM
};
enum
radeon_arch
{
...
...
@@ -170,7 +170,7 @@ static struct radeon_chip_info {
{
"9700 NE"
,
RADEON_R300
},
{
"9700 NF"
,
RADEON_R300
},
{
"9700 NG"
,
RADEON_R300
},
{
"9100 QM"
,
RADEON_R200
}
/* LN (my Radeon 9100) */
{
"9100 QM"
,
RADEON_R200
}
};
...
...
@@ -215,7 +215,7 @@ static struct pci_device_id radeonfb_pci_table[] __devinitdata = {
{
PCI_VENDOR_ID_ATI
,
PCI_DEVICE_ID_ATI_RADEON_NE
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
RADEON_NE
},
{
PCI_VENDOR_ID_ATI
,
PCI_DEVICE_ID_ATI_RADEON_NF
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
RADEON_NF
},
{
PCI_VENDOR_ID_ATI
,
PCI_DEVICE_ID_ATI_RADEON_NG
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
RADEON_NG
},
{
PCI_VENDOR_ID_ATI
,
PCI_DEVICE_ID_ATI_RADEON_QM
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
RADEON_QM
},
/* LN (my Radeon 9100) */
{
PCI_VENDOR_ID_ATI
,
PCI_DEVICE_ID_ATI_RADEON_QM
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
RADEON_QM
},
{
0
,
}
};
MODULE_DEVICE_TABLE
(
pci
,
radeonfb_pci_table
);
...
...
@@ -887,16 +887,6 @@ static void radeon_get_pllinfo(struct radeonfb_info *rinfo, char *bios_seg)
case
PCI_DEVICE_ID_ATI_RADEON_ND
:
case
PCI_DEVICE_ID_ATI_RADEON_NE
:
case
PCI_DEVICE_ID_ATI_RADEON_NF
:
case
PCI_DEVICE_ID_ATI_RADEON_NG
:
rinfo
->
pll
.
ppll_max
=
40000
;
rinfo
->
pll
.
ppll_min
=
20000
;
rinfo
->
pll
.
xclk
=
27000
;
rinfo
->
pll
.
ref_div
=
12
;
rinfo
->
pll
.
ref_clk
=
2700
;
break
;
case
PCI_DEVICE_ID_ATI_RADEON_ND
:
case
PCI_DEVICE_ID_ATI_RADEON_NE
:
case
PCI_DEVICE_ID_ATI_RADEON_NF
:
case
PCI_DEVICE_ID_ATI_RADEON_NG
:
rinfo
->
pll
.
ppll_max
=
40000
;
rinfo
->
pll
.
ppll_min
=
20000
;
...
...
@@ -1310,7 +1300,6 @@ static int __devinit radeon_init_disp (struct radeonfb_info *rinfo)
fb_alloc_cmap
(
&
info
->
cmap
,
256
,
0
);
var
.
activate
=
FB_ACTIVATE_NOW
;
fb_set_var
(
&
var
,
info
);
return
0
;
}
...
...
include/linux/pci_ids.h
View file @
470d3cc3
...
...
@@ -287,6 +287,7 @@
#define PCI_DEVICE_ID_ATI_RADEON_Ie 0x4965
#define PCI_DEVICE_ID_ATI_RADEON_If 0x4966
#define PCI_DEVICE_ID_ATI_RADEON_Ig 0x4967
#define PCI_DEVICE_ID_ATI_RADEON_QM 0x514d
/* Radeon R300 (9700) */
#define PCI_DEVICE_ID_ATI_RADEON_ND 0x4e44
#define PCI_DEVICE_ID_ATI_RADEON_NE 0x4e45
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment