From bcd3df9fcd4019e9afcad7e619151591ab1a6cfa Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Wed, 14 Jun 2006 01:51:42 +0000 Subject: allow mpi to attach to parallel scsi controllers instead of mpt. requested by deraadt@ --- sys/dev/pci/mpi_pci.c | 8 ++------ 1 file 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 @@ -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 -- cgit v1.2.3