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
67bf3c24
Commit
67bf3c24
authored
Mar 02, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FRAMEBUFFER]: Convert cg14 driver to new APIs.
parent
57b55f79
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
606 additions
and
3 deletions
+606
-3
drivers/video/Kconfig
drivers/video/Kconfig
+2
-2
drivers/video/Makefile
drivers/video/Makefile
+2
-1
drivers/video/cg14.c
drivers/video/cg14.c
+597
-0
drivers/video/fbmem.c
drivers/video/fbmem.c
+5
-0
No files found.
drivers/video/Kconfig
View file @
67bf3c24
...
@@ -823,9 +823,9 @@ config FB_TCX
...
@@ -823,9 +823,9 @@ config FB_TCX
This is the frame buffer device driver for the TCX 24/8bit frame
This is the frame buffer device driver for the TCX 24/8bit frame
buffer.
buffer.
config FB_CG
FOURTEEN
config FB_CG
14
bool "CGfourteen (SX) support"
bool "CGfourteen (SX) support"
depends on FB_SBUS
&& SPARC32
depends on FB_SBUS
help
help
This is the frame buffer device driver for the CGfourteen frame
This is the frame buffer device driver for the CGfourteen frame
buffer on Desktop SPARCsystems with the SX graphics option.
buffer on Desktop SPARCsystems with the SX graphics option.
...
...
drivers/video/Makefile
View file @
67bf3c24
...
@@ -72,7 +72,6 @@ obj-$(CONFIG_FB_VOODOO1) += sstfb.o cfbfillrect.o cfbcopyarea.o cfbimgb
...
@@ -72,7 +72,6 @@ obj-$(CONFIG_FB_VOODOO1) += sstfb.o cfbfillrect.o cfbcopyarea.o cfbimgb
# One by one these are being converted over to the new APIs
# One by one these are being converted over to the new APIs
#obj-$(CONFIG_FB_TCX) += tcxfb.o sbusfb.o
#obj-$(CONFIG_FB_TCX) += tcxfb.o sbusfb.o
#obj-$(CONFIG_FB_CGFOURTEEN) += cgfourteenfb.o sbusfb.o
#obj-$(CONFIG_FB_P9100) += p9100fb.o sbusfb.o
#obj-$(CONFIG_FB_P9100) += p9100fb.o sbusfb.o
#obj-$(CONFIG_FB_LEO) += leofb.o sbusfb.o
#obj-$(CONFIG_FB_LEO) += leofb.o sbusfb.o
...
@@ -82,6 +81,8 @@ obj-$(CONFIG_FB_CG3) += cg3.o sbuslib.o cfbimgblt.o cfbcopyarea.o
...
@@ -82,6 +81,8 @@ obj-$(CONFIG_FB_CG3) += cg3.o sbuslib.o cfbimgblt.o cfbcopyarea.o
cfbfillrect.o
cfbfillrect.o
obj-$(CONFIG_FB_BW2)
+=
bw2.o sbuslib.o cfbimgblt.o cfbcopyarea.o
\
obj-$(CONFIG_FB_BW2)
+=
bw2.o sbuslib.o cfbimgblt.o cfbcopyarea.o
\
cfbfillrect.o
cfbfillrect.o
obj-$(CONFIG_FB_CG14)
+=
cg14.o sbuslib.o cfbimgblt.o cfbcopyarea.o
\
cfbfillrect.o
# Files generated that shall be removed upon make clean
# Files generated that shall be removed upon make clean
clean-files
:=
promcon_tbl.c
clean-files
:=
promcon_tbl.c
...
...
drivers/video/cg
fourteenfb
.c
→
drivers/video/cg
14
.c
View file @
67bf3c24
This diff is collapsed.
Click to expand it.
drivers/video/fbmem.c
View file @
67bf3c24
...
@@ -152,6 +152,8 @@ extern int cg3_init(void);
...
@@ -152,6 +152,8 @@ extern int cg3_init(void);
extern
int
cg3_setup
(
char
*
);
extern
int
cg3_setup
(
char
*
);
extern
int
bw2_init
(
void
);
extern
int
bw2_init
(
void
);
extern
int
bw2_setup
(
char
*
);
extern
int
bw2_setup
(
char
*
);
extern
int
cg14_init
(
void
);
extern
int
cg14_setup
(
char
*
);
static
struct
{
static
struct
{
const
char
*
name
;
const
char
*
name
;
...
@@ -255,6 +257,9 @@ static struct {
...
@@ -255,6 +257,9 @@ static struct {
#ifdef CONFIG_FB_BW2
#ifdef CONFIG_FB_BW2
{
"bw2"
,
bw2_init
,
bw2_setup
},
{
"bw2"
,
bw2_init
,
bw2_setup
},
#endif
#endif
#ifdef CONFIG_FB_CG14
{
"cg14"
,
cg14_init
,
cg14_setup
},
#endif
/*
/*
* Generic drivers that are used as fallbacks
* Generic drivers that are used as fallbacks
...
...
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