summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1998-11-16 18:33:33 +0000
committerJason Wright <jason@cvs.openbsd.org>1998-11-16 18:33:33 +0000
commit8d3cbec8eba3b6d6bfa5ea62b1b99d18aa0173c2 (patch)
tree3f2a2b5710c632817b6093f6b6fab1cb928f17f2 /sys/dev
parentd48f5c82495a55fb671abab36d0e2244696db49f (diff)
Take advantage of generic pci io/mem/busmaster enabling and remove redundant code.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_tl.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pci/if_tl.c b/sys/dev/pci/if_tl.c
index 37297f8119f..ef4f7c6d4a0 100644
--- a/sys/dev/pci/if_tl.c
+++ b/sys/dev/pci/if_tl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tl.c,v 1.2 1998/11/11 05:24:13 jason Exp $ */
+/* $OpenBSD: if_tl.c,v 1.3 1998/11/16 18:33:32 jason Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -3051,11 +3051,6 @@ tl_attach(parent, self, aux)
* Map control/status registers.
*/
command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
- command |= PCI_COMMAND_IO_ENABLE |
- PCI_COMMAND_MEM_ENABLE |
- PCI_COMMAND_MASTER_ENABLE;
- pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
- command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
#ifdef TL_USEIOSPACE
if (!(command & PCI_COMMAND_IO_ENABLE)) {