diff options
author | Francisco Jerez <currojerez@gmail.com> | 2008-11-08 21:40:49 +0100 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-08 22:23:52 -0200 |
commit | f97c57873cd7622c373a394548ed435c1975abbc (patch) | |
tree | e8a5b4e28cd54f98d2dea564f713eb734399aee8 /src | |
parent | 418b28028e69d14e74bf673be56123e99103e5bf (diff) |
Remove unused fifo_* options.
Diffstat (limited to 'src')
-rw-r--r-- | src/smi.h | 6 | ||||
-rw-r--r-- | src/smi_driver.c | 28 |
2 files changed, 0 insertions, 34 deletions
@@ -138,12 +138,6 @@ typedef struct Bool PCIBurst; /* Enable PCI burst mode for reads? */ Bool PCIRetry; /* Enable PCI retries */ - Bool fifo_conservative; /* Adjust fifo for - acceleration? */ - Bool fifo_moderate; /* Adjust fifo for - acceleration? */ - Bool fifo_aggressive; /* Adjust fifo for - acceleration? */ Bool HwCursor; /* hardware cursor enabled */ CARD8 DACmask; diff --git a/src/smi_driver.c b/src/smi_driver.c index a96321a..f9a3258 100644 --- a/src/smi_driver.c +++ b/src/smi_driver.c @@ -147,9 +147,6 @@ static PciChipsets SMIPciChipsets[] = typedef enum { OPTION_PCI_BURST, - OPTION_FIFO_CONSERV, - OPTION_FIFO_MODERATE, - OPTION_FIFO_AGGRESSIVE, OPTION_PCI_RETRY, OPTION_NOACCEL, OPTION_MCLK, @@ -172,9 +169,6 @@ typedef enum static const OptionInfoRec SMIOptions[] = { { OPTION_PCI_BURST, "pci_burst", OPTV_BOOLEAN, {0}, TRUE }, - { OPTION_FIFO_CONSERV, "fifo_conservative", OPTV_BOOLEAN, {0}, FALSE }, - { OPTION_FIFO_MODERATE, "fifo_moderate", OPTV_BOOLEAN, {0}, FALSE }, - { OPTION_FIFO_AGGRESSIVE, "fifo_aggressive", OPTV_BOOLEAN, {0}, FALSE }, { OPTION_PCI_RETRY, "pci_retry", OPTV_BOOLEAN, {0}, TRUE }, { OPTION_NOACCEL, "NoAccel", OPTV_BOOLEAN, {0}, FALSE }, { OPTION_MCLK, "set_mclk", OPTV_FREQ, {0}, FALSE }, @@ -647,28 +641,6 @@ SMI_PreInit(ScrnInfoPtr pScrn, int flags) xf86DrvMsg(pScrn->scrnIndex, from, "PCI Retry %sabled\n", pSmi->PCIRetry ? "en" : "dis"); - if (xf86IsOptionSet(pSmi->Options, OPTION_FIFO_CONSERV)) { - pSmi->fifo_conservative = TRUE; - xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Option: fifo_conservative " - "set\n"); - } else { - pSmi->fifo_conservative = FALSE; - } - - if (xf86IsOptionSet(pSmi->Options, OPTION_FIFO_MODERATE)) { - pSmi->fifo_moderate = TRUE; - xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Option: fifo_moderate set\n"); - } else { - pSmi->fifo_moderate = FALSE; - } - - if (xf86IsOptionSet(pSmi->Options, OPTION_FIFO_AGGRESSIVE)) { - pSmi->fifo_aggressive = TRUE; - xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Option: fifo_aggressive set\n"); - } else { - pSmi->fifo_aggressive = FALSE; - } - if (xf86ReturnOptValBool(pSmi->Options, OPTION_NOACCEL, FALSE)) { pSmi->NoAccel = TRUE; xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Option: NoAccel - Acceleration " |