Commit eaae4b3a authored by Steven Cole's avatar Steven Cole Committed by Greg KH

[PATCH] PCI: Spelling fixes for drivers/pci.

Here are some spelling corrections for drivers/pci.

CONTROLER -> CONTROLLER
Regisetr -> Register
harware -> hardware
inital -> initial
Initilize -> Initialize
funtion -> function
funciton -> function
occured -> occurred
Signed-off-by: default avatarSteven Cole <elenstev@mesatop.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3aa8c4fe
...@@ -196,7 +196,7 @@ struct ebda_hpc_bus { ...@@ -196,7 +196,7 @@ struct ebda_hpc_bus {
/******************************************************************** /********************************************************************
* THREE TYPE OF HOT PLUG CONTROLER * * THREE TYPE OF HOT PLUG CONTROLLER *
********************************************************************/ ********************************************************************/
struct isa_ctlr_access { struct isa_ctlr_access {
......
...@@ -64,7 +64,7 @@ static int to_debug = FALSE; ...@@ -64,7 +64,7 @@ static int to_debug = FALSE;
#define WPG_I2C_OR 0x2000 // I2C OR operation #define WPG_I2C_OR 0x2000 // I2C OR operation
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
// Command set for I2C Master Operation Setup Regisetr // Command set for I2C Master Operation Setup Register
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
#define WPG_READATADDR_MASK 0x00010000 // read,bytes,I2C shifted,index #define WPG_READATADDR_MASK 0x00010000 // read,bytes,I2C shifted,index
#define WPG_WRITEATADDR_MASK 0x40010000 // write,bytes,I2C shifted,index #define WPG_WRITEATADDR_MASK 0x40010000 // write,bytes,I2C shifted,index
...@@ -835,7 +835,7 @@ static void poll_hpc (void) ...@@ -835,7 +835,7 @@ static void poll_hpc (void)
if (ibmphp_shutdown) if (ibmphp_shutdown)
break; break;
/* try to get the lock to do some kind of harware access */ /* try to get the lock to do some kind of hardware access */
down (&semOperations); down (&semOperations);
switch (poll_state) { switch (poll_state) {
...@@ -906,7 +906,7 @@ static void poll_hpc (void) ...@@ -906,7 +906,7 @@ static void poll_hpc (void)
poll_state = POLL_LATCH_REGISTER; poll_state = POLL_LATCH_REGISTER;
break; break;
} }
/* give up the harware semaphore */ /* give up the hardware semaphore */
up (&semOperations); up (&semOperations);
/* sleep for a short time just for good measure */ /* sleep for a short time just for good measure */
msleep(100); msleep(100);
......
...@@ -150,7 +150,7 @@ struct hotplug_slot_info { ...@@ -150,7 +150,7 @@ struct hotplug_slot_info {
* @name: the name of the slot being registered. This string must * @name: the name of the slot being registered. This string must
* be unique amoung slots registered on this system. * be unique amoung slots registered on this system.
* @ops: pointer to the &struct hotplug_slot_ops to be used for this slot * @ops: pointer to the &struct hotplug_slot_ops to be used for this slot
* @info: pointer to the &struct hotplug_slot_info for the inital values for * @info: pointer to the &struct hotplug_slot_info for the initial values for
* this slot. * this slot.
* @release: called during pci_hp_deregister to free memory allocated in a * @release: called during pci_hp_deregister to free memory allocated in a
* hotplug_slot structure. * hotplug_slot structure.
......
...@@ -297,7 +297,7 @@ static int __init init_slots(void) ...@@ -297,7 +297,7 @@ static int __init init_slots(void)
hotplug_slot->ops = &skel_hotplug_slot_ops; hotplug_slot->ops = &skel_hotplug_slot_ops;
/* /*
* Initilize the slot info structure with some known * Initialize the slot info structure with some known
* good values. * good values.
*/ */
info->power_status = get_power_status(slot); info->power_status = get_power_status(slot);
......
...@@ -522,7 +522,7 @@ void pci_scan_msi_device(struct pci_dev *dev) ...@@ -522,7 +522,7 @@ void pci_scan_msi_device(struct pci_dev *dev)
* msi_capability_init - configure device's MSI capability structure * msi_capability_init - configure device's MSI capability structure
* @dev: pointer to the pci_dev data structure of MSI device function * @dev: pointer to the pci_dev data structure of MSI device function
* *
* Setup the MSI capability structure of device funtion with a single * Setup the MSI capability structure of device function with a single
* MSI vector, regardless of device function is capable of handling * MSI vector, regardless of device function is capable of handling
* multiple messages. A return of zero indicates the successful setup * multiple messages. A return of zero indicates the successful setup
* of an entry zero with the new MSI vector or non-zero for otherwise. * of an entry zero with the new MSI vector or non-zero for otherwise.
...@@ -599,7 +599,7 @@ static int msi_capability_init(struct pci_dev *dev) ...@@ -599,7 +599,7 @@ static int msi_capability_init(struct pci_dev *dev)
* msix_capability_init - configure device's MSI-X capability * msix_capability_init - configure device's MSI-X capability
* @dev: pointer to the pci_dev data structure of MSI-X device function * @dev: pointer to the pci_dev data structure of MSI-X device function
* *
* Setup the MSI-X capability structure of device funtion with a * Setup the MSI-X capability structure of device function with a
* single MSI-X vector. A return of zero indicates the successful setup of * single MSI-X vector. A return of zero indicates the successful setup of
* requested MSI-X entries with allocated vectors or non-zero for otherwise. * requested MSI-X entries with allocated vectors or non-zero for otherwise.
**/ **/
...@@ -1074,7 +1074,7 @@ void pci_disable_msix(struct pci_dev* dev) ...@@ -1074,7 +1074,7 @@ void pci_disable_msix(struct pci_dev* dev)
* msi_remove_pci_irq_vectors - reclaim MSI(X) vectors to unused state * msi_remove_pci_irq_vectors - reclaim MSI(X) vectors to unused state
* @dev: pointer to the pci_dev data structure of MSI(X) device function * @dev: pointer to the pci_dev data structure of MSI(X) device function
* *
* Being called during hotplug remove, from which the device funciton * Being called during hotplug remove, from which the device function
* is hot-removed. All previous assigned MSI/MSI-X vectors, if * is hot-removed. All previous assigned MSI/MSI-X vectors, if
* allocated for this device function, are reclaimed to unused state, * allocated for this device function, are reclaimed to unused state,
* which may be used later on. * which may be used later on.
......
...@@ -381,7 +381,7 @@ pci_populate_driver_dir(struct pci_driver *drv) ...@@ -381,7 +381,7 @@ pci_populate_driver_dir(struct pci_driver *drv)
* *
* Adds the driver structure to the list of registered drivers. * Adds the driver structure to the list of registered drivers.
* Returns a negative value on error, otherwise 0. * Returns a negative value on error, otherwise 0.
* If no error occured, the driver remains registered even if * If no error occurred, the driver remains registered even if
* no device was claimed during registration. * no device was claimed during registration.
*/ */
int pci_register_driver(struct pci_driver *drv) int pci_register_driver(struct pci_driver *drv)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment