09 May, 2008
1 commit
-
Replace remaining open boot prom code with of.
Boot tested on sparc32 and compile tested on sparc64.
Signed-off-by: Robert Reif
Signed-off-by: David S. Miller
04 May, 2008
1 commit
-
From: Robert Reif
Replaced tcx_init_one with tcx_probe.
Fixed some checkpatch problems.Signed-off-by: David S. Miller
28 Apr, 2008
2 commits
-
Add KERN_ facility level to sparc video drivers.
Signed-off-by: Robert Reif
Signed-off-by: David S. Miller -
Make tcx_init and tcx_exit static.
Signed-off-by: Robert Reif
Signed-off-by: David S. Miller
27 Apr, 2008
1 commit
-
Fix compile warning:
CC drivers/video/tcx.o
drivers/video/tcx.c: In function ‘tcx_init_one’:
drivers/video/tcx.c:477: warning: format ‘%lx’ expects type ‘long
unsigned int’, but argument 4 has type ‘resource_size_t’This was the only sparc driver to use the resource directly in the
printk so I changed it to physbase like the other drivers.
Boot tested on SS4.Signed-off-by: Robert Reif
Signed-off-by: David S. Miller
30 Jul, 2007
1 commit
-
All of these drivers use a silly:
struct all_info {
struct fb_info info;
struct foo_par par;
};struct all_info *all = kzalloc(sizeof(*all), GFP_KERNEL);
all->info.par = &all->par;etc. etc. code sequence, basically replicating the provided
framebuffer_alloc()/framebuffer_release(), and doing it badly.Not only is this massive code duplication, it also caused a
bug in that we weren't setting the fb_info->device pointer
which results in an OOPS when fb_is_primary_device() runs.Fix all of this by using framebuffer_{alloc,release}() and
passing in "&of_device->dev" as the device pointer.Signed-off-by: David S. Miller
01 Jan, 2007
1 commit
-
We need to pass in the resource otherwise we cannot
release the region properly. We must know whether it is
an I/O or MEM resource.Spotted by Eric Brower.
Signed-off-by: David S. Miller
30 Jun, 2006
1 commit
-
Signed-off-by: David S. Miller
15 Jan, 2006
2 commits
-
No need for a file argument. If we'd really need it it's in vma->vm_file
already. gbefb and sgivwfb used to set vma->vm_file to the file argument, but
the kernel alrady did that.Signed-off-by: Christoph Hellwig
Signed-off-by: Antonino Daplas
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The ioctl and file arguments to ->fb_mmap are totally unused and there's not
reason a driver should need them.Also update the ->fb_compat_ioctl prototype to be the same as ->fb_mmap.
Signed-off-by: Antonino Daplas
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
13 Dec, 2005
2 commits
-
From: Hareesh Nagarajan
Signed-off-by: David S. Miller
-
Based upon a patch from Hareesh Nagarajan.
Signed-off-by: David S. Miller
13 Nov, 2005
1 commit
-
This patch adds a new function, sbusfb_compat_ioctl() to
drivers/video/sbuslib.c and uses it as compat_ioctl in all sbus fb
driversThis remove the last per-arch compat ioctl bits in
arch/sparc64/kernel/ioctl32.c so it would be nice if people could test
if this actually copiles and works and if yes apply it :)Signed-off-by: Christoph Hellwig
Signed-off-by: David S. Miller
07 Nov, 2005
1 commit
-
According to Jon Smirl, filling in the field fb_cursor with soft_cursor for
drivers that do not support hardware cursors is redundant. The soft_cursor
function is usable by all drivers because it is just a wrapper around
fb_imageblit. And because soft_cursor is an fbcon-specific hook, the file is
moved to the console directory.Thus, drivers that do not support hardware cursors can leave the fb_cursor
field blank. For drivers that do, they can fill up this field with their own
version.The end result is a smaller code size. And if the framebuffer console is not
loaded, module/kernel size is also reduced because the soft_cursor module will
also not be loaded.Signed-off-by: Antonino Daplas
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
25 Apr, 2005
1 commit
-
Using the same logic as the other framebuffer fixes committed in 2.6.11,
this is a set of fixes to make TCX functional on the console again. Adds
the tcx_pan_display function, sets the
all->info.var.{red,green,blue}.length values to 8, and runs fb_set_cmap.
Also looks for the correct SUNW,tcx prom value.This patch just slipped through the cracks.
Originally by: Georg Chini
Signed-off-by: Tom 'spot' Callaway
Signed-off-by: David S. Miller
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!