From owner-freebsd-stable@FreeBSD.ORG Fri Jul 4 15:34:32 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFED8106567D for ; Fri, 4 Jul 2008 15:34:32 +0000 (UTC) (envelope-from biancalana@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id 80E3C8FC13 for ; Fri, 4 Jul 2008 15:34:32 +0000 (UTC) (envelope-from biancalana@gmail.com) Received: by wa-out-1112.google.com with SMTP id j4so757319wah.3 for ; Fri, 04 Jul 2008 08:34:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=CRUu7re/c6CzJIhkHf3cHLVzjbbjCJ/YCAH03Cq9QXo=; b=LsCivQuf7u5wP+RMT8VAFGgdK9pWF2BLmpsb4dRsH+ltR9n547vJeWoeUBz7HAQjIg f0p7MSH/EFW75JwYL47vlXRcOYD/6h/2RFz3ntxHdVu7VwYU3hv/PNwz4+Cq95oX5oYs i0KAQKl5askvc809UwkKVjdgCgZb5LBOalD/4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=aTFdFrPTPno6PrSxYdaY1xIt7OuyAIT7R43N0ciaH7zqNrvLUJkfConPzKyf6g3c5i rjZuIvwdHAnGw/mBOZqwl5+TRYEtnmKHfUufOTrBgaiil2C92ekxq1T6RhBMd9CheKdO Sbz6ICYy1gsM2Tn0e86zpc7XM8fPWSUXEmKDo= Received: by 10.114.202.15 with SMTP id z15mr3493943waf.88.1215185671385; Fri, 04 Jul 2008 08:34:31 -0700 (PDT) Received: by 10.115.32.16 with HTTP; Fri, 4 Jul 2008 08:34:30 -0700 (PDT) Message-ID: <8e10486b0807040834m27a38254k5261535d93d70ce6@mail.gmail.com> Date: Fri, 4 Jul 2008 12:34:30 -0300 From: "Alexandre Biancalana" To: "Gavin Atkinson" In-Reply-To: <1215176991.36376.24.camel@buffy.york.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8e10486b0807030908i4c6f70bbp3f8e8907c7443259@mail.gmail.com> <1215105220.32135.18.camel@buffy.york.ac.uk> <8e10486b0807031041o54349836i31c5da84ebda70f6@mail.gmail.com> <1215176991.36376.24.camel@buffy.york.ac.uk> Cc: stable@freebsd.org Subject: Re: DigiBoard Xem with 2 extenal modules 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: Fri, 04 Jul 2008 15:34:32 -0000 On 7/4/08, Gavin Atkinson wrote: > It's not a solution, but it may well be a great help in diagnosing where > the problem lies: it would be useful to know if the driver is simply > failing to detect the correct number of ports, or if the driver > physically cannot use them. > > In /usr/src/sys/dev/digi/digi.c, line 510, you'll see the following > code: > > if (sc->numports == 0) { > device_printf(sc->dev, "%s, 0 ports found\n", sc->name); > sc->hidewin(sc); > return (0); > } > > Just before that section, can you add a line "sc->numports = 32;", > recompile, and see if the missing 16 ports are usable? If they are, I > suspect fixing the driver will be trivial. Wow !! Now the 32 ports are detected and devices created. # digictl -d 1 -r /dev/digi0.ctl digi0: Got init reset after 0 us digi0: BIOS uploaded digi0: BIOS started after 0 us digi0: BIOS booted after 1619 iterations digi0: Loading FEP/OS digi0: FEP/OS loaded digi0: FEP/OS started after 28 iterations digi0: Digiboard PCI PC/Xem ASIC, 32 ports found # ls /dev/cuaD?? | wc -l 32 I will connect some modems to that ports to test and let you know. Thank you for your time.