Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2001 16:27:38 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        "Martijn Pronk" <mpkisbkl@xs4all.nl>
Cc:        "Martijn Pronk" <martijn.pronk@xs4all.nl>, freebsd-alpha@freebsd.org
Subject:   Re: ofehr@www.ofehr.com recipient unknown " Re: de network card not working on -current"
Message-ID:  <15138.34490.249163.348223@grasshopper.cs.duke.edu>
In-Reply-To: <Pine.BSI.4.10.10106091705590.22894-100000@xs3.xs4all.nl>
References:  <200106082123.XAA06798@webmail1.xs4all.nl> <Pine.BSI.4.10.10106091705590.22894-100000@xs3.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

Martijn Pronk writes:
 > 
 > I hope you meant the following part of dec_axppci_33.c at line 273:

Yes, those printfs haven't changed since we took the code from NetBSD,
that's why you get the compile error.  Don't worry about it..  I think
I see the problem.  Please try the appended patch & let me know if it
works.  The AS200 (apecs) code will need it too, assuming it works.

Thanks!

Drew

Index: lca_pci.c
===================================================================
RCS file: /home/ncvs/src/sys/alpha/pci/lca_pci.c,v
retrieving revision 1.11
diff -u -r1.11 lca_pci.c
--- lca_pci.c	2001/06/01 17:39:11	1.11
+++ lca_pci.c	2001/06/09 20:22:22
@@ -169,6 +169,8 @@
 		cfg.slot = s;
 		cfg.func = f;
 		cfg.intline = 255;
+		cfg.intpin =
+		    lca_pcib_read_config(dev, b, s, f, PCIR_INTPIN, 1);
 		platform.pci_intr_map((void *)&cfg);
 		if (cfg.intline != 255)
 			return cfg.intline;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15138.34490.249163.348223>