From owner-freebsd-stable@FreeBSD.ORG Sun Dec 11 18:22:56 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92ABC16A420 for ; Sun, 11 Dec 2005 18:22:56 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw1.york.ac.uk (mail-gw1.york.ac.uk [144.32.128.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 764AB43D8B for ; Sun, 11 Dec 2005 18:22:47 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by mail-gw1.york.ac.uk (8.12.10/8.12.10) with ESMTP id jBBIMfNW013395 for ; Sun, 11 Dec 2005 18:22:41 GMT Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.13.4/8.13.4) with ESMTP id jBBIMf5p073335 for ; Sun, 11 Dec 2005 18:22:41 GMT (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.13.4/8.13.1/Submit) with ESMTP id jBBIMeB0073332 for ; Sun, 11 Dec 2005 18:22:40 GMT (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: ury.york.ac.uk: gavin owned process doing -bs Date: Sun, 11 Dec 2005 18:22:40 +0000 (GMT) From: Gavin Atkinson X-X-Sender: gavin@ury.york.ac.uk To: freebsd-stable@freebsd.org Message-ID: <20051211181324.G71610@ury.york.ac.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Subject: puc fails to attach serial ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2005 18:22:56 -0000 Hi, I'm trying to use puc(4) under RELENG_6 to attach the two serial ports on a PCI card I have, but it's not working. It also fails under 6.0-RELEASE, I don't have the ability to test earlier versions. The card is developed, but as far as I can see, no attempt is made to attach the sio(4) devices below it. puc0: port 0x18c0-0x18df irq 25 at device 9.0 on pci0 puc0: Reserved 0x20 bytes for rid 0x10 type 4 at 0x18c0 port rid 16 bst 0, start 18c0, end 18df puc0: i 0, type sio, ressz 8, type 1 puc: Using sio2 puc: type 1, bar 10, offset 0 puc0: i 1, type sio, ressz 8, type 1 puc: Using sio3 puc: type 1, bar 10, offset 8 Adding some printfs to the code, it turns out that device_probe_and_attach around line 375 of sys/dev/puc/puc.c is returning 6. I have also added printfs to the probe and attach code of both the pci and puc attachments of sio(4), and have determined that none of them get called. How can I further diagnose why this card is not getting recognised? Thanks, Gavin -- "Experience is directly proportional to the value of equipment destroyed." -- Carolyn Scheppner - Gavin Atkinson - General layabout - University Radio York -