Don't match boards with a PCI class code of `I2O'.

This commit is contained in:
ad 2001-07-30 23:29:08 +00:00
parent 50f76258ac
commit 12c4049d31
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mly.c,v 1.1 2001/07/30 19:59:06 ad Exp $ */
/* $NetBSD: mly.c,v 1.2 2001/07/30 23:29:08 ad Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -230,6 +230,9 @@ mly_find_ident(struct pci_attach_args *pa)
mpi = mly_ident;
maxmpi = mpi + sizeof(mly_ident) / sizeof(mly_ident[0]);
if (PCI_CLASS(pa->pa_class) == PCI_CLASS_I2O)
return (NULL);
for (; mpi < maxmpi; mpi++) {
if (PCI_VENDOR(pa->pa_id) != mpi->vendor ||
PCI_PRODUCT(pa->pa_id) != mpi->product)