diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2008-05-25 23:45:54 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2008-05-25 23:45:54 +0000 |
commit | 3720c857ec04b612f2d38e4caa9af22b3ec791d5 (patch) | |
tree | 3ea8faa772034fd6c9e7284c80ca981b8bd8f972 /sys/dev/pci | |
parent | 9f53ddf8e29e5dabf0689b8295371a97b21e8f27 (diff) |
tweak the SPI port configuration if we figure out that it is not quite
right, in particular the adapters scsi id on the bus.
requested by kettenis@ who is having trouble with the scsi controller on
the primepower 250.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/mpi_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/mpi_pci.c b/sys/dev/pci/mpi_pci.c index d616aa5bd16..1fb70993670 100644 --- a/sys/dev/pci/mpi_pci.c +++ b/sys/dev/pci/mpi_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi_pci.c,v 1.17 2008/01/26 08:13:09 dlg Exp $ */ +/* $OpenBSD: mpi_pci.c,v 1.18 2008/05/25 23:45:53 dlg Exp $ */ /* * Copyright (c) 2005 David Gwynne <dlg@openbsd.org> @@ -104,6 +104,7 @@ mpi_pci_attach(struct device *parent, struct device *self, void *aux) psc->psc_ih = NULL; sc->sc_dmat = pa->pa_dmat; sc->sc_ios = 0; + sc->sc_target = -1; /* find the appropriate memory base */ for (r = PCI_MAPREG_START; r < PCI_MAPREG_END; r += sizeof(memtype)) { |