Date: Sat, 28 Mar 2009 04:56:56 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ed if_ed_pccard.c if_ed_wd80x3.c if_edvar.h Message-ID: <200903280457.n2S4vBs4058398@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903280457.n2S4vBs4058398>