You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
This commit is contained in:
@@ -229,7 +229,7 @@ int __init myradio_init(struct video_init *v)
|
||||
|
||||
static int users = 0;
|
||||
|
||||
static int radio_open(stuct video_device *dev, int flags)
|
||||
static int radio_open(struct video_device *dev, int flags)
|
||||
{
|
||||
if(users)
|
||||
return -EBUSY;
|
||||
@@ -949,7 +949,7 @@ int __init mycamera_init(struct video_init *v)
|
||||
|
||||
static int users = 0;
|
||||
|
||||
static int camera_open(stuct video_device *dev, int flags)
|
||||
static int camera_open(struct video_device *dev, int flags)
|
||||
{
|
||||
if(users)
|
||||
return -EBUSY;
|
||||
|
||||
@@ -136,7 +136,7 @@ changes occur:
|
||||
8) void lazy_mmu_prot_update(pte_t pte)
|
||||
This interface is called whenever the protection on
|
||||
any user PTEs change. This interface provides a notification
|
||||
to architecture specific code to take appropiate action.
|
||||
to architecture specific code to take appropriate action.
|
||||
|
||||
|
||||
Next, we have the cache flushing interfaces. In general, when Linux
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
The High Precision Event Timer (HPET) hardware is the future replacement
|
||||
for the 8254 and Real Time Clock (RTC) periodic timer functionality.
|
||||
Each HPET can have up two 32 timers. It is possible to configure the
|
||||
Each HPET can have up to 32 timers. It is possible to configure the
|
||||
first two timers as legacy replacements for 8254 and RTC periodic timers.
|
||||
A specification done by Intel and Microsoft can be found at
|
||||
<http://www.intel.com/hardwaredesign/hpetspec.htm>.
|
||||
|
||||
@@ -120,7 +120,7 @@ to the unique id assigned by the driver. This data is required for performing
|
||||
some operations (removing an effect, controlling the playback).
|
||||
This if field must be set to -1 by the user in order to tell the driver to
|
||||
allocate a new effect.
|
||||
See <linux/input.h> for a description of the ff_effect stuct. You should also
|
||||
See <linux/input.h> for a description of the ff_effect struct. You should also
|
||||
find help in a few sketches, contained in files shape.fig and interactive.fig.
|
||||
You need xfig to visualize these files.
|
||||
|
||||
|
||||
@@ -946,7 +946,7 @@ HDIO_SCAN_HWIF register and (re)scan interface
|
||||
|
||||
This ioctl initializes the addresses and irq for a disk
|
||||
controller, probes for drives, and creates /proc/ide
|
||||
interfaces as appropiate.
|
||||
interfaces as appropriate.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -357,7 +357,7 @@ MAX_AGE=${MAX_AGE:-'600'}
|
||||
# Read-ahead, in kilobytes
|
||||
READAHEAD=${READAHEAD:-'4096'}
|
||||
|
||||
# Shall we remount journaled fs. with appropiate commit interval? (1=yes)
|
||||
# Shall we remount journaled fs. with appropriate commit interval? (1=yes)
|
||||
DO_REMOUNTS=${DO_REMOUNTS:-'1'}
|
||||
|
||||
# And shall we add the "noatime" option to that as well? (1=yes)
|
||||
|
||||
@@ -91,7 +91,7 @@ To use the driver as a module, proceed as follows:
|
||||
with (M)
|
||||
5. Execute the command "make modules".
|
||||
6. Execute the command "make modules_install".
|
||||
The appropiate modules will be installed.
|
||||
The appropriate modules will be installed.
|
||||
7. Reboot your system.
|
||||
|
||||
|
||||
|
||||
@@ -5577,7 +5577,7 @@ struct _snd_pcm_runtime {
|
||||
<informalexample>
|
||||
<programlisting>
|
||||
<![CDATA[
|
||||
static int mychip_suspend(strut pci_dev *pci, pm_message_t state)
|
||||
static int mychip_suspend(struct pci_dev *pci, pm_message_t state)
|
||||
{
|
||||
/* (1) */
|
||||
struct snd_card *card = pci_get_drvdata(pci);
|
||||
|
||||
@@ -198,6 +198,6 @@ Debugging
|
||||
|
||||
Misc
|
||||
|
||||
noreplacement Don't replace instructions with more appropiate ones
|
||||
noreplacement Don't replace instructions with more appropriate ones
|
||||
for the CPU. This may be useful on asymmetric MP systems
|
||||
where some CPU have less capabilities than the others.
|
||||
|
||||
+2
-1
@@ -549,6 +549,7 @@ S: Maintained
|
||||
COMMON INTERNET FILE SYSTEM (CIFS)
|
||||
P: Steve French
|
||||
M: sfrench@samba.org
|
||||
L: linux-cifs-client@lists.samba.org
|
||||
L: samba-technical@lists.samba.org
|
||||
W: http://us1.samba.org/samba/Linux_CIFS_client.html
|
||||
T: git kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git
|
||||
@@ -2059,7 +2060,7 @@ S: Maintained
|
||||
POSIX CLOCKS and TIMERS
|
||||
P: George Anzinger
|
||||
M: george@mvista.com
|
||||
L: netdev@vger.kernel.org
|
||||
L: linux-kernel@vger.kernel.org
|
||||
S: Supported
|
||||
|
||||
POWERPC 4xx EMAC DRIVER
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Copyright (C) 1994 Linus Torvalds
|
||||
*
|
||||
* 29 dec 2001 - Fixed oopses caused by unchecked access to the vm86
|
||||
* stack - Manfred Spraul <manfreds@colorfullife.com>
|
||||
* stack - Manfred Spraul <manfred@colorfullife.com>
|
||||
*
|
||||
* 22 mar 2002 - Manfred detected the stackfaults, but didn't handle
|
||||
* them correctly. Now the emulation will be in a
|
||||
|
||||
@@ -36,7 +36,7 @@ unsigned int csum_partial_copy_nocheck(const unsigned char *src, unsigned char *
|
||||
int len, int sum)
|
||||
{
|
||||
memcpy(dst, src, len);
|
||||
return(csum_partial(dst, len, sum));
|
||||
return csum_partial(dst, len, sum);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -104,7 +104,7 @@ static inline unsigned short ip_fast_csum(unsigned char * iph,
|
||||
: "=r" (sum), "=r" (iph), "=r" (ihl)
|
||||
: "1" (iph), "2" (ihl)
|
||||
: "memory");
|
||||
return(sum);
|
||||
return sum;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -242,7 +242,6 @@ static int allowed_drive_mask = 0x33;
|
||||
|
||||
static int irqdma_allocated;
|
||||
|
||||
#define LOCAL_END_REQUEST
|
||||
#define DEVICE_NAME "floppy"
|
||||
|
||||
#include <linux/blkdev.h>
|
||||
|
||||
@@ -881,16 +881,6 @@ config FTAPE
|
||||
module. To compile this driver as a module, choose M here: the
|
||||
module will be called ftape.
|
||||
|
||||
Note that the Ftape-HOWTO is out of date (sorry) and documents the
|
||||
older version 2.08 of this software but still contains useful
|
||||
information. There is a web page with more recent documentation at
|
||||
<http://www.instmath.rwth-aachen.de/~heine/ftape/>. This page
|
||||
always contains the latest release of the ftape driver and useful
|
||||
information (backup software, ftape related patches and
|
||||
documentation, FAQ). Note that the file system interface has
|
||||
changed quite a bit compared to previous versions of ftape. Please
|
||||
read <file:Documentation/ftape.txt>.
|
||||
|
||||
source "drivers/char/ftape/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -25,17 +25,7 @@ config ZFTAPE
|
||||
support", above) then `zft-compressor' will be loaded
|
||||
automatically by zftape when needed.
|
||||
|
||||
Despite its name, zftape does NOT use compression by default. The
|
||||
file <file:Documentation/ftape.txt> contains a short description of
|
||||
the most important changes in the file system interface compared to
|
||||
previous versions of ftape. The ftape home page
|
||||
<http://www.instmath.rwth-aachen.de/~heine/ftape/> contains
|
||||
further information.
|
||||
|
||||
IMPORTANT NOTE: zftape can read archives created by previous
|
||||
versions of ftape and provide file mark support (i.e. fast skipping
|
||||
between tape archives) but previous version of ftape will lack file
|
||||
mark support when reading archives produced by zftape.
|
||||
Despite its name, zftape does NOT use compression by default.
|
||||
|
||||
config ZFT_DFLT_BLK_SZ
|
||||
int "Default block size"
|
||||
|
||||
+64
-64
@@ -738,7 +738,7 @@ static int __init stallion_module_init(void)
|
||||
stl_init();
|
||||
restore_flags(flags);
|
||||
|
||||
return(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -889,7 +889,7 @@ static unsigned long stl_atol(char *str)
|
||||
}
|
||||
val = (val * base) + c;
|
||||
}
|
||||
return(val);
|
||||
return val;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -908,7 +908,7 @@ static int stl_parsebrd(stlconf_t *confp, char **argp)
|
||||
#endif
|
||||
|
||||
if ((argp[0] == (char *) NULL) || (*argp[0] == 0))
|
||||
return(0);
|
||||
return 0;
|
||||
|
||||
for (sp = argp[0], i = 0; ((*sp != 0) && (i < 25)); sp++, i++)
|
||||
*sp = TOLOWER(*sp);
|
||||
@@ -935,7 +935,7 @@ static int stl_parsebrd(stlconf_t *confp, char **argp)
|
||||
}
|
||||
if ((argp[i] != (char *) NULL) && (*argp[i] != 0))
|
||||
confp->irq = stl_atol(argp[i]);
|
||||
return(1);
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -946,7 +946,7 @@ static int stl_parsebrd(stlconf_t *confp, char **argp)
|
||||
|
||||
static void *stl_memalloc(int len)
|
||||
{
|
||||
return((void *) kmalloc(len, GFP_KERNEL));
|
||||
return (void *) kmalloc(len, GFP_KERNEL);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -963,12 +963,12 @@ static stlbrd_t *stl_allocbrd(void)
|
||||
if (brdp == (stlbrd_t *) NULL) {
|
||||
printk("STALLION: failed to allocate memory (size=%d)\n",
|
||||
sizeof(stlbrd_t));
|
||||
return((stlbrd_t *) NULL);
|
||||
return (stlbrd_t *) NULL;
|
||||
}
|
||||
|
||||
memset(brdp, 0, sizeof(stlbrd_t));
|
||||
brdp->magic = STL_BOARDMAGIC;
|
||||
return(brdp);
|
||||
return brdp;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -988,10 +988,10 @@ static int stl_open(struct tty_struct *tty, struct file *filp)
|
||||
minordev = tty->index;
|
||||
brdnr = MINOR2BRD(minordev);
|
||||
if (brdnr >= stl_nrbrds)
|
||||
return(-ENODEV);
|
||||
return -ENODEV;
|
||||
brdp = stl_brds[brdnr];
|
||||
if (brdp == (stlbrd_t *) NULL)
|
||||
return(-ENODEV);
|
||||
return -ENODEV;
|
||||
minordev = MINOR2PORT(minordev);
|
||||
for (portnr = -1, panelnr = 0; (panelnr < STL_MAXPANELS); panelnr++) {
|
||||
if (brdp->panels[panelnr] == (stlpanel_t *) NULL)
|
||||
@@ -1003,11 +1003,11 @@ static int stl_open(struct tty_struct *tty, struct file *filp)
|
||||
minordev -= brdp->panels[panelnr]->nrports;
|
||||
}
|
||||
if (portnr < 0)
|
||||
return(-ENODEV);
|
||||
return -ENODEV;
|
||||
|
||||
portp = brdp->panels[panelnr]->ports[portnr];
|
||||
if (portp == (stlport_t *) NULL)
|
||||
return(-ENODEV);
|
||||
return -ENODEV;
|
||||
|
||||
/*
|
||||
* On the first open of the device setup the port hardware, and
|
||||
@@ -1021,7 +1021,7 @@ static int stl_open(struct tty_struct *tty, struct file *filp)
|
||||
if (portp->tx.buf == (char *) NULL) {
|
||||
portp->tx.buf = (char *) stl_memalloc(STL_TXBUFSIZE);
|
||||
if (portp->tx.buf == (char *) NULL)
|
||||
return(-ENOMEM);
|
||||
return -ENOMEM;
|
||||
portp->tx.head = portp->tx.buf;
|
||||
portp->tx.tail = portp->tx.buf;
|
||||
}
|
||||
@@ -1043,8 +1043,8 @@ static int stl_open(struct tty_struct *tty, struct file *filp)
|
||||
if (portp->flags & ASYNC_CLOSING) {
|
||||
interruptible_sleep_on(&portp->close_wait);
|
||||
if (portp->flags & ASYNC_HUP_NOTIFY)
|
||||
return(-EAGAIN);
|
||||
return(-ERESTARTSYS);
|
||||
return -EAGAIN;
|
||||
return -ERESTARTSYS;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1054,11 +1054,11 @@ static int stl_open(struct tty_struct *tty, struct file *filp)
|
||||
*/
|
||||
if (!(filp->f_flags & O_NONBLOCK)) {
|
||||
if ((rc = stl_waitcarrier(portp, filp)) != 0)
|
||||
return(rc);
|
||||
return rc;
|
||||
}
|
||||
portp->flags |= ASYNC_NORMAL_ACTIVE;
|
||||
|
||||
return(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -1115,7 +1115,7 @@ static int stl_waitcarrier(stlport_t *portp, struct file *filp)
|
||||
portp->openwaitcnt--;
|
||||
restore_flags(flags);
|
||||
|
||||
return(rc);
|
||||
return rc;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -1211,12 +1211,12 @@ static int stl_write(struct tty_struct *tty, const unsigned char *buf, int count
|
||||
|
||||
if ((tty == (struct tty_struct *) NULL) ||
|
||||
(stl_tmpwritebuf == (char *) NULL))
|
||||
return(0);
|
||||
return 0;
|
||||
portp = tty->driver_data;
|
||||
if (portp == (stlport_t *) NULL)
|
||||
return(0);
|
||||
return 0;
|
||||
if (portp->tx.buf == (char *) NULL)
|
||||
return(0);
|
||||
return 0;
|
||||
|
||||
/*
|
||||
* If copying direct from user space we must cater for page faults,
|
||||
@@ -1255,7 +1255,7 @@ static int stl_write(struct tty_struct *tty, const unsigned char *buf, int count
|
||||
clear_bit(ASYI_TXLOW, &portp->istate);
|
||||
stl_startrxtx(portp, -1, 1);
|
||||
|
||||
return(count);
|
||||
return count;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -1336,16 +1336,16 @@ static int stl_writeroom(struct tty_struct *tty)
|
||||
#endif
|
||||
|
||||
if (tty == (struct tty_struct *) NULL)
|
||||
return(0);
|
||||
return 0;
|
||||
portp = tty->driver_data;
|
||||
if (portp == (stlport_t *) NULL)
|
||||
return(0);
|
||||
return 0;
|
||||
if (portp->tx.buf == (char *) NULL)
|
||||
return(0);
|
||||
return 0;
|
||||
|
||||
head = portp->tx.head;
|
||||
tail = portp->tx.tail;
|
||||
return((head >= tail) ? (STL_TXBUFSIZE - (head - tail) - 1) : (tail - head - 1));
|
||||
return ((head >= tail) ? (STL_TXBUFSIZE - (head - tail) - 1) : (tail - head - 1));
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -1370,19 +1370,19 @@ static int stl_charsinbuffer(struct tty_struct *tty)
|
||||
#endif
|
||||
|
||||
if (tty == (struct tty_struct *) NULL)
|
||||
return(0);
|
||||
return 0;
|
||||
portp = tty->driver_data;
|
||||
if (portp == (stlport_t *) NULL)
|
||||
return(0);
|
||||
return 0;
|
||||
if (portp->tx.buf == (char *) NULL)
|
||||
return(0);
|
||||
return 0;
|
||||
|
||||
head = portp->tx.head;
|
||||
tail = portp->tx.tail;
|
||||
size = (head >= tail) ? (head - tail) : (STL_TXBUFSIZE - (tail - head));
|
||||
if ((size == 0) && test_bit(ASYI_TXBUSY, &portp->istate))
|
||||
size = 1;
|
||||
return(size);
|
||||
return size;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -1447,7 +1447,7 @@ static int stl_setserial(stlport_t *portp, struct serial_struct __user *sp)
|
||||
(sio.close_delay != portp->close_delay) ||
|
||||
((sio.flags & ~ASYNC_USR_MASK) !=
|
||||
(portp->flags & ~ASYNC_USR_MASK)))
|
||||
return(-EPERM);
|
||||
return -EPERM;
|
||||
}
|
||||
|
||||
portp->flags = (portp->flags & ~ASYNC_USR_MASK) |
|
||||
@@ -1457,7 +1457,7 @@ static int stl_setserial(stlport_t *portp, struct serial_struct __user *sp)
|
||||
portp->closing_wait = sio.closing_wait;
|
||||
portp->custom_divisor = sio.custom_divisor;
|
||||
stl_setport(portp, portp->tty->termios);
|
||||
return(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -1467,12 +1467,12 @@ static int stl_tiocmget(struct tty_struct *tty, struct file *file)
|
||||
stlport_t *portp;
|
||||
|
||||
if (tty == (struct tty_struct *) NULL)
|
||||
return(-ENODEV);
|
||||
return -ENODEV;
|
||||
portp = tty->driver_data;
|
||||
if (portp == (stlport_t *) NULL)
|
||||
return(-ENODEV);
|
||||
return -ENODEV;
|
||||
if (tty->flags & (1 << TTY_IO_ERROR))
|
||||
return(-EIO);
|
||||
return -EIO;
|
||||
|
||||
return stl_getsignals(portp);
|
||||
}
|
||||
@@ -1484,12 +1484,12 @@ static int stl_tiocmset(struct tty_struct *tty, struct file *file,
|
||||
int rts = -1, dtr = -1;
|
||||
|
||||
if (tty == (struct tty_struct *) NULL)
|
||||
return(-ENODEV);
|
||||
return -ENODEV;
|
||||
portp = tty->driver_data;
|
||||
if (portp == (stlport_t *) NULL)
|
||||
return(-ENODEV);
|
||||
return -ENODEV;
|
||||
if (tty->flags & (1 << TTY_IO_ERROR))
|
||||
return(-EIO);
|
||||
return -EIO;
|
||||
|
||||
if (set & TIOCM_RTS)
|
||||
rts = 1;
|
||||
@@ -1517,15 +1517,15 @@ static int stl_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd
|
||||
#endif
|
||||
|
||||
if (tty == (struct tty_struct *) NULL)
|
||||
return(-ENODEV);
|
||||
return -ENODEV;
|
||||
portp = tty->driver_data;
|
||||
if (portp == (stlport_t *) NULL)
|
||||
return(-ENODEV);
|
||||
return -ENODEV;
|
||||
|
||||
if ((cmd != TIOCGSERIAL) && (cmd != TIOCSSERIAL) &&
|
||||
(cmd != COM_GETPORTSTATS) && (cmd != COM_CLRPORTSTATS)) {
|
||||
if (tty->flags & (1 << TTY_IO_ERROR))
|
||||
return(-EIO);
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
rc = 0;
|
||||
@@ -1566,7 +1566,7 @@ static int stl_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd
|
||||
break;
|
||||
}
|
||||
|
||||
return(rc);
|
||||
return rc;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -1872,7 +1872,7 @@ static int stl_portinfo(stlport_t *portp, int portnr, char *pos)
|
||||
pos[(MAXLINE - 2)] = '+';
|
||||
pos[(MAXLINE - 1)] = '\n';
|
||||
|
||||
return(MAXLINE);
|
||||
return MAXLINE;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -1957,7 +1957,7 @@ static int stl_readproc(char *page, char **start, off_t off, int count, int *eof
|
||||
|
||||
stl_readdone:
|
||||
*start = page;
|
||||
return(pos - page);
|
||||
return (pos - page);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -2349,7 +2349,7 @@ static inline int stl_initeio(stlbrd_t *brdp)
|
||||
} else {
|
||||
rc = 0;
|
||||
}
|
||||
return(rc);
|
||||
return rc;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -3116,7 +3116,7 @@ static int __init stl_init(void)
|
||||
return -1;
|
||||
}
|
||||
|
||||
return(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -3132,7 +3132,7 @@ static int __init stl_init(void)
|
||||
static int stl_cd1400getreg(stlport_t *portp, int regnr)
|
||||
{
|
||||
outb((regnr + portp->uartaddr), portp->ioaddr);
|
||||
return(inb(portp->ioaddr + EREG_DATA));
|
||||
return inb(portp->ioaddr + EREG_DATA);
|
||||
}
|
||||
|
||||
static void stl_cd1400setreg(stlport_t *portp, int regnr, int value)
|
||||
@@ -3146,9 +3146,9 @@ static int stl_cd1400updatereg(stlport_t *portp, int regnr, int value)
|
||||
outb((regnr + portp->uartaddr), portp->ioaddr);
|
||||
if (inb(portp->ioaddr + EREG_DATA) != value) {
|
||||
outb(value, portp->ioaddr + EREG_DATA);
|
||||
return(1);
|
||||
return 1;
|
||||
}
|
||||
return(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -3206,7 +3206,7 @@ static int stl_cd1400panelinit(stlbrd_t *brdp, stlpanel_t *panelp)
|
||||
}
|
||||
|
||||
BRDDISABLE(panelp->brdnr);
|
||||
return(chipmask);
|
||||
return chipmask;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -3557,7 +3557,7 @@ static int stl_cd1400getsignals(stlport_t *portp)
|
||||
#else
|
||||
sigs |= TIOCM_DSR;
|
||||
#endif
|
||||
return(sigs);
|
||||
return sigs;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -3830,9 +3830,9 @@ static int stl_cd1400datastate(stlport_t *portp)
|
||||
#endif
|
||||
|
||||
if (portp == (stlport_t *) NULL)
|
||||
return(0);
|
||||
return 0;
|
||||
|
||||
return(test_bit(ASYI_TXBUSY, &portp->istate) ? 1 : 0);
|
||||
return test_bit(ASYI_TXBUSY, &portp->istate) ? 1 : 0;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -3912,20 +3912,20 @@ static inline int stl_cd1400breakisr(stlport_t *portp, int ioaddr)
|
||||
outb((SRER + portp->uartaddr), ioaddr);
|
||||
outb((inb(ioaddr + EREG_DATA) & ~(SRER_TXDATA | SRER_TXEMPTY)),
|
||||
(ioaddr + EREG_DATA));
|
||||
return(1);
|
||||
return 1;
|
||||
} else if (portp->brklen > 1) {
|
||||
outb((TDR + portp->uartaddr), ioaddr);
|
||||
outb(ETC_CMD, (ioaddr + EREG_DATA));
|
||||
outb(ETC_STOPBREAK, (ioaddr + EREG_DATA));
|
||||
portp->brklen = -1;
|
||||
return(1);
|
||||
return 1;
|
||||
} else {
|
||||
outb((COR2 + portp->uartaddr), ioaddr);
|
||||
outb((inb(ioaddr + EREG_DATA) & ~COR2_ETC),
|
||||
(ioaddr + EREG_DATA));
|
||||
portp->brklen = 0;
|
||||
}
|
||||
return(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -4166,7 +4166,7 @@ static void stl_cd1400mdmisr(stlpanel_t *panelp, int ioaddr)
|
||||
static int stl_sc26198getreg(stlport_t *portp, int regnr)
|
||||
{
|
||||
outb((regnr | portp->uartaddr), (portp->ioaddr + XP_ADDR));
|
||||
return(inb(portp->ioaddr + XP_DATA));
|
||||
return inb(portp->ioaddr + XP_DATA);
|
||||
}
|
||||
|
||||
static void stl_sc26198setreg(stlport_t *portp, int regnr, int value)
|
||||
@@ -4180,9 +4180,9 @@ static int stl_sc26198updatereg(stlport_t *portp, int regnr, int value)
|
||||
outb((regnr | portp->uartaddr), (portp->ioaddr + XP_ADDR));
|
||||
if (inb(portp->ioaddr + XP_DATA) != value) {
|
||||
outb(value, (portp->ioaddr + XP_DATA));
|
||||
return(1);
|
||||
return 1;
|
||||
}
|
||||
return(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -4194,7 +4194,7 @@ static int stl_sc26198updatereg(stlport_t *portp, int regnr, int value)
|
||||
static int stl_sc26198getglobreg(stlport_t *portp, int regnr)
|
||||
{
|
||||
outb(regnr, (portp->ioaddr + XP_ADDR));
|
||||
return(inb(portp->ioaddr + XP_DATA));
|
||||
return inb(portp->ioaddr + XP_DATA);
|
||||
}
|
||||
|
||||
#if 0
|
||||
@@ -4252,7 +4252,7 @@ static int stl_sc26198panelinit(stlbrd_t *brdp, stlpanel_t *panelp)
|
||||
}
|
||||
|
||||
BRDDISABLE(panelp->brdnr);
|
||||
return(chipmask);
|
||||
return chipmask;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -4546,7 +4546,7 @@ static int stl_sc26198getsignals(stlport_t *portp)
|
||||
sigs |= (ipr & IPR_DTR) ? 0: TIOCM_DTR;
|
||||
sigs |= (ipr & IPR_RTS) ? 0: TIOCM_RTS;
|
||||
sigs |= TIOCM_DSR;
|
||||
return(sigs);
|
||||
return sigs;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
@@ -4828,9 +4828,9 @@ static int stl_sc26198datastate(stlport_t *portp)
|
||||
#endif
|
||||
|
||||
if (portp == (stlport_t *) NULL)
|
||||
return(0);
|
||||
return 0;
|
||||
if (test_bit(ASYI_TXBUSY, &portp->istate))
|
||||
return(1);
|
||||
return 1;
|
||||
|
||||
save_flags(flags);
|
||||
cli();
|
||||
@@ -4839,7 +4839,7 @@ static int stl_sc26198datastate(stlport_t *portp)
|
||||
BRDDISABLE(portp->brdnr);
|
||||
restore_flags(flags);
|
||||
|
||||
return((sr & SR_TXEMPTY) ? 0 : 1);
|
||||
return (sr & SR_TXEMPTY) ? 0 : 1;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
@@ -2676,10 +2676,6 @@ config SHAPER
|
||||
Class-Based Queueing (CBQ) scheduling support which you get if you
|
||||
say Y to "QoS and/or fair queueing" above.
|
||||
|
||||
To set up and configure shaper devices, you need the shapecfg
|
||||
program, available from <ftp://shadow.cabi.net/pub/Linux/> in the
|
||||
shaper package.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called shaper. If unsure, say N.
|
||||
|
||||
|
||||
@@ -641,7 +641,7 @@ static void lmc_watchdog (unsigned long data) /*fold00*/
|
||||
spin_lock_irqsave(&sc->lmc_lock, flags);
|
||||
|
||||
if(sc->check != 0xBEAFCAFE){
|
||||
printk("LMC: Corrupt net_device stuct, breaking out\n");
|
||||
printk("LMC: Corrupt net_device struct, breaking out\n");
|
||||
spin_unlock_irqrestore(&sc->lmc_lock, flags);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -24,10 +24,6 @@ config NET_RADIO
|
||||
the tools from
|
||||
<http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>.
|
||||
|
||||
Some user-level drivers for scarab devices which don't require
|
||||
special kernel support are available from
|
||||
<ftp://shadow.cabi.net/pub/Linux/>.
|
||||
|
||||
# Note : the cards are obsolete (can't buy them anymore), but the drivers
|
||||
# are not, as people are still using them...
|
||||
comment "Obsolete Wireless cards support (pre-802.11)"
|
||||
@@ -160,7 +156,7 @@ config IPW2100
|
||||
<http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>.
|
||||
|
||||
If you want to compile the driver as a module ( = code which can be
|
||||
inserted in and remvoed from the running kernel whenever you want),
|
||||
inserted in and removed from the running kernel whenever you want),
|
||||
say M here and read <file:Documentation/modules.txt>. The module
|
||||
will be called ipw2100.ko.
|
||||
|
||||
@@ -213,7 +209,7 @@ config IPW2200
|
||||
<http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>.
|
||||
|
||||
If you want to compile the driver as a module ( = code which can be
|
||||
inserted in and remvoed from the running kernel whenever you want),
|
||||
inserted in and removed from the running kernel whenever you want),
|
||||
say M here and read <file:Documentation/modules.txt>. The module
|
||||
will be called ipw2200.ko.
|
||||
|
||||
|
||||
@@ -3403,7 +3403,7 @@ zfcp_erp_action_dequeue(struct zfcp_erp_action *erp_action)
|
||||
/**
|
||||
* zfcp_erp_action_cleanup
|
||||
*
|
||||
* Register unit with scsi stack if appropiate and fix reference counts.
|
||||
* Register unit with scsi stack if appropriate and fix reference counts.
|
||||
* Note: Temporary units are not registered with scsi stack.
|
||||
*/
|
||||
static void
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user