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
58ff17ad
Commit
58ff17ad
authored
Dec 09, 2002
by
James Simmons
Browse files
Options
Browse Files
Download
Plain Diff
Merge maxwell.earthlink.net:/usr/src/linus-2.5
into maxwell.earthlink.net:/usr/src/fbdev-2.5
parents
5882eeaf
d5c2e404
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
117 additions
and
35 deletions
+117
-35
drivers/video/igafb.c
drivers/video/igafb.c
+80
-20
include/linux/pci_ids.h
include/linux/pci_ids.h
+37
-0
include/video/radeon.h
include/video/radeon.h
+0
-15
No files found.
drivers/video/igafb.c
View file @
58ff17ad
...
...
@@ -76,35 +76,95 @@ struct fb_fix_screeninfo igafb_fix __initdata = {
struct
fb_var_screeninfo
default_var
=
{
/* 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) */
640
,
480
,
640
,
480
,
0
,
0
,
8
,
0
,
{
0
,
8
,
0
},
{
0
,
8
,
0
},
{
0
,
8
,
0
},
{
0
,
0
,
0
},
0
,
0
,
-
1
,
-
1
,
0
,
39722
,
48
,
16
,
33
,
10
,
96
,
2
,
0
,
FB_VMODE_NONINTERLACED
.
xres
=
640
,
.
yres
=
480
,
.
xres_virtual
=
640
,
.
yres_virtual
=
480
,
.
bits_per_pixel
=
8
,
.
red
=
{
0
,
8
,
0
},
.
green
=
{
0
,
8
,
0
},
.
blue
=
{
0
,
8
,
0
},
.
height
=
-
1
,
.
width
=
-
1
,
.
accel_flags
=
FB_ACCEL_NONE
,
.
pixclock
=
39722
,
.
left_margin
=
48
,
.
right_margin
=
16
,
.
upper_margin
=
33
,
.
lower_margin
=
10
,
.
hsync_len
=
96
,
.
vsync_len
=
2
,
.
vmode
=
FB_VMODE_NONINTERLACED
};
#ifdef __sparc__
struct
fb_var_screeninfo
default_var_1024x768
__initdata
=
{
/* 1024x768, 75 Hz, Non-Interlaced (78.75 MHz dotclock) */
1024
,
768
,
1024
,
768
,
0
,
0
,
8
,
0
,
{
0
,
8
,
0
},
{
0
,
8
,
0
},
{
0
,
8
,
0
},
{
0
,
0
,
0
},
0
,
0
,
-
1
,
-
1
,
0
,
12699
,
176
,
16
,
28
,
1
,
96
,
3
,
FB_SYNC_HOR_HIGH_ACT
|
FB_SYNC_VERT_HIGH_ACT
,
FB_VMODE_NONINTERLACED
.
xres
=
1024
,
.
yres
=
768
,
.
xres_virtual
=
1024
,
.
yres_virtual
=
768
,
.
bits_per_pixel
=
8
,
.
red
=
{
0
,
8
,
0
},
.
green
=
{
0
,
8
,
0
},
.
blue
=
{
0
,
8
,
0
},
.
height
=
-
1
,
.
width
=
-
1
,
.
accel_flags
=
FB_ACCEL_NONE
,
.
pixclock
=
12699
,
.
left_margin
=
176
,
.
right_margin
=
16
,
.
upper_margin
=
28
,
.
lower_margin
=
1
,
.
hsync_len
=
96
,
.
vsync_len
=
3
,
.
vmode
=
FB_SYNC_HOR_HIGH_ACT
|
FB_SYNC_VERT_HIGH_ACT
,
FB_VMODE_NONINTERLACED
};
struct
fb_var_screeninfo
default_var_1152x900
__initdata
=
{
/* 1152x900, 76 Hz, Non-Interlaced (110.0 MHz dotclock) */
1152
,
900
,
1152
,
900
,
0
,
0
,
8
,
0
,
{
0
,
8
,
0
},
{
0
,
8
,
0
},
{
0
,
8
,
0
},
{
0
,
0
,
0
},
0
,
0
,
-
1
,
-
1
,
0
,
9091
,
234
,
24
,
34
,
3
,
100
,
3
,
FB_SYNC_HOR_HIGH_ACT
|
FB_SYNC_VERT_HIGH_ACT
,
FB_VMODE_NONINTERLACED
.
xres
=
1152
,
.
yres
=
900
,
.
xres_virtual
=
1152
,
.
yres_virtual
=
900
,
.
bits_per_pixel
=
8
,
.
red
=
{
0
,
8
,
0
},
.
green
=
{
0
,
8
,
0
},
.
blue
=
{
0
,
8
,
0
},
.
height
=
-
1
,
.
width
=
-
1
,
.
accel_flags
=
FB_ACCEL_NONE
,
.
pixclock
=
9091
,
.
left_margin
=
234
,
.
right_margin
=
24
,
.
upper_margin
=
34
,
.
lower_margin
=
3
,
.
hsync_len
=
100
,
.
vsync_len
=
3
,
.
vmode
=
FB_SYNC_HOR_HIGH_ACT
|
FB_SYNC_VERT_HIGH_ACT
,
FB_VMODE_NONINTERLACED
};
struct
fb_var_screeninfo
default_var_1280x1024
__initdata
=
{
/* 1280x1024, 75 Hz, Non-Interlaced (135.00 MHz dotclock) */
1280
,
1024
,
1280
,
1024
,
0
,
0
,
8
,
0
,
{
0
,
8
,
0
},
{
0
,
8
,
0
},
{
0
,
8
,
0
},
{
0
,
0
,
0
},
0
,
0
,
-
1
,
-
1
,
0
,
7408
,
248
,
16
,
38
,
1
,
144
,
3
,
FB_SYNC_HOR_HIGH_ACT
|
FB_SYNC_VERT_HIGH_ACT
,
FB_VMODE_NONINTERLACED
.
xres
=
1280
,
.
yres
=
1024
,
.
xres_virtual
=
1280
,
.
yres_virtaul
=
1024
,
.
bits_per_pixel
=
8
,
.
red
=
{
0
,
8
,
0
},
.
green
=
{
0
,
8
,
0
},
.
blue
=
{
0
,
8
,
0
},
.
height
=
-
1
,
.
width
=
-
1
,
.
accel_flags
=
0
,
.
pixclock
=
7408
,
.
left_margin
=
248
,
.
right_margin
=
16
,
.
upper_margin
=
38
,
.
lower_margin
=
1
,
.
hsync_len
=
144
,
.
vsync_len
=
3
,
.
vmode
=
FB_SYNC_HOR_HIGH_ACT
|
FB_SYNC_VERT_HIGH_ACT
,
FB_VMODE_NONINTERLACED
};
/*
...
...
include/linux/pci_ids.h
View file @
58ff17ad
...
...
@@ -263,6 +263,43 @@
/* Radeon NV-100 */
#define PCI_DEVICE_ID_ATI_RADEON_N1 0x5159
#define PCI_DEVICE_ID_ATI_RADEON_N2 0x515a
/* Radeon R100 */
#define PCI_DEVICE_ID_ATI_RADEON_QD 0x5144
#define PCI_DEVICE_ID_ATI_RADEON_QE 0x5145
#define PCI_DEVICE_ID_ATI_RADEON_QF 0x5146
#define PCI_DEVICE_ID_ATI_RADEON_QG 0x5147
/* Radeon RV100 (VE) */
#define PCI_DEVICE_ID_ATI_RADEON_QY 0x5159
#define PCI_DEVICE_ID_ATI_RADEON_QZ 0x515a
/* Radeon R200 (8500) */
#define PCI_DEVICE_ID_ATI_RADEON_QL 0x514c
#define PCI_DEVICE_ID_ATI_RADEON_QN 0x514e
#define PCI_DEVICE_ID_ATI_RADEON_QO 0x514f
#define PCI_DEVICE_ID_ATI_RADEON_Ql 0x516c
#define PCI_DEVICE_ID_ATI_RADEON_BB 0x4242
/* Radeon RV200 (7500) */
#define PCI_DEVICE_ID_ATI_RADEON_QW 0x5157
#define PCI_DEVICE_ID_ATI_RADEON_QX 0x5158
/* Radeon RV250 (9000) */
#define PCI_DEVICE_ID_ATI_RADEON_Id 0x4964
#define PCI_DEVICE_ID_ATI_RADEON_Ie 0x4965
#define PCI_DEVICE_ID_ATI_RADEON_If 0x4966
#define PCI_DEVICE_ID_ATI_RADEON_Ig 0x4967
/* Radeon R300 (9700) */
#define PCI_DEVICE_ID_ATI_RADEON_ND 0x4e44
#define PCI_DEVICE_ID_ATI_RADEON_NE 0x4e45
#define PCI_DEVICE_ID_ATI_RADEON_NF 0x4e46
#define PCI_DEVICE_ID_ATI_RADEON_NG 0x4e47
/* Radeon M6 */
#define PCI_DEVICE_ID_ATI_RADEON_LY 0x4c59
#define PCI_DEVICE_ID_ATI_RADEON_LZ 0x4c5a
/* Radeon M7 */
#define PCI_DEVICE_ID_ATI_RADEON_LW 0x4c57
#define PCI_DEVICE_ID_ATI_RADEON_LX 0x4c58
#define PCI_DEVICE_ID_ATI_RADEON_Ld 0x4964
#define PCI_DEVICE_ID_ATI_RADEON_Le 0x4965
#define PCI_DEVICE_ID_ATI_RADEON_Lf 0x4966
#define PCI_DEVICE_ID_ATI_RADEON_Lg 0x4967
/* Radeon */
#define PCI_DEVICE_ID_ATI_RADEON_RA 0x5144
#define PCI_DEVICE_ID_ATI_RADEON_RB 0x5145
...
...
include/video/radeon.h
View file @
58ff17ad
#ifndef _RADEON_H
#define _RADEON_H
/* radeon PCI ids */
#define PCI_DEVICE_ID_RADEON_QD 0x5144
#define PCI_DEVICE_ID_RADEON_QE 0x5145
#define PCI_DEVICE_ID_RADEON_QF 0x5146
#define PCI_DEVICE_ID_RADEON_QG 0x5147
#define PCI_DEVICE_ID_RADEON_QY 0x5159
#define PCI_DEVICE_ID_RADEON_QZ 0x515a
#define PCI_DEVICE_ID_RADEON_LW 0x4c57
#define PCI_DEVICE_ID_RADEON_LY 0x4c59
#define PCI_DEVICE_ID_RADEON_LZ 0x4c5a
#define PCI_DEVICE_ID_RADEON_QL 0x514c
#define PCI_DEVICE_ID_RADEON_QW 0x5157
#define RADEON_REGSIZE 0x4000
#define MM_INDEX 0x0000
#define MM_DATA 0x0004
#define BUS_CNTL 0x0030
...
...
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