Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Mar 1997 19:11:59 -0800
From:      David Greenman <dg@root.com>
To:        marcio@cyclades.com
Cc:        support@freebsd.org
Subject:   Re: Cyclom-Y and FreeBSD 2.1.5 
Message-ID:  <199703060311.TAA23742@root.com>
In-Reply-To: Your message of "Wed, 05 Mar 1997 18:18:10 PST." <331E2962.5DE@cyclades.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703060311.TAA23742>