From 8d3cbec8eba3b6d6bfa5ea62b1b99d18aa0173c2 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Mon, 16 Nov 1998 18:33:33 +0000 Subject: Take advantage of generic pci io/mem/busmaster enabling and remove redundant code. --- sys/dev/pci/if_tl.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sys/dev/pci') 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)) { -- cgit v1.2.3