From owner-freebsd-mobile@FreeBSD.ORG Mon Dec 6 15:57:44 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4194216A4D4 for ; Mon, 6 Dec 2004 15:57:44 +0000 (GMT) Received: from smtp-sv.canvas.ne.jp (smtp-sv.canvas.ne.jp [210.172.56.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76F9F43D69 for ; Mon, 6 Dec 2004 15:57:42 +0000 (GMT) (envelope-from colinp@mx3.canvas.ne.jp) Received: from canvas.ne.jp (unknown [192.168.100.61]) by smtp-2.canvas.ne.jp (Postfix) with SMTP id 068C815EAD4 for ; Tue, 7 Dec 2004 00:57:41 +0900 (JST) Received: (qmail 6972 invoked from network); 7 Dec 2004 00:57:40 +0900 Received: from unknown (HELO mail.mx3v.canvas.ne.jp) (192.168.100.53) by vc1d with SMTP; 7 Dec 2004 00:57:40 +0900 Received: from [127.0.0.1] (unknown [202.71.91.13]) by mail.mx3v.canvas.ne.jp (Postfix) with ESMTP id 3945F2C2B for ; Tue, 7 Dec 2004 00:57:40 +0900 (JST) Message-ID: <41B4813D.8080402@mx3.canvas.ne.jp> Date: Tue, 07 Dec 2004 00:56:45 +0900 From: Colin Peters User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: freebsd-mobile Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Subject: corega FEtherII PCC-TXD X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 15:57:44 -0000 Hello excuse me for my abrupt entry. I've been trying to get FreeBSD 5.3-RELEASE going on a somewhat old Japanese laptop I have. Mostly it works well, but I have had no luck with the PCCard ethernet adapter. It is a Corega FEtherII PCC-TXD. After some searching I noticed a recent entry to the CVS for pccard.conf which appears to add support for this card by assigning it to the same entry as the FEther PCC-TXD. After fooling around with pccard.conf for a while, then realizing that it is no longer in use in this version (!) I recompiled the kernel to add support by copying the line for the FEther PCC-TXD in the appropriate files. This got me some lines from ed1, which was better than the I had been getting up to that point: ed1: at port 0x300-0x31f irq 9 function 0 config 7 on pccard1 ed1: [GIANT-LOCKED] ed1: Ethernet address: 00:09:41:7a:11:d4 ed1: if_start running deferred for Giant type NE2000 (16 bit) The MAC address even appears correct, so far so good. However, the link light doesn't come on, and if I try to get set up the interface using dhclient I get this: ed1: device timeout Two things I have noticed: First, my old Windows98 hardware info had this assigned on IRQ 11. IRQ 9 appears to be the same as the PCI bridge: cbb0: irq 9 at device 19.0 on pci0 Second, I have done a lot of searching and have found some discussions of this card on Japanese lists such as bsd-nomads (for example http://www.clave.gr.jp/ml/bsd-nomads/200211/msg00020.html ). The suggestion there was to add a line in if_ed_pccards.c (see http://home.jp.freebsd.org/cgi-bin/showmail/bsd-nomads/16468 ): ed_pccard_memwrite(dev, 0x3c2, 0x4); Which apparently does some twiddling of the PHY power down mode flag. Since I am brave/desperate/stupid I went ahead and simply hacked this into the ed driver to see if it would work. It did not. Finally, the Japanese lists also seem to suggest that the problem is that the FEther PCC-TXD is based on the AX88190 chip while the FEtherII PCC-TXD is based on AX88790, which has different bugs apparently. Several cheap cards use this chip I think. The names mentioned were PLANEX FW-300TX、Netgear FA411NA、Billionton LNA-100B and BUFFALO LPC4-CLX. Sorry for the long post, but does anyone have any information or ideas on getting this card to work? I'm willing to hack on my kernel if given a bit of direction. Thanks for any advice, Colin.