From owner-cvs-src-old@FreeBSD.ORG Sat Mar 28 04:57:11 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58866106567F for ; Sat, 28 Mar 2009 04:57:11 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 459338FC0A for ; Sat, 28 Mar 2009 04:57:11 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n2S4vBnr058399 for ; Sat, 28 Mar 2009 04:57:11 GMT (envelope-from imp@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n2S4vBs4058398 for cvs-src-old@freebsd.org; Sat, 28 Mar 2009 04:57:11 GMT (envelope-from imp@repoman.freebsd.org) Message-Id: <200903280457.n2S4vBs4058398@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to imp@repoman.freebsd.org using -f From: Warner Losh Date: Sat, 28 Mar 2009 04:56:56 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ed if_ed_pccard.c if_ed_wd80x3.c if_edvar.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2009 04:57:11 -0000 imp 2009-03-28 04:56:56 UTC FreeBSD src repository Modified files: sys/dev/ed if_ed_pccard.c if_ed_wd80x3.c if_edvar.h Log: SVN rev 190483 on 2009-03-28 04:56:56Z by imp It turns out that the Toshiba LANCT00A PC Card is really like the Toshiba PCETC ISA card, and even has the same board type code in the card ID (0x14). So, for this card, call ed_probe_WD80x3_generic after setting things up apropriately. This makes the card attach and kinda work (I'm seeing panics in sbdrop). Since history has shown that the WD80x3 probe routine is dangerous, only do it for this card. Also, disable the memory range check to make sure it is an valid ISA memory. I think that it is bogus, but I'm not 100% sure, for these cards. I removed probing for the WD80x3 in 2005 when I added support for the AX88x90 and DL100xx cards since none of my cards had ever matched it and PAO3 removed it and none of the cards in their database died. It is possible there are other quirks about this card too, since no other open source OS supports it, or even claims to support it. But it was a fun half hour hack... Revision Changes Path 1.119 +17 -4 src/sys/dev/ed/if_ed_pccard.c 1.7 +5 -4 src/sys/dev/ed/if_ed_wd80x3.c 1.43 +5 -0 src/sys/dev/ed/if_edvar.h