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
920dc5e8
Commit
920dc5e8
authored
Dec 23, 2002
by
James Simmons
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://fbdev.bkbits.net/fbdev-2.5
into kozmo.(none):/usr/src/fbdev-2.5
parents
82e6a9ee
c2a353d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
10 deletions
+5
-10
drivers/video/sticore.h
drivers/video/sticore.h
+0
-2
drivers/video/stifb.c
drivers/video/stifb.c
+5
-8
No files found.
drivers/video/sticore.h
View file @
920dc5e8
...
...
@@ -83,8 +83,6 @@ extern struct sti_struct *sti_init_roms(void);
there's no other way for stifb to find it. */
extern
struct
sti_struct
*
default_sti
;
extern
struct
display_switch
fbcon_sti
;
/* fbcon-sti.c */
int
sti_init_graph
(
struct
sti_struct
*
sti
);
void
sti_inq_conf
(
struct
sti_struct
*
sti
);
void
sti_putc
(
struct
sti_struct
*
sti
,
int
c
,
int
y
,
int
x
);
...
...
drivers/video/stifb.c
View file @
920dc5e8
...
...
@@ -58,17 +58,13 @@
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/tty.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/selection.h>
#include <linux/ioport.h>
#include <linux/pci.h>
#include "console/fbcon.h"
#include <asm/grfioctl.h>
/* for HP-UX compatibility */
#include "sticore.h"
...
...
@@ -113,7 +109,6 @@ struct stifb_info {
ngle_rom_t
ngle_rom
;
struct
sti_struct
*
sti
;
int
deviceSpecificConfig
;
struct
display
disp
;
};
static
int
stifb_force_bpp
[
MAX_STI_ROMS
]
=
{
0
,
};
...
...
@@ -897,7 +892,11 @@ stifb_setcolreg(u_int regno, u_int red, u_int green,
if
(
regno
>=
256
)
/* no. of hw registers */
return
1
;
red
>>=
8
;
green
>>=
8
;
blue
>>=
8
;
START_IMAGE_COLORMAP_ACCESS
(
fb
);
if
(
fb
->
info
.
var
.
grayscale
)
{
...
...
@@ -1042,7 +1041,6 @@ stifb_init_fb(struct sti_struct *sti, int force_bpp)
{
struct
fb_fix_screeninfo
*
fix
;
struct
fb_var_screeninfo
*
var
;
struct
display
*
disp
;
struct
stifb_info
*
fb
;
struct
fb_info
*
info
;
unsigned
long
sti_rom_address
;
...
...
@@ -1061,7 +1059,6 @@ stifb_init_fb(struct sti_struct *sti, int force_bpp)
memset
(
fb
,
0
,
sizeof
(
*
fb
));
fix
=
&
info
->
fix
;
var
=
&
info
->
var
;
disp
=
&
fb
->
disp
;
fb
->
sti
=
sti
;
/* store upper 32bits of the graphics id */
...
...
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