Subject: kern/12738: Typo in if_tlp_pci.c in 1.5-release branch
To: None <gnats-bugs@gnats.netbsd.org>
From: Chris Pinnock <C.J.E.Pinnock@qmw.ac.uk>
List: netbsd-bugs
Date: 04/24/2001 16:56:47
>Number:         12738
>Category:       kern
>Synopsis:       if_tlp_pci.c does not compile in 1.5 branch
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 24 08:57:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Chris Pinnock
>Release:        NetBSD-1.5.1_BETA checked out today
>Organization:
School of Mathematical Sciences, QM, Uni of LONDON, UK
>Environment:
System: NetBSD sylow.maths.qmw.ac.uk 1.5.1_BETA NetBSD 1.5.1_BETA (SYLOW) #15: Sun Apr 8 21:11:15 BST 2001 cjep@sylow.maths.qmw.ac.uk:/usr/src/sys/arch/i386/compile/SYLOW i386


>Description:

/sys/dev/pci/if_tlp_pci.c does not build in 1.5 release branch.

>How-To-Repeat:

e.g. Try to compile a GENERIC kernel.

>Fix:
	At line 940 in /sys/dev/pci/if_tlp_pci.c it currently reads:

	if (pci_intr_map(pa->pa_pc, pa->pa_intrtag, pa->intrpin,
		    pa->pa_intrline, &ih)) {

	It should read:

	if (pci_intr_map(pa->pa_pc, pa->pa_intrtag, pa->pa_intrpin,
		    pa->pa_intrline, &ih)) {


	i.e. intrpin should be pa_intrpin.


>Release-Note:
>Audit-Trail:
>Unformatted: