summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/davicom.c
diff options
context:
space:
mode:
authorStefan Weil2013-01-03 16:12:32 +0100
committerMichael Brown2013-01-03 16:18:48 +0100
commit3fcb8cf8dceb45f8b01e1d69d43cfd99df43b78a (patch)
treeeb4699b2651c17f6da8b7575815c2d37f0044b7b /src/drivers/net/davicom.c
parent[efi] Include product short name in EFI SNP device names (diff)
downloadipxe-3fcb8cf8dceb45f8b01e1d69d43cfd99df43b78a.tar.gz
ipxe-3fcb8cf8dceb45f8b01e1d69d43cfd99df43b78a.tar.xz
ipxe-3fcb8cf8dceb45f8b01e1d69d43cfd99df43b78a.zip
[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/davicom.c')
-rw-r--r--src/drivers/net/davicom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/net/davicom.c b/src/drivers/net/davicom.c
index 14117742..a4870a72 100644
--- a/src/drivers/net/davicom.c
+++ b/src/drivers/net/davicom.c
@@ -213,11 +213,11 @@ static int phy_read(int location)
phy_write_1bit(io_dcr9, PHY_DATA_1);
phy_write_1bit(io_dcr9, PHY_DATA_0);
- /* Send Phy addres */
+ /* Send Phy address */
for (i=0x10; i>0; i=i>>1)
phy_write_1bit(io_dcr9, phy_addr&i ? PHY_DATA_1: PHY_DATA_0);
- /* Send register addres */
+ /* Send register address */
for (i=0x10; i>0; i=i>>1)
phy_write_1bit(io_dcr9, location&i ? PHY_DATA_1: PHY_DATA_0);
@@ -257,11 +257,11 @@ static void phy_write(int location, u16 phy_data)
phy_write_1bit(io_dcr9, PHY_DATA_0);
phy_write_1bit(io_dcr9, PHY_DATA_1);
- /* Send Phy addres */
+ /* Send Phy address */
for (i=0x10; i>0; i=i>>1)
phy_write_1bit(io_dcr9, phy_addr&i ? PHY_DATA_1: PHY_DATA_0);
- /* Send register addres */
+ /* Send register address */
for (i=0x10; i>0; i=i>>1)
phy_write_1bit(io_dcr9, location&i ? PHY_DATA_1: PHY_DATA_0);