diff options
author | Stefan Weil <sw@weilnetz.de> | 2013-01-03 15:12:32 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2013-01-03 15:18:48 +0000 |
commit | 3fcb8cf8dceb45f8b01e1d69d43cfd99df43b78a (patch) | |
tree | eb4699b2651c17f6da8b7575815c2d37f0044b7b /src/drivers/net/sundance.c | |
parent | 717279a294e414218deb1c89d33422b209574053 (diff) | |
download | ipxe-3fcb8cf8dceb45f8b01e1d69d43cfd99df43b78a.tar.gz |
[src] Fix spelling in comments, debug messages and local variable names
Fixes in comments and debug messages:
existance -> existence
unecessary -> unnecessary
occured -> occurred
decriptor -> descriptor
neccessary -> necessary
addres, adress -> address
initilize -> initialize
sucessfully -> successfully
paramter -> parameter
acess -> access
upto -> up to
likelyhood ->likelihood
thru -> through
substracting -> subtracting
lenght -> length
isnt -> isn't
interupt -> interrupt
publically -> publicly (this one was not wrong, but unusual)
recieve -> receive
accessable -> accessible
seperately -> separately
pacet -> packet
controled -> controlled
dectect -> detect
indicies -> indices
extremly -> extremely
boundry -> boundary
usefull -> useful
unuseable -> unusable
auxilliary -> auxiliary
embeded -> embedded
enviroment -> environment
sturcture -> structure
complier -> compiler
constructes -> constructs
supress -> suppress
intruduced -> introduced
compatability -> compatibility
verfication -> verification
ths -> the
reponse -> response
Fixes in local variable names:
retreive -> retrieve
Most of these fixes were made using codespell.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/sundance.c')
-rw-r--r-- | src/drivers/net/sundance.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/net/sundance.c b/src/drivers/net/sundance.c index 4d2761052..eef7c9c7c 100644 --- a/src/drivers/net/sundance.c +++ b/src/drivers/net/sundance.c @@ -258,7 +258,7 @@ static struct sundance_private { const char *nic_name; /* Frequently used values */ - unsigned int cur_rx; /* Producer/consumer ring indicies */ + unsigned int cur_rx; /* Producer/consumer ring indices */ unsigned int mtu; /* These values keep track of the tranceiver/media in use */ @@ -441,7 +441,7 @@ static void sundance_irq ( struct nic *nic, irq_action_t action ) { /************************************************************************** POLL - Wait for a frame ***************************************************************************/ -static int sundance_poll(struct nic *nic, int retreive) +static int sundance_poll(struct nic *nic, int retrieve) { /* return true if there's an ethernet packet ready to read */ /* nic->packet should contain data on return */ @@ -455,7 +455,7 @@ static int sundance_poll(struct nic *nic, int retreive) return 0; /* There is a packet ready */ - if(!retreive) + if(!retrieve) return 1; intr_status = inw(nic->ioaddr + IntrStatus); |