summaryrefslogtreecommitdiff
path: root/sys/dev/tdfx/tdfx_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/tdfx/tdfx_pci.c')
-rw-r--r--sys/dev/tdfx/tdfx_pci.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/tdfx/tdfx_pci.c b/sys/dev/tdfx/tdfx_pci.c
index 0992e5fbd7962..918857a8abbcc 100644
--- a/sys/dev/tdfx/tdfx_pci.c
+++ b/sys/dev/tdfx/tdfx_pci.c
@@ -145,7 +145,6 @@ tdfx_attach(device_t dev) {
* small, whole number.
*/
struct tdfx_softc *tdfx_info;
- u_long val;
/* rid value tells bus_alloc_resource where to find the addresses of ports or
* of memory ranges in the PCI config space*/
int rid = PCIR_BAR(0);
@@ -153,12 +152,6 @@ tdfx_attach(device_t dev) {
/* Increment the card counter (for the ioctl code) */
tdfx_count++;
- /* Enable MemMap on Voodoo */
- val = pci_read_config(dev, PCIR_COMMAND, 2);
- val |= (PCIM_CMD_MEMEN);
- pci_write_config(dev, PCIR_COMMAND, val, 2);
- val = pci_read_config(dev, PCIR_COMMAND, 2);
-
/* Fill the soft config struct with info about this device*/
tdfx_info = device_get_softc(dev);
tdfx_info->dev = dev;