Date: Thu, 22 Aug 2002 18:49:49 -0700 (PDT) From: "Ross A. Lippert" <ripper@eskimo.com> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/41915: patch for fxp/LAN detection of toshiba satellite Message-ID: <200208230149.g7N1nnvF025702@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208230149.g7N1nnvF025702>