From owner-cvs-all Mon Jul 26 21:28:26 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 84ED01526A; Mon, 26 Jul 1999 21:28:24 -0700 (PDT) (envelope-from mdodd@FreeBSD.org) Received: (from mdodd@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA62212; Mon, 26 Jul 1999 21:28:17 -0700 (PDT) (envelope-from mdodd@FreeBSD.org) Message-Id: <199907270428.VAA62212@freefall.freebsd.org> From: "Matthew N. Dodd" Date: Mon, 26 Jul 1999 21:28:17 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci pci.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk mdodd 1999/07/26 21:28:16 PDT Modified files: sys/pci pci.c Log: Implement the BUS_PROBE_NOMATCH method for the PCI bus. This function is called for each device for which no driver was found. Output is similar to the eisa_probe_nomatch() function but with the added benefit of displaying the assigned IRQ (since PCI gives us this information up front.) Output is like so: pci0: unknown card CPQ0508 (vendor=0x0e11, dev=0x0508) at 11.0 irq 9 pci0: unknown card DFZ0508 (vendor=0x10da, dev=0x0508) at 11.0 irq 9 pci0: unknown card DBL0508 (vendor=0x104c, dev=0x0508) at 11.0 irq 9 pci0: unknown card DDM0011 (vendor=0x108d, dev=0x0011) at 11.0 irq 9 I'm not happy with the 3 lines of macro cruft that got added but I consider it a temporary annoyance as those bits will be moved to some place where PCI, EISA and ISAPNP code will be able to use them. (Not surprisingly, this message is longer than the code in question.) Reviewed by: peter, dfr Revision Changes Path 1.111 +32 -1 src/sys/pci/pci.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message