Various small typos and grammar nits in comments.
This commit is contained in:
parent
f4c884f95a
commit
d2014f5180
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215473
@ -501,7 +501,7 @@ hpet_attach(device_t dev)
|
||||
/*
|
||||
* Neither QEMU nor VirtualBox report supported IRQs correctly.
|
||||
* The only way to use HPET there is to specify IRQs manually
|
||||
* and/or use legacy_route. Legacy_route mode work on both.
|
||||
* and/or use legacy_route. Legacy_route mode works on both.
|
||||
*/
|
||||
if (vm_guest)
|
||||
sc->allowed_irqs = 0x00000000;
|
||||
@ -591,7 +591,7 @@ hpet_attach(device_t dev)
|
||||
bus_write_4(sc->mem_res, HPET_ISR, 0xffffffff);
|
||||
sc->irq = -1;
|
||||
sc->intr_rid = -1;
|
||||
/* If at least one timer needs legacy IRQ - setup it. */
|
||||
/* If at least one timer needs legacy IRQ - set it up. */
|
||||
if (sc->useirq) {
|
||||
j = i = fls(cvectors) - 1;
|
||||
while (j > 0 && (cvectors & (1 << (j - 1))) != 0)
|
||||
|
@ -1214,12 +1214,12 @@ psmprobe(device_t dev)
|
||||
* be that this is only the case when the controller DOES have the aux
|
||||
* port but the port is not wired on the motherboard.) The keyboard
|
||||
* controllers without the port, such as the original AT, are
|
||||
* supporsed to return with an error code or simply time out. In any
|
||||
* supposed to return with an error code or simply time out. In any
|
||||
* case, we have to continue probing the port even when the controller
|
||||
* passes this test.
|
||||
*
|
||||
* XXX: some controllers erroneously return the error code 1, 2 or 3
|
||||
* when it has the perfectly functional aux port. We have to ignore
|
||||
* when it has a perfectly functional aux port. We have to ignore
|
||||
* this error code. Even if the controller HAS error with the aux
|
||||
* port, it will be detected later...
|
||||
* XXX: another incompatible controller returns PSM_ACK (0xfa)...
|
||||
@ -1250,7 +1250,7 @@ psmprobe(device_t dev)
|
||||
if (sc->config & PSM_CONFIG_NORESET) {
|
||||
/*
|
||||
* Don't try to reset the pointing device. It may possibly be
|
||||
* left in the unknown state, though...
|
||||
* left in an unknown state, though...
|
||||
*/
|
||||
} else {
|
||||
/*
|
||||
@ -1277,7 +1277,7 @@ psmprobe(device_t dev)
|
||||
}
|
||||
|
||||
/*
|
||||
* both the aux port and the aux device is functioning, see if the
|
||||
* both the aux port and the aux device are functioning, see if the
|
||||
* device can be enabled. NOTE: when enabled, the device will start
|
||||
* sending data; we shall immediately disable the device once we know
|
||||
* the device can be enabled.
|
||||
|
Loading…
Reference in New Issue
Block a user