aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-01-15 19:43:29 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-15 19:43:29 -0500
commit3f02d072d46bb409e8ca3cf16c0511f5c21adaf6 (patch)
treebaec074db38a5ceaaabbcee76f199acef43bb42a /drivers
parent0238cb4e7583c521bb3538060f98a73e65f61324 (diff)
parentfb453d4b0b51ea71c9eb8192c61b768afeb7ee8a (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/floppy.c1
-rw-r--r--drivers/char/Kconfig10
-rw-r--r--drivers/char/ftape/Kconfig12
-rw-r--r--drivers/char/stallion.c128
-rw-r--r--drivers/net/Kconfig4
-rw-r--r--drivers/net/wan/lmc/lmc_main.c2
-rw-r--r--drivers/net/wireless/Kconfig8
-rw-r--r--drivers/s390/scsi/zfcp_erp.c2
-rw-r--r--drivers/scsi/FlashPoint.c2
-rw-r--r--drivers/scsi/gdth.c2
10 files changed, 71 insertions, 100 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index 374621a512e0..d23b54332d7e 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -242,7 +242,6 @@ static int allowed_drive_mask = 0x33;
242 242
243static int irqdma_allocated; 243static int irqdma_allocated;
244 244
245#define LOCAL_END_REQUEST
246#define DEVICE_NAME "floppy" 245#define DEVICE_NAME "floppy"
247 246
248#include <linux/blkdev.h> 247#include <linux/blkdev.h>
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index d6fcd0a36f9f..4135d8c5bcae 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -881,16 +881,6 @@ config FTAPE
881 module. To compile this driver as a module, choose M here: the 881 module. To compile this driver as a module, choose M here: the
882 module will be called ftape. 882 module will be called ftape.
883 883
884 Note that the Ftape-HOWTO is out of date (sorry) and documents the
885 older version 2.08 of this software but still contains useful
886 information. There is a web page with more recent documentation at
887 <http://www.instmath.rwth-aachen.de/~heine/ftape/>. This page
888 always contains the latest release of the ftape driver and useful
889 information (backup software, ftape related patches and
890 documentation, FAQ). Note that the file system interface has
891 changed quite a bit compared to previous versions of ftape. Please
892 read <file:Documentation/ftape.txt>.
893
894source "drivers/char/ftape/Kconfig" 884source "drivers/char/ftape/Kconfig"
895 885
896endmenu 886endmenu
diff --git a/drivers/char/ftape/Kconfig b/drivers/char/ftape/Kconfig
index 7d3ecb56a1bd..0d65189a7ae8 100644
--- a/drivers/char/ftape/Kconfig
+++ b/drivers/char/ftape/Kconfig
@@ -25,17 +25,7 @@ config ZFTAPE
25 support", above) then `zft-compressor' will be loaded 25 support", above) then `zft-compressor' will be loaded
26 automatically by zftape when needed. 26 automatically by zftape when needed.
27 27
28 Despite its name, zftape does NOT use compression by default. The 28 Despite its name, zftape does NOT use compression by default.
29 file <file:Documentation/ftape.txt> contains a short description of
30 the most important changes in the file system interface compared to
31 previous versions of ftape. The ftape home page
32 <http://www.instmath.rwth-aachen.de/~heine/ftape/> contains
33 further information.
34
35 IMPORTANT NOTE: zftape can read archives created by previous
36 versions of ftape and provide file mark support (i.e. fast skipping
37 between tape archives) but previous version of ftape will lack file
38 mark support when reading archives produced by zftape.
39 29
40config ZFT_DFLT_BLK_SZ 30config ZFT_DFLT_BLK_SZ
41 int "Default block size" 31 int "Default block size"
diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c
index 0e20780d4a29..bdaab6992109 100644
--- a/drivers/char/stallion.c
+++ b/drivers/char/stallion.c
@@ -738,7 +738,7 @@ static int __init stallion_module_init(void)
738 stl_init(); 738 stl_init();
739 restore_flags(flags); 739 restore_flags(flags);
740 740
741 return(0); 741 return 0;
742} 742}
743 743
744/*****************************************************************************/ 744/*****************************************************************************/
@@ -889,7 +889,7 @@ static unsigned long stl_atol(char *str)
889 } 889 }
890 val = (val * base) + c; 890 val = (val * base) + c;
891 } 891 }
892 return(val); 892 return val;
893} 893}
894 894
895/*****************************************************************************/ 895/*****************************************************************************/
@@ -908,7 +908,7 @@ static int stl_parsebrd(stlconf_t *confp, char **argp)
908#endif 908#endif
909 909
910 if ((argp[0] == (char *) NULL) || (*argp[0] == 0)) 910 if ((argp[0] == (char *) NULL) || (*argp[0] == 0))
911 return(0); 911 return 0;
912 912
913 for (sp = argp[0], i = 0; ((*sp != 0) && (i < 25)); sp++, i++) 913 for (sp = argp[0], i = 0; ((*sp != 0) && (i < 25)); sp++, i++)
914 *sp = TOLOWER(*sp); 914 *sp = TOLOWER(*sp);
@@ -935,7 +935,7 @@ static int stl_parsebrd(stlconf_t *confp, char **argp)
935 } 935 }
936 if ((argp[i] != (char *) NULL) && (*argp[i] != 0)) 936 if ((argp[i] != (char *) NULL) && (*argp[i] != 0))
937 confp->irq = stl_atol(argp[i]); 937 confp->irq = stl_atol(argp[i]);
938 return(1); 938 return 1;
939} 939}
940 940
941/*****************************************************************************/ 941/*****************************************************************************/
@@ -946,7 +946,7 @@ static int stl_parsebrd(stlconf_t *confp, char **argp)
946 946
947static void *stl_memalloc(int len) 947static void *stl_memalloc(int len)
948{ 948{
949 return((void *) kmalloc(len, GFP_KERNEL)); 949 return (void *) kmalloc(len, GFP_KERNEL);
950} 950}
951 951
952/*****************************************************************************/ 952/*****************************************************************************/
@@ -963,12 +963,12 @@ static stlbrd_t *stl_allocbrd(void)
963 if (brdp == (stlbrd_t *) NULL) { 963 if (brdp == (stlbrd_t *) NULL) {
964 printk("STALLION: failed to allocate memory (size=%d)\n", 964 printk("STALLION: failed to allocate memory (size=%d)\n",
965 sizeof(stlbrd_t)); 965 sizeof(stlbrd_t));
966 return((stlbrd_t *) NULL); 966 return (stlbrd_t *) NULL;
967 } 967 }
968 968
969 memset(brdp, 0, sizeof(stlbrd_t)); 969 memset(brdp, 0, sizeof(stlbrd_t));
970 brdp->magic = STL_BOARDMAGIC; 970 brdp->magic = STL_BOARDMAGIC;
971 return(brdp); 971 return brdp;
972} 972}
973 973
974/*****************************************************************************/ 974/*****************************************************************************/
@@ -988,10 +988,10 @@ static int stl_open(struct tty_struct *tty, struct file *filp)
988 minordev = tty->index; 988 minordev = tty->index;
989 brdnr = MINOR2BRD(minordev); 989 brdnr = MINOR2BRD(minordev);
990 if (brdnr >= stl_nrbrds) 990 if (brdnr >= stl_nrbrds)
991 return(-ENODEV); 991 return -ENODEV;
992 brdp = stl_brds[brdnr]; 992 brdp = stl_brds[brdnr];
993 if (brdp == (stlbrd_t *) NULL) 993 if (brdp == (stlbrd_t *) NULL)
994 return(-ENODEV); 994 return -ENODEV;
995 minordev = MINOR2PORT(minordev); 995 minordev = MINOR2PORT(minordev);
996 for (portnr = -1, panelnr = 0; (panelnr < STL_MAXPANELS); panelnr++) { 996 for (portnr = -1, panelnr = 0; (panelnr < STL_MAXPANELS); panelnr++) {
997 if (brdp->panels[panelnr] == (stlpanel_t *) NULL) 997 if (brdp->panels[panelnr] == (stlpanel_t *) NULL)
@@ -1003,11 +1003,11 @@ static int stl_open(struct tty_struct *tty, struct file *filp)
1003 minordev -= brdp->panels[panelnr]->nrports; 1003 minordev -= brdp->panels[panelnr]->nrports;
1004 } 1004 }
1005 if (portnr < 0) 1005 if (portnr < 0)
1006 return(-ENODEV); 1006 return -ENODEV;
1007 1007
1008 portp = brdp->panels[panelnr]->ports[portnr]; 1008 portp = brdp->panels[panelnr]->ports[portnr];
1009 if (portp == (stlport_t *) NULL) 1009 if (portp == (stlport_t *) NULL)
1010 return(-ENODEV); 1010 return -ENODEV;
1011 1011
1012/* 1012/*
1013 * On the first open of the device setup the port hardware, and 1013 * 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)
1021 if (portp->tx.buf == (char *) NULL) { 1021 if (portp->tx.buf == (char *) NULL) {
1022 portp->tx.buf = (char *) stl_memalloc(STL_TXBUFSIZE); 1022 portp->tx.buf = (char *) stl_memalloc(STL_TXBUFSIZE);
1023 if (portp->tx.buf == (char *) NULL) 1023 if (portp->tx.buf == (char *) NULL)
1024 return(-ENOMEM); 1024 return -ENOMEM;
1025 portp->tx.head = portp->tx.buf; 1025 portp->tx.head = portp->tx.buf;
1026 portp->tx.tail = portp->tx.buf; 1026 portp->tx.tail = portp->tx.buf;
1027 } 1027 }
@@ -1043,8 +1043,8 @@ static int stl_open(struct tty_struct *tty, struct file *filp)
1043 if (portp->flags & ASYNC_CLOSING) { 1043 if (portp->flags & ASYNC_CLOSING) {
1044 interruptible_sleep_on(&portp->close_wait); 1044 interruptible_sleep_on(&portp->close_wait);
1045 if (portp->flags & ASYNC_HUP_NOTIFY) 1045 if (portp->flags & ASYNC_HUP_NOTIFY)
1046 return(-EAGAIN); 1046 return -EAGAIN;
1047 return(-ERESTARTSYS); 1047 return -ERESTARTSYS;
1048 } 1048 }
1049 1049
1050/* 1050/*
@@ -1054,11 +1054,11 @@ static int stl_open(struct tty_struct *tty, struct file *filp)
1054 */ 1054 */
1055 if (!(filp->f_flags & O_NONBLOCK)) { 1055 if (!(filp->f_flags & O_NONBLOCK)) {
1056 if ((rc = stl_waitcarrier(portp, filp)) != 0) 1056 if ((rc = stl_waitcarrier(portp, filp)) != 0)
1057 return(rc); 1057 return rc;
1058 } 1058 }
1059 portp->flags |= ASYNC_NORMAL_ACTIVE; 1059 portp->flags |= ASYNC_NORMAL_ACTIVE;
1060 1060
1061 return(0); 1061 return 0;
1062} 1062}
1063 1063
1064/*****************************************************************************/ 1064/*****************************************************************************/
@@ -1115,7 +1115,7 @@ static int stl_waitcarrier(stlport_t *portp, struct file *filp)
1115 portp->openwaitcnt--; 1115 portp->openwaitcnt--;
1116 restore_flags(flags); 1116 restore_flags(flags);
1117 1117
1118 return(rc); 1118 return rc;
1119} 1119}
1120 1120
1121/*****************************************************************************/ 1121/*****************************************************************************/
@@ -1211,12 +1211,12 @@ static int stl_write(struct tty_struct *tty, const unsigned char *buf, int count
1211 1211
1212 if ((tty == (struct tty_struct *) NULL) || 1212 if ((tty == (struct tty_struct *) NULL) ||
1213 (stl_tmpwritebuf == (char *) NULL)) 1213 (stl_tmpwritebuf == (char *) NULL))
1214 return(0); 1214 return 0;
1215 portp = tty->driver_data; 1215 portp = tty->driver_data;
1216 if (portp == (stlport_t *) NULL) 1216 if (portp == (stlport_t *) NULL)
1217 return(0); 1217 return 0;
1218 if (portp->tx.buf == (char *) NULL) 1218 if (portp->tx.buf == (char *) NULL)
1219 return(0); 1219 return 0;
1220 1220
1221/* 1221/*
1222 * If copying direct from user space we must cater for page faults, 1222 * 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
1255 clear_bit(ASYI_TXLOW, &portp->istate); 1255 clear_bit(ASYI_TXLOW, &portp->istate);
1256 stl_startrxtx(portp, -1, 1); 1256 stl_startrxtx(portp, -1, 1);
1257 1257
1258 return(count); 1258 return count;
1259} 1259}
1260 1260
1261/*****************************************************************************/ 1261/*****************************************************************************/
@@ -1336,16 +1336,16 @@ static int stl_writeroom(struct tty_struct *tty)
1336#endif 1336#endif
1337 1337
1338 if (tty == (struct tty_struct *) NULL) 1338 if (tty == (struct tty_struct *) NULL)
1339 return(0); 1339 return 0;
1340 portp = tty->driver_data; 1340 portp = tty->driver_data;
1341 if (portp == (stlport_t *) NULL) 1341 if (portp == (stlport_t *) NULL)
1342 return(0); 1342 return 0;
1343 if (portp->tx.buf == (char *) NULL) 1343 if (portp->tx.buf == (char *) NULL)
1344 return(0); 1344 return 0;
1345 1345
1346 head = portp->tx.head; 1346 head = portp->tx.head;
1347 tail = portp->tx.tail; 1347 tail = portp->tx.tail;
1348 return((head >= tail) ? (STL_TXBUFSIZE - (head - tail) - 1) : (tail - head - 1)); 1348 return ((head >= tail) ? (STL_TXBUFSIZE - (head - tail) - 1) : (tail - head - 1));
1349} 1349}
1350 1350
1351/*****************************************************************************/ 1351/*****************************************************************************/
@@ -1370,19 +1370,19 @@ static int stl_charsinbuffer(struct tty_struct *tty)
1370#endif 1370#endif
1371 1371
1372 if (tty == (struct tty_struct *) NULL) 1372 if (tty == (struct tty_struct *) NULL)
1373 return(0); 1373 return 0;
1374 portp = tty->driver_data; 1374 portp = tty->driver_data;
1375 if (portp == (stlport_t *) NULL) 1375 if (portp == (stlport_t *) NULL)
1376 return(0); 1376 return 0;
1377 if (portp->tx.buf == (char *) NULL) 1377 if (portp->tx.buf == (char *) NULL)
1378 return(0); 1378 return 0;
1379 1379
1380 head = portp->tx.head; 1380 head = portp->tx.head;
1381 tail = portp->tx.tail; 1381 tail = portp->tx.tail;
1382 size = (head >= tail) ? (head - tail) : (STL_TXBUFSIZE - (tail - head)); 1382 size = (head >= tail) ? (head - tail) : (STL_TXBUFSIZE - (tail - head));
1383 if ((size == 0) && test_bit(ASYI_TXBUSY, &portp->istate)) 1383 if ((size == 0) && test_bit(ASYI_TXBUSY, &portp->istate))
1384 size = 1; 1384 size = 1;
1385 return(size); 1385 return size;
1386} 1386}
1387 1387
1388/*****************************************************************************/ 1388/*****************************************************************************/
@@ -1447,7 +1447,7 @@ static int stl_setserial(stlport_t *portp, struct serial_struct __user *sp)
1447 (sio.close_delay != portp->close_delay) || 1447 (sio.close_delay != portp->close_delay) ||
1448 ((sio.flags & ~ASYNC_USR_MASK) != 1448 ((sio.flags & ~ASYNC_USR_MASK) !=
1449 (portp->flags & ~ASYNC_USR_MASK))) 1449 (portp->flags & ~ASYNC_USR_MASK)))
1450 return(-EPERM); 1450 return -EPERM;
1451 } 1451 }
1452 1452
1453 portp->flags = (portp->flags & ~ASYNC_USR_MASK) | 1453 portp->flags = (portp->flags & ~ASYNC_USR_MASK) |
@@ -1457,7 +1457,7 @@ static int stl_setserial(stlport_t *portp, struct serial_struct __user *sp)
1457 portp->closing_wait = sio.closing_wait; 1457 portp->closing_wait = sio.closing_wait;
1458 portp->custom_divisor = sio.custom_divisor; 1458 portp->custom_divisor = sio.custom_divisor;
1459 stl_setport(portp, portp->tty->termios); 1459 stl_setport(portp, portp->tty->termios);
1460 return(0); 1460 return 0;
1461} 1461}
1462 1462
1463/*****************************************************************************/ 1463/*****************************************************************************/
@@ -1467,12 +1467,12 @@ static int stl_tiocmget(struct tty_struct *tty, struct file *file)
1467 stlport_t *portp; 1467 stlport_t *portp;
1468 1468
1469 if (tty == (struct tty_struct *) NULL) 1469 if (tty == (struct tty_struct *) NULL)
1470 return(-ENODEV); 1470 return -ENODEV;
1471 portp = tty->driver_data; 1471 portp = tty->driver_data;
1472 if (portp == (stlport_t *) NULL) 1472 if (portp == (stlport_t *) NULL)
1473 return(-ENODEV); 1473 return -ENODEV;
1474 if (tty->flags & (1 << TTY_IO_ERROR)) 1474 if (tty->flags & (1 << TTY_IO_ERROR))
1475 return(-EIO); 1475 return -EIO;
1476 1476
1477 return stl_getsignals(portp); 1477 return stl_getsignals(portp);
1478} 1478}
@@ -1484,12 +1484,12 @@ static int stl_tiocmset(struct tty_struct *tty, struct file *file,
1484 int rts = -1, dtr = -1; 1484 int rts = -1, dtr = -1;
1485 1485
1486 if (tty == (struct tty_struct *) NULL) 1486 if (tty == (struct tty_struct *) NULL)
1487 return(-ENODEV); 1487 return -ENODEV;
1488 portp = tty->driver_data; 1488 portp = tty->driver_data;
1489 if (portp == (stlport_t *) NULL) 1489 if (portp == (stlport_t *) NULL)
1490 return(-ENODEV); 1490 return -ENODEV;
1491 if (tty->flags & (1 << TTY_IO_ERROR)) 1491 if (tty->flags & (1 << TTY_IO_ERROR))
1492 return(-EIO); 1492 return -EIO;
1493 1493
1494 if (set & TIOCM_RTS) 1494 if (set & TIOCM_RTS)
1495 rts = 1; 1495 rts = 1;
@@ -1517,15 +1517,15 @@ static int stl_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd
1517#endif 1517#endif
1518 1518
1519 if (tty == (struct tty_struct *) NULL) 1519 if (tty == (struct tty_struct *) NULL)
1520 return(-ENODEV); 1520 return -ENODEV;
1521 portp = tty->driver_data; 1521 portp = tty->driver_data;
1522 if (portp == (stlport_t *) NULL) 1522 if (portp == (stlport_t *) NULL)
1523 return(-ENODEV); 1523 return -ENODEV;
1524 1524
1525 if ((cmd != TIOCGSERIAL) && (cmd != TIOCSSERIAL) && 1525 if ((cmd != TIOCGSERIAL) && (cmd != TIOCSSERIAL) &&
1526 (cmd != COM_GETPORTSTATS) && (cmd != COM_CLRPORTSTATS)) { 1526 (cmd != COM_GETPORTSTATS) && (cmd != COM_CLRPORTSTATS)) {
1527 if (tty->flags & (1 << TTY_IO_ERROR)) 1527 if (tty->flags & (1 << TTY_IO_ERROR))
1528 return(-EIO); 1528 return -EIO;
1529 } 1529 }
1530 1530
1531 rc = 0; 1531 rc = 0;
@@ -1566,7 +1566,7 @@ static int stl_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd
1566 break; 1566 break;
1567 } 1567 }
1568 1568
1569 return(rc); 1569 return rc;
1570} 1570}
1571 1571
1572/*****************************************************************************/ 1572/*****************************************************************************/
@@ -1872,7 +1872,7 @@ static int stl_portinfo(stlport_t *portp, int portnr, char *pos)
1872 pos[(MAXLINE - 2)] = '+'; 1872 pos[(MAXLINE - 2)] = '+';
1873 pos[(MAXLINE - 1)] = '\n'; 1873 pos[(MAXLINE - 1)] = '\n';
1874 1874
1875 return(MAXLINE); 1875 return MAXLINE;
1876} 1876}
1877 1877
1878/*****************************************************************************/ 1878/*****************************************************************************/
@@ -1957,7 +1957,7 @@ static int stl_readproc(char *page, char **start, off_t off, int count, int *eof
1957 1957
1958stl_readdone: 1958stl_readdone:
1959 *start = page; 1959 *start = page;
1960 return(pos - page); 1960 return (pos - page);
1961} 1961}
1962 1962
1963/*****************************************************************************/ 1963/*****************************************************************************/
@@ -2349,7 +2349,7 @@ static inline int stl_initeio(stlbrd_t *brdp)
2349 } else { 2349 } else {
2350 rc = 0; 2350 rc = 0;
2351 } 2351 }
2352 return(rc); 2352 return rc;
2353} 2353}
2354 2354
2355/*****************************************************************************/ 2355/*****************************************************************************/
@@ -3116,7 +3116,7 @@ static int __init stl_init(void)
3116 return -1; 3116 return -1;
3117 } 3117 }
3118 3118
3119 return(0); 3119 return 0;
3120} 3120}
3121 3121
3122/*****************************************************************************/ 3122/*****************************************************************************/
@@ -3132,7 +3132,7 @@ static int __init stl_init(void)
3132static int stl_cd1400getreg(stlport_t *portp, int regnr) 3132static int stl_cd1400getreg(stlport_t *portp, int regnr)
3133{ 3133{
3134 outb((regnr + portp->uartaddr), portp->ioaddr); 3134 outb((regnr + portp->uartaddr), portp->ioaddr);
3135 return(inb(portp->ioaddr + EREG_DATA)); 3135 return inb(portp->ioaddr + EREG_DATA);
3136} 3136}
3137 3137
3138static void stl_cd1400setreg(stlport_t *portp, int regnr, int value) 3138static 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)
3146 outb((regnr + portp->uartaddr), portp->ioaddr); 3146 outb((regnr + portp->uartaddr), portp->ioaddr);
3147 if (inb(portp->ioaddr + EREG_DATA) != value) { 3147 if (inb(portp->ioaddr + EREG_DATA) != value) {
3148 outb(value, portp->ioaddr + EREG_DATA); 3148 outb(value, portp->ioaddr + EREG_DATA);
3149 return(1); 3149 return 1;
3150 } 3150 }
3151 return(0); 3151 return 0;
3152} 3152}
3153 3153
3154/*****************************************************************************/ 3154/*****************************************************************************/
@@ -3206,7 +3206,7 @@ static int stl_cd1400panelinit(stlbrd_t *brdp, stlpanel_t *panelp)
3206 } 3206 }
3207 3207
3208 BRDDISABLE(panelp->brdnr); 3208 BRDDISABLE(panelp->brdnr);
3209 return(chipmask); 3209 return chipmask;
3210} 3210}
3211 3211
3212/*****************************************************************************/ 3212/*****************************************************************************/
@@ -3557,7 +3557,7 @@ static int stl_cd1400getsignals(stlport_t *portp)
3557#else 3557#else
3558 sigs |= TIOCM_DSR; 3558 sigs |= TIOCM_DSR;
3559#endif 3559#endif
3560 return(sigs); 3560 return sigs;
3561} 3561}
3562 3562
3563/*****************************************************************************/ 3563/*****************************************************************************/
@@ -3830,9 +3830,9 @@ static int stl_cd1400datastate(stlport_t *portp)
3830#endif 3830#endif
3831 3831
3832 if (portp == (stlport_t *) NULL) 3832 if (portp == (stlport_t *) NULL)
3833 return(0); 3833 return 0;
3834 3834
3835 return(test_bit(ASYI_TXBUSY, &portp->istate) ? 1 : 0); 3835 return test_bit(ASYI_TXBUSY, &portp->istate) ? 1 : 0;
3836} 3836}
3837 3837
3838/*****************************************************************************/ 3838/*****************************************************************************/
@@ -3912,20 +3912,20 @@ static inline int stl_cd1400breakisr(stlport_t *portp, int ioaddr)
3912 outb((SRER + portp->uartaddr), ioaddr); 3912 outb((SRER + portp->uartaddr), ioaddr);
3913 outb((inb(ioaddr + EREG_DATA) & ~(SRER_TXDATA | SRER_TXEMPTY)), 3913 outb((inb(ioaddr + EREG_DATA) & ~(SRER_TXDATA | SRER_TXEMPTY)),
3914 (ioaddr + EREG_DATA)); 3914 (ioaddr + EREG_DATA));
3915 return(1); 3915 return 1;
3916 } else if (portp->brklen > 1) { 3916 } else if (portp->brklen > 1) {
3917 outb((TDR + portp->uartaddr), ioaddr); 3917 outb((TDR + portp->uartaddr), ioaddr);
3918 outb(ETC_CMD, (ioaddr + EREG_DATA)); 3918 outb(ETC_CMD, (ioaddr + EREG_DATA));
3919 outb(ETC_STOPBREAK, (ioaddr + EREG_DATA)); 3919 outb(ETC_STOPBREAK, (ioaddr + EREG_DATA));
3920 portp->brklen = -1; 3920 portp->brklen = -1;
3921 return(1); 3921 return 1;
3922 } else { 3922 } else {
3923 outb((COR2 + portp->uartaddr), ioaddr); 3923 outb((COR2 + portp->uartaddr), ioaddr);
3924 outb((inb(ioaddr + EREG_DATA) & ~COR2_ETC), 3924 outb((inb(ioaddr + EREG_DATA) & ~COR2_ETC),
3925 (ioaddr + EREG_DATA)); 3925 (ioaddr + EREG_DATA));
3926 portp->brklen = 0; 3926 portp->brklen = 0;
3927 } 3927 }
3928 return(0); 3928 return 0;
3929} 3929}
3930 3930
3931/*****************************************************************************/ 3931/*****************************************************************************/
@@ -4166,7 +4166,7 @@ static void stl_cd1400mdmisr(stlpanel_t *panelp, int ioaddr)
4166static int stl_sc26198getreg(stlport_t *portp, int regnr) 4166static int stl_sc26198getreg(stlport_t *portp, int regnr)
4167{ 4167{
4168 outb((regnr | portp->uartaddr), (portp->ioaddr + XP_ADDR)); 4168 outb((regnr | portp->uartaddr), (portp->ioaddr + XP_ADDR));
4169 return(inb(portp->ioaddr + XP_DATA)); 4169 return inb(portp->ioaddr + XP_DATA);
4170} 4170}
4171 4171
4172static void stl_sc26198setreg(stlport_t *portp, int regnr, int value) 4172static 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)
4180 outb((regnr | portp->uartaddr), (portp->ioaddr + XP_ADDR)); 4180 outb((regnr | portp->uartaddr), (portp->ioaddr + XP_ADDR));
4181 if (inb(portp->ioaddr + XP_DATA) != value) { 4181 if (inb(portp->ioaddr + XP_DATA) != value) {
4182 outb(value, (portp->ioaddr + XP_DATA)); 4182 outb(value, (portp->ioaddr + XP_DATA));
4183 return(1); 4183 return 1;
4184 } 4184 }
4185 return(0); 4185 return 0;
4186} 4186}
4187 4187
4188/*****************************************************************************/ 4188/*****************************************************************************/
@@ -4194,7 +4194,7 @@ static int stl_sc26198updatereg(stlport_t *portp, int regnr, int value)
4194static int stl_sc26198getglobreg(stlport_t *portp, int regnr) 4194static int stl_sc26198getglobreg(stlport_t *portp, int regnr)
4195{ 4195{
4196 outb(regnr, (portp->ioaddr + XP_ADDR)); 4196 outb(regnr, (portp->ioaddr + XP_ADDR));
4197 return(inb(portp->ioaddr + XP_DATA)); 4197 return inb(portp->ioaddr + XP_DATA);
4198} 4198}
4199 4199
4200#if 0 4200#if 0
@@ -4252,7 +4252,7 @@ static int stl_sc26198panelinit(stlbrd_t *brdp, stlpanel_t *panelp)
4252 } 4252 }
4253 4253
4254 BRDDISABLE(panelp->brdnr); 4254 BRDDISABLE(panelp->brdnr);
4255 return(chipmask); 4255 return chipmask;
4256} 4256}
4257 4257
4258/*****************************************************************************/ 4258/*****************************************************************************/
@@ -4546,7 +4546,7 @@ static int stl_sc26198getsignals(stlport_t *portp)
4546 sigs |= (ipr & IPR_DTR) ? 0: TIOCM_DTR; 4546 sigs |= (ipr & IPR_DTR) ? 0: TIOCM_DTR;
4547 sigs |= (ipr & IPR_RTS) ? 0: TIOCM_RTS; 4547 sigs |= (ipr & IPR_RTS) ? 0: TIOCM_RTS;
4548 sigs |= TIOCM_DSR; 4548 sigs |= TIOCM_DSR;
4549 return(sigs); 4549 return sigs;
4550} 4550}
4551 4551
4552/*****************************************************************************/ 4552/*****************************************************************************/
@@ -4828,9 +4828,9 @@ static int stl_sc26198datastate(stlport_t *portp)
4828#endif 4828#endif
4829 4829
4830 if (portp == (stlport_t *) NULL) 4830 if (portp == (stlport_t *) NULL)
4831 return(0); 4831 return 0;
4832 if (test_bit(ASYI_TXBUSY, &portp->istate)) 4832 if (test_bit(ASYI_TXBUSY, &portp->istate))
4833 return(1); 4833 return 1;
4834 4834
4835 save_flags(flags); 4835 save_flags(flags);
4836 cli(); 4836 cli();
@@ -4839,7 +4839,7 @@ static int stl_sc26198datastate(stlport_t *portp)
4839 BRDDISABLE(portp->brdnr); 4839 BRDDISABLE(portp->brdnr);
4840 restore_flags(flags); 4840 restore_flags(flags);
4841 4841
4842 return((sr & SR_TXEMPTY) ? 0 : 1); 4842 return (sr & SR_TXEMPTY) ? 0 : 1;
4843} 4843}
4844 4844
4845/*****************************************************************************/ 4845/*****************************************************************************/
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 171999e67eec..1421941487c4 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -2676,10 +2676,6 @@ config SHAPER
2676 Class-Based Queueing (CBQ) scheduling support which you get if you 2676 Class-Based Queueing (CBQ) scheduling support which you get if you
2677 say Y to "QoS and/or fair queueing" above. 2677 say Y to "QoS and/or fair queueing" above.
2678 2678
2679 To set up and configure shaper devices, you need the shapecfg
2680 program, available from <ftp://shadow.cabi.net/pub/Linux/> in the
2681 shaper package.
2682
2683 To compile this driver as a module, choose M here: the module 2679 To compile this driver as a module, choose M here: the module
2684 will be called shaper. If unsure, say N. 2680 will be called shaper. If unsure, say N.
2685 2681
diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c
index 2b948ea397d5..40926d779161 100644
--- a/drivers/net/wan/lmc/lmc_main.c
+++ b/drivers/net/wan/lmc/lmc_main.c
@@ -641,7 +641,7 @@ static void lmc_watchdog (unsigned long data) /*fold00*/
641 spin_lock_irqsave(&sc->lmc_lock, flags); 641 spin_lock_irqsave(&sc->lmc_lock, flags);
642 642
643 if(sc->check != 0xBEAFCAFE){ 643 if(sc->check != 0xBEAFCAFE){
644 printk("LMC: Corrupt net_device stuct, breaking out\n"); 644 printk("LMC: Corrupt net_device struct, breaking out\n");
645 spin_unlock_irqrestore(&sc->lmc_lock, flags); 645 spin_unlock_irqrestore(&sc->lmc_lock, flags);
646 return; 646 return;
647 } 647 }
diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig
index c1a6e69f7905..233a4f608084 100644
--- a/drivers/net/wireless/Kconfig
+++ b/drivers/net/wireless/Kconfig
@@ -24,10 +24,6 @@ config NET_RADIO
24 the tools from 24 the tools from
25 <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>. 25 <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>.
26 26
27 Some user-level drivers for scarab devices which don't require
28 special kernel support are available from
29 <ftp://shadow.cabi.net/pub/Linux/>.
30
31# Note : the cards are obsolete (can't buy them anymore), but the drivers 27# Note : the cards are obsolete (can't buy them anymore), but the drivers
32# are not, as people are still using them... 28# are not, as people are still using them...
33comment "Obsolete Wireless cards support (pre-802.11)" 29comment "Obsolete Wireless cards support (pre-802.11)"
@@ -160,7 +156,7 @@ config IPW2100
160 <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>. 156 <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>.
161 157
162 If you want to compile the driver as a module ( = code which can be 158 If you want to compile the driver as a module ( = code which can be
163 inserted in and remvoed from the running kernel whenever you want), 159 inserted in and removed from the running kernel whenever you want),
164 say M here and read <file:Documentation/modules.txt>. The module 160 say M here and read <file:Documentation/modules.txt>. The module
165 will be called ipw2100.ko. 161 will be called ipw2100.ko.
166 162
@@ -213,7 +209,7 @@ config IPW2200
213 <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>. 209 <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>.
214 210
215 If you want to compile the driver as a module ( = code which can be 211 If you want to compile the driver as a module ( = code which can be
216 inserted in and remvoed from the running kernel whenever you want), 212 inserted in and removed from the running kernel whenever you want),
217 say M here and read <file:Documentation/modules.txt>. The module 213 say M here and read <file:Documentation/modules.txt>. The module
218 will be called ipw2200.ko. 214 will be called ipw2200.ko.
219 215
diff --git a/drivers/s390/scsi/zfcp_erp.c b/drivers/s390/scsi/zfcp_erp.c
index 7bdb00b5aeb2..c065cb836c97 100644
--- a/drivers/s390/scsi/zfcp_erp.c
+++ b/drivers/s390/scsi/zfcp_erp.c
@@ -3403,7 +3403,7 @@ zfcp_erp_action_dequeue(struct zfcp_erp_action *erp_action)
3403/** 3403/**
3404 * zfcp_erp_action_cleanup 3404 * zfcp_erp_action_cleanup
3405 * 3405 *
3406 * Register unit with scsi stack if appropiate and fix reference counts. 3406 * Register unit with scsi stack if appropriate and fix reference counts.
3407 * Note: Temporary units are not registered with scsi stack. 3407 * Note: Temporary units are not registered with scsi stack.
3408 */ 3408 */
3409static void 3409static void
diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c
index 5beed4f6d985..8d64f0bed628 100644
--- a/drivers/scsi/FlashPoint.c
+++ b/drivers/scsi/FlashPoint.c
@@ -149,7 +149,7 @@ typedef SCCBMGR_INFO * PSCCBMGR_INFO;
149#define PCI_BUS_CARD 0x03 149#define PCI_BUS_CARD 0x03
150#define VESA_BUS_CARD 0x04 150#define VESA_BUS_CARD 0x04
151 151
152/* SCCB struc used for both SCCB and UCB manager compiles! 152/* SCCB struct used for both SCCB and UCB manager compiles!
153 * The UCB Manager treats the SCCB as it's 'native hardware structure' 153 * The UCB Manager treats the SCCB as it's 'native hardware structure'
154 */ 154 */
155 155
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c
index a6deb016584c..bd3ffdf6c800 100644
--- a/drivers/scsi/gdth.c
+++ b/drivers/scsi/gdth.c
@@ -328,7 +328,7 @@
328 * hdr_channel:x x - number of virtual bus for host drives 328 * hdr_channel:x x - number of virtual bus for host drives
329 * shared_access:Y disable driver reserve/release protocol to 329 * shared_access:Y disable driver reserve/release protocol to
330 * access a shared resource from several nodes, 330 * access a shared resource from several nodes,
331 * appropiate controller firmware required 331 * appropriate controller firmware required
332 * shared_access:N enable driver reserve/release protocol 332 * shared_access:N enable driver reserve/release protocol
333 * probe_eisa_isa:Y scan for EISA/ISA controllers 333 * probe_eisa_isa:Y scan for EISA/ISA controllers
334 * probe_eisa_isa:N do not scan for EISA/ISA controllers 334 * probe_eisa_isa:N do not scan for EISA/ISA controllers