From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 21:47:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D394A106566B for ; Fri, 18 Dec 2009 21:47:55 +0000 (UTC) (envelope-from emss.mail@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 59D8B8FC17 for ; Fri, 18 Dec 2009 21:47:55 +0000 (UTC) Received: by fxm27 with SMTP id 27so3272382fxm.3 for ; Fri, 18 Dec 2009 13:47:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received :x-virus-scanned:received:received:to:subject:from :x-operating-system:date:message-id:user-agent:mime-version :content-type; bh=Nr2iWgo7LfYaof40bjeTI98b6JBn+DrjR7rYihShUNs=; b=qkvnrBjHPZWrGWbD1cGYlLBkTJaObwiBj9e5xvfFwjHxmC9j0znk3bXfYvdmdFBx9L EN2o69t4Qo52INpiA6C3yz9QPdWua2sX589p78g3bva7qmywr8BPr3Rvdvr07FFMsLjl x8cBgW2gu5L/w+OhtQAVVK7kBsx7AWNX5cJMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:x-virus-scanned:to:subject:from:x-operating-system:date :message-id:user-agent:mime-version:content-type; b=jxjl/AGqXm/ywICHU5KSP9b+hiNidvy6wqwtqBiamhXS1u23JQoCzNnqcT+Fr0rkYj rT4ByAB/ZZzFsYhcHECxyldICJx4ReG+8syinZTp1YyOfjwUmyCLCaJXzXHxeqiX/T71 uiFvdRlq840IHnVe1SHEfx+mlegg/NEN4Z2iI= Received: by 10.102.211.34 with SMTP id j34mr1857746mug.5.1261170995882; Fri, 18 Dec 2009 13:16:35 -0800 (PST) Received: from srvbsdfenssv.interne.associated-bears.org (LCaen-151-92-21-48.w217-128.abo.wanadoo.fr [217.128.200.48]) by mx.google.com with ESMTPS id j2sm10804973mue.5.2009.12.18.13.16.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 18 Dec 2009 13:16:34 -0800 (PST) Sender: Eric Masson Received: from localhost (localhost [127.0.0.1]) by srvbsdfenssv.interne.associated-bears.org (Postfix) with ESMTP id 25B321D364 for ; Fri, 18 Dec 2009 22:16:33 +0100 (CET) X-Virus-Scanned: amavisd-new at interne.associated-bears.org Received: from srvbsdfenssv.interne.associated-bears.org ([127.0.0.1]) by localhost (srvbsdfenssv.interne.associated-bears.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xAGpw0KMaNnO for ; Fri, 18 Dec 2009 22:16:30 +0100 (CET) Received: by srvbsdfenssv.interne.associated-bears.org (Postfix, from userid 1001) id 277E11D063; Fri, 18 Dec 2009 22:16:30 +0100 (CET) To: Mailing List FreeBSD Questions From: Eric Masson X-Operating-System: FreeBSD 8.0-RELEASE-p1 amd64 Date: Fri, 18 Dec 2009 22:16:29 +0100 Message-ID: <861vis0yqa.fsf@srvbsdfenssv.interne.associated-bears.org> User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.5-b28 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: 8.0-RELEASE, puc, ppbus & lpt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 21:47:56 -0000 Hello, I'd like to know whether it is possible to force device numbering on a box which has a built in parallel port and another on a serial/parallel card ? Parallel port managing code is loaded as modules : 13 1 0xffffffff80917000 8cc0 ppc.ko 14 3 0xffffffff80920000 99c8 ppbus.ko 15 1 0xffffffff8092a000 4848 lpt.ko 16 1 0xffffffff8092f000 a418 puc.ko Serial parallel/card port is probed before builtin port : ppc1: port 0xd300-0xd307,0xd400-0xd407,0xd500-0xd51f mem 0xf6013000-0xf6013fff irq 18 at device 9.1 on pci0 ppc1: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppc1: [ITHREAD] ppbus0: on ppc1 lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ... ppc0: port 0x378-0x37f,0x778-0x77b irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppc0: [ITHREAD] ppbus1: on ppc0 lpt1: on ppbus1 lpt1: [ITHREAD] lpt1: Interrupt-driven port I've tried to set device hints but couldn't achieve a consistant numbering (ppc1->ppbus1->lpt1 & ppc0->ppbus0->lpt0). Any idea, anyone ? TIA Regards -- L'attitude qui consiste a rappeler a un contributeur que sa poste est contraire a la charte du NG, me parait pedante, anale et probablement aussi "hors-sujet". Ce qui m'enerve plus qu' une poste sur le TeX... -+- Dr NV in GNU : Les a(nale)ventures de Docteur Juste Tex. -+-