From 5783b9f32227bf691032efecab20a3e296bbd55a Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 30 Apr 2025 13:13:28 +0200 Subject: [PATCH] xfree86: sbus: drop SBUS_DEVICE_CG2 There doesn't seem to be any suncg2 driver anymore, no need for trying to probe those cards any longer. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86sbusBus.h | 1 - hw/xfree86/os-support/bus/Sbus.c | 1 - 2 files changed, 2 deletions(-) diff --git a/hw/xfree86/common/xf86sbusBus.h b/hw/xfree86/common/xf86sbusBus.h index f9b194251..8524106c4 100644 --- a/hw/xfree86/common/xf86sbusBus.h +++ b/hw/xfree86/common/xf86sbusBus.h @@ -26,7 +26,6 @@ #include "xf86str.h" -#define SBUS_DEVICE_CG2 0x0002 #define SBUS_DEVICE_CG3 0x0003 #define SBUS_DEVICE_CG4 0x0004 #define SBUS_DEVICE_CG6 0x0005 diff --git a/hw/xfree86/os-support/bus/Sbus.c b/hw/xfree86/os-support/bus/Sbus.c index 6673fa970..8ca3a3d07 100644 --- a/hw/xfree86/os-support/bus/Sbus.c +++ b/hw/xfree86/os-support/bus/Sbus.c @@ -55,7 +55,6 @@ static struct openpromio *promOpio; sbusDevicePtr *xf86SbusInfo = NULL; struct sbus_devtable sbusDeviceTable[] = { - {SBUS_DEVICE_CG2, FBTYPE_SUN2COLOR, "cgtwo", NULL, "Sun Color2 (cgtwo)"}, {SBUS_DEVICE_CG3, FBTYPE_SUN3COLOR, "cgthree", "suncg3", "Sun Color3 (cgthree)"}, {SBUS_DEVICE_CG4, FBTYPE_SUN4COLOR, "cgfour", NULL, "Sun Color4 (cgfour)"},