lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] [lwip] Woestenberg CS8900 driver questions


From: Richard W. Wilder
Subject: [lwip-users] [lwip] Woestenberg CS8900 driver questions
Date: Wed, 08 Jan 2003 23:47:01 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C2711D.E0416E90
Content-Type: text/plain;
        charset="US-ASCII"
Content-Transfer-Encoding: 7bit

#1 In function 'cs8900_input()' of 'cs8900if.c', I notice that the code
does a "sit-and-spin" waiting for 'Rdy4TxNow' bit. Wouldn't it be better
to relinquish to other tasks (in the case where a multitasking kernel is
used)?

#2 In function 'cs8900_output()' of 'cs8900if.c', I notice that the
expression '(q->len + 1) / 2' is being evaluated on every iteration. It
is my understanding that this expression will yield the same value for
each iteration, and therefore could be calculated just once upon entry
into the inner loop. This should improve the loop performance perhaps
10..20% (look at the assembly listing from the compiler).

Best regards, 
Dick.
Richard W. Wilder
GrayBox Technologies, Inc.
W141 N9230 Fountain Boulevard
Menomonee Falls, WI 53051
Tel 262-502-4928
Fax 262-502-4943
Cell 262-424-3751
http://www.graybox.net
address@hidden


------=_NextPart_000_0005_01C2711D.E0416E90
Content-Type: text/x-vcard;
        name="Richard W Wilder (address@hidden).vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
        filename="Richard W Wilder (address@hidden).vcf"

BEGIN:VCARD
VERSION:2.1
N:Wilder;Richard;W
FN:Richard W Wilder (address@hidden)
ORG:GrayBox Technologies, Inc.
TITLE:Mr
TEL;WORK;VOICE:(262) 502-4928
TEL;CELL;VOICE:(262) 424-3751
TEL;WORK;FAX:(262) 502-4943
ADR;WORK:;;W141 N9230 Fountain Boulevard;Menomonee Falls;WI;53051;United =
States of America
LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:W141 N9230 Fountain =
Boulevard=3D0D=3D0AMenomonee Falls, WI 53051=3D0D=3D0AUnited Sta=3D
tes of America
URL;WORK:http://www.graybox.net
EMAIL;PREF;INTERNET:address@hidden
REV:20020322T183309Z
END:VCARD

------=_NextPart_000_0005_01C2711D.E0416E90--

[This message was sent through the lwip discussion list.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]