summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/sis900.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/sis900.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/sis900.c')
-rw-r--r--src/drivers/net/sis900.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/drivers/net/sis900.c b/src/drivers/net/sis900.c
index 92eb5ce2..75e9ef96 100644
--- a/src/drivers/net/sis900.c
+++ b/src/drivers/net/sis900.c
@@ -328,7 +328,7 @@ static int sis635_get_mac_addr(struct pci_device * pci_dev __unused, struct nic
*
* Side effects:
* leaves the ioaddress of the sis900 chip in the variable ioaddr.
- * leaves the sis900 initialized, and ready to recieve packets.
+ * leaves the sis900 initialized, and ready to receive packets.
*
* Returns: struct nic *: pointer to NIC data structure
*/
@@ -394,7 +394,7 @@ static int sis900_probe ( struct nic *nic, struct pci_device *pci ) {
mii_status = sis900_mdio_read(phy_addr, MII_STATUS);
if (mii_status == 0xffff || mii_status == 0x0000)
- /* the mii is not accessable, try next one */
+ /* the mii is not accessible, try next one */
continue;
phy_id0 = sis900_mdio_read(phy_addr, MII_PHY_ID0);
@@ -508,7 +508,7 @@ static u16 sis900_read_eeprom(int location)
/*
Read and write the MII management registers using software-generated
serial MDIO protocol. Note that the command bits and data bits are
- send out seperately
+ sent out separately
*/
static void sis900_mdio_idle(long mdio_addr)
@@ -1171,8 +1171,8 @@ sis900_transmit(struct nic *nic,
*
* Arguments: struct nic *nic: NIC data structure
*
- * Returns: 1 if a packet was recieved.
- * 0 if no pacet was recieved.
+ * Returns: 1 if a packet was received.
+ * 0 if no packet was received.
*
* Side effects:
* Returns (copies) the packet to the array nic->packet.