diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-06-14 01:51:42 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-06-14 01:51:42 +0000 |
commit | bcd3df9fcd4019e9afcad7e619151591ab1a6cfa (patch) | |
tree | 284e846c1fc4bf6199d017309a1a7ffc9d728896 | |
parent | 45923ad8dcc1575cd5409dcbae1eaa9af4dcb692 (diff) |
allow mpi to attach to parallel scsi controllers instead of mpt.
requested by deraadt@
-rw-r--r-- | sys/dev/pci/mpi_pci.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/pci/mpi_pci.c b/sys/dev/pci/mpi_pci.c index ecf245f8b34..3d4cb52c1ca 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.5 2006/05/31 05:48:36 dlg Exp $ */ +/* $OpenBSD: mpi_pci.c,v 1.6 2006/06/14 01:51:41 dlg Exp $ */ /* * Copyright (c) 2005 David Gwynne <dlg@openbsd.org> @@ -81,12 +81,8 @@ mpi_pci_match(struct device *parent, void *match, void *aux) { struct pci_attach_args *pa = aux; - if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_SYMBIOS && - PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_SYMBIOS_1030) - return (1); - return (pci_matchbyid(pa, mpi_devices, - sizeof(mpi_devices) / sizeof(mpi_devices[0])) * 3); + sizeof(mpi_devices) / sizeof(mpi_devices[0]))); } void |