diff --git a/sys/arch/alpha/pci/irongate_pci.c b/sys/arch/alpha/pci/irongate_pci.c index 6fbd7c834def..bc41bba17af9 100644 --- a/sys/arch/alpha/pci/irongate_pci.c +++ b/sys/arch/alpha/pci/irongate_pci.c @@ -1,4 +1,4 @@ -/* $NetBSD: irongate_pci.c,v 1.2 2000/06/29 08:58:47 mrg Exp $ */ +/* $NetBSD: irongate_pci.c,v 1.3 2001/09/15 04:31:40 thorpej Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -43,7 +43,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: irongate_pci.c,v 1.2 2000/06/29 08:58:47 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: irongate_pci.c,v 1.3 2001/09/15 04:31:40 thorpej Exp $"); #include #include @@ -133,7 +133,7 @@ irongate_conf_read(void *ipv, pcitag_t tag, int offset) * point for getting at it from machdep code. */ irongate_decompose_tag(ipv, tag, NULL, &d, NULL); - if (d == IRONGATE_PCIHOST_DEV) + if (d == IRONGATE_PCIHOST_DEV && offset == PCI_ID_REG) return ((pcireg_t) -1); return (irongate_conf_read0(ipv, tag, offset));