Ooops - buspin is what should be used.

This commit is contained in:
mhitch 2004-07-06 13:36:19 +00:00
parent f4dabb523f
commit 66828ce55c
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pci_kn300.c,v 1.25 2004/07/06 04:15:50 mhitch Exp $ */
/* $NetBSD: pci_kn300.c,v 1.26 2004/07/06 13:36:19 mhitch Exp $ */
/*
* Copyright (c) 1998 by Matthew Jacob
@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: pci_kn300.c,v 1.25 2004/07/06 04:15:50 mhitch Exp $");
__KERNEL_RCSID(0, "$NetBSD: pci_kn300.c,v 1.26 2004/07/06 13:36:19 mhitch Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -154,7 +154,7 @@ dec_kn300_intr_map(pa, ihp)
if (ccp->cc_mid == 5 && device == 1) {
mcpcia_irq = 16;
} else if (device >= 2 && device <= 5) {
mcpcia_irq = (device - 2) * 4 + bus - 1;
mcpcia_irq = (device - 2) * 4 + buspin - 1;
} else {
printf("dec_kn300_intr_map: weird device number %d\n", device);
return(1);