Fix misspellings of "system", "controller", "interrupt" and "necessary".
Fix the various misspellings of "system", controller", "interrupt" and "[un]necessary". Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
This commit is contained in:
Родитель
18735dd8d2
Коммит
3a4fa0a25d
|
@ -224,7 +224,7 @@ against the page the filesystem should redirty the page with
|
|||
redirty_page_for_writepage(), then unlock the page and return zero.
|
||||
This may also be done to avoid internal deadlocks, but rarely.
|
||||
|
||||
If the filesytem is called for sync then it must wait on any
|
||||
If the filesystem is called for sync then it must wait on any
|
||||
in-progress I/O and then start new I/O.
|
||||
|
||||
The filesystem should unlock the page synchronously, before returning to the
|
||||
|
|
|
@ -59,7 +59,7 @@ Four configs variables are introduced:
|
|||
CONFIG_BLK_DEV_IDE_AU1XXX_PIO_DBDMA - enable the PIO+DBDMA mode
|
||||
CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA - enable the MWDMA mode
|
||||
CONFIG_BLK_DEV_IDE_AU1XXX_BURSTABLE_ON - set Burstable FIFO in DBDMA
|
||||
controler
|
||||
controller
|
||||
CONFIG_BLK_DEV_IDE_AU1XXX_SEQTS_PER_RQ - maximum transfer size
|
||||
per descriptor
|
||||
|
||||
|
|
|
@ -439,7 +439,7 @@ void __init at91_gpio_irq_setup(void)
|
|||
for (i = 0; i < 32; i++, pin++) {
|
||||
/*
|
||||
* Can use the "simple" and not "edge" handler since it's
|
||||
* shorter, and the AIC handles interupts sanely.
|
||||
* shorter, and the AIC handles interrupts sanely.
|
||||
*/
|
||||
set_irq_chip(pin, &gpio_irqchip);
|
||||
set_irq_handler(pin, handle_simple_irq);
|
||||
|
|
|
@ -238,7 +238,7 @@ int __init s3c2410_baseclk_add(void)
|
|||
}
|
||||
|
||||
/* We must be careful disabling the clocks we are not intending to
|
||||
* be using at boot time, as subsytems such as the LCD which do
|
||||
* be using at boot time, as subsystems such as the LCD which do
|
||||
* their own DMA requests to the bus can cause the system to lockup
|
||||
* if they where in the middle of requesting bus access.
|
||||
*
|
||||
|
|
|
@ -689,7 +689,7 @@ int __init s3c2412_baseclk_add(void)
|
|||
}
|
||||
|
||||
/* We must be careful disabling the clocks we are not intending to
|
||||
* be using at boot time, as subsytems such as the LCD which do
|
||||
* be using at boot time, as subsystems such as the LCD which do
|
||||
* their own DMA requests to the bus can cause the system to lockup
|
||||
* if they where in the middle of requesting bus access.
|
||||
*
|
||||
|
|
|
@ -1005,7 +1005,7 @@ void __init s3c2443_init_clocks(int xtal)
|
|||
}
|
||||
|
||||
/* We must be careful disabling the clocks we are not intending to
|
||||
* be using at boot time, as subsytems such as the LCD which do
|
||||
* be using at boot time, as subsystems such as the LCD which do
|
||||
* their own DMA requests to the bus can cause the system to lockup
|
||||
* if they where in the middle of requesting bus access.
|
||||
*
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* From Phillips' datasheet:
|
||||
*
|
||||
* The PCF8563 is a CMOS real-time clock/calendar optimized for low power
|
||||
* consumption. A programmable clock output, interupt output and voltage
|
||||
* consumption. A programmable clock output, interrupt output and voltage
|
||||
* low detector are also provided. All address and data are transferred
|
||||
* serially via two-line bidirectional I2C-bus. Maximum bus speed is
|
||||
* 400 kbits/s. The built-in word address register is incremented
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* From Phillips' datasheet:
|
||||
*
|
||||
* The PCF8563 is a CMOS real-time clock/calendar optimized for low power
|
||||
* consumption. A programmable clock output, interupt output and voltage
|
||||
* consumption. A programmable clock output, interrupt output and voltage
|
||||
* low detector are also provided. All address and data are transferred
|
||||
* serially via two-line bidirectional I2C-bus. Maximum bus speed is
|
||||
* 400 kbits/s. The built-in word address register is incremented
|
||||
|
|
|
@ -68,7 +68,7 @@ static void h8300_shutdown_irq(unsigned int irq)
|
|||
}
|
||||
|
||||
/*
|
||||
* h8300 interrupt controler implementation
|
||||
* h8300 interrupt controller implementation
|
||||
*/
|
||||
struct irq_chip h8300irq_chip = {
|
||||
.name = "H8300-INTC",
|
||||
|
|
|
@ -83,7 +83,7 @@ unsigned long coldfire_pit_offset(void)
|
|||
|
||||
/*
|
||||
* If we are still in the first half of the upcount and a
|
||||
* timer interupt is pending, then add on a ticks worth of time.
|
||||
* timer interrupt is pending, then add on a ticks worth of time.
|
||||
*/
|
||||
offset = ((pmr - pcntr) * (1000000 / HZ)) / pmr;
|
||||
if ((offset < (1000000 / HZ / 2)) && (*ipr & MCFPIT_IMR_IBIT))
|
||||
|
|
|
@ -381,7 +381,7 @@ const struct exception_table_entry *search_module_dbetables(unsigned long addr)
|
|||
return e;
|
||||
}
|
||||
|
||||
/* Put in dbe list if neccessary. */
|
||||
/* Put in dbe list if necessary. */
|
||||
int module_finalize(const Elf_Ehdr *hdr,
|
||||
const Elf_Shdr *sechdrs,
|
||||
struct module *me)
|
||||
|
|
|
@ -131,7 +131,7 @@ static int __init basler_excite_pci_setup(void)
|
|||
ocd_writel(0x00000000, bar + 0x100);
|
||||
}
|
||||
|
||||
/* Finally, enable the PCI interupt */
|
||||
/* Finally, enable the PCI interrupt */
|
||||
#if USB_IRQ > 7
|
||||
set_c0_intcontrol(1 << USB_IRQ);
|
||||
#else
|
||||
|
|
|
@ -246,7 +246,7 @@ static void pcimt_hwint1(void)
|
|||
/*
|
||||
* Note: ASIC PCI's builtin interrupt achknowledge feature is
|
||||
* broken. Using it may result in loss of some or all i8259
|
||||
* interupts, so don't use PCIMT_INT_ACKNOWLEDGE ...
|
||||
* interrupts, so don't use PCIMT_INT_ACKNOWLEDGE ...
|
||||
*/
|
||||
irq = i8259_irq();
|
||||
if (unlikely(irq < 0))
|
||||
|
|
|
@ -36,7 +36,7 @@ static inline int uhc_clkctrl_ready(u32 val)
|
|||
}
|
||||
|
||||
/*
|
||||
* UHC(usb host controler) enable function.
|
||||
* UHC(usb host controller) enable function.
|
||||
* affect to both of OHCI and EHCI core module.
|
||||
*/
|
||||
static void enable_scc_uhc(struct pci_dev *dev)
|
||||
|
|
|
@ -480,7 +480,7 @@ static int __init pcibios_init(void)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
/* The pci subsytem needs to know where memory is and how much
|
||||
/* The pci subsystem needs to know where memory is and how much
|
||||
* of it there is. I've simply made these globals. A better mechanism
|
||||
* is probably needed.
|
||||
*/
|
||||
|
|
|
@ -123,7 +123,7 @@ void fix_processor_context(void)
|
|||
int cpu = smp_processor_id();
|
||||
struct tss_struct *t = &per_cpu(init_tss, cpu);
|
||||
|
||||
set_tss_desc(cpu,t); /* This just modifies memory; should not be neccessary. But... This is neccessary, because 386 hardware has concept of busy TSS or some similar stupidity. */
|
||||
set_tss_desc(cpu,t); /* This just modifies memory; should not be necessary. But... This is necessary, because 386 hardware has concept of busy TSS or some similar stupidity. */
|
||||
|
||||
cpu_gdt(cpu)[GDT_ENTRY_TSS].type = 9;
|
||||
|
||||
|
|
|
@ -1479,7 +1479,7 @@ static void ahci_port_intr(struct ata_port *ap)
|
|||
return;
|
||||
}
|
||||
|
||||
/* hmmm... a spurious interupt */
|
||||
/* hmmm... a spurious interrupt */
|
||||
|
||||
/* if !NCQ, ignore. No modern ATA device has broken HSM
|
||||
* implementation for non-NCQ commands.
|
||||
|
|
|
@ -856,7 +856,7 @@ err_out:
|
|||
* @pdev: PCI device
|
||||
*
|
||||
* Some PCI ATA devices report simplex mode but in fact can be told to
|
||||
* enter non simplex mode. This implements the neccessary logic to
|
||||
* enter non simplex mode. This implements the necessary logic to
|
||||
* perform the task on such devices. Calling it on other devices will
|
||||
* have -undefined- behaviour.
|
||||
*/
|
||||
|
|
|
@ -138,7 +138,7 @@ static void cs5530_set_dmamode(struct ata_port *ap, struct ata_device *adev)
|
|||
*
|
||||
* Called when the libata layer is about to issue a command. We wrap
|
||||
* this interface so that we can load the correct ATA timings if
|
||||
* neccessary. Specifically we have a problem that there is only
|
||||
* necessary. Specifically we have a problem that there is only
|
||||
* one MWDMA/UDMA bit.
|
||||
*/
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
* Documentation:
|
||||
* Available from AMD web site.
|
||||
* TODO
|
||||
* Review errata to see if serializing is neccessary
|
||||
* Review errata to see if serializing is necessary
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
|
|
|
@ -105,7 +105,7 @@ struct it821x_dev
|
|||
|
||||
/*
|
||||
* We allow users to force the card into non raid mode without
|
||||
* flashing the alternative BIOS. This is also neccessary right now
|
||||
* flashing the alternative BIOS. This is also necessary right now
|
||||
* for embedded platforms that cannot run a PC BIOS but are using this
|
||||
* device.
|
||||
*/
|
||||
|
@ -383,7 +383,7 @@ static void it821x_passthru_bmdma_stop(struct ata_queued_cmd *qc)
|
|||
* @ap: ATA port
|
||||
* @device: Device number (not pointer)
|
||||
*
|
||||
* Device selection hook. If neccessary perform clock switching
|
||||
* Device selection hook. If necessary perform clock switching
|
||||
*/
|
||||
|
||||
static void it821x_passthru_dev_select(struct ata_port *ap,
|
||||
|
|
|
@ -129,7 +129,7 @@ static void mpiix_set_piomode(struct ata_port *ap, struct ata_device *adev)
|
|||
*
|
||||
* Called when the libata layer is about to issue a command. We wrap
|
||||
* this interface so that we can load the correct ATA timings if
|
||||
* neccessary. Our logic also clears TIME0/TIME1 for the other device so
|
||||
* necessary. Our logic also clears TIME0/TIME1 for the other device so
|
||||
* that, even if we get this wrong, cycles to the other device will
|
||||
* be made PIO0.
|
||||
*/
|
||||
|
|
|
@ -124,7 +124,7 @@ static void ns87410_set_piomode(struct ata_port *ap, struct ata_device *adev)
|
|||
*
|
||||
* Called when the libata layer is about to issue a command. We wrap
|
||||
* this interface so that we can load the correct ATA timings if
|
||||
* neccessary.
|
||||
* necessary.
|
||||
*/
|
||||
|
||||
static unsigned int ns87410_qc_issue_prot(struct ata_queued_cmd *qc)
|
||||
|
|
|
@ -200,7 +200,7 @@ static void oldpiix_set_dmamode (struct ata_port *ap, struct ata_device *adev)
|
|||
*
|
||||
* Called when the libata layer is about to issue a command. We wrap
|
||||
* this interface so that we can load the correct ATA timings if
|
||||
* neccessary. Our logic also clears TIME0/TIME1 for the other device so
|
||||
* necessary. Our logic also clears TIME0/TIME1 for the other device so
|
||||
* that, even if we get this wrong, cycles to the other device will
|
||||
* be made PIO0.
|
||||
*/
|
||||
|
|
|
@ -161,7 +161,7 @@ static void radisys_set_dmamode (struct ata_port *ap, struct ata_device *adev)
|
|||
*
|
||||
* Called when the libata layer is about to issue a command. We wrap
|
||||
* this interface so that we can load the correct ATA timings if
|
||||
* neccessary. Our logic also clears TIME0/TIME1 for the other device so
|
||||
* necessary. Our logic also clears TIME0/TIME1 for the other device so
|
||||
* that, even if we get this wrong, cycles to the other device will
|
||||
* be made PIO0.
|
||||
*/
|
||||
|
|
|
@ -156,7 +156,7 @@ static void sc1200_set_dmamode(struct ata_port *ap, struct ata_device *adev)
|
|||
*
|
||||
* Called when the libata layer is about to issue a command. We wrap
|
||||
* this interface so that we can load the correct ATA timings if
|
||||
* neccessary. Specifically we have a problem that there is only
|
||||
* necessary. Specifically we have a problem that there is only
|
||||
* one MWDMA/UDMA bit.
|
||||
*/
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* If you have strange problems with nVidia chipset systems please
|
||||
* see the SI support documentation and update your system BIOS
|
||||
* if neccessary
|
||||
* if necessary
|
||||
*
|
||||
* TODO
|
||||
* If we know all our devices are LBA28 (or LBA28 sized) we could use
|
||||
|
|
|
@ -420,7 +420,7 @@ static struct ata_port_operations via_port_ops_noirq = {
|
|||
* @pdev: PCI device
|
||||
* @flags: configuration flags
|
||||
*
|
||||
* Set the FIFO properties for this device if neccessary. Used both on
|
||||
* Set the FIFO properties for this device if necessary. Used both on
|
||||
* set up and on and the resume path
|
||||
*/
|
||||
|
||||
|
|
|
@ -1596,7 +1596,7 @@ static irqreturn_t fs_irq (int irq, void *dev_id)
|
|||
|
||||
/* print the bits in the ISR register. */
|
||||
if (fs_debug & FS_DEBUG_IRQ) {
|
||||
/* The FS_DEBUG things are unneccesary here. But this way it is
|
||||
/* The FS_DEBUG things are unnecessary here. But this way it is
|
||||
clear for grep that these are debug prints. */
|
||||
fs_dprintk (FS_DEBUG_IRQ, "IRQ status:");
|
||||
for (i=0;i<27;i++)
|
||||
|
|
|
@ -365,7 +365,7 @@ static int rd_open(struct inode *inode, struct file *filp)
|
|||
/*
|
||||
* Deep badness. rd_blkdev_pagecache_IO() needs to allocate
|
||||
* pagecache pages within a request_fn. We cannot recur back
|
||||
* into the filesytem which is mounted atop the ramdisk, because
|
||||
* into the filesystem which is mounted atop the ramdisk, because
|
||||
* that would deadlock on fs locks. And we really don't want
|
||||
* to reenter rd_blkdev_pagecache_IO when we're already within
|
||||
* that function.
|
||||
|
|
|
@ -437,7 +437,7 @@ static inline void finish_erasing(struct tty_struct *tty)
|
|||
* @c: character input
|
||||
* @tty: terminal device
|
||||
*
|
||||
* Perform erase and neccessary output when an erase character is
|
||||
* Perform erase and necessary output when an erase character is
|
||||
* present in the stream from the driver layer. Handles the complexities
|
||||
* of UTF-8 multibyte symbols.
|
||||
*/
|
||||
|
@ -657,7 +657,7 @@ static inline void n_tty_receive_overrun(struct tty_struct *tty)
|
|||
* @c: character
|
||||
*
|
||||
* Process a parity error and queue the right data to indicate
|
||||
* the error case if neccessary. Locking as per n_tty_receive_buf.
|
||||
* the error case if necessary. Locking as per n_tty_receive_buf.
|
||||
*/
|
||||
static inline void n_tty_receive_parity_error(struct tty_struct *tty,
|
||||
unsigned char c)
|
||||
|
|
|
@ -563,7 +563,7 @@ static void rp_do_poll(unsigned long dummy)
|
|||
/* Get a ptr to the board's control struct */
|
||||
ctlp = sCtlNumToCtlPtr(ctrl);
|
||||
|
||||
/* Get the interupt status from the board */
|
||||
/* Get the interrupt status from the board */
|
||||
#ifdef CONFIG_PCI
|
||||
if (ctlp->BusType == isPCI)
|
||||
CtlMask = sPCIGetControllerIntStatus(ctlp);
|
||||
|
|
|
@ -943,7 +943,7 @@ EXPORT_SYMBOL_GPL(tty_ldisc_deref);
|
|||
* @tty: terminal to activate ldisc on
|
||||
*
|
||||
* Set the TTY_LDISC flag when the line discipline can be called
|
||||
* again. Do neccessary wakeups for existing sleepers.
|
||||
* again. Do necessary wakeups for existing sleepers.
|
||||
*
|
||||
* Note: nobody should set this bit except via this function. Clearing
|
||||
* directly is allowed.
|
||||
|
@ -1504,7 +1504,7 @@ EXPORT_SYMBOL(tty_hangup);
|
|||
*
|
||||
* The user has asked via system call for the terminal to be hung up.
|
||||
* We do this synchronously so that when the syscall returns the process
|
||||
* is complete. That guarantee is neccessary for security reasons.
|
||||
* is complete. That guarantee is necessary for security reasons.
|
||||
*/
|
||||
|
||||
void tty_vhangup(struct tty_struct * tty)
|
||||
|
@ -1691,7 +1691,7 @@ EXPORT_SYMBOL(stop_tty);
|
|||
* @tty: tty to start
|
||||
*
|
||||
* Start a tty that has been stopped if at all possible. Perform
|
||||
* any neccessary wakeups and propagate the TIOCPKT status. If this
|
||||
* any necessary wakeups and propagate the TIOCPKT status. If this
|
||||
* is the tty was previous stopped and is being started then the
|
||||
* driver start method is invoked and the line discipline woken.
|
||||
*
|
||||
|
@ -2877,7 +2877,7 @@ static int tty_fasync(int fd, struct file * filp, int on)
|
|||
* @tty: tty to fake input into
|
||||
* @p: pointer to character
|
||||
*
|
||||
* Fake input to a tty device. Does the neccessary locking and
|
||||
* Fake input to a tty device. Does the necessary locking and
|
||||
* input management.
|
||||
*
|
||||
* FIXME: does not honour flow control ??
|
||||
|
|
|
@ -444,7 +444,7 @@ static void change_termios(struct tty_struct * tty, struct ktermios * new_termio
|
|||
* @arg: user data
|
||||
* @opt: option information
|
||||
*
|
||||
* Helper function to prepare termios data and run neccessary other
|
||||
* Helper function to prepare termios data and run necessary other
|
||||
* functions before using change_termios to do the actual changes.
|
||||
*
|
||||
* Locking:
|
||||
|
|
|
@ -565,7 +565,7 @@ typedef struct os_dat_s {
|
|||
* The following parameter is used to select the point in the internal
|
||||
* tape fifo in which we will start to refill the buffer. Decreasing
|
||||
* the following parameter will improve the system's latency and
|
||||
* interactive response, while using a high value might improve sytem
|
||||
* interactive response, while using a high value might improve system
|
||||
* throughput.
|
||||
*/
|
||||
#define IDETAPE_FIFO_THRESHOLD 2
|
||||
|
|
|
@ -95,7 +95,7 @@ struct it821x_dev
|
|||
|
||||
/*
|
||||
* We allow users to force the card into non raid mode without
|
||||
* flashing the alternative BIOS. This is also neccessary right now
|
||||
* flashing the alternative BIOS. This is also necessary right now
|
||||
* for embedded platforms that cannot run a PC BIOS but are using this
|
||||
* device.
|
||||
*/
|
||||
|
@ -564,7 +564,7 @@ static void __devinit init_hwif_it821x(ide_hwif_t *hwif)
|
|||
|
||||
/*
|
||||
* Not in the docs but according to the reference driver
|
||||
* this is neccessary.
|
||||
* this is necessary.
|
||||
*/
|
||||
|
||||
pci_read_config_byte(hwif->pci_dev, 0x08, &conf);
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*
|
||||
* If you have strange problems with nVidia chipset systems please
|
||||
* see the SI support documentation and update your system BIOS
|
||||
* if neccessary
|
||||
* if necessary
|
||||
*
|
||||
* The Dell DRAC4 has some interesting features including effectively hot
|
||||
* unplugging/replugging the virtual CD interface when the DRAC is reset.
|
||||
|
|
|
@ -112,7 +112,7 @@ static void clone_init(struct dm_crypt_io *, struct bio *);
|
|||
* Different IV generation algorithms:
|
||||
*
|
||||
* plain: the initial vector is the 32-bit little-endian version of the sector
|
||||
* number, padded with zeros if neccessary.
|
||||
* number, padded with zeros if necessary.
|
||||
*
|
||||
* essiv: "encrypted sector|salt initial vector", the sector number is
|
||||
* encrypted with the bulk cipher using a salt as key. The salt
|
||||
|
|
|
@ -280,7 +280,7 @@ static irqreturn_t bt878_irq(int irq, void *dev_id)
|
|||
if (!(astat = (stat & mask)))
|
||||
return IRQ_NONE; /* this interrupt is not for me */
|
||||
/* dprintk("bt878(%d) debug: irq count %d, stat 0x%8.8x, mask 0x%8.8x\n",bt->nr,count,stat,mask); */
|
||||
btwrite(astat, BT878_AINT_STAT); /* try to clear interupt condition */
|
||||
btwrite(astat, BT878_AINT_STAT); /* try to clear interrupt condition */
|
||||
|
||||
|
||||
if (astat & (BT878_ASCERR | BT878_AOCERR)) {
|
||||
|
|
|
@ -128,7 +128,7 @@ struct ttusb {
|
|||
struct dvb_frontend* fe;
|
||||
};
|
||||
|
||||
/* ugly workaround ... don't know why it's neccessary to read */
|
||||
/* ugly workaround ... don't know why it's necessary to read */
|
||||
/* all result codes. */
|
||||
|
||||
#define DEBUG 0
|
||||
|
|
|
@ -4709,18 +4709,18 @@ adtvk503_audio(struct bttv *btv, struct video_audio *v, int set)
|
|||
*
|
||||
* The board hardwire Y0 (xpoint) to MUX1 and MUXOUT to Yin.
|
||||
* GPIO pins are wired as:
|
||||
* GPIO[0:3] - AX[0:3] (xpoint) - P1[0:3] (microcontroler)
|
||||
* GPIO[4:6] - AY[0:2] (xpoint) - P1[4:6] (microcontroler)
|
||||
* GPIO[7] - DATA (xpoint) - P1[7] (microcontroler)
|
||||
* GPIO[8] - - P3[5] (microcontroler)
|
||||
* GPIO[9] - RESET (xpoint) - P3[6] (microcontroler)
|
||||
* GPIO[10] - STROBE (xpoint) - P3[7] (microcontroler)
|
||||
* GPINTR - - P3[4] (microcontroler)
|
||||
* GPIO[0:3] - AX[0:3] (xpoint) - P1[0:3] (microcontroller)
|
||||
* GPIO[4:6] - AY[0:2] (xpoint) - P1[4:6] (microcontroller)
|
||||
* GPIO[7] - DATA (xpoint) - P1[7] (microcontroller)
|
||||
* GPIO[8] - - P3[5] (microcontroller)
|
||||
* GPIO[9] - RESET (xpoint) - P3[6] (microcontroller)
|
||||
* GPIO[10] - STROBE (xpoint) - P3[7] (microcontroller)
|
||||
* GPINTR - - P3[4] (microcontroller)
|
||||
*
|
||||
* The microcontroler is a 80C32 like. It should be possible to change xpoint
|
||||
* configuration either directly (as we are doing) or using the microcontroler
|
||||
* The microcontroller is a 80C32 like. It should be possible to change xpoint
|
||||
* configuration either directly (as we are doing) or using the microcontroller
|
||||
* which is also wired to I2C interface. I have no further info on the
|
||||
* microcontroler features, one would need to disassembly the firmware.
|
||||
* microcontroller features, one would need to disassembly the firmware.
|
||||
* note: the vendor refused to give any information on this product, all
|
||||
* that stuff was found using a multimeter! :)
|
||||
*/
|
||||
|
@ -4788,7 +4788,7 @@ static void tibetCS16_init(struct bttv *btv)
|
|||
* The analog switch is controlled by the "master", but the detection order
|
||||
* of the four BT878A chips is in an order which I just don't understand.
|
||||
* The "master" is actually the second controller to be detected. The
|
||||
* logic on the board uses logical numbers for the 4 controlers, but
|
||||
* logic on the board uses logical numbers for the 4 controllers, but
|
||||
* those numbers are different from the detection sequence. When working
|
||||
* with the analog switch, we need to "map" from the detection sequence
|
||||
* over to the board's logical controller number. This mapping sequence
|
||||
|
|
|
@ -907,7 +907,7 @@ static int em28xx_set_fmt(struct em28xx *dev, unsigned int cmd, struct v4l2_form
|
|||
|
||||
/* stop io in case it is already in progress */
|
||||
if (dev->stream == STREAM_ON) {
|
||||
em28xx_videodbg("VIDIOC_SET_FMT: interupting stream\n");
|
||||
em28xx_videodbg("VIDIOC_SET_FMT: interrupting stream\n");
|
||||
if ((ret = em28xx_stream_interrupt(dev)))
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -277,7 +277,7 @@ static void do_sony_laptop_release_key(struct work_struct *work)
|
|||
static DECLARE_WORK(sony_laptop_release_key_work,
|
||||
do_sony_laptop_release_key);
|
||||
|
||||
/* forward event to the input subsytem */
|
||||
/* forward event to the input subsystem */
|
||||
static void sony_laptop_report_input_event(u8 event)
|
||||
{
|
||||
struct input_dev *jog_dev = sony_laptop_input.jog_dev;
|
||||
|
|
|
@ -1111,7 +1111,7 @@ static struct net_device_stats *amd8111e_get_stats(struct net_device * dev)
|
|||
|
||||
return new_stats;
|
||||
}
|
||||
/* This function recalculate the interupt coalescing mode on every interrupt
|
||||
/* This function recalculate the interrupt coalescing mode on every interrupt
|
||||
according to the datarate and the packet rate.
|
||||
*/
|
||||
static int amd8111e_calc_coalesce(struct net_device *dev)
|
||||
|
|
|
@ -542,7 +542,7 @@ static struct {
|
|||
static int num_ifs;
|
||||
|
||||
/*
|
||||
* Setup the base address and interupt of the Au1xxx ethernet macs
|
||||
* Setup the base address and interrupt of the Au1xxx ethernet macs
|
||||
* based on cpu type and whether the interface is enabled in sys_pinfunc
|
||||
* register. The last interface is enabled if SYS_PF_NI2 (bit 4) is 0.
|
||||
*/
|
||||
|
|
|
@ -55,7 +55,7 @@ static int expected_refcount = -1;
|
|||
static struct class *netdev_class;
|
||||
/*--------------------------- Data Structures -----------------------------*/
|
||||
|
||||
/* Bonding sysfs lock. Why can't we just use the subsytem lock?
|
||||
/* Bonding sysfs lock. Why can't we just use the subsystem lock?
|
||||
* Because kobject_register tries to acquire the subsystem lock. If
|
||||
* we already hold the lock (which we would if the user was creating
|
||||
* a new bond through the sysfs interface), we deadlock.
|
||||
|
|
|
@ -1324,7 +1324,7 @@ static inline int e100_exec_cb_wait(struct nic *nic, struct sk_buff *skb,
|
|||
if (!--counter) break;
|
||||
}
|
||||
|
||||
/* ack any interupts, something could have been set */
|
||||
/* ack any interrupts, something could have been set */
|
||||
iowrite8(~0, &nic->csr->scb.stat_ack);
|
||||
|
||||
/* if the command failed, or is not OK, notify and return */
|
||||
|
|
|
@ -595,7 +595,7 @@ toshoboe_startchip (struct toshoboe_cb *self)
|
|||
OUTB ((physaddr >> 18) & 0xff, OBOE_RING_BASE1);
|
||||
OUTB ((physaddr >> 26) & 0x3f, OBOE_RING_BASE2);
|
||||
|
||||
/*Enable DMA controler in byte mode and RX */
|
||||
/*Enable DMA controller in byte mode and RX */
|
||||
OUTB (CONFIG0H_DMA_ON, OBOE_CONFIG0H);
|
||||
|
||||
/* Start up the clocks */
|
||||
|
|
|
@ -1223,7 +1223,7 @@ static irqreturn_t smc911x_interrupt(int irq, void *dev_id)
|
|||
}
|
||||
#endif
|
||||
|
||||
/* Handle PHY interupt condition */
|
||||
/* Handle PHY interrupt condition */
|
||||
if (status & INT_STS_PHY_INT_) {
|
||||
DBG(SMC_DEBUG_MISC, "%s: PHY irq\n", dev->name);
|
||||
smc911x_phy_interrupt(dev);
|
||||
|
|
|
@ -1639,7 +1639,7 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg)
|
|||
|
||||
/**
|
||||
* spider_net_interrupt - interrupt handler for spider_net
|
||||
* @irq: interupt number
|
||||
* @irq: interrupt number
|
||||
* @ptr: pointer to net_device
|
||||
* @regs: PU registers
|
||||
*
|
||||
|
|
|
@ -1654,7 +1654,7 @@ tc35815_rx(struct net_device *dev)
|
|||
panic_queues(dev);
|
||||
}
|
||||
#endif
|
||||
/* pass BD to controler */
|
||||
/* pass BD to controller */
|
||||
#ifndef TC35815_USE_PACKEDBUFFER
|
||||
if (!lp->rx_skbs[curid].skb) {
|
||||
lp->rx_skbs[curid].skb =
|
||||
|
@ -1694,7 +1694,7 @@ tc35815_rx(struct net_device *dev)
|
|||
}
|
||||
#endif
|
||||
for (i = 0; i < (bd_count + 1) / 2 + 1; i++) {
|
||||
/* pass FD to controler */
|
||||
/* pass FD to controller */
|
||||
#ifdef DEBUG
|
||||
lp->rfd_cur->fd.FDNext = cpu_to_le32(0xdeaddead);
|
||||
#else
|
||||
|
|
|
@ -1648,7 +1648,7 @@ static int velocity_alloc_rx_buf(struct velocity_info *vptr, int idx)
|
|||
*
|
||||
* Scan the queues looking for transmitted packets that
|
||||
* we can complete and clean up. Update any statistics as
|
||||
* neccessary/
|
||||
* necessary/
|
||||
*/
|
||||
|
||||
static int velocity_tx_srv(struct velocity_info *vptr, u32 status)
|
||||
|
|
|
@ -2001,7 +2001,7 @@ dasd_3990_erp_compound_code(struct dasd_ccw_req * erp, char *sense)
|
|||
switch (sense[28]) {
|
||||
case 0x17:
|
||||
/* issue a Diagnostic Control command with an
|
||||
* Inhibit Write subcommand and controler modifier */
|
||||
* Inhibit Write subcommand and controller modifier */
|
||||
erp = dasd_3990_erp_DCTL(erp, 0x20);
|
||||
break;
|
||||
|
||||
|
|
|
@ -157,7 +157,7 @@ cpi_prepare_req(void)
|
|||
sclp_ascebc_str(evb->system_name, CPI_LENGTH_SYSTEM_NAME);
|
||||
EBC_TOUPPER(evb->system_name, CPI_LENGTH_SYSTEM_NAME);
|
||||
|
||||
/* set sytem level */
|
||||
/* set system level */
|
||||
evb->system_level = LINUX_VERSION_CODE;
|
||||
|
||||
/* set sysplex name */
|
||||
|
|
|
@ -1526,7 +1526,7 @@ struct aac_mntent {
|
|||
__le32 capacityhigh;
|
||||
};
|
||||
|
||||
#define FSCS_NOTCLEAN 0x0001 /* fsck is neccessary before mounting */
|
||||
#define FSCS_NOTCLEAN 0x0001 /* fsck is necessary before mounting */
|
||||
#define FSCS_READONLY 0x0002 /* possible result of broken mirror */
|
||||
#define FSCS_HIDDEN 0x0004 /* should be ignored - set during a clear */
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ typedef enum {
|
|||
CAM_REQ_ABORTED, /* CCB request aborted by the host */
|
||||
CAM_UA_ABORT, /* Unable to abort CCB request */
|
||||
CAM_REQ_CMP_ERR, /* CCB request completed with an error */
|
||||
CAM_BUSY, /* CAM subsytem is busy */
|
||||
CAM_BUSY, /* CAM subsystem is busy */
|
||||
CAM_REQ_INVALID, /* CCB request was invalid */
|
||||
CAM_PATH_INVALID, /* Supplied Path ID is invalid */
|
||||
CAM_SEL_TIMEOUT, /* Target Selection Timeout */
|
||||
|
|
|
@ -1808,12 +1808,12 @@ static irqreturn_t dc395x_interrupt(int irq, void *dev_id)
|
|||
irqreturn_t handled = IRQ_NONE;
|
||||
|
||||
/*
|
||||
* Check for pending interupt
|
||||
* Check for pending interrupt
|
||||
*/
|
||||
scsi_status = DC395x_read16(acb, TRM_S1040_SCSI_STATUS);
|
||||
dma_status = DC395x_read8(acb, TRM_S1040_DMA_STATUS);
|
||||
if (scsi_status & SCSIINTERRUPT) {
|
||||
/* interupt pending - let's process it! */
|
||||
/* interrupt pending - let's process it! */
|
||||
dc395x_handle_interrupt(acb, scsi_status);
|
||||
handled = IRQ_HANDLED;
|
||||
}
|
||||
|
@ -4579,7 +4579,7 @@ static void adapter_uninit_chip(struct AdapterCtlBlk *acb)
|
|||
if (acb->config & HCC_SCSI_RESET)
|
||||
reset_scsi_bus(acb);
|
||||
|
||||
/* clear any pending interupt state */
|
||||
/* clear any pending interrupt state */
|
||||
DC395x_read8(acb, TRM_S1040_SCSI_INTSTATUS);
|
||||
}
|
||||
|
||||
|
|
|
@ -427,7 +427,7 @@ megaraid_exit(void)
|
|||
* @id : pci device id of the class of controllers
|
||||
*
|
||||
* This routine should be called whenever a new adapter is detected by the
|
||||
* PCI hotplug susbsytem.
|
||||
* PCI hotplug susbsystem.
|
||||
*/
|
||||
static int __devinit
|
||||
megaraid_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||
|
|
|
@ -1006,7 +1006,7 @@ int ql4xxx_lock_drvr_wait(struct scsi_qla_host *a)
|
|||
* qla4xxx_start_firmware - starts qla4xxx firmware
|
||||
* @ha: Pointer to host adapter structure.
|
||||
*
|
||||
* This routine performs the neccessary steps to start the firmware for
|
||||
* This routine performs the necessary steps to start the firmware for
|
||||
* the QLA4010 adapter.
|
||||
**/
|
||||
static int qla4xxx_start_firmware(struct scsi_qla_host *ha)
|
||||
|
|
|
@ -676,7 +676,7 @@ static int sd_getgeo(struct block_device *bdev, struct hd_geometry *geo)
|
|||
* success as well). Returns a negated errno value in case of error.
|
||||
*
|
||||
* Note: most ioctls are forward onto the block subsystem or further
|
||||
* down in the scsi subsytem.
|
||||
* down in the scsi subsystem.
|
||||
**/
|
||||
static int sd_ioctl(struct inode * inode, struct file * filp,
|
||||
unsigned int cmd, unsigned long arg)
|
||||
|
|
|
@ -181,7 +181,7 @@ static int mpc52xx_psc_spi_transfer_rxtx(struct spi_device *spi,
|
|||
}
|
||||
|
||||
|
||||
/* enable interupts and wait for wake up
|
||||
/* enable interrupts and wait for wake up
|
||||
* if just one byte is expected the Rx FIFO genererates no
|
||||
* FFULL interrupt, so activate the RxRDY interrupt
|
||||
*/
|
||||
|
|
|
@ -451,7 +451,7 @@ ehci_hub_status_data (struct usb_hcd *hcd, char *buf)
|
|||
|
||||
/* Some boards (mostly VIA?) report bogus overcurrent indications,
|
||||
* causing massive log spam unless we completely ignore them. It
|
||||
* may be relevant that VIA VT8235 controlers, where PORT_POWER is
|
||||
* may be relevant that VIA VT8235 controllers, where PORT_POWER is
|
||||
* always set, seem to clear PORT_OCC and PORT_CSC when writing to
|
||||
* PORT_POWER; that's surprising, but maybe within-spec.
|
||||
*/
|
||||
|
|
|
@ -1556,7 +1556,7 @@ sl811h_start(struct usb_hcd *hcd)
|
|||
hcd->power_budget = sl811->board->power * 2;
|
||||
}
|
||||
|
||||
/* enable power and interupts */
|
||||
/* enable power and interrupts */
|
||||
port_power(sl811, 1);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -773,7 +773,7 @@ int dtSearch(struct inode *ip, struct component_name * key, ino_t * data,
|
|||
getChild:
|
||||
/* update max. number of pages to split */
|
||||
if (BT_STACK_FULL(btstack)) {
|
||||
/* Something's corrupted, mark filesytem dirty so
|
||||
/* Something's corrupted, mark filesystem dirty so
|
||||
* chkdsk will fix it.
|
||||
*/
|
||||
jfs_error(sb, "stack overrun in dtSearch!");
|
||||
|
|
|
@ -376,7 +376,7 @@ out:
|
|||
* directory locks. The dentries have already been deleted on other
|
||||
* nodes via ocfs2_remote_dentry_delete().
|
||||
*
|
||||
* Normally, the VFS handles the d_move() for the file sytem, after
|
||||
* Normally, the VFS handles the d_move() for the file system, after
|
||||
* the ->rename() callback. OCFS2 wants to handle this internally, so
|
||||
* the new lock can be created atomically with respect to the cluster.
|
||||
*/
|
||||
|
|
|
@ -319,7 +319,7 @@ static int finish_unfinished(struct super_block *s)
|
|||
|
||||
/* to protect file being unlinked from getting lost we "safe" link files
|
||||
being unlinked. This link will be deleted in the same transaction with last
|
||||
item of file. mounting the filesytem we scan all these links and remove
|
||||
item of file. mounting the filesystem we scan all these links and remove
|
||||
files which almost got lost */
|
||||
void add_save_link(struct reiserfs_transaction_handle *th,
|
||||
struct inode *inode, int truncate)
|
||||
|
|
|
@ -417,7 +417,7 @@ restart:
|
|||
}
|
||||
|
||||
/*
|
||||
* Call the ->sync_fs super_op against all filesytems which are r/w and
|
||||
* Call the ->sync_fs super_op against all filesystems which are r/w and
|
||||
* which implement it.
|
||||
*
|
||||
* This operation is careful to avoid the livelock which could easily happen
|
||||
|
@ -425,7 +425,7 @@ restart:
|
|||
* is used only here. We set it against all filesystems and then clear it as
|
||||
* we sync them. So redirtied filesystems are skipped.
|
||||
*
|
||||
* But if process A is currently running sync_filesytems and then process B
|
||||
* But if process A is currently running sync_filesystems and then process B
|
||||
* calls sync_filesystems as well, process B will set all the s_need_sync_fs
|
||||
* flags again, which will cause process A to resync everything. Fix that with
|
||||
* a local mutex.
|
||||
|
|
|
@ -401,7 +401,7 @@ extern void dma_sync_sg_for_device(struct device*, struct scatterlist*, int, enu
|
|||
*
|
||||
* On the SA-1111, a bug limits DMA to only certain regions of RAM.
|
||||
* On the IXP425, the PCI inbound window is 64MB (256MB total RAM)
|
||||
* On some ADI engineering sytems, PCI inbound window is 32MB (12MB total RAM)
|
||||
* On some ADI engineering systems, PCI inbound window is 32MB (12MB total RAM)
|
||||
*
|
||||
* The following are helper functions used by the dmabounce subystem
|
||||
*
|
||||
|
|
|
@ -538,7 +538,7 @@ typedef struct bridge_err_cmdword_s {
|
|||
BRIDGE_ISR_PMU_ESIZE_FAULT)
|
||||
|
||||
/*
|
||||
* List of Errors which are fatal and kill the sytem
|
||||
* List of Errors which are fatal and kill the system
|
||||
*/
|
||||
#define BRIDGE_ISR_ERROR_FATAL \
|
||||
((BRIDGE_ISR_XTALK_ERROR & ~BRIDGE_ISR_XREAD_REQ_TIMEOUT)|\
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#define PA_LED 0xba000000 /* LED */
|
||||
#define PA_BCR 0xbb000000 /* FPGA on the MS7751SE01 */
|
||||
|
||||
#define PA_MRSHPC 0xb83fffe0 /* MR-SHPC-01 PCMCIA controler */
|
||||
#define PA_MRSHPC 0xb83fffe0 /* MR-SHPC-01 PCMCIA controller */
|
||||
#define PA_MRSHPC_MW1 0xb8400000 /* MR-SHPC-01 memory window base */
|
||||
#define PA_MRSHPC_MW2 0xb8500000 /* MR-SHPC-01 attribute window base */
|
||||
#define PA_MRSHPC_IO 0xb8600000 /* MR-SHPC-01 I/O window base */
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#define PA_LED 0xba000000 /* LED */
|
||||
#define PA_BCR 0xbb000000 /* FPGA on the MS7751SE01 */
|
||||
|
||||
#define PA_MRSHPC 0xb83fffe0 /* MR-SHPC-01 PCMCIA controler */
|
||||
#define PA_MRSHPC 0xb83fffe0 /* MR-SHPC-01 PCMCIA controller */
|
||||
#define PA_MRSHPC_MW1 0xb8400000 /* MR-SHPC-01 memory window base */
|
||||
#define PA_MRSHPC_MW2 0xb8500000 /* MR-SHPC-01 attribute window base */
|
||||
#define PA_MRSHPC_IO 0xb8600000 /* MR-SHPC-01 I/O window base */
|
||||
|
|
|
@ -118,7 +118,7 @@ struct ipmi_smi_handlers
|
|||
/* Enable/disable firmware maintenance mode. Note that this
|
||||
is *not* the modes defined, this is simply an on/off
|
||||
setting. The message handler does the mode handling. Note
|
||||
that this is called from interupt context, so it cannot
|
||||
that this is called from interrupt context, so it cannot
|
||||
block. */
|
||||
void (*set_maintenance_mode)(void *send_info, int enable);
|
||||
|
||||
|
|
|
@ -412,7 +412,7 @@ static int hrtimer_reprogram(struct hrtimer *timer,
|
|||
/*
|
||||
* When the callback is running, we do not reprogram the clock event
|
||||
* device. The timer callback is either running on a different CPU or
|
||||
* the callback is executed in the hrtimer_interupt context. The
|
||||
* the callback is executed in the hrtimer_interrupt context. The
|
||||
* reprogramming is handled either by the softirq, which called the
|
||||
* callback or at the end of the hrtimer_interrupt.
|
||||
*/
|
||||
|
|
|
@ -5146,7 +5146,7 @@ static int __migrate_task_irq(struct task_struct *p, int src_cpu, int dest_cpu)
|
|||
}
|
||||
|
||||
/*
|
||||
* Figure out where task on dead CPU should go, use force if neccessary.
|
||||
* Figure out where task on dead CPU should go, use force if necessary.
|
||||
* NOTE: interrupts should be disabled by the caller
|
||||
*/
|
||||
static void move_task_off_dead_cpu(int dead_cpu, struct task_struct *p)
|
||||
|
@ -5525,7 +5525,7 @@ migration_call(struct notifier_block *nfb, unsigned long action, void *hcpu)
|
|||
|
||||
case CPU_ONLINE:
|
||||
case CPU_ONLINE_FROZEN:
|
||||
/* Strictly unneccessary, as first user will wake it. */
|
||||
/* Strictly unnecessary, as first user will wake it. */
|
||||
wake_up_process(cpu_rq(cpu)->migration_thread);
|
||||
break;
|
||||
|
||||
|
|
|
@ -263,7 +263,7 @@ out:
|
|||
|
||||
stats->version = TASKSTATS_VERSION;
|
||||
/*
|
||||
* Accounting subsytems can also add calls here to modify
|
||||
* Accounting subsystems can also add calls here to modify
|
||||
* fields of taskstats.
|
||||
*/
|
||||
return rc;
|
||||
|
|
|
@ -126,7 +126,7 @@ int kobject_uevent_env(struct kobject *kobj, enum kobject_action action,
|
|||
else
|
||||
subsystem = kobject_name(&kset->kobj);
|
||||
if (!subsystem) {
|
||||
pr_debug("unset subsytem caused the event to drop!\n");
|
||||
pr_debug("unset subsystem caused the event to drop!\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -202,7 +202,7 @@ void irlmp_expire_discoveries(hashbin_t *log, __u32 saddr, int force)
|
|||
/* Drop the spinlock before calling the higher layers, as
|
||||
* we can't guarantee they won't call us back and create a
|
||||
* deadlock. We will work on our own private data, so we
|
||||
* don't care to be interupted. - Jean II */
|
||||
* don't care to be interrupted. - Jean II */
|
||||
spin_unlock_irqrestore(&log->hb_spinlock, flags);
|
||||
|
||||
if(buffer == NULL)
|
||||
|
|
|
@ -389,7 +389,7 @@ static void iucv_block_cpu(void *data)
|
|||
* iucv_declare_cpu
|
||||
* @data: unused
|
||||
*
|
||||
* Declare a interupt buffer on this cpu.
|
||||
* Declare a interrupt buffer on this cpu.
|
||||
*/
|
||||
static void iucv_declare_cpu(void *data)
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <linux/ip.h>
|
||||
#include <net/checksum.h>
|
||||
|
||||
MODULE_AUTHOR("Henrik Nordstrom <hno@marasytems.com>");
|
||||
MODULE_AUTHOR("Henrik Nordstrom <hno@marasystems.com>");
|
||||
MODULE_DESCRIPTION("IP tables CONNMARK matching module");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS("ipt_CONNMARK");
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <linux/netfilter/x_tables.h>
|
||||
#include <linux/netfilter/xt_connmark.h>
|
||||
|
||||
MODULE_AUTHOR("Henrik Nordstrom <hno@marasytems.com>");
|
||||
MODULE_AUTHOR("Henrik Nordstrom <hno@marasystems.com>");
|
||||
MODULE_DESCRIPTION("IP tables connmark match module");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS("ipt_connmark");
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
* ppp0..9.
|
||||
*
|
||||
* NOTE: Certain meta values depend on other subsystems and are
|
||||
* only available if that subsytem is enabled in the kernel.
|
||||
* only available if that subsystem is enabled in the kernel.
|
||||
*/
|
||||
|
||||
#include <linux/module.h>
|
||||
|
|
|
@ -71,7 +71,7 @@ static void reset_all_channels(struct snd_midi_channel_set *chset);
|
|||
* such as GM, GS and XG.
|
||||
* There modes that this module will run in are:
|
||||
* Generic MIDI - no interpretation at all, it will just save current values
|
||||
* of controlers etc.
|
||||
* of controllers etc.
|
||||
* GM - You can use all gm_ prefixed elements of chan. Controls, RPN, NRPN,
|
||||
* SysEx will be interpreded as defined in General Midi.
|
||||
* GS - You can use all gs_ prefixed elements of chan. Codes for GS will be
|
||||
|
@ -176,7 +176,7 @@ snd_midi_process_event(struct snd_midi_op *ops,
|
|||
ev->data.control.value);
|
||||
break;
|
||||
case SNDRV_SEQ_EVENT_NONREGPARAM:
|
||||
/* Break it back into its controler values */
|
||||
/* Break it back into its controller values */
|
||||
chan->param_type = SNDRV_MIDI_PARAM_TYPE_NONREGISTERED;
|
||||
chan->control[MIDI_CTL_MSB_DATA_ENTRY]
|
||||
= (ev->data.control.value >> 7) & 0x7f;
|
||||
|
@ -189,7 +189,7 @@ snd_midi_process_event(struct snd_midi_op *ops,
|
|||
nrpn(ops, drv, chan, chanset);
|
||||
break;
|
||||
case SNDRV_SEQ_EVENT_REGPARAM:
|
||||
/* Break it back into its controler values */
|
||||
/* Break it back into its controller values */
|
||||
chan->param_type = SNDRV_MIDI_PARAM_TYPE_REGISTERED;
|
||||
chan->control[MIDI_CTL_MSB_DATA_ENTRY]
|
||||
= (ev->data.control.value >> 7) & 0x7f;
|
||||
|
@ -267,7 +267,7 @@ note_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan,
|
|||
}
|
||||
|
||||
/*
|
||||
* Do all driver independent operations for this controler and pass
|
||||
* Do all driver independent operations for this controller and pass
|
||||
* events that need to take place immediately to the driver.
|
||||
*/
|
||||
static void
|
||||
|
|
|
@ -808,7 +808,7 @@ static void snd_opl3_pitch_ctrl(struct snd_opl3 *opl3, struct snd_midi_channel *
|
|||
}
|
||||
|
||||
/*
|
||||
* Deal with a controler type event. This includes all types of
|
||||
* Deal with a controller type event. This includes all types of
|
||||
* control events, not just the midi controllers
|
||||
*/
|
||||
void snd_opl3_control(void *p, int type, struct snd_midi_channel *chan)
|
||||
|
|
|
@ -623,7 +623,7 @@ static int snd_es18xx_capture_prepare(struct snd_pcm_substream *substream)
|
|||
(snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) |
|
||||
(snd_pcm_format_unsigned(runtime->format) ? 0x00 : 0x20));
|
||||
|
||||
/* Set DMA controler */
|
||||
/* Set DMA controller */
|
||||
snd_dma_program(chip->dma1, runtime->dma_addr, size, DMA_MODE_READ | DMA_AUTOINIT);
|
||||
|
||||
return 0;
|
||||
|
@ -689,7 +689,7 @@ static int snd_es18xx_playback2_prepare(struct snd_es18xx *chip,
|
|||
(snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) |
|
||||
(snd_pcm_format_unsigned(runtime->format) ? 0x00 : 0x20));
|
||||
|
||||
/* Set DMA controler */
|
||||
/* Set DMA controller */
|
||||
snd_dma_program(chip->dma1, runtime->dma_addr, size, DMA_MODE_WRITE | DMA_AUTOINIT);
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -498,8 +498,8 @@ snd_au1000_ac97_read(struct snd_ac97 *ac97, unsigned short reg)
|
|||
int i;
|
||||
|
||||
spin_lock(&au1000->ac97_lock);
|
||||
/* would rather use the interupt than this polling but it works and I can't
|
||||
get the interupt driven case to work efficiently */
|
||||
/* would rather use the interrupt than this polling but it works and I can't
|
||||
get the interrupt driven case to work efficiently */
|
||||
for (i = 0; i < 0x5000; i++)
|
||||
if (!(au1000->ac97_ioport->status & AC97C_CP))
|
||||
break;
|
||||
|
@ -535,8 +535,8 @@ snd_au1000_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short
|
|||
int i;
|
||||
|
||||
spin_lock(&au1000->ac97_lock);
|
||||
/* would rather use the interupt than this polling but it works and I can't
|
||||
get the interupt driven case to work efficiently */
|
||||
/* would rather use the interrupt than this polling but it works and I can't
|
||||
get the interrupt driven case to work efficiently */
|
||||
for (i = 0; i < 0x5000; i++)
|
||||
if (!(au1000->ac97_ioport->status & AC97C_CP))
|
||||
break;
|
||||
|
|
|
@ -191,7 +191,7 @@ snd_vortex_create(struct snd_card *card, struct pci_dev *pci, vortex_t ** rchip)
|
|||
|
||||
/* Init audio core.
|
||||
* This must be done before we do request_irq otherwise we can get spurious
|
||||
* interupts that we do not handle properly and make a mess of things */
|
||||
* interrupts that we do not handle properly and make a mess of things */
|
||||
if ((err = vortex_core_init(chip)) != 0) {
|
||||
printk(KERN_ERR "hw core init failed\n");
|
||||
goto core_out;
|
||||
|
|
|
@ -264,7 +264,7 @@ out:
|
|||
}
|
||||
|
||||
/*
|
||||
* Power down the audio subsytem pmdown_time msecs after close is called.
|
||||
* Power down the audio subsystem pmdown_time msecs after close is called.
|
||||
* This is to ensure there are no pops or clicks in between any music tracks
|
||||
* due to DAPM power cycling.
|
||||
*/
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* o Automatic Mic Bias support
|
||||
* o Jack insertion power event initiation - e.g. hp insertion will enable
|
||||
* sinks, dacs, etc
|
||||
* o Delayed powerdown of audio susbsytem to reduce pops between a quick
|
||||
* o Delayed powerdown of audio susbsystem to reduce pops between a quick
|
||||
* device reopen.
|
||||
*
|
||||
* Todo:
|
||||
|
|
|
@ -317,7 +317,7 @@ snd_emux_update_port(struct snd_emux_port *port, int update)
|
|||
|
||||
|
||||
/*
|
||||
* Deal with a controler type event. This includes all types of
|
||||
* Deal with a controller type event. This includes all types of
|
||||
* control events, not just the midi controllers
|
||||
*/
|
||||
void
|
||||
|
|
Загрузка…
Ссылка в новой задаче