From owner-freebsd-bugs Thu Aug 22 18:50:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49DFB37B400 for ; Thu, 22 Aug 2002 18:50:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99A6343E6A for ; Thu, 22 Aug 2002 18:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7N1o1JU030887 for ; Thu, 22 Aug 2002 18:50:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7N1o16Z030886; Thu, 22 Aug 2002 18:50:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 831DE37B400 for ; Thu, 22 Aug 2002 18:49:50 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4497743E70 for ; Thu, 22 Aug 2002 18:49:50 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g7N1nnOT025703 for ; Thu, 22 Aug 2002 18:49:50 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g7N1nnvF025702; Thu, 22 Aug 2002 18:49:49 -0700 (PDT) Message-Id: <200208230149.g7N1nnvF025702@www.freebsd.org> Date: Thu, 22 Aug 2002 18:49:49 -0700 (PDT) From: "Ross A. Lippert" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: i386/41915: patch for fxp/LAN detection of toshiba satellite Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41915 >Category: i386 >Synopsis: patch for fxp/LAN detection of toshiba satellite >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 22 18:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Ross A. Lippert >Release: 4.6-RELEASE >Organization: >Environment: FreeBSD laverne.home 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Mon Jul 22 20:43:44 EDT 2002 ripper@laverne.home:/usr/src/sys/compile/ROSSBSD i386 >Description: The toshiba satellite 1405-S151 has a funky fxp card in it with chip id 10598086. When it boots, it it not seen by the kernel. Once seen, it works fine, which means just as bad as any poorly done fxp card (suspend problems, as documented in the kernel already). >How-To-Repeat: Boot freeBSD on a toshiba satellite 1405-S151 and see no fxp0 device appear. >Fix: Patch (I am not 100% sure how to make patches when I don't maintain my own kernel CVS): --- sys/dev/fxp/if_fxp.c Thu Aug 22 21:35:11 2002 +++ sys/dev/fxp/if_fxp.c.orig Thu Aug 22 21:34:30 2002 @@ -150,7 +150,6 @@ { 0x2449, "Intel Pro/100 Ethernet" }, { 0x1209, "Intel Embedded 10/100 Ethernet" }, { 0x1029, "Intel Pro/100 Ethernet" }, - { 0x1059, "Intel Pro/100 Ethernet" }, { 0x1030, "Intel Pro/100 Ethernet" }, { 0x1031, "Intel Pro/100 Ethernet" }, { 0x1032, "Intel Pro/100 Ethernet" }, @@ -810,4 +809,4 @@ /* reenable busmastering */ pci_command = pci_read_config(dev, PCIR_COMMAND, 2); pci_command |= (PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN); - pci_write_config + pci_write_config Really, you just have to add a line in here to get it to work. Easy as pi. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message