summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strdup.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-04-02 17:08:54 +0000
committerimp <imp@FreeBSD.org>2009-04-02 17:08:54 +0000
commitf855ef0e5308d50b798591a0d102872fbd8670f7 (patch)
tree06629fab0ef641bab94cbfb488a3b3ecf474495d /lib/libc/string/strdup.c
parentd14c3edf27423cbe16b9d69e952e536c140210a3 (diff)
downloadFreeBSD-src-f855ef0e5308d50b798591a0d102872fbd8670f7.zip
FreeBSD-src-f855ef0e5308d50b798591a0d102872fbd8670f7.tar.gz
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.
Diffstat (limited to 'lib/libc/string/strdup.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud