Date: Thu, 2 Apr 2009 17:08:54 +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 Message-ID: <200904021709.n32H94vG074218@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2009-04-02 17:08:54 UTC FreeBSD src repository Modified files: sys/dev/ed if_ed_pccard.c Log: SVN rev 190644 on 2009-04-02 17:08:54Z by imp The AX88190 has 64k of external SRAM, of which 62k can be used for packet data. However, the AX88190A moves this on-chip and reduces it to the more traditional 16k from 16k-32k. The AX88790 follows the '190A. Probe memory above 32k to see which flavor of the '190 we have and use the extra memory if we have it. Eliminate the kludgy read eeprom for the ID code. It really is just a memory read at location 0x400, so just use that instead. Makes the code easier to understand as well as eliminates some magic numbers. Revision Changes Path 1.127 +29 -50 src/sys/dev/ed/if_ed_pccard.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904021709.n32H94vG074218>