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
nexedi
linux
Commits
1a133193
Commit
1a133193
authored
May 20, 2002
by
James Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added in support for new drivers.
parent
e76ac165
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
6 deletions
+42
-6
drivers/video/Config.in
drivers/video/Config.in
+14
-6
drivers/video/Makefile
drivers/video/Makefile
+2
-0
drivers/video/fbmem.c
drivers/video/fbmem.c
+26
-0
No files found.
drivers/video/Config.in
View file @
1a133193
...
@@ -156,6 +156,8 @@ if [ "$CONFIG_FB" = "y" ]; then
...
@@ -156,6 +156,8 @@ if [ "$CONFIG_FB" = "y" ]; then
tristate ' NeoMagic display support (EXPERIMENTAL)' CONFIG_FB_NEOMAGIC
tristate ' NeoMagic display support (EXPERIMENTAL)' CONFIG_FB_NEOMAGIC
tristate ' 3Dfx Banshee/Voodoo3 display support (EXPERIMENTAL)' CONFIG_FB_3DFX
tristate ' 3Dfx Banshee/Voodoo3 display support (EXPERIMENTAL)' CONFIG_FB_3DFX
tristate ' 3Dfx Voodoo Graphics (sst1) support (EXPERIMENTAL)' CONFIG_FB_VOODOO1
tristate ' 3Dfx Voodoo Graphics (sst1) support (EXPERIMENTAL)' CONFIG_FB_VOODOO1
tristate ' Trident support (EXPERIMENTAL)' CONFIG_FB_TRIDENT
tristate ' Permedia3 support (EXPERIMENTAL)' CONFIG_FB_PM3
fi
fi
fi
fi
if [ "$ARCH" = "sparc" -o "$ARCH" = "sparc64" ]; then
if [ "$ARCH" = "sparc" -o "$ARCH" = "sparc64" ]; then
...
@@ -280,7 +282,8 @@ if [ "$CONFIG_FB" = "y" ]; then
...
@@ -280,7 +282,8 @@ if [ "$CONFIG_FB" = "y" ]; then
"$CONFIG_FB_SA1100" = "y" -o "$CONFIG_FB_3DFX" = "y" -o \
"$CONFIG_FB_SA1100" = "y" -o "$CONFIG_FB_3DFX" = "y" -o \
"$CONFIG_FB_PMAG_BA" = "y" -o "$CONFIG_FB_PMAGB_B" = "y" -o \
"$CONFIG_FB_PMAG_BA" = "y" -o "$CONFIG_FB_PMAGB_B" = "y" -o \
"$CONFIG_FB_MAXINE" = "y" -o "$CONFIG_FB_TX3912" = "y" -o \
"$CONFIG_FB_MAXINE" = "y" -o "$CONFIG_FB_TX3912" = "y" -o \
"$CONFIG_FB_SIS" = "y" ]; then
"$CONFIG_FB_SIS" = "y" -o "$CONFIG_FB_PM3" = "y" -o \
"$CONFIG_FB_TRIDENT" = "y" ]; then
define_tristate CONFIG_FBCON_CFB8 y
define_tristate CONFIG_FBCON_CFB8 y
else
else
if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_ATARI" = "m" -o \
if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_ATARI" = "m" -o \
...
@@ -300,7 +303,8 @@ if [ "$CONFIG_FB" = "y" ]; then
...
@@ -300,7 +303,8 @@ if [ "$CONFIG_FB" = "y" ]; then
"$CONFIG_FB_PMAG_BA" = "m" -o "$CONFIG_FB_PMAGB_B" = "m" -o \
"$CONFIG_FB_PMAG_BA" = "m" -o "$CONFIG_FB_PMAGB_B" = "m" -o \
"$CONFIG_FB_MAXINE" = "m" -o "$CONFIG_FB_RADEON" = "m" -o \
"$CONFIG_FB_MAXINE" = "m" -o "$CONFIG_FB_RADEON" = "m" -o \
"$CONFIG_FB_SA1100" = "m" -o "$CONFIG_FB_SIS" = "m" -o \
"$CONFIG_FB_SA1100" = "m" -o "$CONFIG_FB_SIS" = "m" -o \
"$CONFIG_FB_TX3912" = "m" ]; then
"$CONFIG_FB_TX3912" = "m" -o "$CONFIG_FB_PM3" = "m" -o \
"$CONFIG_FB_TRIDENT" = "m" ]; then
define_tristate CONFIG_FBCON_CFB8 m
define_tristate CONFIG_FBCON_CFB8 m
fi
fi
fi
fi
...
@@ -316,7 +320,8 @@ if [ "$CONFIG_FB" = "y" ]; then
...
@@ -316,7 +320,8 @@ if [ "$CONFIG_FB" = "y" ]; then
"$CONFIG_FB_RIVA" = "y" -o "$CONFIG_FB_ATY128" = "y" -o \
"$CONFIG_FB_RIVA" = "y" -o "$CONFIG_FB_ATY128" = "y" -o \
"$CONFIG_FB_CYBER2000" = "y" -o "$CONFIG_FB_3DFX" = "y" -o \
"$CONFIG_FB_CYBER2000" = "y" -o "$CONFIG_FB_3DFX" = "y" -o \
"$CONFIG_FB_SIS" = "y" -o "$CONFIG_FB_SA1100" = "y" -o \
"$CONFIG_FB_SIS" = "y" -o "$CONFIG_FB_SA1100" = "y" -o \
"$CONFIG_FB_PVR2" = "y" ]; then
"$CONFIG_FB_PVR2" = "y" -o "$CONFIG_FB_PM3" = "y" -o \
"$CONFIG_FB_TRIDENT" = "y" ]; then
define_tristate CONFIG_FBCON_CFB16 y
define_tristate CONFIG_FBCON_CFB16 y
else
else
if [ "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_ATY" = "m" -o \
if [ "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_ATY" = "m" -o \
...
@@ -331,7 +336,8 @@ if [ "$CONFIG_FB" = "y" ]; then
...
@@ -331,7 +336,8 @@ if [ "$CONFIG_FB" = "y" ]; then
"$CONFIG_FB_RIVA" = "m" -o "$CONFIG_FB_ATY128" = "m" -o \
"$CONFIG_FB_RIVA" = "m" -o "$CONFIG_FB_ATY128" = "m" -o \
"$CONFIG_FB_CYBER2000" = "m" -o "$CONFIG_FB_SIS" = "m" -o \
"$CONFIG_FB_CYBER2000" = "m" -o "$CONFIG_FB_SIS" = "m" -o \
"$CONFIG_FB_SA1100" = "m" -o "$CONFIG_FB_RADEON" = "m" -o \
"$CONFIG_FB_SA1100" = "m" -o "$CONFIG_FB_RADEON" = "m" -o \
"$CONFIG_FB_PVR2" = "m" ]; then
"$CONFIG_FB_PVR2" = "m" -o "$CONFIG_FB_PM3" = "m" -o \
"$CONFIG_FB_TRIDENT" = "m" ]; then
define_tristate CONFIG_FBCON_CFB16 m
define_tristate CONFIG_FBCON_CFB16 m
fi
fi
fi
fi
...
@@ -360,7 +366,8 @@ if [ "$CONFIG_FB" = "y" ]; then
...
@@ -360,7 +366,8 @@ if [ "$CONFIG_FB" = "y" ]; then
"$CONFIG_FB_RIVA" = "y" -o "$CONFIG_FB_ATY128" = "y" -o \
"$CONFIG_FB_RIVA" = "y" -o "$CONFIG_FB_ATY128" = "y" -o \
"$CONFIG_FB_SIS" = "y" -o "$CONFIG_FB_SGIVW" = "y" -o \
"$CONFIG_FB_SIS" = "y" -o "$CONFIG_FB_SGIVW" = "y" -o \
"$CONFIG_FB_RADEON" = "y" -o "$CONFIG_FB_PVR2" = "y" -o \
"$CONFIG_FB_RADEON" = "y" -o "$CONFIG_FB_PVR2" = "y" -o \
"$CONFIG_FB_3DFX" = "y" ]; then
"$CONFIG_FB_3DFX" = "y" -o "$CONFIG_FB_PM3" = "y" -o \
"$CONFIG_FB_TRIDENT" = "y" ]; then
define_tristate CONFIG_FBCON_CFB32 y
define_tristate CONFIG_FBCON_CFB32 y
else
else
if [ "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_ATY" = "m" -o \
if [ "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_ATY" = "m" -o \
...
@@ -371,7 +378,8 @@ if [ "$CONFIG_FB" = "y" ]; then
...
@@ -371,7 +378,8 @@ if [ "$CONFIG_FB" = "y" ]; then
"$CONFIG_FB_RIVA" = "m" -o "$CONFIG_FB_ATY128" = "m" -o \
"$CONFIG_FB_RIVA" = "m" -o "$CONFIG_FB_ATY128" = "m" -o \
"$CONFIG_FB_3DFX" = "m" -o "$CONFIG_FB_RADEON" = "m" -o \
"$CONFIG_FB_3DFX" = "m" -o "$CONFIG_FB_RADEON" = "m" -o \
"$CONFIG_FB_SGIVW" = "m" -o "$CONFIG_FB_SIS" = "m" -o \
"$CONFIG_FB_SGIVW" = "m" -o "$CONFIG_FB_SIS" = "m" -o \
"$CONFIG_FB_PVR2" = "m" ]; then
"$CONFIG_FB_PVR2" = "m" -o "$CONFIG_FB_PM3" = "y"-o \
"$CONFIG_FB_TRIDENT" = "m" ]; then
define_tristate CONFIG_FBCON_CFB32 m
define_tristate CONFIG_FBCON_CFB32 m
fi
fi
fi
fi
...
...
drivers/video/Makefile
View file @
1a133193
...
@@ -44,6 +44,7 @@ endif
...
@@ -44,6 +44,7 @@ endif
obj-$(CONFIG_FB_ACORN)
+=
acornfb.o
obj-$(CONFIG_FB_ACORN)
+=
acornfb.o
obj-$(CONFIG_FB_AMIGA)
+=
amifb.o
obj-$(CONFIG_FB_AMIGA)
+=
amifb.o
obj-$(CONFIG_FB_PM2)
+=
pm2fb.o
obj-$(CONFIG_FB_PM2)
+=
pm2fb.o
obj-$(CONFIG_FB_PM3)
+=
pm3fb.o
obj-$(CONFIG_FB_APOLLO)
+=
dnfb.o
obj-$(CONFIG_FB_APOLLO)
+=
dnfb.o
obj-$(CONFIG_FB_Q40)
+=
q40fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
obj-$(CONFIG_FB_Q40)
+=
q40fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
obj-$(CONFIG_FB_ATARI)
+=
atafb.o
obj-$(CONFIG_FB_ATARI)
+=
atafb.o
...
@@ -67,6 +68,7 @@ obj-$(CONFIG_FB_OF) += offb.o
...
@@ -67,6 +68,7 @@ obj-$(CONFIG_FB_OF) += offb.o
obj-$(CONFIG_FB_IMSTT)
+=
imsttfb.o
obj-$(CONFIG_FB_IMSTT)
+=
imsttfb.o
obj-$(CONFIG_FB_RETINAZ3)
+=
retz3fb.o
obj-$(CONFIG_FB_RETINAZ3)
+=
retz3fb.o
obj-$(CONFIG_FB_CLGEN)
+=
clgenfb.o
obj-$(CONFIG_FB_CLGEN)
+=
clgenfb.o
obj-$(CONFIG_FB_TRIDENT)
+=
tridentfb.o
obj-$(CONFIG_FB_S3TRIO)
+=
S3triofb.o
obj-$(CONFIG_FB_S3TRIO)
+=
S3triofb.o
obj-$(CONFIG_FB_TGA)
+=
tgafb.o
obj-$(CONFIG_FB_TGA)
+=
tgafb.o
obj-$(CONFIG_FB_VESA)
+=
vesafb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
obj-$(CONFIG_FB_VESA)
+=
vesafb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
...
...
drivers/video/fbmem.c
View file @
1a133193
...
@@ -61,6 +61,8 @@ extern int cyberfb_init(void);
...
@@ -61,6 +61,8 @@ extern int cyberfb_init(void);
extern
int
cyberfb_setup
(
char
*
);
extern
int
cyberfb_setup
(
char
*
);
extern
int
pm2fb_init
(
void
);
extern
int
pm2fb_init
(
void
);
extern
int
pm2fb_setup
(
char
*
);
extern
int
pm2fb_setup
(
char
*
);
extern
int
pm3fb_init
(
void
);
extern
int
pm3fb_setup
(
char
*
);
extern
int
clps711xfb_init
(
void
);
extern
int
clps711xfb_init
(
void
);
extern
int
cyber2000fb_init
(
void
);
extern
int
cyber2000fb_init
(
void
);
extern
int
cyber2000fb_setup
(
char
*
);
extern
int
cyber2000fb_setup
(
char
*
);
...
@@ -120,10 +122,16 @@ extern int rivafb_init(void);
...
@@ -120,10 +122,16 @@ extern int rivafb_init(void);
extern
int
rivafb_setup
(
char
*
);
extern
int
rivafb_setup
(
char
*
);
extern
int
tdfxfb_init
(
void
);
extern
int
tdfxfb_init
(
void
);
extern
int
tdfxfb_setup
(
char
*
);
extern
int
tdfxfb_setup
(
char
*
);
extern
int
tridentfb_init
(
void
);
extern
int
tridentfb_setup
(
char
*
);
extern
int
sisfb_init
(
void
);
extern
int
sisfb_init
(
void
);
extern
int
sisfb_setup
(
char
*
);
extern
int
sisfb_setup
(
char
*
);
extern
int
stifb_init
(
void
);
extern
int
stifb_init
(
void
);
extern
int
stifb_setup
(
char
*
);
extern
int
stifb_setup
(
char
*
);
extern
int
pmagbafb_init
(
void
);
extern
int
pmagbbfb_init
(
void
);
extern
void
maxinefb_init
(
void
);
extern
int
tx3912fb_init
(
void
);
extern
int
radeonfb_init
(
void
);
extern
int
radeonfb_init
(
void
);
extern
int
radeonfb_setup
(
char
*
);
extern
int
radeonfb_setup
(
char
*
);
extern
int
e1355fb_init
(
void
);
extern
int
e1355fb_init
(
void
);
...
@@ -172,6 +180,9 @@ static struct {
...
@@ -172,6 +180,9 @@ static struct {
#ifdef CONFIG_FB_PM2
#ifdef CONFIG_FB_PM2
{
"pm2fb"
,
pm2fb_init
,
pm2fb_setup
},
{
"pm2fb"
,
pm2fb_init
,
pm2fb_setup
},
#endif
#endif
#ifdef CONFIG_FB_PM3
{
"pm3fb"
,
pm3fb_init
,
pm3fb_setup
},
#endif
#ifdef CONFIG_FB_CLGEN
#ifdef CONFIG_FB_CLGEN
{
"clgen"
,
clgenfb_init
,
clgenfb_setup
},
{
"clgen"
,
clgenfb_init
,
clgenfb_setup
},
#endif
#endif
...
@@ -220,6 +231,9 @@ static struct {
...
@@ -220,6 +231,9 @@ static struct {
#ifdef CONFIG_FB_SIS
#ifdef CONFIG_FB_SIS
{
"sisfb"
,
sisfb_init
,
sisfb_setup
},
{
"sisfb"
,
sisfb_init
,
sisfb_setup
},
#endif
#endif
#ifdef CONFIG_FB_TRIDENT
{
"trident"
,
tridentfb_init
,
tridentfb_setup
},
#endif
/*
/*
* Generic drivers that are used as fallbacks
* Generic drivers that are used as fallbacks
...
@@ -285,12 +299,24 @@ static struct {
...
@@ -285,12 +299,24 @@ static struct {
#ifdef CONFIG_FB_HIT
#ifdef CONFIG_FB_HIT
{
"hitfb"
,
hitfb_init
,
NULL
},
{
"hitfb"
,
hitfb_init
,
NULL
},
#endif
#endif
#ifdef CONFIG_FB_TX3912
{
"tx3912"
,
tx3912fb_init
,
NULL
},
#endif
#ifdef CONFIG_FB_E1355
#ifdef CONFIG_FB_E1355
{
"e1355fb"
,
e1355fb_init
,
e1355fb_setup
},
{
"e1355fb"
,
e1355fb_init
,
e1355fb_setup
},
#endif
#endif
#ifdef CONFIG_FB_PVR2
#ifdef CONFIG_FB_PVR2
{
"pvr2"
,
pvr2fb_init
,
pvr2fb_setup
},
{
"pvr2"
,
pvr2fb_init
,
pvr2fb_setup
},
#endif
#endif
#ifdef CONFIG_FB_PMAG_BA
{
"pmagbafb"
,
pmagbafb_init
,
NULL
},
#endif
#ifdef CONFIG_FB_PMAGB_B
{
"pmagbbfb"
,
pmagbbfb_init
,
NULL
},
#endif
#ifdef CONFIG_FB_MAXINE
{
"maxinefb"
,
maxinefb_init
,
NULL
},
#endif
#ifdef CONFIG_FB_VOODOO1
#ifdef CONFIG_FB_VOODOO1
{
"sst"
,
sstfb_init
,
sstfb_setup
},
{
"sst"
,
sstfb_init
,
sstfb_setup
},
#endif
#endif
...
...
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