@@ -2,3 +2,3 @@
* PC SMBus implementation
- * splitted from acpi.c
+ * split from acpi.c
*
@@ -1625,3 +1625,3 @@ static int pmbus_write_data(SMBusDevice *smd, uint8_t *buf, uint8_t len)
passthrough:
- /* Unimplimented registers get passed to the device */
+ /* Unimplemented registers get passed to the device */
default:
@@ -4,3 +4,3 @@
* This code is a helper for SMBus device emulation. It implements an
- * I2C device inteface and runs the SMBus protocol from the device
+ * I2C device interface and runs the SMBus protocol from the device
* point of view and maps those to simple calls to emulate.
@@ -63,3 +63,3 @@ enum AHCIHostReg {
AHCI_HOST_REG_PORTS_IMPL = 3, /* PI: bitmap of implemented ports */
- AHCI_HOST_REG_VERSION = 4, /* VS: AHCI spec. version compliancy */
+ AHCI_HOST_REG_VERSION = 4, /* VS: AHCI spec. version compliance */
AHCI_HOST_REG_CCC_CTL = 5, /* CCC_CTL: CCC Control */
@@ -69,3 +69,3 @@ enum AHCIHostReg {
AHCI_HOST_REG_CAP2 = 9, /* CAP2: host capabilities, extended */
- AHCI_HOST_REG_BOHC = 10, /* BOHC: firmare/os handoff ctrl & status */
+ AHCI_HOST_REG_BOHC = 10, /* BOHC: firmware/os handoff ctrl & status */
AHCI_HOST_REG__COUNT = 11
@@ -259,3 +259,3 @@ static void pci_cmd646_ide_realize(PCIDevice *dev, Error **errp)
if (d->secondary) {
- /* XXX: if not enabled, really disable the seconday IDE controller */
+ /* XXX: if not enabled, really disable the secondary IDE controller */
pci_conf[CNTRL] |= CNTRL_EN_CH1; /* enable IDE1 */
@@ -1700,3 +1700,3 @@ static bool cmd_set_features(IDEState *s, uint8_t cmd)
break;
- case 0x02: /* sigle word dma mode*/
+ case 0x02: /* single word dma mode */
put_le16(identify_data + 62, 0x07 | (1 << (val + 8)));
@@ -520,3 +520,3 @@ static void emulated_realize(CCIDCardState *base, Error **errp)
- /* TODO: a passthru backened that works on local machine. third card type?*/
+ /* TODO: a passthru backend that works on local machine. third card type?*/
if (card->backend == BACKEND_CERTIFICATES) {
@@ -1466,3 +1466,3 @@ static int ehci_process_itd(EHCIState *ehci,
} else {
- DPRINTF("ISOCH: attempt to addess non-iso endpoint\n");
+ DPRINTF("ISOCH: attempt to address non-iso endpoint\n");
ehci->ipacket.status = USB_RET_NAK;
@@ -1515,3 +1515,3 @@ static int ehci_process_itd(EHCIState *ehci,
/* This state is the entry point for asynchronous schedule
- * processing. Entry here consitutes a EHCI start event state (4.8.5)
+ * processing. Entry here constitutes a EHCI start event state (4.8.5)
*/
@@ -2460,3 +2460,3 @@ static void usb_ehci_vm_state_change(void *opaque, bool running, RunState state)
* to miss a QH unlink, and fail to cancel packets, since the unlinked QH
- * will never have existed on the destination. Therefor we must flush the
+ * will never have existed on the destination. Therefore we must flush the
* async schedule on savevm to catch any not yet noticed unlinks.
@@ -1357,3 +1357,3 @@ static uint32_t ohci_get_frame_remaining(OHCIState *ohci)
}
- /* Being in USB operational state guarnatees sof_time was set already. */
+ /* Being in USB operational state guarantees sof_time was set already. */
tks = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) - ohci->sof_time;
@@ -69,3 +69,3 @@ static const struct usb_device_id usbredir_raw_serial_ids[] = {
{ USB_DEVICE(0x10C4, 0x8044) }, /* Cygnal Debug Adapter */
- { USB_DEVICE(0x10C4, 0x804E) }, /* Software Bisque Paramount ME build-in converter */
+ { USB_DEVICE(0x10C4, 0x804E) }, /* Software Bisque Paramount ME built-in converter */
{ USB_DEVICE(0x10C4, 0x8053) }, /* Enfora EDG1228 */
@@ -473,3 +473,3 @@ static int bufp_alloc(USBRedirDevice *dev, uint8_t *data, uint16_t len,
}
- /* Since we're interupting the stream anyways, drop enough packets to get
+ /* Since we're interrupting the stream anyways, drop enough packets to get
back to our target buffer size */
@@ -250,3 +250,3 @@ usb_set_device_feature(int addr, int feature, int ret) "dev %d, feature %d, ret
usb_hub_reset(int addr) "dev %d"
-usb_hub_control(int addr, int request, int value, int index, int length) "dev %d, req 0x%x, value %d, index %d, langth %d"
+usb_hub_control(int addr, int request, int value, int index, int length) "dev %d, req 0x%x, value %d, index %d, length %d"
usb_hub_get_port_status(int addr, int nr, int status, int changed) "dev %d, port %d, status 0x%x, changed 0x%x"
@@ -453,3 +453,3 @@ static int usbback_check_and_submit(struct usbback_req *usbback_req)
/*
- * When the device is first connected or resetted, USB device has no
+ * When the device is first connected or reset, USB device has no
* address. In this initial state, following requests are sent to device
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> --- hw/i2c/pm_smbus.c | 2 +- hw/i2c/pmbus_device.c | 2 +- hw/i2c/smbus_slave.c | 2 +- hw/ide/ahci_internal.h | 4 ++-- hw/ide/cmd646.c | 2 +- hw/ide/core.c | 2 +- hw/usb/ccid-card-emulated.c | 2 +- hw/usb/hcd-ehci.c | 6 +++--- hw/usb/hcd-ohci.c | 2 +- hw/usb/quirks.h | 2 +- hw/usb/redirect.c | 2 +- hw/usb/trace-events | 2 +- hw/usb/xen-usb.c | 2 +- 13 files changed, 16 insertions(+), 16 deletions(-)