mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (53 commits) Kconfig: acpi: Fix typo in comment. misc latin1 to utf8 conversions devres: Fix a typo in devm_kfree comment btrfs: free-space-cache.c: remove extra semicolon. fat: Spelling s/obsolate/obsolete/g SCSI, pmcraid: Fix spelling error in a pmcraid_err() call tools/power turbostat: update fields in manpage mac80211: drop spelling fix types.h: fix comment spelling for 'architectures' typo fixes: aera -> area, exntension -> extension devices.txt: Fix typo of 'VMware'. sis900: Fix enum typo 'sis900_rx_bufer_status' decompress_bunzip2: remove invalid vi modeline treewide: Fix comment and string typo 'bufer' hyper-v: Update MAINTAINERS treewide: Fix typos in various parts of the kernel, and fix some comments. clockevents: drop unknown Kconfig symbol GENERIC_CLOCKEVENTS_MIGR gpio: Kconfig: drop unknown symbol 'CS5535_GPIO' leds: Kconfig: Fix typo 'D2NET_V2' sound: Kconfig: drop unknown symbol ARCH_CLPS7500 ... Fix up trivial conflicts in arch/powerpc/platforms/40x/Kconfig (some new kconfig additions, close to removed commented-out old ones)
This commit is contained in:
commit
98793265b4
176 changed files with 266 additions and 386 deletions
|
|
@ -683,7 +683,7 @@ out:
|
|||
/*
|
||||
* Update our accounting state to incorporate the new Free List
|
||||
* buffers, tell the hardware about them and return the number of
|
||||
* bufers which we were able to allocate.
|
||||
* buffers which we were able to allocate.
|
||||
*/
|
||||
cred = fl->avail - cred;
|
||||
fl->pend_cred += cred;
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ enum sis900_tx_buffer_status {
|
|||
EXCCOLL = 0x00100000, COLCNT = 0x000F0000
|
||||
};
|
||||
|
||||
enum sis900_rx_bufer_status {
|
||||
enum sis900_rx_buffer_status {
|
||||
OVERRUN = 0x02000000, DEST = 0x00800000, BCAST = 0x01800000,
|
||||
MCAST = 0x01000000, UNIMATCH = 0x00800000, TOOLONG = 0x00400000,
|
||||
RUNT = 0x00200000, RXISERR = 0x00100000, CRCERR = 0x00080000,
|
||||
|
|
|
|||
|
|
@ -1664,7 +1664,7 @@ static int nsc_ircc_dma_xmit_complete(struct nsc_ircc_cb *self)
|
|||
switch_bank(iobase, BANK0);
|
||||
outb(inb(iobase+MCR) & ~MCR_DMA_EN, iobase+MCR);
|
||||
|
||||
/* Check for underrrun! */
|
||||
/* Check for underrun! */
|
||||
if (inb(iobase+ASCR) & ASCR_TXUR) {
|
||||
self->netdev->stats.tx_errors++;
|
||||
self->netdev->stats.tx_fifo_errors++;
|
||||
|
|
|
|||
|
|
@ -942,14 +942,14 @@ static int via_ircc_dma_xmit_complete(struct via_ircc_cb *self)
|
|||
iobase = self->io.fir_base;
|
||||
/* Disable DMA */
|
||||
// DisableDmaChannel(self->io.dma);
|
||||
/* Check for underrrun! */
|
||||
/* Check for underrun! */
|
||||
/* Clear bit, by writing 1 into it */
|
||||
Tx_status = GetTXStatus(iobase);
|
||||
if (Tx_status & 0x08) {
|
||||
self->netdev->stats.tx_errors++;
|
||||
self->netdev->stats.tx_fifo_errors++;
|
||||
hwreset(self);
|
||||
// how to clear underrrun ?
|
||||
/* how to clear underrun? */
|
||||
} else {
|
||||
self->netdev->stats.tx_packets++;
|
||||
ResetChip(iobase, 3);
|
||||
|
|
|
|||
|
|
@ -677,7 +677,7 @@ static void w83977af_dma_xmit_complete(struct w83977af_ir *self)
|
|||
switch_bank(iobase, SET0);
|
||||
outb(inb(iobase+HCR) & ~HCR_EN_DMA, iobase+HCR);
|
||||
|
||||
/* Check for underrrun! */
|
||||
/* Check for underrun! */
|
||||
if (inb(iobase+AUDR) & AUDR_UNDR) {
|
||||
IRDA_DEBUG(0, "%s(), Transmit underrun!\n", __func__ );
|
||||
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@
|
|||
* device is up and running or shutdown (through ifconfig up /
|
||||
* down). Bus-generic only.
|
||||
*
|
||||
* - control ops: control.c - implements various commmands for
|
||||
* - control ops: control.c - implements various commands for
|
||||
* controlling the device. bus-generic only.
|
||||
*
|
||||
* - device model glue: driver.c - implements helpers for the
|
||||
|
|
|
|||
|
|
@ -466,8 +466,8 @@ void rtl92de_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val)
|
|||
bool int_migration = *(bool *) (val);
|
||||
|
||||
if (int_migration) {
|
||||
/* Set interrrupt migration timer and
|
||||
* corresponging Tx/Rx counter.
|
||||
/* Set interrupt migration timer and
|
||||
* corresponding Tx/Rx counter.
|
||||
* timer 25ns*0xfa0=100us for 0xf packets.
|
||||
* 0x306:Rx, 0x307:Tx */
|
||||
rtl_write_dword(rtlpriv, REG_INT_MIG, 0xfe000fa0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue