From owner-freebsd-hardware Thu Jul 10 07:21:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA04129 for hardware-outgoing; Thu, 10 Jul 1997 07:21:46 -0700 (PDT) Received: from critter.dk.tfs.com ([140.145.230.252]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA04107; Thu, 10 Jul 1997 07:21:39 -0700 (PDT) Received: from critter.dk.tfs.com (localhost [127.0.0.1]) by critter.dk.tfs.com (8.8.6/8.8.5) with ESMTP id QAA00804; Thu, 10 Jul 1997 16:20:04 +0200 (CEST) To: Bruce Evans cc: phk@dk.tfs.com, danny@panda.hilink.com.au, freebsd-hardware@freebsd.org, freebsd-isp@freebsd.org, sdudley@byterunner.com From: Poul-Henning Kamp Subject: Re: Configuring Byterunner TC-800 high speed 8-port serial card In-reply-to: Your message of "Fri, 11 Jul 1997 00:05:25 +1000." <199707101405.AAA08067@godzilla.zeta.org.au> Date: Thu, 10 Jul 1997 16:20:04 +0200 Message-ID: <802.868544404@critter.dk.tfs.com> Sender: owner-hardware@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199707101405.AAA08067@godzilla.zeta.org.au>, Bruce Evans writes: >>>No, you should keep the 0x10000 flag clear, so that a pending IRQ from >>>a higher port causes sio's test#3 to fail on a lower port, since such >>>IRQs "can't happen" (unless the multiport board is misconfigured or is >>>actually a multi-infernal modem :-). >> >>This is not true Bruce, they can happen if the sio driver doesnt disable >>interrupt sources before you reboot your kernel. The 0x10000 flag >>is necessary if you want your sio ports after crashes. > >This can't happen (except in misconfigured and buggy cases) since the >sio drivers disconnects the interrupts for all configured ports in its >first probe. Of course, this can fail if not all ports are correctly >configured or if there is a non-sio device using an sio irq, but then >ignoring the problem won't help (except in the latter case when the >non-sio device gets completely disconnected later). Speaking from experience: a correctly configured board fails the test#3 after a crash. Don't ask me why, but it is correctly configured, and I have verified the circuitry on the card myself, to make sure that it was possible to share the IRQs with this card. Any debugging information you may want can be produced rather easily... -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Power and ignorance is a disgusting cocktail.