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
ec48294e
Commit
ec48294e
authored
Mar 14, 2002
by
linux-m68k.org@mandrakesoft.com
Committed by
Jeff Garzik
Mar 14, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clgenfb fixes for zorro bus. clgenfb should work again on m68k.
parent
45b5d56b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/video/clgenfb.c
drivers/video/clgenfb.c
+5
-5
No files found.
drivers/video/clgenfb.c
View file @
ec48294e
...
...
@@ -415,8 +415,6 @@ static struct clgenfb_info boards[MAX_NUM_BOARDS]; /* the boards */
static
unsigned
clgen_def_mode
=
1
;
static
int
noaccel
=
0
;
static
int
release_io_ports
=
0
;
/*
...
...
@@ -2413,6 +2411,8 @@ static void __init get_prep_addrs (unsigned long *display, unsigned long *regist
#ifdef CONFIG_PCI
static
int
release_io_ports
=
0
;
/* Pulled the logic from XFree86 Cirrus driver to get the memory size,
* based on the DRAM bandwidth bit and DRAM bank switching bit. This
* works with 1MB, 2MB and 4MB configurations (which the Motorola boards
...
...
@@ -2635,11 +2635,11 @@ static void __exit clgen_zorro_unmap (struct clgenfb_info *info)
release_mem_region
(
info
->
board_addr
,
info
->
board_size
);
if
(
info
->
btype
==
BT_PICASSO4
)
{
iounmap
(
info
->
board_addr
);
iounmap
(
info
->
fbmem_phys
);
iounmap
(
(
void
*
)
info
->
board_addr
);
iounmap
(
(
void
*
)
info
->
fbmem_phys
);
}
else
{
if
(
info
->
board_addr
>
0x01000000
)
iounmap
(
info
->
board_addr
);
iounmap
(
(
void
*
)
info
->
board_addr
);
}
}
...
...
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