From owner-freebsd-hackers Fri Feb 26 8:44:22 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bingsun1.cc.binghamton.edu (bingsun1.cc.binghamton.edu [128.226.1.2]) by hub.freebsd.org (Postfix) with ESMTP id C37DF14F80 for ; Fri, 26 Feb 1999 08:44:07 -0800 (PST) (envelope-from bf20761@binghamton.edu) Received: from localhost (bf20761@localhost) by bingsun1.cc.binghamton.edu (8.8.7/8.6.9) with SMTP id LAA17113 for ; Fri, 26 Feb 1999 11:43:49 -0500 (EST) Date: Fri, 26 Feb 1999 11:43:48 -0500 (EST) From: zhihuizhang X-Sender: bf20761@bingsun1 To: freebsd-hackers@FreeBSD.ORG Subject: Where is device name table intrnames[] modified? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am reading PCI support codes of FreeBSD 2.2.8 (file pci.c, pcisupport.c. etc.). I come across the device string name table intrnames[] which is defined and initialied in vector.s. But I can not find where they are modified to contain strings like "pci irqnn" -- They are initialized to contain "stray irqnn". I also can not find where the contants NR_DEVICES, DEVICE_NAMES are defined. Please point out for me where the intrnames[] gets modified. As for the contants, I guess they are defined in "vector.h". I am about to do a make world (for the first time) to see if it will create vector.h (and other files with names "opt_xxx.h") included with " and " (not < and >). I hope that if these header files are created during the make, they will still be there after the make process so that I can examine them. Any help is appreciated. -------------------------------------------------- | Zhihui Zhang, http://cs.binghamton.edu/~zzhang | | Dept. of Computer Science, SUNY at Binghamton | -------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message