summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/radeon/radeon.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/radeon/radeon.h')
-rw-r--r--sys/dev/pci/drm/radeon/radeon.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon.h b/sys/dev/pci/drm/radeon/radeon.h
index a592e3857ba..faa8f066ec5 100644
--- a/sys/dev/pci/drm/radeon/radeon.h
+++ b/sys/dev/pci/drm/radeon/radeon.h
@@ -70,6 +70,10 @@
#include <dev/wscons/wsdisplayvar.h>
#include <dev/rasops/rasops.h>
+#ifdef __sparc64__
+#include <machine/fbvar.h>
+#endif
+
#include "radeon_family.h"
#include "radeon_mode.h"
#include "radeon_reg.h"
@@ -1563,6 +1567,12 @@ struct radeon_device {
struct rasops_info ro;
int console;
+#ifdef __sparc64__
+ struct sunfb sf;
+ bus_size_t fb_offset;
+ bus_space_handle_t memh;
+#endif
+
struct rwlock exclusive_lock;
unsigned long fb_aper_offset;