aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vt
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2020-02-03 17:35:11 +0000
committerWarner Losh <imp@FreeBSD.org>2020-02-03 17:35:11 +0000
commit58aa35d42975c298ca0adba705c042596303c9f5 (patch)
tree2558d2b720cda9c2799970cabc266e2ce4e3a8d3 /sys/dev/vt
parenteb24e1491f9900e922c78e53af588f22a3e9535f (diff)
downloadsrc-58aa35d42975c298ca0adba705c042596303c9f5.tar.gz
src-58aa35d42975c298ca0adba705c042596303c9f5.zip
Remove sparc64 kernel support
Remove all sparc64 specific files Remove all sparc64 ifdefs Removee indireeect sparc64 ifdefs
Notes
Notes: svn path=/head/; revision=357455
Diffstat (limited to 'sys/dev/vt')
-rw-r--r--sys/dev/vt/hw/fb/vt_early_fb.c9
-rw-r--r--sys/dev/vt/hw/ofwfb/ofwfb.c15
2 files changed, 1 insertions, 23 deletions
diff --git a/sys/dev/vt/hw/fb/vt_early_fb.c b/sys/dev/vt/hw/fb/vt_early_fb.c
index e538ace2c052..12db4368d919 100644
--- a/sys/dev/vt/hw/fb/vt_early_fb.c
+++ b/sys/dev/vt/hw/fb/vt_early_fb.c
@@ -233,10 +233,6 @@ vt_efb_init(struct vt_device *vd)
sc->sc_memt = &bs_be_tag;
bus_space_map(sc->sc_memt, info->fb_pbase, info->fb_size,
BUS_SPACE_MAP_PREFETCHABLE, &info->fb_vbase);
- #elif defined(__sparc64__)
- OF_decode_addr(node, 0, &space, &phys);
- sc->sc_memt = &vt_efb_memt[0];
- info->addr = sparc64_fake_bustag(space, fb_phys, sc->sc_memt);
#else
bus_space_map(fdtbus_bs_tag, info->fb_pbase, info->fb_size,
BUS_SPACE_MAP_PREFETCHABLE,
@@ -274,11 +270,6 @@ vt_efb_init(struct vt_device *vd)
#if defined(__powerpc__)
OF_decode_addr(node, info->fb_pbase, &sc->sc_memt,
&info->fb_vbase);
- #elif defined(__sparc64__)
- OF_decode_addr(node, info->fb_pbase, &space, &info->fb_pbase);
- sc->sc_memt = &vt_efb_memt[0];
- info->fb_vbase = sparc64_fake_bustag(space, info->fb_pbase,
- sc->sc_memt);
#else
bus_space_map(fdtbus_bs_tag, info->fb_pbase, info->fb_size,
BUS_SPACE_MAP_PREFETCHABLE,
diff --git a/sys/dev/vt/hw/ofwfb/ofwfb.c b/sys/dev/vt/hw/ofwfb/ofwfb.c
index 77e1ac687314..24c907ad9063 100644
--- a/sys/dev/vt/hw/ofwfb/ofwfb.c
+++ b/sys/dev/vt/hw/ofwfb/ofwfb.c
@@ -1,4 +1,4 @@
-/*-
+e/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2011 Nathan Whitehorn
@@ -42,9 +42,6 @@ __FBSDID("$FreeBSD$");
#include <vm/pmap.h>
#include <machine/bus.h>
-#ifdef __sparc64__
-#include <machine/bus_private.h>
-#endif
#include <machine/cpu.h>
#include <dev/ofw/openfirm.h>
@@ -366,11 +363,6 @@ ofwfb_init(struct vt_device *vd)
uint32_t depth, height, width, stride;
uint32_t fb_phys;
int i, len;
-#ifdef __sparc64__
- static struct bus_space_tag ofwfb_memt[1];
- bus_addr_t phys;
- int space;
-#endif
/* Initialize softc */
vd->vd_softc = sc = &ofwfb_conssoftc;
@@ -445,11 +437,6 @@ ofwfb_init(struct vt_device *vd)
sc->sc_memt = &bs_be_tag;
bus_space_map(sc->sc_memt, fb_phys, sc->fb.fb_size,
BUS_SPACE_MAP_PREFETCHABLE, &sc->fb.fb_vbase);
- #elif defined(__sparc64__)
- OF_decode_addr(node, 0, &space, &phys);
- sc->sc_memt = &ofwfb_memt[0];
- sc->fb.fb_vbase =
- sparc64_fake_bustag(space, fb_phys, sc->sc_memt);
#elif defined(__arm__)
sc->sc_memt = fdtbus_bs_tag;
bus_space_map(sc->sc_memt, sc->fb.fb_pbase, sc->fb.fb_size,