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_mtd_pci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/dev/pci/if_mtd_pci.c') diff --git a/sys/dev/pci/if_mtd_pci.c b/sys/dev/pci/if_mtd_pci.c index 0cb75d3e459..09bb1021914 100644 --- a/sys/dev/pci/if_mtd_pci.c +++ b/sys/dev/pci/if_mtd_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mtd_pci.c,v 1.9 2003/09/29 10:05:07 miod Exp $ */ +/* $OpenBSD: if_mtd_pci.c,v 1.10 2005/08/09 04:10:12 mickey Exp $ */ /* * Copyright (c) 2003 Oleg Safiullin @@ -87,7 +87,6 @@ mtd_pci_attach(struct device *parent, struct device *self, void *aux) sc->sc_devid = PCI_PRODUCT(pa->pa_id); command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG); - command |= PCI_COMMAND_MASTER_ENABLE; if (sc->sc_devid == PCI_PRODUCT_MYSON_MTD800 && pci_conf_read(pa->pa_pc, pa->pa_tag, MTD_PCI_LOIO) & 0x300) { pa->pa_flags &= ~PCI_FLAGS_IO_ENABLED; -- cgit v1.2.3