[PATCH v3 3/3] xfree86: remove board and vendor identifier strings from the configuration path
Tiago Vignatti
tiago.vignatti at nokia.com
Wed Jun 23 06:24:29 PDT 2010
ABI break.
Signed-off-by: Tiago Vignatti <tiago.vignatti at nokia.com>
---
Well this is actually v1...
hw/xfree86/common/xf86Config.c | 2 --
hw/xfree86/common/xf86str.h | 2 --
hw/xfree86/parser/Device.c | 18 ------------------
hw/xfree86/parser/xf86Parser.h | 2 --
4 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c
index 28786ba..129d8a5 100644
--- a/hw/xfree86/common/xf86Config.c
+++ b/hw/xfree86/common/xf86Config.c
@@ -2189,8 +2189,6 @@ configDevice(GDevPtr devicep, XF86ConfDevicePtr conf_device, Bool active)
conf_device->dev_identifier);
devicep->identifier = conf_device->dev_identifier;
- devicep->vendor = conf_device->dev_vendor;
- devicep->board = conf_device->dev_board;
devicep->chipset = conf_device->dev_chipset;
devicep->ramdac = conf_device->dev_ramdac;
devicep->driver = conf_device->dev_driver;
diff --git a/hw/xfree86/common/xf86str.h b/hw/xfree86/common/xf86str.h
index c9b261d..f082977 100644
--- a/hw/xfree86/common/xf86str.h
+++ b/hw/xfree86/common/xf86str.h
@@ -375,8 +375,6 @@ typedef enum {
typedef struct {
char * identifier;
- char * vendor;
- char * board;
char * chipset;
char * ramdac;
char * driver;
diff --git a/hw/xfree86/parser/Device.c b/hw/xfree86/parser/Device.c
index d71abc6..c39bef3 100644
--- a/hw/xfree86/parser/Device.c
+++ b/hw/xfree86/parser/Device.c
@@ -70,8 +70,6 @@ xf86ConfigSymTabRec DeviceTab[] =
{
{ENDSECTION, "endsection"},
{IDENTIFIER, "identifier"},
- {VENDOR, "vendorname"},
- {BOARD, "boardname"},
{CHIPSET, "chipset"},
{RAMDAC, "ramdac"},
{DACSPEED, "dacspeed"},
@@ -122,16 +120,6 @@ xf86parseDeviceSection (void)
ptr->dev_identifier = val.str;
has_ident = TRUE;
break;
- case VENDOR:
- if (xf86getSubToken (&(ptr->dev_comment)) != STRING)
- Error (QUOTE_MSG, "Vendor");
- ptr->dev_vendor = val.str;
- break;
- case BOARD:
- if (xf86getSubToken (&(ptr->dev_comment)) != STRING)
- Error (QUOTE_MSG, "Board");
- ptr->dev_board = val.str;
- break;
case CHIPSET:
if (xf86getSubToken (&(ptr->dev_comment)) != STRING)
Error (QUOTE_MSG, "Chipset");
@@ -279,10 +267,6 @@ xf86printDeviceSection (FILE * cf, XF86ConfDevicePtr ptr)
fprintf (cf, "\tIdentifier \"%s\"\n", ptr->dev_identifier);
if (ptr->dev_driver)
fprintf (cf, "\tDriver \"%s\"\n", ptr->dev_driver);
- if (ptr->dev_vendor)
- fprintf (cf, "\tVendorName \"%s\"\n", ptr->dev_vendor);
- if (ptr->dev_board)
- fprintf (cf, "\tBoardName \"%s\"\n", ptr->dev_board);
if (ptr->dev_chipset)
fprintf (cf, "\tChipSet \"%s\"\n", ptr->dev_chipset);
if (ptr->dev_card)
@@ -341,8 +325,6 @@ xf86freeDeviceList (XF86ConfDevicePtr ptr)
while (ptr)
{
TestFree (ptr->dev_identifier);
- TestFree (ptr->dev_vendor);
- TestFree (ptr->dev_board);
TestFree (ptr->dev_chipset);
TestFree (ptr->dev_card);
TestFree (ptr->dev_driver);
diff --git a/hw/xfree86/parser/xf86Parser.h b/hw/xfree86/parser/xf86Parser.h
index 337ad07..039ba1a 100644
--- a/hw/xfree86/parser/xf86Parser.h
+++ b/hw/xfree86/parser/xf86Parser.h
@@ -227,8 +227,6 @@ typedef struct
{
GenericListRec list;
char *dev_identifier;
- char *dev_vendor;
- char *dev_board;
char *dev_chipset;
char *dev_busid;
char *dev_card;
--
1.7.1.226.g770c5
More information about the xorg-devel
mailing list