From owner-freebsd-current@FreeBSD.ORG Thu Dec 11 14:36:29 2008 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EAE61065673 for ; Thu, 11 Dec 2008 14:36:29 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 2BBFF8FC14 for ; Thu, 11 Dec 2008 14:36:29 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LAmeS-000HS7-7Z; Thu, 11 Dec 2008 17:36:28 +0300 To: rea-fbsd@codelabs.ru References: <92804393@bb.ipt.ru> <26722819@bb.ipt.ru> <26719629@bb.ipt.ru> <19F75E66-0535-4982-9726-E2C0A03117EA@mac.com> From: Boris Samorodov Date: Thu, 11 Dec 2008 17:36:27 +0300 In-Reply-To: (Eygene Ryabinkin's message of "Thu\, 11 Dec 2008 11\:50\:24 +0300") Message-ID: <94541668@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-current@FreeBSD.org, Marcel Moolenaar Subject: Re: Timeda 8-multiport adapter: only 2 ports available X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 14:36:29 -0000 Hello Eygene, Marcel and All, I've found some DOS/Linux docs/programs at the producers's site and unzipped them: ftp://ftp.ipt.ru/pub/sunix/ Eygene Ryabinkin writes: > Boris, could you please add the line > ----- > printf("%s: BAS, handle is 0x%lx, tag is 0x%x\n", __func__, > (unsigned long)bas->bsh, (unsigned int)bas->bst); > ----- > to the beginning of ns8250_probe() and show the results. Here it is: % dmesg | grep -A2 -B3 BAS ----- uart4: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0 ns8250_bus_probe: entering ns8250_probe: entering ns8250_probe: BAS, handle is 0xec00, tag is 0x0 ns8250_probe: got IIR register: 0x1 ns8250_probe: got MCR register: 0x0 -- uart4: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0 ns8250_bus_probe: entering ns8250_probe: entering ns8250_probe: BAS, handle is 0xec00, tag is 0x0 ns8250_probe: got IIR register: 0xc1 ns8250_probe: got MCR register: 0x8 -- uart5: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0 ns8250_bus_probe: entering ns8250_probe: entering ns8250_probe: BAS, handle is 0xec08, tag is 0x0 ns8250_probe: got IIR register: 0x1 ns8250_probe: got MCR register: 0x0 -- uart5: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0 ns8250_bus_probe: entering ns8250_probe: entering ns8250_probe: BAS, handle is 0xec08, tag is 0x0 ns8250_probe: got IIR register: 0xc1 ns8250_probe: got MCR register: 0x8 -- uart6: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0 ns8250_bus_probe: entering ns8250_probe: entering ns8250_probe: BAS, handle is 0xe880, tag is 0x0 ns8250_probe: got IIR register: 0x1 ns8250_probe: got MCR register: 0x40 -- uart6: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0 ns8250_bus_probe: entering ns8250_probe: entering ns8250_probe: BAS, handle is 0xe888, tag is 0x0 ns8250_probe: got IIR register: 0x1 ns8250_probe: got MCR register: 0x40 -- uart6: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0 ns8250_bus_probe: entering ns8250_probe: entering ns8250_probe: BAS, handle is 0xe800, tag is 0x0 ns8250_probe: got IIR register: 0x1 ns8250_probe: got MCR register: 0x40 -- uart6: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0 ns8250_bus_probe: entering ns8250_probe: entering ns8250_probe: BAS, handle is 0xe480, tag is 0x0 ns8250_probe: got IIR register: 0x1 ns8250_probe: got MCR register: 0x40 -- uart6: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0 ns8250_bus_probe: entering ns8250_probe: entering ns8250_probe: BAS, handle is 0xe400, tag is 0x0 ns8250_probe: got IIR register: 0x1 ns8250_probe: got MCR register: 0x40 -- uart6: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0 ns8250_bus_probe: entering ns8250_probe: entering ns8250_probe: BAS, handle is 0xe080, tag is 0x0 ns8250_probe: got IIR register: 0x1 ns8250_probe: got MCR register: 0x40 -- uart0: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0 ns8250_bus_probe: entering ns8250_probe: entering ns8250_probe: BAS, handle is 0x3f8, tag is 0x0 ns8250_probe: got IIR register: 0x1 ns8250_probe: got MCR register: 0x0 -- uart0: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0 ns8250_bus_probe: entering ns8250_probe: entering ns8250_probe: BAS, handle is 0x3f8, tag is 0x0 ns8250_probe: got IIR register: 0xc1 ns8250_probe: got MCR register: 0x8 -- uart1: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0 ns8250_bus_probe: entering ns8250_probe: entering ns8250_probe: BAS, handle is 0x2f8, tag is 0x0 ns8250_probe: got IIR register: 0xff ns8250_probe: got wrong IIR register, exiting with ENXIO ----- Full verbose dmesg: ftp://ftp.ipt.ru/pub/sunix/dmesg.6.txt WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve