From owner-freebsd-questions Wed Feb 5 13:29:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA13139 for questions-outgoing; Wed, 5 Feb 1997 13:29:41 -0800 (PST) Received: from bmcgover-pc.cisco.com (bmcgover-pc.cisco.com [171.69.104.147]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA13120; Wed, 5 Feb 1997 13:29:29 -0800 (PST) Received: from bmcgover-pc.cisco.com (bmcgover@localhost.cisco.com [127.0.0.1]) by bmcgover-pc.cisco.com (8.8.2/8.8.2) with ESMTP id QAA00718; Wed, 5 Feb 1997 16:26:58 -0500 (EST) Message-Id: <199702052126.QAA00718@bmcgover-pc.cisco.com> To: dg@root.com, support@freebsd.org cc: hackers@freebsd.org Subject: Stomp the bug!!!! (Was cyclades bug) Date: Wed, 05 Feb 1997 16:26:57 -0500 From: Brian McGovern Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Boy, I hate when things are obvious. The line: outw(ioport + CY_PLX_ICS, inw(CY_PLX_ICS) | CY_PLX_ICS_IENABLE | CY_PLX_ICS_LOCAL_IENABLE); is wrong. The inw doesn't have the ioport offset, and should read: outw(ioport + CY_PLX_ICS, inw(ioport + CY_PLX_ICS) | CY_PLX_ICS_IENABLE | CY_PLX_ICS_LOCAL_IENABLE); Otherwise, the inw doesn't read from the same register as you outw to. If someome would like me to diff this up, let me know. Otherwise, I'll assume the change will get committed? Gee, I feel good. My first bug fix. -Brian