summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/mpi_pci.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2006-06-14 01:51:41 +0000
committerdlg <dlg@openbsd.org>2006-06-14 01:51:41 +0000
commit76fde6bf7c0c8c70384e3476362ee453875b4e23 (patch)
tree4ea4ca8ca0552f18da6a8fa658050eb48a1b9e9e /sys/dev/pci/mpi_pci.c
parentsupport the iic busses on the ultrasparc III machines (something is still (diff)
downloadwireguard-openbsd-76fde6bf7c0c8c70384e3476362ee453875b4e23.tar.xz
wireguard-openbsd-76fde6bf7c0c8c70384e3476362ee453875b4e23.zip
allow mpi to attach to parallel scsi controllers instead of mpt.
requested by deraadt@
Diffstat (limited to 'sys/dev/pci/mpi_pci.c')
-rw-r--r--sys/dev/pci/mpi_pci.c8
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