From owner-freebsd-bugs Sat Aug 15 15:28:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA22873 for freebsd-bugs-outgoing; Sat, 15 Aug 1998 15:28:17 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from mailhost.iprg.nokia.com (mailhost.iprg.nokia.com [205.226.5.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA22863; Sat, 15 Aug 1998 15:28:09 -0700 (PDT) (envelope-from marko@iprg.nokia.com) Received: from tower.iprg.nokia.com (tower.iprg.nokia.com [205.226.1.139]) by mailhost.iprg.nokia.com (8.8.8/8.6.10) with ESMTP id PAA03272; Sat, 15 Aug 1998 15:27:39 -0700 (PDT) Received: from tower.ipsilon.com (localhost [127.0.0.1]) by tower.iprg.nokia.com (8.8.5/8.6.12) with ESMTP id PAA18875; Sat, 15 Aug 1998 15:27:39 -0700 (PDT) Message-Id: <199808152227.PAA18875@tower.iprg.nokia.com> X-Mailer: exmh version 2.0beta 12/23/96 To: Poul-Henning Kamp cc: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/7589 In-reply-to: Your message of "Thu, 13 Aug 1998 23:39:39 PDT." <199808140639.XAA21791@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 15 Aug 1998 15:27:38 -0700 From: Marko Kiiskila Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Synopsis: Tulip Driver parses SROM contents wrong > > State-Changed-From-To: open-feedback > State-Changed-By: phk > State-Changed-When: Thu Aug 13 23:39:26 PDT 1998 > State-Changed-Why: > you don't happen to have a patch, do you ? You were after something like this? --- if_de.c~ Tue Jul 14 19:32:27 1998 +++ if_de.c Sat Aug 15 15:23:02 1998 @@ -2598,9 +2598,9 @@ mi->mi_type = TULIP_MEDIAINFO_SIA; sc->tulip_mediums[media] = mi; if (type & 0x40) { - mi->mi_sia_connectivity = dp[0] + dp[1] * 256; - mi->mi_sia_tx_rx = dp[2] + dp[3] * 256; - mi->mi_sia_general = dp[4] + dp[5] * 256; + mi->mi_sia_connectivity = dp[1] + dp[2] * 256; + mi->mi_sia_tx_rx = dp[3] + dp[4] * 256; + mi->mi_sia_general = dp[5] + dp[6] * 256; dp += 6; } else { switch (media) { @@ -2627,8 +2627,8 @@ } } } - mi->mi_sia_gp_control = (dp[0] + dp[1] * 256) << 16; - mi->mi_sia_gp_data = (dp[2] + dp[3] * 256) << 16; + mi->mi_sia_gp_control = (dp[1] + dp[2] * 256) << 16; + mi->mi_sia_gp_data = (dp[3] + dp[4] * 256) << 16; mi++; bad_media: break; -- Marko Kiiskila marko@iprg.nokia.com +1 408 990 2023 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message