diff options
Diffstat (limited to 'sys/dev/pci/ises.c')
-rw-r--r-- | sys/dev/pci/ises.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/dev/pci/ises.c b/sys/dev/pci/ises.c index f7f5d728518..5a3bf6afa13 100644 --- a/sys/dev/pci/ises.c +++ b/sys/dev/pci/ises.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ises.c,v 1.30 2006/04/20 20:31:12 miod Exp $ */ +/* $OpenBSD: ises.c,v 1.31 2006/06/29 21:34:51 deraadt Exp $ */ /* * Copyright (c) 2000, 2001 Håkan Olsson (ho@crt.se) @@ -160,7 +160,6 @@ ises_attach(struct device *parent, struct device *self, void *aux) pci_intr_handle_t ih; const char *intrstr = NULL; bus_size_t memsize; - u_int32_t cmd; bus_dma_segment_t seg; int nsegs, error, state; @@ -170,18 +169,6 @@ ises_attach(struct device *parent, struct device *self, void *aux) SIMPLEQ_INIT(&sc->sc_cmdq); state = 0; - /* Verify PCI space */ - cmd = pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG); - if (!(cmd & PCI_COMMAND_MEM_ENABLE)) { - printf(": failed to enable memory mapping\n"); - return; - } - - if (!(cmd & PCI_COMMAND_MASTER_ENABLE)) { - printf(": failed to enable bus mastering\n"); - return; - } - /* Map control/status registers. */ if (pci_mapreg_map(pa, PCI_MAPREG_START, PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_32BIT, 0, &sc->sc_memt, |