diff options
author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2014-07-16 18:49:46 +0000 |
---|---|---|
committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2014-07-16 18:49:46 +0000 |
commit | 60d7ea3d32651949c6436f66a75f33024cc6660a (patch) | |
tree | 35758a87fe3d269e7ef6ad5eabde5829a26ca628 /sys/dev/fb/fbd.c | |
parent | 2504a6af6b13deaf49fd185bc6b408b8537bdf1b (diff) | |
download | src-60d7ea3d32651949c6436f66a75f33024cc6660a.tar.gz src-60d7ea3d32651949c6436f66a75f33024cc6660a.zip |
Allow console drivers active from early boot to be used with xf86-video-scfb,
rather than only drivers attached later on. This involves a small amount of
code duplication with dev/fb/fbd.c, which will fixed later on.
Also improve performance of vt_blank() by making it not read from the
framebuffer unnecessarily.
Notes
Notes:
svn path=/head/; revision=268771
Diffstat (limited to 'sys/dev/fb/fbd.c')
-rw-r--r-- | sys/dev/fb/fbd.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/fb/fbd.c b/sys/dev/fb/fbd.c index 66d0e8dea499..2567a039228a 100644 --- a/sys/dev/fb/fbd.c +++ b/sys/dev/fb/fbd.c @@ -257,9 +257,6 @@ fb_probe(struct fb_info *info) } else if (info->fb_vbase != 0) { if (info->fb_pbase == 0) { info->fb_flags |= FB_FLAG_NOMMAP; - } else { - if (info->fb_mmap == NULL) - info->fb_mmap = &fb_mmap; } info->wr1 = &vt_fb_mem_wr1; info->wr2 = &vt_fb_mem_wr2; @@ -268,10 +265,6 @@ fb_probe(struct fb_info *info) } else return (ENXIO); - if (info->fb_ioctl == NULL) - info->fb_ioctl = &fb_ioctl; - - return (0); } |