From 8acbfa59711c28388979dd47c85ac8fda2aef774 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 9 Aug 2005 04:10:14 +0000 Subject: do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in pcisubmatch(); kettenis@ testing; brad@ ok --- sys/dev/pci/if_rtw_pci.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'sys/dev/pci/if_rtw_pci.c') diff --git a/sys/dev/pci/if_rtw_pci.c b/sys/dev/pci/if_rtw_pci.c index 567f65507c2..1ae12472679 100644 --- a/sys/dev/pci/if_rtw_pci.c +++ b/sys/dev/pci/if_rtw_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_rtw_pci.c,v 1.5 2005/05/29 02:58:31 reyk Exp $ */ +/* $OpenBSD: if_rtw_pci.c,v 1.6 2005/08/09 04:10:12 mickey Exp $ */ /* $NetBSD: if_rtw_pci.c,v 1.1 2004/09/26 02:33:36 dyoung Exp $ */ /*- @@ -236,13 +236,6 @@ rtw_pci_attach(struct device *parent, struct device *self, void *aux) sc->sc_dmat = pa->pa_dmat; - /* - * Make sure bus mastering is enabled. - */ - pci_conf_write(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, - pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG) | - PCI_COMMAND_MASTER_ENABLE); - /* * Map and establish our interrupt. */ -- cgit v1.2.3