From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 19 12:01:42 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FFCE16A4D9 for ; Fri, 19 Sep 2003 12:01:42 -0700 (PDT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D79943FB1 for ; Fri, 19 Sep 2003 12:01:41 -0700 (PDT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 30AC81FF900 for ; Fri, 19 Sep 2003 21:01:39 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 077AC1FF8FF; Fri, 19 Sep 2003 21:01:38 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 9A99E155A6; Fri, 19 Sep 2003 18:14:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 905D515384 for ; Fri, 19 Sep 2003 18:14:39 +0000 (UTC) Date: Fri, 19 Sep 2003 18:14:39 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: freebsd-hackers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020300 Subject: isapnp vs pci card: device_probe_and_attach X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 19:01:42 -0000 Hi, I have put an older isapnp scsi card in my computer. For this card there is (not yet) a driver for FreeBSD. I also had some pci cards in there of course. When trying to load the driver for the pci card I run into "device_probe_and_attach: %s%d attach returned 6\n" This happens because the isapnp card seems to be on the same irq. I can see this is I kldload a driver skeleton I had written for this isapnp card. Another way to make the pci card get an irq and load ok is to set the irq in question from pci/pnp to isa in the bios so that the pci card will use another one. But I think this might render the isapnp card unusable. Q: is this possible when there is no driver for the isapnp card (loaded) that the pci card fails to get the irq ? Isn't there a way so that the PCI card will use another irq and initialize correctly ? Any comments or pointers to docs on this topics would help me. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/