- Nuke dupe $FreeBSD$.

- Fix whitespace.

MFC after:	3 days
This commit is contained in:
Marius Strobl 2015-07-27 14:03:34 +00:00
parent b114aa7959
commit 0309276c28
3 changed files with 5 additions and 13 deletions

View File

@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD$
*/
#include <sys/cdefs.h>
@ -178,4 +176,3 @@ vt_efifb_remap(void *xinfo)
info->fb_vbase = (intptr_t)pmap_mapdev_attr(info->fb_pbase,
info->fb_size, VM_MEMATTR_WRITE_COMBINING);
}

View File

@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD$
*/
#include <sys/cdefs.h>
@ -127,7 +125,7 @@ vt_efb_initialize(struct fb_info *info)
default:
panic("Unknown color space fb_depth %d", info->fb_depth);
break;
}
}
}
static phandle_t
@ -213,9 +211,9 @@ vt_efb_init(struct vt_device *vd)
if (len == -1) {
len = OF_getprop(OF_parent(node), "assigned-addresses",
pciaddrs, sizeof(pciaddrs));
}
if (len == -1)
len = 0;
}
if (len == -1)
len = 0;
n_pciaddrs = len / sizeof(struct ofw_pci_register);
/*
@ -283,7 +281,7 @@ vt_efb_init(struct vt_device *vd)
BUS_SPACE_MAP_PREFETCHABLE,
(bus_space_handle_t *)&info->fb_vbase);
#endif
}
}
/* blank full size */
len = info->fb_size / 4;

View File

@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD$
*/
#include <sys/cdefs.h>
@ -188,7 +186,6 @@ vt_fb_setpixel(struct vt_device *vd, int x, int y, term_color_t color)
/* panic? */
return;
}
}
void