aboutsummaryrefslogtreecommitdiff
path: root/hw/ne2000.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-03 13:35:16 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-03 13:35:16 +0000
commite91c8a778349982eb49fd319ab6506911e2d837e (patch)
tree4c12e093e72dc6147139463d31fba275f2e6dd03 /hw/ne2000.c
parent6d9db39cd9c31084ab782f6ffd2d67e606fb0802 (diff)
Spelling fixes, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2927 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ne2000.c')
-rw-r--r--hw/ne2000.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/ne2000.c b/hw/ne2000.c
index 1830ab5482..1625c55388 100644
--- a/hw/ne2000.c
+++ b/hw/ne2000.c
@@ -325,7 +325,7 @@ static void ne2000_ioport_write(void *opaque, uint32_t addr, uint32_t val)
s->cmd = val;
if (!(val & E8390_STOP)) { /* START bit makes no sense on RTL8029... */
s->isr &= ~ENISR_RESET;
- /* test specific case: zero length transfert */
+ /* test specific case: zero length transfer */
if ((val & (E8390_RREAD | E8390_RWRITE)) &&
s->rcnt == 0) {
s->isr |= ENISR_RDC;
@@ -340,7 +340,7 @@ static void ne2000_ioport_write(void *opaque, uint32_t addr, uint32_t val)
if (index + s->tcnt <= NE2000_PMEM_END) {
qemu_send_packet(s->vc, s->mem + index, s->tcnt);
}
- /* signal end of transfert */
+ /* signal end of transfer */
s->tsr = ENTSR_PTX;
s->isr |= ENISR_TX;
s->cmd &= ~E8390_TRANS;
@@ -550,7 +550,7 @@ static inline void ne2000_dma_update(NE2000State *s, int len)
if (s->rcnt <= len) {
s->rcnt = 0;
- /* signal end of transfert */
+ /* signal end of transfer */
s->isr |= ENISR_RDC;
ne2000_update_irq(s);
} else {