From owner-freebsd-questions Wed Mar 5 19:11:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA06097 for questions-outgoing; Wed, 5 Mar 1997 19:11:47 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA06083 for ; Wed, 5 Mar 1997 19:11:39 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.8.5/8.6.5) with SMTP id TAA23742; Wed, 5 Mar 1997 19:11:59 -0800 (PST) Message-Id: <199703060311.TAA23742@root.com> X-Authentication-Warning: implode.root.com: localhost [127.0.0.1] didn't use HELO protocol To: marcio@cyclades.com cc: support@freebsd.org Subject: Re: Cyclom-Y and FreeBSD 2.1.5 In-reply-to: Your message of "Wed, 05 Mar 1997 18:18:10 PST." <331E2962.5DE@cyclades.com> From: David Greenman Reply-To: dg@root.com Date: Wed, 05 Mar 1997 19:11:59 -0800 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >David Greenman. > >This is Marcio from Cyclades. > >Not long ago, you sent us a patch to fix a bug you had found in >the Cyclom-Y driver included with the kernel 2.1.6. The bug was in the PCI support. The PCI support was not included in FreeBSD 2.1.6. FreeBSD 2.1.6 and 2.1.7 are bug-fix releases and generally do not include new features or device support. >It is not clear to me: was there any problem with the driver >included with the kernel 2.1.5? I think I had tested a long >time ago it with 2.1.5 and it worked fine. Now, we have a >customer with 2.1.5 and we cannot get the board to work. > >Is there any patch for kernel 2.1.5 to fix the cyclom-Y driver? Yes, there was a bug in the original PCI driver. The fix is attached. FreeBSD 2.1.* does not have support for the PCI driver, however. This is why I provided it to you seperately. Only FreeBSD 2.2 and newer have the support for the PCI Cyclades Cyclom-Y card. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project Index: cy_pci.c =================================================================== RCS file: /home/ncvs/src/sys/pci/cy_pci.c,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** cy_pci.c 1997/01/14 06:53:22 1.3 --- cy_pci.c 1997/02/05 22:19:18 1.4 *************** *** 120,126 **** * Enable the "local" interrupt input to generate a * PCI interrupt. */ ! outw(ioport + CY_PLX_ICS, inw(CY_PLX_ICS) | CY_PLX_ICS_IENABLE | CY_PLX_ICS_LOCAL_IENABLE); return; --- 120,126 ---- * Enable the "local" interrupt input to generate a * PCI interrupt. */ ! outw(ioport + CY_PLX_ICS, inw(ioport + CY_PLX_ICS) | CY_PLX_ICS_IENABLE | CY_PLX_ICS_LOCAL_IENABLE); return;