From owner-freebsd-mobile Tue Oct 26 12: 7:19 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id F133314D3A for ; Tue, 26 Oct 1999 12:07:16 -0700 (PDT) (envelope-from ambrisko@whistle.com) Received: from whistle.com (crab.whistle.com [207.76.205.112]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id MAA65842; Tue, 26 Oct 1999 12:07:13 -0700 (PDT) Received: (from ambrisko@localhost) by whistle.com (8.9.1/8.9.1) id MAA11431; Tue, 26 Oct 1999 12:06:23 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <199910261906.MAA11431@whistle.com> Subject: Re: PCIC/Libretto brokenness - fixed! In-Reply-To: <199910261758.KAA10547@whistle.com> from Doug Ambrisko at "Oct 26, 99 10:58:34 am" To: imp@village.org Date: Tue, 26 Oct 1999 12:06:23 -0700 (PDT) Cc: mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL29 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Doug Ambrisko writes: | Nec 6030X, Thinkpad 770Z, Generic PC with ISA PCCard adapter. | | On the Nec 6030X I got the dreaded: | | chip1: at device 1.0 on pci0 | vga-pci0: at device 2.0 on pci0 | pcic0: at device 3.0 on pci0 | pcic1: at device 3.1 on pci0 | devclass_alloc_unit: pcic0 already exists, using next available unit number | devclass_alloc_unit: pcic1 already exists, using next available unit number | isa0: on motherboard | | and no card device created so things didn't work. I nuke the contents | of sys/pci/pcic_p.c and rebuilt. I have a guess that having the PCI device probe as "pcic" was confusing things. Changing the name prevents the conflict. This works on my IBM 770Z & Nec 6030X. Doug A. Index: pcic_p.c =================================================================== RCS file: /cvs/src/sys/pci/pcic_p.c,v retrieving revision 1.14 diff -c -r1.14 pcic_p.c *** pcic_p.c 1999/08/28 00:51:04 1.14 --- pcic_p.c 1999/10/26 19:16:02 *************** *** 47,53 **** static void pd6832_legacy_init(pcici_t tag, int unit); static struct pci_device pcic_pci_driver = { ! "pcic", pcic_pci_probe, pcic_pci_attach, &pcic_pci_count, --- 47,53 ---- static void pd6832_legacy_init(pcici_t tag, int unit); static struct pci_device pcic_pci_driver = { ! "pcicfoo", pcic_pci_probe, pcic_pci_attach, &pcic_pci_count, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message