]> git.neil.brown.name Git - history.git/commitdiff
Import 2.0.37pre6 2.0.37pre6
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 23 Nov 2007 20:12:12 +0000 (15:12 -0500)
committerAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 23 Nov 2007 20:12:12 +0000 (15:12 -0500)
52 files changed:
.menuconfig [new file with mode: 0644]
.menuconfig.log [new file with mode: 0644]
Documentation/Configure.help
Documentation/isdn/README
MAINTAINERS
arch/i386/config.in
drivers/block/Config.in
drivers/block/cpqarray.c
drivers/block/cpqarray.h
drivers/block/floppy.c
drivers/block/ida_cmd.h
drivers/block/ide.c
drivers/isdn/isdn_net.c
drivers/isdn/isdn_ppp.c
drivers/net/soundmodem/sm_tbl_afsk1200.h [new file with mode: 0644]
drivers/net/soundmodem/sm_tbl_afsk2400_7.h [new file with mode: 0644]
drivers/net/soundmodem/sm_tbl_afsk2400_8.h [new file with mode: 0644]
drivers/net/soundmodem/sm_tbl_afsk2666.h [new file with mode: 0644]
drivers/net/soundmodem/sm_tbl_fsk9600.h [new file with mode: 0644]
drivers/net/soundmodem/sm_tbl_hapn4800.h [new file with mode: 0644]
drivers/net/soundmodem/sm_tbl_psk4800.h [new file with mode: 0644]
drivers/scsi/Makefile
drivers/scsi/ini9100u.c
drivers/scsi/ini9100u.h
fs/Config.in
fs/ncpfs/Config.in [new file with mode: 0644]
fs/ncpfs/Makefile
fs/ncpfs/dir.c
fs/ncpfs/inode.c
fs/ncpfs/ioctl.c
fs/ncpfs/ncplib_kernel.c
fs/ncpfs/ncplib_kernel.h
fs/ncpfs/ncpsign_kernel.c [new file with mode: 0644]
fs/ncpfs/ncpsign_kernel.h [new file with mode: 0644]
fs/ncpfs/sock.c
fs/nls_iso8859-15.c [deleted file]
fs/nls_iso8859_15.c [new file with mode: 0644]
include/linux/compile.h [new file with mode: 0644]
include/linux/ncp_fs.h
include/linux/ncp_fs_sb.h
include/linux/ncp_mount.h
modules/BLOCK_MODULES [new file with mode: 0644]
modules/CDROM_MODULES [new file with mode: 0644]
modules/FS_MODULES [new file with mode: 0644]
modules/IPV4_MODULES [new file with mode: 0644]
modules/NET_MISC_MODULES [new file with mode: 0644]
modules/NET_MODULES [new file with mode: 0644]
modules/PARIDE_MODULES [new file with mode: 0644]
modules/SCSI_MODULES [new file with mode: 0644]
net/appletalk/ddp.c
pot [new file with mode: 0644]
pot2 [new file with mode: 0644]

diff --git a/.menuconfig b/.menuconfig
new file mode 100644 (file)
index 0000000..f468177
--- /dev/null
@@ -0,0 +1 @@
+# 2.0.37
diff --git a/.menuconfig.log b/.menuconfig.log
new file mode 100644 (file)
index 0000000..9a225bd
--- /dev/null
@@ -0,0 +1,7 @@
+make[1]: Entering directory `/usr/src/LINUX2.0/linux/drivers/sound'
+Compiling Sound Driver v 3.5.5-beta1 for Linux
+rm -f configure
+gcc -I/usr/src/LINUX2.0/linux/include -o configure configure.c
+./configure fixedlocal > local.h
+./configure fixeddefines > .defines
+make[1]: Leaving directory `/usr/src/LINUX2.0/linux/drivers/sound'
index f349b4b13627df1cb0c408c39ba7a181441a9b14..91e65caa45b54d71d415150572495b97d523358b 100644 (file)
@@ -173,6 +173,15 @@ CONFIG_BLK_DEV_HD_IDE
   addresses.  Normally, just say N here; you will then use the new
   driver for all 4 interfaces.
 
+Use multi-mode by default
+CONFIG_IDEDISK_MULTI_MODE
+  If you get this error, try to enable this option.
+
+  hda: set_multmode: status=0x51 { DriveReady SeekComplete Error }
+  hda: set_multmode: error=0x04 { DriveStatusError }
+
+  If in doubt, say N.
+
 Include IDE/ATAPI CDROM support
 CONFIG_BLK_DEV_IDECD
   If you have a CDROM drive using the ATAPI protocol, say Y.  ATAPI is
@@ -3912,15 +3921,61 @@ CONFIG_SMB_WIN95
 NCP filesystem support (to mount NetWare volumes)
 CONFIG_NCP_FS
   NCP (NetWare Core Protocol) is a protocol that runs over IPX and is
-  used by Novel NetWare clients to talk to file servers. It is to IPX
-  what NFS is to TCP/IP, if that helps. Enabling this option allows
-  you to mount NetWare file server volumes and to access them just
-  like any other Unix directory. For details, please read the file
+  used by Novell NetWare clients to talk to file servers. It is to IPX
+  what NFS is to TCP/IP, if that helps. Saying Y here allows you to
+  mount NetWare file server volumes and to access them just like any
+  other Unix directory. For details, please read the file
   Documentation/filesystems/ncpfs.txt in the kernel source and the
-  IPX-HOWTO on sunsite.unc.edu:/pub/Linux/docs/howto.  If you want to
-  compile this as a module ( = code which can be inserted in and
-  removed from the running kernel whenever you want), say M here and
-  read Documentation/modules.txt.
+  IPX-HOWTO on ftp://sunsite.unc.edu:/pub/Linux/docs/howto.
+  You do not have to say Y here if you want your Linux box to act as a
+  file *server* for Novell NetWare clients.
+  General information about how to connect Linux, Windows machines and
+  Macs is on the WWW at http://www.eats.com/linux_mac_win.html (to
+  browse the WWW, you need to have access to a machine on the Internet
+  that has a program like lynx or netscape).
+  If you want to compile this as a module ( = code which can be
+  inserted in and removed from the running kernel whenever you want),
+  say M here and read Documentation/modules.txt. The module will be
+  called ncpfs.o. Say N unless you are connected to a Novell network.
+
+Packet signatures
+CONFIG_NCPFS_PACKET_SIGNING
+  NCP allows packets to be signed for stronger security. If you want
+  security, say Y. Normal users can leave it off. To be able to use
+  packet signing you must use ncpfs > 2.0.12.
+
+Proprietary file locking
+CONFIG_NCPFS_IOCTL_LOCKING
+  Allows locking of records on remote volumes. Say N unless you have
+  special applications which are able to utilize this locking scheme.
+
+Clear remove/delete inhibit when needed
+CONFIG_NCPFS_STRONG
+  Allows manipulation of files flagged as Delete or Rename Inhibit. To
+  use this feature you must mount volumes with the ncpmount parameter
+  "-s" (ncpfs-2.0.12 and newer). Say Y unless you are not mounting
+  volumes with -f 444.
+
+Use NFS namespace when available
+CONFIG_NCPFS_NFS_NS
+  Allows you to utilize NFS namespace on NetWare servers. It brings
+  you case sensitive filenames. Say Y. You can disable it at
+  mount-time with the `-N nfs' parameter of ncpmount.
+
+Use OS2/LONG namespace when available
+CONFIG_NCPFS_OS2_NS
+  Allows you to utilize OS2/LONG namespace on NetWare servers.
+  Filenames in this namespace are limited to 255 characters, they are
+  case insensitive, and case in names is preserved. Say Y. You can
+  disable it at mount time with the -N os2 parameter of ncpmount.
+
+Allow mounting of volume subdirectories
+CONFIG_NCPFS_MOUNT_SUBDIR
+  Allows you to mount not only whole servers or whole volumes, but
+  also subdirectories from a volume. It can be used to reexport data
+  and so on. There is no reason to say N, so Y is recommended unless
+  you count every byte.
+  To utilize this feature you must use ncpfs-2.0.12 or newer.
 
 Amiga FFS filesystem support (EXPERIMENTAL)
 CONFIG_AFFS_FS
index 0dd8fcbbc43b2081fc3728d72af9c22986b07a0b..0a13a0688311381b991bd1861c68160989e11e5c 100644 (file)
@@ -335,9 +335,9 @@ README for the ISDN-subsystem
       "manual" is a dial mode created to prevent the unexpected dialouts.
         In this mode, the interface will never make any connections on its
         own. You must explicitly initiate a connection with "isdnctrl dial
-        isdn0". You _must_ also hangup the line explicitly as well! There
-        is NO timeout in this mode. Use "isdnctrl hangup isdn0" to end the
-        connection.
+        sdn0". However, after an idle time of no traffic as configured for 
+        the huptimeout value with isdnctrl, the connection _will_ be ended.
+        If you don't want any automatic hangup, set the huptimeout value to 0.
         "manual" is the default.
 
    j) Setup the interface with ifconfig as usual, and set a route to it.
index a0f752dd873263815a937047ab0ade4a84564c22..8e11fe040ac48ed1aedce95d88aba74f825f1b82 100644 (file)
@@ -188,12 +188,6 @@ M: Chris Frantz <arrays@compaq.com>
 L:     linux-raid@vger.rutgers.edu
 S:     Maintained
 
-COMPAQ SMART2 RAID DRIVER
-P:     Chris Frantz
-M:     Chris Frantz <arrays@compaq.com>
-L:     linux-raid@vger.rutgers.edu
-S:     Maintained
-
 EATA ISA/EISA/PCI SCSI DRIVER
 P:     Dario Ballabio
 M:     dario@milano.europe.dg.com
index b6cb215f2a6e2435ddf514c30dc87fb7b7936a3d..f3ce61667ee81b243c03a1593a77b3bc4c7ac038 100644 (file)
@@ -22,7 +22,7 @@ mainmenu_option next_comment
 comment 'General setup'
 
 bool 'Kernel math emulation' CONFIG_MATH_EMULATION
-choice 'Nemory configuration' \
+choice 'Memory configuration' \
        "Standard       CONFIG_MEM_STD  \
         Enterprise     CONFIG_MEM_ENT  \
         Custom         CONFIG_MEM_SPECIAL" Standard
index 502cbb4efd10d15c17ff0879a109c5f3778d4b0a..4f66a3da4de9c4684481204c8bca562c44333bec 100644 (file)
@@ -11,6 +11,9 @@ if [ "$CONFIG_BLK_DEV_IDE" = "n" ]; then
   bool 'Old harddisk (MFM/RLL/IDE) driver' CONFIG_BLK_DEV_HD_ONLY
 else
   bool '   Use old disk-only driver on primary interface' CONFIG_BLK_DEV_HD_IDE
+  if [ "$CONFIG_BLK_DEV_HD_IDE" != "n" ]; then
+    bool '     Use multi-mode by default' CONFIG_IDEDISK_MULTI_MODE
+  fi
   bool '   Include IDE/ATAPI CDROM support' CONFIG_BLK_DEV_IDECD
   bool '   Include IDE/ATAPI TAPE support' CONFIG_BLK_DEV_IDETAPE
   bool '   Include IDE/ATAPI FLOPPY support (new)' CONFIG_BLK_DEV_IDEFLOPPY
@@ -60,7 +63,7 @@ if [ "$CONFIG_PCI" = "y" ]; then
   bool 'Mylex DAC960 PCI RAID Controller support' CONFIG_BLK_DEV_DAC960
 fi
 
-bool 'Compaq SMART2 support' CONFIG_BLK_CPQ_DA
+tristate 'Compaq SMART2 support' CONFIG_BLK_CPQ_DA
 if [ "$CONFIG_BLK_CPQ_DA" = "y" -o "$CONFIG_BLK_CPQ_DA" = "m" ]; then
   bool '   Support for PCI SMART-2 Controllers' CONFIG_BLK_CPQ_DA_PCI
   bool '   Support for EISA SMART-2 Controllers' CONFIG_BLK_CPQ_DA_EISA
index c04a72bc6bee1d68d53e54e7477c88e6e294bfd1..1d543301489ffd7d1f35c3d5f11a94d6a322385c 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/proc_fs.h>
 #include <linux/hdreg.h>
 #include <asm/io.h>
+#include <asm/bitops.h>
 
 #ifdef MODULE
 #include <linux/module.h>
 #else
 #define MOD_INC_USE_COUNT
 #define MOD_DEC_USE_COUNT
-extern struct inode_operations proc_diskarray_inode_operations;
 #endif
 
-#define DRIVER_NAME "Compaq SMART2 Driver (v 0.9.7)"
+#define DRIVER_NAME "Compaq SMART2 Driver (v 0.9.8)"
 
 #define MAJOR_NR COMPAQ_SMART2_MAJOR
 #include <linux/blk.h>
@@ -57,6 +57,7 @@ extern struct inode_operations proc_diskarray_inode_operations;
 #include "ida_ioctl.h"
 
 #define READ_AHEAD     128
+#define NR_CMDS        64
 
 #define MAX_CTLR       8
 #define CTLR_SHIFT     8
@@ -71,6 +72,15 @@ static
 int eisa[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
 #endif
 
+static char *product_names[] = {
+       "Unknown",
+       "SMART-2/E",
+       "SMART-2/P", /* or SMART-2DH */
+       "SMART-2SL",
+       "SMART-3200",
+       "SMART-3100ES",
+};
+
 static struct hd_struct * ida;
 static int * ida_sizes;
 static int * ida_blocksizes;
@@ -89,12 +99,6 @@ static struct gendisk ida_gendisk[MAX_CTLR];
 /* Debug Extra Paranoid... */
 #define DBGPX(s)
 
-#undef PROFILE_REQUESTS
-#ifdef PROFILE_REQUESTS
-#define PF_REQ_SCALE   200000000UL
-#endif /* PROFILE_REQUESTS */
-
-
 void cpqarray_init(void);
 #ifdef CONFIG_BLK_CPQ_DA_PCI
 static int cpqarray_pci_detect(void);
@@ -230,10 +234,10 @@ struct file_operations ida_fops  = {
 
 
 /*
- * Get us a file in /proc that says something about each controller.  Right
- * now, we add entries to /proc, but in the future we should probably get
- * our own subdir in /proc (/proc/array/ida) and put our stuff in there.
+ * Place some files in /proc/array/* that contain some information about
+ * each controller.  There really isn't much useful in there now.
  */
+extern struct inode_operations proc_diskarray_inode_operations;
 struct proc_dir_entry *proc_array = NULL;
 static void ida_procinit(int i)
 {
@@ -292,9 +296,9 @@ static int ida_proc_get_info(char *buffer, char **start, off_t offset, int lengt
        if ((h = hba[ctlr]) == NULL)
                return 0;
 
-       size = sprintf(buffer, "%s:  Compaq SMART/2 Disk Array Controller\n"
+       size = sprintf(buffer, "%s:  Compaq %s Disk Array Controller\n"
                "       Board ID: %08lx\n"
-               "       Firmware Revision: %08lx\n"
+               "       Firmware Revision: %c%c%c%c\n"
                "       Controller Sig: %08lx\n"
                "       Memory Address: %08lx\n"
                "       I/O Port: %04x\n"
@@ -302,14 +306,15 @@ static int ida_proc_get_info(char *buffer, char **start, off_t offset, int lengt
                "       Logical drives: %d\n"
                "       Physical drives: %d\n\n"
                "       Current Q depth: %d\n"
-               "       Max Q depth: %d\n"
                "       Max Q depth since init: %d\n\n",
-               h->devname, (unsigned long)h->board_id,
-               (unsigned long)h->firm_rev,
+               h->devname,
+               product_names[h->product],
+               (unsigned long)h->board_id,
+               h->firm_rev[0], h->firm_rev[1], h->firm_rev[2], h->firm_rev[3],
                (unsigned long)h->ctlr_sig, (unsigned long)h->vaddr,
                (unsigned int) h->ioaddr, (unsigned int)h->intr,
                h->log_drives, h->phys_drives,
-               h->Qdepth, h->maxQ, h->maxQsinceinit);
+               h->Qdepth, h->maxQsinceinit);
 
        pos += size; len += size;
        
@@ -347,15 +352,6 @@ static int ida_proc_get_info(char *buffer, char **start, off_t offset, int lengt
 
        size = sprintf(buffer+len, "\n"); pos += size; len += size;
 #endif
-#ifdef PROFILE_REQUESTS
-       size = sprintf(buffer+len,
-                       "Request latencies (min/avg/max) = (%d, %d, %d) %d requests\n",
-                       (h->min_latency),
-                       (h->avg_latency),
-                       (h->max_latency),
-                       h->nr_requests);
-       pos += size; len += size;
-#endif /* PROFILE_REQUESTS */
        size = sprintf(buffer+len,"nr_allocs = %d\nnr_frees = %d\n",
                        h->nr_allocs, h->nr_frees);
        pos += size; len += size;
@@ -370,7 +366,6 @@ static int ida_proc_get_info(char *buffer, char **start, off_t offset, int lengt
 #ifdef MODULE
 /* This is a hack... */
 #include "proc_array.c"
-
 int init_module(void)
 {
        int i, j;
@@ -396,9 +391,11 @@ void cleanup_module(void)
                free_irq(hba[i]->intr, hba[i]);
                vfree((void*)hba[i]->vaddr);
                unregister_blkdev(MAJOR_NR+i, hba[i]->devname);
+               del_timer(&hba[i]->timer);
                proc_unregister(proc_array,
                        ((struct proc_dir_entry*)hba[i]->proc)->low_ino);
-               del_timer(&hba[i]->timer);
+               kfree(hba[i]->cmd_pool);
+               kfree(hba[i]->cmd_pool_bits);
 
                if (gendisk_head == &ida_gendisk[i]) {
                        gendisk_head = ida_gendisk[i].next;
@@ -498,15 +495,18 @@ void cpqarray_init(void)
                        continue;
                }
 
-               printk("Finding drives on %s\n", hba[i]->devname);
+               hba[i]->cmd_pool = (cmdlist_t*)kmalloc(
+                               NR_CMDS*sizeof(cmdlist_t), GFP_KERNEL);
+               hba[i]->cmd_pool_bits = (__u32*)kmalloc(
+                               ((NR_CMDS+31)/32)*sizeof(__u32), GFP_KERNEL);
+               memset(hba[i]->cmd_pool, 0, NR_CMDS*sizeof(cmdlist_t));
+               memset(hba[i]->cmd_pool_bits, 0, ((NR_CMDS+31)/32)*sizeof(__u32));
+
+               printk("Finding drives on %s", hba[i]->devname);
                getgeometry(i);
 
                smart2_write(FIFO_NOT_EMPTY, hba[i], INTR_MASK);
 
-               hba[i]->maxQ = 32;
-#ifdef PROFILE_REQUESTS
-               hba[i]->min_latency=0xffffffff;
-#endif
                ida_procinit(i);
 
                ida_gendisk[i].major = MAJOR_NR + i;
@@ -555,6 +555,11 @@ static int cpqarray_pci_detect(void)
                        break;
 
                if (index == 1000000) break;
+               if (nr_ctlr == 8) {
+                       printk("This driver supports a maximum of "
+                               "8 controllers.\n");
+                       break;
+               }
                
                hba[nr_ctlr] = kmalloc(sizeof(ctlr_info_t), GFP_KERNEL);
                memset(hba[nr_ctlr], 0, sizeof(ctlr_info_t));
@@ -664,6 +669,11 @@ static int cpqarray_eisa_detect(void)
 
        while(i<16 && eisa[i]) {
                if (inl(eisa[i]+0xC80) == 0x3040110e) {
+                       if (nr_ctlr == 8) {
+                               printk("This driver supports a maximum of "
+                                       "8 controllers.\n");
+                               break;
+                       }
                        hba[nr_ctlr] = kmalloc(sizeof(ctlr_info_t), GFP_KERNEL);
                        memset(hba[nr_ctlr], 0, sizeof(ctlr_info_t));
                        hba[nr_ctlr]->ioaddr = eisa[i];
@@ -785,15 +795,11 @@ void do_ida_request(int ctlr)
                goto doreq_done;
        }
 
-       if (h->Qdepth >= h->maxQ)
-               goto doreq_done;
-
        if ((c = cmd_alloc(h, 1)) == NULL)
                goto doreq_done;
 
        blk_dev[MAJOR_NR+ctlr].current_request = creq->next;
        creq->rq_status = RQ_INACTIVE;
-       wake_up(&wait_for_request);
 
        bh = creq->bh;
 
@@ -831,15 +837,13 @@ void do_ida_request(int ctlr)
 
        c->req.hdr.cmd = (creq->cmd == READ) ? IDA_READ : IDA_WRITE;
        c->type = CMD_RWREQ;
-#ifdef PROFILE_REQUESTS
-       c->start_time = rdtsc();
-#endif /* PROFILE_REQUESTS */
 
        /* Put the request on the tail of the request queue */
        addQ(&h->reqQ, c);
        h->Qdepth++;
        if (h->Qdepth > h->maxQsinceinit) h->maxQsinceinit = h->Qdepth;
 
+       wake_up(&wait_for_request);
 doreq_done:
        start_io(h);
 }
@@ -958,13 +962,6 @@ void do_ida_intr(int irq, void *dev_id, struct pt_regs *regs)
                        if (c->busaddr == a) {
                                removeQ(&h->cmpQ, c);
                                if (c->type == CMD_RWREQ) {
-#ifdef PROFILE_REQUESTS
-       unsigned int finish = (rdtsc() - c->start_time);
-       if (finish < h->min_latency) h->min_latency = finish;
-       if (finish > h->max_latency) h->max_latency = finish;
-       h->avg_latency = (h->avg_latency*h->nr_requests + finish) /
-                               ++h->nr_requests;
-#endif /* PROFILE_REQUESTS */
                                        complete_command(c, 0);
                                        cmd_free(h, c);
                                } else if (c->type == CMD_IOCTL_PEND) {
@@ -1201,13 +1198,15 @@ ioctl_err_exit:
 cmdlist_t * cmd_alloc(ctlr_info_t *h, int intr)
 {
        cmdlist_t * c;
+       int i;
 
-       if (h->nr_allocs - h->nr_frees > 128)
-               return NULL;
+       do {
+               i = find_first_zero_bit(h->cmd_pool_bits, NR_CMDS);
+               if (i == NR_CMDS)
+                       return NULL;
+       } while(set_bit(i%32, h->cmd_pool_bits+(i/32)) != 0);
 
-       c = kmalloc(sizeof(cmdlist_t), (intr) ? GFP_ATOMIC : GFP_KERNEL);
-       if (c == NULL)
-               return NULL;
+       c = h->cmd_pool + i;
        memset(c, 0, sizeof(cmdlist_t));
        c->busaddr = virt_to_bus(c);
        h->nr_allocs++;
@@ -1216,8 +1215,9 @@ cmdlist_t * cmd_alloc(ctlr_info_t *h, int intr)
 
 void cmd_free(ctlr_info_t *h, cmdlist_t *c)
 {
+       int i = c - h->cmd_pool;
+       clear_bit(i%32, h->cmd_pool_bits+(i/32));
        h->nr_frees++;
-       kfree(c);
 }
 
 /***********************************************************************
@@ -1539,8 +1539,34 @@ void getgeometry(int ctlr)
                goto geo_ret;   /* release the buf and return */
        }
        info_p->log_drives = id_ctlr_buf->nr_drvs;;
-       info_p->firm_rev = id_ctlr_buf->firm_rev;
+       *(__u32*)(info_p->firm_rev) = *(__u32*)(id_ctlr_buf->firm_rev);
        info_p->ctlr_sig = id_ctlr_buf->cfg_sig;
+       info_p->board_id = id_ctlr_buf->board_id;
+
+       switch(info_p->board_id) {
+               case 0x0E114030: /* SMART-2/E */
+                       info_p->product = 1;
+                       break;
+               case 0x40300E11: /* SMART-2/P or SMART-2DH */
+                       info_p->product = 2;
+                       break;
+               case 0x40310E11: /* SMART-2SL */
+                       info_p->product = 3;
+                       break;
+               case 0x40320E11: /* SMART-3200 */
+                       info_p->product = 4;
+                       break;
+               case 0x40330E11: /* SMART-3100ES */
+                       info_p->product = 5;
+                       break;
+               default:  
+                       /*
+                        * Well, its a SMART-2 or better, don't know which
+                        * kind.
+                        */
+                       info_p->product = 0;
+       }
+       printk(" (%s)\n", product_names[info_p->product]);
        /*
         * Initialize logical drive map to zero
         */
@@ -1551,6 +1577,11 @@ void getgeometry(int ctlr)
        /*
         * Get drive geometry for all logical drives
         */
+       if (id_ctlr_buf->nr_drvs > 16)
+               printk("ida%d:  This driver supports 16 logical drives "
+                       "per controller.  Additional drives will not be "
+                       "detected.\n", ctlr);
+
        for (log_unit = 0;
             (log_index < id_ctlr_buf->nr_drvs)
             && (log_unit < NWD);
index f913569f11bac83d8cd329862aa47fafefd5645b..b6fb78419cb44cb804ecc7ed6813ab94c955ba4a 100644 (file)
@@ -63,7 +63,8 @@ typedef struct {
        __u32   drv_spare_map;
        __u32   mp_failed_drv_map;
 
-       int     firm_rev;
+       char    firm_rev[4];
+       int     product;
        int     ctlr_sig;
 
        int     log_drives;
@@ -80,13 +81,11 @@ typedef struct {
 
        cmdlist_t *reqQ;
        cmdlist_t *cmpQ;
+       cmdlist_t *cmd_pool;
+       __u32   *cmd_pool_bits;
        unsigned int Qdepth;
-       unsigned int maxQ;
        unsigned int maxQsinceinit;
 
-       unsigned int min_latency;
-       unsigned int avg_latency;
-       unsigned int max_latency;
        unsigned int nr_requests;
        unsigned int nr_allocs;
        unsigned int nr_frees;
index b0b02bd8e935ab1b443ab0f56fde97b86be39e02..fcb31678c0d74e1922ff92c7b807a1749824b852 100644 (file)
@@ -522,7 +522,7 @@ static unsigned char current_drive = 0;
 static long current_count_sectors = 0;
 static unsigned char sector_t; /* sector in track */
 static unsigned char in_sector_offset; /* offset within physical sector,
-                                                                               * expressed in units of 512 bytes */
+                                        * expressed in units of 512 bytes */
 
 #ifndef fd_eject
 #define fd_eject(x) -EINVAL
index 1563210da45260cddd74b1a3e3baf2690b69f7da..87c2a9f60a5c749cf39b05250ed9c926ede86505 100644 (file)
@@ -89,17 +89,15 @@ typedef struct cmdlist {
        struct cmdlist *prev;
        struct cmdlist *next;
        struct buffer_head *bh;
-       unsigned int type;
-       unsigned int expires;
-       unsigned long long start_time;
+       int type;
 } cmdlist_t;
        
 #define ID_CTLR                0x11
 typedef struct {
        __u8    nr_drvs;
        __u32   cfg_sig;
-       __u32   firm_rev;
-       __u32   rom_rev;
+       __u8    firm_rev[4];
+       __u8    rom_rev[4];
        __u8    hw_rev;
        __u32   bb_rev;
        __u32   drv_present_map;
index 27bec67185f9130369596d5370ef6c0b6a3a51b4..f33f9e31c12e39cc34a91126137de50ac5455022 100644 (file)
@@ -622,15 +622,6 @@ static int lba_capacity_is_ok (struct hd_driveid *id)
                id->cyls = lba_sects / (16 * 63); /* correct cyls */
                return 1;       /* lba_capacity is our only option */
        }
-       /*
-        * very large drives (8GB+) may lie about the number of cylinders
-        * This is a split test for drives less than 8 Gig only.
-        */
-       if ((id->lba_capacity < 16514064) && (lba_sects > chs_sects) &&
-           (id->heads == 16) && (id->sectors == 63)) {
-               id->cyls = lba_sects / (16 * 63); /* correct cyls */
-               return 1;       /* lba_capacity is our only option */
-       }       
        /* perform a rough sanity check on lba_sects:  within 10% is "okay" */
        if ((lba_sects - chs_sects) < _10_percent)
                return 1;       /* lba_capacity is good */
@@ -2618,7 +2609,7 @@ static inline void do_identify (ide_drive_t *drive, byte cmd)
         * by correcting bios_cyls:
         */
        if ((capacity >= (id->cyls * id->heads * id->sectors)) &&
-           (!drive->forced_geom)) {
+           (!drive->forced_geom) && drive->bios_sect && drive->bios_head) {
                drive->bios_cyl = (capacity / drive->bios_sect) / drive->bios_head;
 #ifdef DEBUG
                printk("FDISK Fixing Geometry :: CHS=%d/%d/%d to CHS=%d/%d/%d\n",
@@ -2639,39 +2630,39 @@ static inline void do_identify (ide_drive_t *drive, byte cmd)
            drive->select.b.lba)
                drive->no_geom = 1;
 
-       printk ("%s: %.40s, %ldMB w/%dkB Cache, CHS=%d/%d/%d",
-               drive->name, id->model,
-               capacity/2048L, id->buf_size/2,
-               drive->bios_cyl, drive->bios_head, drive->bios_sect);
-
        drive->mult_count = 0;
        if (id->max_multsect) {
-#if 1  /* original, pre IDE-NFG, per request of AC */
+#ifdef CONFIG_IDEDISK_MULTI_MODE
+               id->multsect = ((id->max_multsect/2) > 1) ? id->max_multsect : 0;
+               id->multsect_valid = id->multsect ? 1 : 0;
+               drive->mult_req = id->multsect_valid ? id->max_multsect : INITIAL_MULT_COUNT;
+               drive->special.b.set_multmode = drive->mult_req ? 1 : 0;
+#else  /* original, pre IDE-NFG, per request of AC */
                drive->mult_req = INITIAL_MULT_COUNT;
                if (drive->mult_req > id->max_multsect)
                        drive->mult_req = id->max_multsect;
                if (drive->mult_req || ((id->multsect_valid & 1) && id->multsect))
                        drive->special.b.set_multmode = 1;
-#else
-               id->multsect = ((id->max_multsect/2) > 1) ? id->max_multsect : 0;
-               id->multsect_valid = id->multsect ? 1 : 0;
-               drive->mult_req = id->multsect_valid ? id->max_multsect : INITIAL_MULT_COUNT;
-               drive->special.b.set_multmode = drive->mult_req ? 1 : 0;
-
 #endif
        }
 
        drive->no_io_32bit = id->dword_io ? 1 : 0;
 
        if (drive->autotune != 2 && HWIF(drive)->dmaproc != NULL) {
-               if (!(HWIF(drive)->dmaproc(ide_dma_check, drive))) {
-                       if ((id->field_valid & 4) && (id->dma_ultra & (id->dma_ultra >> 8) & 7)) {
-                               printk(", UDMA");       /* UDMA BIOS-enabled! */
-                       } else if (id->field_valid & 4) {
-                               printk(", (U)DMA");     /* Can be BIOS-enabled! */
-                       } else {
-                               printk(", DMA");
-                       }
+               (void) HWIF(drive)->dmaproc(ide_dma_check, drive);
+       }
+
+       printk ("%s: %.40s, %ldMB w/%dkB Cache, CHS=%d/%d/%d",
+               drive->name, id->model,
+               capacity/2048L, id->buf_size/2,
+               drive->bios_cyl, drive->bios_head, drive->bios_sect);
+       if (drive->using_dma) {
+               if ((id->field_valid & 4) && (id->dma_ultra & (id->dma_ultra >> 8) & 7)) {
+                       printk(", UDMA");       /* UDMA BIOS-enabled! */
+               } else if (id->field_valid & 4) {
+                       printk(", (U)DMA");     /* Can be BIOS-enabled! */
+               } else {
+                       printk(", DMA");
                }
        }
        printk("\n");
index bb43dc9c60bbfc618272c2eecf701f10586c337a..8998cdac9a2fe350f73e0934c2ba29d82a1a60a2 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: isdn_net.c,v 1.48.2.27 1998/11/05 22:11:53 fritz Exp $
+/* $Id: isdn_net.c,v 1.48.2.28 1998/11/27 15:38:12 paul Exp $
 
  * Linux ISDN subsystem, network interfaces and related functions (linklevel).
  *
@@ -21,6 +21,9 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
  * $Log: isdn_net.c,v $
+ * Revision 1.48.2.28  1998/11/27 15:38:12  paul
+ * Also huptimeout with dialmode == manual
+ *
  * Revision 1.48.2.27  1998/11/05 22:11:53  fritz
  * Changed mail-address.
  *
@@ -350,11 +353,11 @@ static int isdn_net_start_xmit(struct sk_buff *, struct device *);
 static int isdn_net_xmit(struct device *, isdn_net_local *, struct sk_buff *);
 static void dev_purge_queues(struct device *dev);      /* move this to net/core/dev.c */
 
-char *isdn_net_revision = "$Revision: 1.48.2.27 $";
+char *isdn_net_revision = "$Revision: 1.48.2.28 $";
 
- /*
 * Code for raw-networking over ISDN
 */
+/*
+ * Code for raw-networking over ISDN
+ */
 
 static void
 isdn_net_unreachable(struct device *dev, struct sk_buff *skb, char *reason)
@@ -362,7 +365,6 @@ isdn_net_unreachable(struct device *dev, struct sk_buff *skb, char *reason)
        int i;
 
        if(skb != NULL) {
-       
                u_short proto = ntohs(skb->protocol);
 
                printk(KERN_DEBUG "isdn_net: %s: %s, send ICMP %s\n",
@@ -538,13 +540,14 @@ isdn_net_autohup()
                if ((l->flags & ISDN_NET_CONNECTED) && (!l->dialstate)) {
                        anymore = 1;
                        l->huptimer++;
-                       /*
-                        * only do timeout-hangup
-                        * if interface is configured as AUTO
-                        */
-                       if ((ISDN_NET_DIALMODE(*l) == ISDN_NET_DM_AUTO) &&
-                           (l->onhtime) &&
-                           (l->huptimer > l->onhtime))
+                       /*
+                        * if there is some dialmode where timeout-hangup
+                        * should _not_ be done, check for that here and
+                        * 35 lines below (ifdef CONFIG_ISDN_BUDGET)
+                        * eg: (ISDN_NET_DIALMODE(*l) != ISDN_NET_DM_NOTIMEOUT)
+                        */
+                       if ((l->onhtime) &&
+                           (l->huptimer > l->onhtime))
                                if (l->hupflags & ISDN_MANCHARGE &&
                                    l->hupflags & ISDN_CHARGEHUP) {
                                        while (jiffies - l->chargetime > l->chargeint)
index 9ebb1a6c82aca7fb2f09513c4b3203ea6d0cdce6..2ce04b402a59d7873685f7ed096b813a6c2afdc7 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: isdn_ppp.c,v 1.28.2.2 1998/11/03 14:31:23 fritz Exp $
+/* $Id: isdn_ppp.c,v 1.28.2.3 1998/12/30 17:49:00 paul Exp $
  *
  * Linux ISDN subsystem, functions for synchronous PPP (linklevel).
  *
@@ -19,6 +19,9 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
  * $Log: isdn_ppp.c,v $
+ * Revision 1.28.2.3  1998/12/30 17:49:00  paul
+ * fixed syncPPP callback out
+ *
  * Revision 1.28.2.2  1998/11/03 14:31:23  fritz
  * Reduced stack usage in various functions.
  * Adapted statemachine to work with certified HiSax.
@@ -181,7 +184,7 @@ static int isdn_ppp_fill_mpqueue(isdn_net_dev *, struct sk_buff **skb,
 static void isdn_ppp_free_mpqueue(isdn_net_dev *);
 #endif
 
-char *isdn_ppp_revision = "$Revision: 1.28.2.2 $";
+char *isdn_ppp_revision = "$Revision: 1.28.2.3 $";
 
 static struct ippp_struct *ippp_table[ISDN_MAX_CHANNELS];
 static struct isdn_ppp_compressor *ipc_head = NULL;
@@ -303,7 +306,8 @@ isdn_ppp_bind(isdn_net_local * lp)
                }
        } else {
                for (i = 0; i < ISDN_MAX_CHANNELS; i++)
-                       if (ippp_table[i]->minor == lp->pppbind && ippp_table[i]->state == IPPP_OPEN)
+                       if (ippp_table[i]->minor == lp->pppbind &&
+                           (ippp_table[i]->state & IPPP_OPEN) == IPPP_OPEN)
                                break;
        }
 
diff --git a/drivers/net/soundmodem/sm_tbl_afsk1200.h b/drivers/net/soundmodem/sm_tbl_afsk1200.h
new file mode 100644 (file)
index 0000000..ea22abe
--- /dev/null
@@ -0,0 +1,72 @@
+/*
+ * THIS FILE IS GENERATED AUTOMATICALLY BY ./gentbl, DO NOT EDIT!
+ */
+
+
+/*
+ * small cosine table in U8 format
+ */
+#define OFFSCOSTABBITS 6
+#define OFFSCOSTABSIZE (1<<OFFSCOSTABBITS)
+
+static unsigned char offscostab[OFFSCOSTABSIZE] = {
+        255, 254, 252, 249, 245, 240, 233, 226,
+        217, 208, 198, 187, 176, 164, 152, 140,
+        128, 115, 103,  91,  79,  68,  57,  47,
+         38,  29,  22,  15,  10,   6,   3,   1,
+          1,   1,   3,   6,  10,  15,  22,  29,
+         38,  47,  57,  68,  79,  91, 103, 115,
+        127, 140, 152, 164, 176, 187, 198, 208,
+        217, 226, 233, 240, 245, 249, 252, 254
+};
+
+#define OFFSCOS(x) offscostab[((x)>>10)&0x3f]
+
+
+/*
+ * more accurate cosine table
+ */
+
+static const short costab[64] = {
+        32767,  32609,  32137,  31356,  30272,  28897,  27244,  25329, 
+        23169,  20787,  18204,  15446,  12539,   9511,   6392,   3211, 
+            0,  -3211,  -6392,  -9511, -12539, -15446, -18204, -20787, 
+       -23169, -25329, -27244, -28897, -30272, -31356, -32137, -32609, 
+       -32767, -32609, -32137, -31356, -30272, -28897, -27244, -25329, 
+       -23169, -20787, -18204, -15446, -12539,  -9511,  -6392,  -3211, 
+            0,   3211,   6392,   9511,  12539,  15446,  18204,  20787, 
+        23169,  25329,  27244,  28897,  30272,  31356,  32137,  32609
+};
+
+#define COS(x) costab[((x)>>10)&0x3f]
+#define SIN(x) COS((x)+0xc000)
+
+
+/*
+ * afsk1200 specific tables
+ */
+#define AFSK12_SAMPLE_RATE 9600
+#define AFSK12_TX_FREQ_LO 1200
+#define AFSK12_TX_FREQ_HI 2200
+#define AFSK12_CORRLEN 8
+
+static const int afsk12_tx_lo_i[] = {
+         127,   89,    0,  -89, -127,  -89,    0,   89 
+};
+#define SUM_AFSK12_TX_LO_I 0
+
+static const int afsk12_tx_lo_q[] = {
+           0,   89,  127,   89,    0,  -89, -127,  -89 
+};
+#define SUM_AFSK12_TX_LO_Q 0
+
+static const int afsk12_tx_hi_i[] = {
+         127,   16, -122,  -48,  109,   77,  -89, -100 
+};
+#define SUM_AFSK12_TX_HI_I -30
+
+static const int afsk12_tx_hi_q[] = {
+           0,  125,   32, -117,  -63,  100,   89,  -77 
+};
+#define SUM_AFSK12_TX_HI_Q 89
+
diff --git a/drivers/net/soundmodem/sm_tbl_afsk2400_7.h b/drivers/net/soundmodem/sm_tbl_afsk2400_7.h
new file mode 100644 (file)
index 0000000..21104ca
--- /dev/null
@@ -0,0 +1,72 @@
+/*
+ * THIS FILE IS GENERATED AUTOMATICALLY BY ./gentbl, DO NOT EDIT!
+ */
+
+
+/*
+ * small cosine table in U8 format
+ */
+#define OFFSCOSTABBITS 6
+#define OFFSCOSTABSIZE (1<<OFFSCOSTABBITS)
+
+static unsigned char offscostab[OFFSCOSTABSIZE] = {
+        255, 254, 252, 249, 245, 240, 233, 226,
+        217, 208, 198, 187, 176, 164, 152, 140,
+        128, 115, 103,  91,  79,  68,  57,  47,
+         38,  29,  22,  15,  10,   6,   3,   1,
+          1,   1,   3,   6,  10,  15,  22,  29,
+         38,  47,  57,  68,  79,  91, 103, 115,
+        127, 140, 152, 164, 176, 187, 198, 208,
+        217, 226, 233, 240, 245, 249, 252, 254
+};
+
+#define OFFSCOS(x) offscostab[((x)>>10)&0x3f]
+
+
+/*
+ * more accurate cosine table
+ */
+
+static const short costab[64] = {
+        32767,  32609,  32137,  31356,  30272,  28897,  27244,  25329, 
+        23169,  20787,  18204,  15446,  12539,   9511,   6392,   3211, 
+            0,  -3211,  -6392,  -9511, -12539, -15446, -18204, -20787, 
+       -23169, -25329, -27244, -28897, -30272, -31356, -32137, -32609, 
+       -32767, -32609, -32137, -31356, -30272, -28897, -27244, -25329, 
+       -23169, -20787, -18204, -15446, -12539,  -9511,  -6392,  -3211, 
+            0,   3211,   6392,   9511,  12539,  15446,  18204,  20787, 
+        23169,  25329,  27244,  28897,  30272,  31356,  32137,  32609
+};
+
+#define COS(x) costab[((x)>>10)&0x3f]
+#define SIN(x) COS((x)+0xc000)
+
+
+/*
+ * afsk2400 specific tables (tcm3105 clk 7372800.000000Hz)
+ */
+#define AFSK24_TX_FREQ_LO 1995
+#define AFSK24_TX_FREQ_HI 3658
+#define AFSK24_BITPLL_INC 9830
+#define AFSK24_SAMPLERATE 16000
+
+static const int afsk24_tx_lo_i[] = {
+          10,   11,    0,  -43,  -89,  -80,   -1,   87,  112,   64,    0,  -24,  -16,   -7 
+};
+#define SUM_AFSK24_TX_LO_I 24
+
+static const int afsk24_tx_lo_q[] = {
+           0,   11,   35,   43,    0,  -78, -125,  -89,   -1,   62,   61,   25,    0,   -7 
+};
+#define SUM_AFSK24_TX_LO_Q -63
+
+static const int afsk24_tx_hi_i[] = {
+          10,    2,  -34,  -24,   76,   69,  -86, -101,   53,   83,  -14,  -35,    0,   10 
+};
+#define SUM_AFSK24_TX_HI_I 9
+
+static const int afsk24_tx_hi_q[] = {
+           0,   16,    9,  -56,  -45,   88,   90,  -74,  -98,   31,   59,   -3,  -16,   -1 
+};
+#define SUM_AFSK24_TX_HI_Q 0
+
diff --git a/drivers/net/soundmodem/sm_tbl_afsk2400_8.h b/drivers/net/soundmodem/sm_tbl_afsk2400_8.h
new file mode 100644 (file)
index 0000000..2a5505c
--- /dev/null
@@ -0,0 +1,72 @@
+/*
+ * THIS FILE IS GENERATED AUTOMATICALLY BY ./gentbl, DO NOT EDIT!
+ */
+
+
+/*
+ * small cosine table in U8 format
+ */
+#define OFFSCOSTABBITS 6
+#define OFFSCOSTABSIZE (1<<OFFSCOSTABBITS)
+
+static unsigned char offscostab[OFFSCOSTABSIZE] = {
+        255, 254, 252, 249, 245, 240, 233, 226,
+        217, 208, 198, 187, 176, 164, 152, 140,
+        128, 115, 103,  91,  79,  68,  57,  47,
+         38,  29,  22,  15,  10,   6,   3,   1,
+          1,   1,   3,   6,  10,  15,  22,  29,
+         38,  47,  57,  68,  79,  91, 103, 115,
+        127, 140, 152, 164, 176, 187, 198, 208,
+        217, 226, 233, 240, 245, 249, 252, 254
+};
+
+#define OFFSCOS(x) offscostab[((x)>>10)&0x3f]
+
+
+/*
+ * more accurate cosine table
+ */
+
+static const short costab[64] = {
+        32767,  32609,  32137,  31356,  30272,  28897,  27244,  25329, 
+        23169,  20787,  18204,  15446,  12539,   9511,   6392,   3211, 
+            0,  -3211,  -6392,  -9511, -12539, -15446, -18204, -20787, 
+       -23169, -25329, -27244, -28897, -30272, -31356, -32137, -32609, 
+       -32767, -32609, -32137, -31356, -30272, -28897, -27244, -25329, 
+       -23169, -20787, -18204, -15446, -12539,  -9511,  -6392,  -3211, 
+            0,   3211,   6392,   9511,  12539,  15446,  18204,  20787, 
+        23169,  25329,  27244,  28897,  30272,  31356,  32137,  32609
+};
+
+#define COS(x) costab[((x)>>10)&0x3f]
+#define SIN(x) COS((x)+0xc000)
+
+
+/*
+ * afsk2400 specific tables (tcm3105 clk 8000000.000000Hz)
+ */
+#define AFSK24_TX_FREQ_LO 2165
+#define AFSK24_TX_FREQ_HI 3970
+#define AFSK24_BITPLL_INC 9830
+#define AFSK24_SAMPLERATE 16000
+
+static const int afsk24_tx_lo_i[] = {
+          10,   11,   -4,  -51,  -86,  -49,   47,  118,   97,   17,  -37,  -35,  -11,    0 
+};
+#define SUM_AFSK24_TX_LO_I 27
+
+static const int afsk24_tx_lo_q[] = {
+           0,   12,   35,   34,  -22, -100, -115,  -40,   55,   87,   48,    2,  -11,  -10 
+};
+#define SUM_AFSK24_TX_LO_Q -25
+
+static const int afsk24_tx_hi_i[] = {
+          10,    0,  -35,   -2,   89,    6, -124,  -10,  111,    9,  -61,   -4,   16,    1 
+};
+#define SUM_AFSK24_TX_HI_I 6
+
+static const int afsk24_tx_hi_q[] = {
+           0,   16,    0,  -61,   -4,  112,    8, -124,  -10,   88,    7,  -35,   -2,   10 
+};
+#define SUM_AFSK24_TX_HI_Q 5
+
diff --git a/drivers/net/soundmodem/sm_tbl_afsk2666.h b/drivers/net/soundmodem/sm_tbl_afsk2666.h
new file mode 100644 (file)
index 0000000..839c7b1
--- /dev/null
@@ -0,0 +1,75 @@
+/*
+ * THIS FILE IS GENERATED AUTOMATICALLY BY ./gentbl, DO NOT EDIT!
+ */
+
+
+/*
+ * small cosine table in U8 format
+ */
+#define OFFSCOSTABBITS 6
+#define OFFSCOSTABSIZE (1<<OFFSCOSTABBITS)
+
+static unsigned char offscostab[OFFSCOSTABSIZE] = {
+        255, 254, 252, 249, 245, 240, 233, 226,
+        217, 208, 198, 187, 176, 164, 152, 140,
+        128, 115, 103,  91,  79,  68,  57,  47,
+         38,  29,  22,  15,  10,   6,   3,   1,
+          1,   1,   3,   6,  10,  15,  22,  29,
+         38,  47,  57,  68,  79,  91, 103, 115,
+        127, 140, 152, 164, 176, 187, 198, 208,
+        217, 226, 233, 240, 245, 249, 252, 254
+};
+
+#define OFFSCOS(x) offscostab[((x)>>10)&0x3f]
+
+
+/*
+ * more accurate cosine table
+ */
+
+static const short costab[64] = {
+        32767,  32609,  32137,  31356,  30272,  28897,  27244,  25329, 
+        23169,  20787,  18204,  15446,  12539,   9511,   6392,   3211, 
+            0,  -3211,  -6392,  -9511, -12539, -15446, -18204, -20787, 
+       -23169, -25329, -27244, -28897, -30272, -31356, -32137, -32609, 
+       -32767, -32609, -32137, -31356, -30272, -28897, -27244, -25329, 
+       -23169, -20787, -18204, -15446, -12539,  -9511,  -6392,  -3211, 
+            0,   3211,   6392,   9511,  12539,  15446,  18204,  20787, 
+        23169,  25329,  27244,  28897,  30272,  31356,  32137,  32609
+};
+
+#define COS(x) costab[((x)>>10)&0x3f]
+#define SIN(x) COS((x)+0xc000)
+
+
+/*
+ * afsk2666 specific tables
+ */
+#define AFSK26_DEMCORRLEN 12
+#define AFSK26_SAMPLERATE 16000
+
+static const unsigned int afsk26_carfreq[2] = { 0x2000, 0x3555 };
+
+
+static const struct {
+       int i[12];
+       int q[12];
+} afsk26_dem_tables[2][2] = {
+       {
+               {{      1,      7,    -18,    -73,   -100,    -47,     47,    100,     73,     18,     -7,     -1 }, {      0,     17,     43,     30,    -41,   -115,   -115,    -41,     30,     43,     17,      0 }},
+#define AFSK26_DEM_SUM_I_0_0 0
+#define AFSK26_DEM_SUM_Q_0_0 -132
+               {{      1,     -7,    -46,    -10,    100,     76,    -75,   -100,     10,     46,      7,     -1 }, {      1,     17,     -6,    -79,    -41,     99,     99,    -41,    -79,     -6,     17,      1 }}
+#define AFSK26_DEM_SUM_I_0_1 1
+#define AFSK26_DEM_SUM_Q_0_1 -18
+       },
+       {
+               {{      8,     22,      0,    -67,   -118,    -89,      0,     67,     63,     22,      0,      0 }, {      0,     22,     63,     67,      0,    -89,   -118,    -67,      0,     22,      8,      0 }},
+#define AFSK26_DEM_SUM_I_1_0 -92
+#define AFSK26_DEM_SUM_Q_1_0 -92
+               {{      8,      8,    -54,    -67,     59,    122,      0,    -91,    -31,     22,      7,      0 }, {      0,     30,     31,    -67,   -102,     32,    118,     24,    -54,    -22,      4,      0 }}
+#define AFSK26_DEM_SUM_I_1_1 -17
+#define AFSK26_DEM_SUM_Q_1_1 -6
+       }
+};
+
diff --git a/drivers/net/soundmodem/sm_tbl_fsk9600.h b/drivers/net/soundmodem/sm_tbl_fsk9600.h
new file mode 100644 (file)
index 0000000..c3384a9
--- /dev/null
@@ -0,0 +1,302 @@
+/*
+ * THIS FILE IS GENERATED AUTOMATICALLY BY ./gentbl, DO NOT EDIT!
+ */
+
+
+/*
+ * fsk9600 specific tables
+ */
+static unsigned char fsk96_txfilt_4[] = {
+         37,  37,  35,  36,  39,  40,  38,  38,
+         53,  53,  51,  52,  55,  56,  54,  54,
+        210, 210, 208, 209, 212, 213, 211, 211,
+        226, 226, 224, 225, 228, 229, 227, 227,
+         23,  23,  22,  22,  26,  26,  24,  24,
+         39,  39,  38,  38,  42,  42,  40,  40,
+        196, 196, 195, 195, 199, 199, 197, 197,
+        212, 212, 211, 211, 215, 215, 213, 213,
+         43,  43,  42,  42,  46,  46,  44,  44,
+         59,  59,  58,  58,  62,  62,  60,  60,
+        216, 216, 215, 215, 219, 219, 217, 217,
+        232, 232, 231, 231, 235, 235, 233, 233,
+         29,  29,  28,  28,  32,  32,  30,  30,
+         45,  45,  44,  44,  48,  48,  46,  46,
+        202, 202, 201, 201, 205, 205, 203, 203,
+        218, 218, 217, 217, 221, 221, 219, 219,
+         36,  36,  34,  34,  38,  38,  37,  37,
+         52,  52,  50,  50,  54,  54,  53,  53,
+        209, 209, 207, 207, 211, 211, 210, 210,
+        225, 225, 223, 223, 227, 227, 226, 226,
+         22,  22,  20,  20,  24,  24,  23,  23,
+         38,  38,  36,  36,  40,  40,  39,  39,
+        195, 195, 193, 193, 197, 197, 196, 196,
+        211, 211, 209, 209, 213, 213, 212, 212,
+         42,  42,  40,  40,  44,  44,  43,  43,
+         58,  58,  56,  56,  60,  60,  59,  59,
+        215, 215, 213, 213, 217, 217, 216, 216,
+        231, 231, 229, 229, 233, 233, 232, 232,
+         28,  28,  26,  27,  30,  31,  29,  29,
+         44,  44,  42,  43,  46,  47,  45,  45,
+        201, 201, 199, 200, 203, 204, 202, 202,
+        217, 217, 215, 216, 219, 220, 218, 218,
+         37,  37,  37,  37,  29,  29,  29,  30,
+        108, 108, 108, 108, 100, 100, 100, 100,
+        169, 169, 169, 170, 161, 161, 162, 162,
+        240, 240, 240, 240, 232, 232, 232, 232,
+         19,  19,  19,  20,  11,  11,  12,  12,
+         90,  90,  90,  90,  82,  82,  82,  82,
+        151, 151, 152, 152, 143, 143, 144, 144,
+        222, 222, 222, 222, 214, 214, 215, 215,
+         41,  41,  41,  41,  33,  33,  33,  34,
+        112, 112, 112, 112, 104, 104, 104, 104,
+        173, 173, 173, 174, 165, 165, 166, 166,
+        244, 244, 244, 244, 236, 236, 236, 236,
+         23,  23,  23,  24,  15,  15,  16,  16,
+         94,  94,  94,  94,  86,  86,  86,  86,
+        155, 155, 156, 156, 147, 147, 148, 148,
+        226, 226, 226, 226, 218, 218, 219, 219,
+         36,  36,  37,  37,  29,  29,  29,  29,
+        107, 107, 108, 108,  99,  99, 100, 100,
+        169, 169, 169, 169, 161, 161, 161, 161,
+        239, 239, 240, 240, 231, 232, 232, 232,
+         19,  19,  19,  19,  11,  11,  11,  11,
+         89,  89,  90,  90,  81,  82,  82,  82,
+        151, 151, 151, 151, 143, 143, 143, 143,
+        221, 222, 222, 222, 214, 214, 214, 214,
+         40,  40,  41,  41,  33,  33,  33,  33,
+        111, 111, 112, 112, 103, 103, 104, 104,
+        173, 173, 173, 173, 165, 165, 165, 165,
+        243, 243, 244, 244, 235, 236, 236, 236,
+         23,  23,  23,  23,  15,  15,  15,  15,
+         93,  93,  94,  94,  85,  86,  86,  86,
+        155, 155, 155, 155, 147, 147, 147, 147,
+        225, 226, 226, 226, 218, 218, 218, 218,
+         37,  36,  41,  40,  19,  19,  23,  23,
+        169, 169, 173, 173, 151, 151, 155, 155,
+        108, 107, 112, 111,  90,  89,  94,  93,
+        240, 239, 244, 243, 222, 221, 226, 225,
+         29,  29,  33,  33,  11,  11,  15,  15,
+        161, 161, 165, 165, 143, 143, 147, 147,
+        100,  99, 104, 103,  82,  81,  86,  85,
+        232, 231, 236, 235, 214, 214, 218, 218,
+         37,  37,  41,  41,  19,  19,  23,  23,
+        169, 169, 173, 173, 152, 151, 156, 155,
+        108, 108, 112, 112,  90,  90,  94,  94,
+        240, 240, 244, 244, 222, 222, 226, 226,
+         29,  29,  33,  33,  12,  11,  16,  15,
+        162, 161, 166, 165, 144, 143, 148, 147,
+        100, 100, 104, 104,  82,  82,  86,  86,
+        232, 232, 236, 236, 215, 214, 219, 218,
+         37,  36,  41,  40,  19,  19,  23,  23,
+        169, 169, 173, 173, 151, 151, 155, 155,
+        108, 107, 112, 111,  90,  89,  94,  93,
+        240, 239, 244, 243, 222, 222, 226, 226,
+         29,  29,  33,  33,  11,  11,  15,  15,
+        161, 161, 165, 165, 143, 143, 147, 147,
+        100,  99, 104, 103,  82,  82,  86,  86,
+        232, 232, 236, 236, 214, 214, 218, 218,
+         37,  37,  41,  41,  20,  19,  24,  23,
+        170, 169, 174, 173, 152, 151, 156, 155,
+        108, 108, 112, 112,  90,  90,  94,  94,
+        240, 240, 244, 244, 222, 222, 226, 226,
+         30,  29,  34,  33,  12,  11,  16,  15,
+        162, 161, 166, 165, 144, 143, 148, 147,
+        100, 100, 104, 104,  82,  82,  86,  86,
+        232, 232, 236, 236, 215, 214, 219, 218,
+         37,  36,  43,  42,  23,  22,  29,  28,
+        210, 209, 216, 215, 196, 195, 202, 201,
+         53,  52,  59,  58,  39,  38,  45,  44,
+        226, 225, 232, 231, 212, 211, 218, 217,
+         39,  38,  46,  44,  26,  24,  32,  30,
+        212, 211, 219, 217, 199, 197, 205, 203,
+         55,  54,  62,  60,  42,  40,  48,  46,
+        228, 227, 235, 233, 215, 213, 221, 219,
+         35,  34,  42,  40,  22,  20,  28,  26,
+        208, 207, 215, 213, 195, 193, 201, 199,
+         51,  50,  58,  56,  38,  36,  44,  42,
+        224, 223, 231, 229, 211, 209, 217, 215,
+         38,  37,  44,  43,  24,  23,  30,  29,
+        211, 210, 217, 216, 197, 196, 203, 202,
+         54,  53,  60,  59,  40,  39,  46,  45,
+        227, 226, 233, 232, 213, 212, 219, 218,
+         37,  36,  43,  42,  23,  22,  29,  28,
+        210, 209, 216, 215, 196, 195, 202, 201,
+         53,  52,  59,  58,  39,  38,  45,  44,
+        226, 225, 232, 231, 212, 211, 218, 217,
+         40,  38,  46,  44,  26,  24,  32,  31,
+        213, 211, 219, 217, 199, 197, 205, 204,
+         56,  54,  62,  60,  42,  40,  48,  47,
+        229, 227, 235, 233, 215, 213, 221, 220,
+         36,  34,  42,  40,  22,  20,  28,  27,
+        209, 207, 215, 213, 195, 193, 201, 200,
+         52,  50,  58,  56,  38,  36,  44,  43,
+        225, 223, 231, 229, 211, 209, 217, 216,
+         38,  37,  44,  43,  24,  23,  30,  29,
+        211, 210, 217, 216, 197, 196, 203, 202,
+         54,  53,  60,  59,  40,  39,  46,  45,
+        227, 226, 233, 232, 213, 212, 219, 218
+};
+
+static unsigned char fsk96_txfilt_5[] = {
+         39,  40,  38,  38,  42,  43,  41,  41,
+         51,  51,  50,  50,  54,  54,  53,  53,
+        209, 209, 207, 208, 212, 212, 210, 211,
+        221, 221, 219, 219, 224, 224, 222, 222,
+         28,  28,  27,  27,  31,  31,  30,  30,
+         40,  40,  38,  39,  43,  43,  41,  42,
+        198, 198, 196, 196, 201, 201, 199, 199,
+        209, 210, 208, 208, 212, 213, 211, 211,
+         45,  45,  44,  44,  48,  48,  47,  47,
+         57,  57,  56,  56,  60,  60,  59,  59,
+        215, 215, 213, 213, 218, 218, 216, 216,
+        227, 227, 225, 225, 230, 230, 228, 228,
+         34,  34,  32,  33,  37,  37,  35,  36,
+         46,  46,  44,  44,  49,  49,  47,  47,
+        203, 204, 202, 202, 206, 207, 205, 205,
+        215, 215, 214, 214, 218, 218, 217, 217,
+         38,  38,  37,  37,  41,  41,  40,  40,
+         50,  50,  48,  49,  53,  53,  51,  52,
+        208, 208, 206, 206, 211, 211, 209, 209,
+        219, 220, 218, 218, 222, 223, 221, 221,
+         27,  27,  25,  25,  30,  30,  28,  28,
+         39,  39,  37,  37,  42,  42,  40,  40,
+        196, 196, 195, 195, 199, 199, 198, 198,
+        208, 208, 207, 207, 211, 211, 210, 210,
+         44,  44,  42,  43,  47,  47,  45,  46,
+         56,  56,  54,  54,  59,  59,  57,  57,
+        213, 214, 212, 212, 216, 217, 215, 215,
+        225, 225, 224, 224, 228, 228, 227, 227,
+         33,  33,  31,  31,  36,  36,  34,  34,
+         44,  45,  43,  43,  47,  48,  46,  46,
+        202, 202, 201, 201, 205, 205, 204, 204,
+        214, 214, 212, 213, 217, 217, 215, 216,
+         39,  40,  39,  39,  35,  35,  35,  35,
+         91,  91,  90,  90,  86,  87,  86,  86,
+        183, 183, 182, 182, 178, 179, 178, 178,
+        234, 234, 234, 234, 230, 230, 229, 230,
+         21,  22,  21,  21,  17,  17,  17,  17,
+         73,  73,  72,  72,  68,  69,  68,  68,
+        165, 165, 164, 164, 161, 161, 160, 160,
+        216, 216, 216, 216, 212, 212, 211, 212,
+         44,  44,  44,  44,  40,  40,  40,  40,
+         95,  96,  95,  95,  91,  91,  91,  91,
+        187, 188, 187, 187, 183, 183, 183, 183,
+        239, 239, 238, 239, 235, 235, 234, 234,
+         26,  26,  26,  26,  22,  22,  22,  22,
+         77,  78,  77,  77,  73,  73,  73,  73,
+        170, 170, 169, 169, 165, 165, 165, 165,
+        221, 221, 220, 221, 217, 217, 216, 216,
+         39,  39,  38,  38,  34,  35,  34,  34,
+         90,  90,  90,  90,  86,  86,  85,  85,
+        182, 182, 182, 182, 178, 178, 177, 178,
+        233, 233, 233, 233, 229, 229, 229, 229,
+         21,  21,  20,  20,  16,  17,  16,  16,
+         72,  72,  72,  72,  68,  68,  67,  68,
+        164, 164, 164, 164, 160, 160, 159, 160,
+        215, 215, 215, 215, 211, 211, 211, 211,
+         43,  44,  43,  43,  39,  39,  39,  39,
+         95,  95,  94,  94,  91,  91,  90,  90,
+        187, 187, 186, 187, 183, 183, 182, 182,
+        238, 238, 238, 238, 234, 234, 233, 234,
+         25,  26,  25,  25,  21,  21,  21,  21,
+         77,  77,  76,  77,  73,  73,  72,  72,
+        169, 169, 168, 169, 165, 165, 164, 164,
+        220, 220, 220, 220, 216, 216, 215, 216,
+         39,  39,  41,  41,  26,  26,  28,  28,
+        139, 139, 141, 141, 126, 125, 128, 128,
+        139, 139, 141, 141, 126, 125, 128, 127,
+        238, 238, 240, 240, 225, 225, 227, 227,
+         26,  26,  28,  28,  13,  13,  15,  15,
+        126, 125, 128, 128, 112, 112, 115, 114,
+        126, 125, 128, 127, 112, 112, 115, 114,
+        225, 225, 227, 227, 212, 212, 214, 214,
+         41,  41,  44,  43,  28,  28,  30,  30,
+        141, 141, 143, 143, 128, 128, 130, 130,
+        141, 141, 143, 143, 128, 127, 130, 130,
+        240, 240, 242, 242, 227, 227, 229, 229,
+         28,  28,  30,  30,  15,  15,  17,  17,
+        128, 128, 130, 130, 115, 114, 117, 116,
+        128, 127, 130, 130, 115, 114, 117, 116,
+        227, 227, 229, 229, 214, 214, 216, 216,
+         39,  39,  41,  41,  26,  26,  28,  28,
+        139, 138, 141, 140, 125, 125, 128, 127,
+        139, 138, 141, 140, 125, 125, 127, 127,
+        238, 238, 240, 240, 225, 225, 227, 227,
+         26,  26,  28,  28,  13,  13,  15,  15,
+        125, 125, 128, 127, 112, 112, 114, 114,
+        125, 125, 127, 127, 112, 112, 114, 114,
+        225, 225, 227, 227, 212, 211, 214, 214,
+         41,  41,  43,  43,  28,  28,  30,  30,
+        141, 140, 143, 143, 128, 127, 130, 129,
+        141, 140, 143, 143, 127, 127, 130, 129,
+        240, 240, 242, 242, 227, 227, 229, 229,
+         28,  28,  30,  30,  15,  15,  17,  17,
+        128, 127, 130, 129, 114, 114, 116, 116,
+        127, 127, 130, 129, 114, 114, 116, 116,
+        227, 227, 229, 229, 214, 214, 216, 216,
+         39,  39,  44,  43,  21,  21,  26,  25,
+        183, 182, 187, 187, 165, 164, 170, 169,
+         91,  90,  95,  95,  73,  72,  77,  77,
+        234, 233, 239, 238, 216, 215, 221, 220,
+         35,  34,  40,  39,  17,  16,  22,  21,
+        178, 178, 183, 183, 161, 160, 165, 165,
+         86,  86,  91,  91,  68,  68,  73,  73,
+        230, 229, 235, 234, 212, 211, 217, 216,
+         39,  38,  44,  43,  21,  20,  26,  25,
+        182, 182, 187, 186, 164, 164, 169, 168,
+         90,  90,  95,  94,  72,  72,  77,  76,
+        234, 233, 238, 238, 216, 215, 220, 220,
+         35,  34,  40,  39,  17,  16,  22,  21,
+        178, 177, 183, 182, 160, 159, 165, 164,
+         86,  85,  91,  90,  68,  67,  73,  72,
+        229, 229, 234, 233, 211, 211, 216, 215,
+         40,  39,  44,  44,  22,  21,  26,  26,
+        183, 182, 188, 187, 165, 164, 170, 169,
+         91,  90,  96,  95,  73,  72,  78,  77,
+        234, 233, 239, 238, 216, 215, 221, 220,
+         35,  35,  40,  39,  17,  17,  22,  21,
+        179, 178, 183, 183, 161, 160, 165, 165,
+         87,  86,  91,  91,  69,  68,  73,  73,
+        230, 229, 235, 234, 212, 211, 217, 216,
+         39,  38,  44,  43,  21,  20,  26,  25,
+        182, 182, 187, 187, 164, 164, 169, 169,
+         90,  90,  95,  94,  72,  72,  77,  77,
+        234, 233, 239, 238, 216, 215, 221, 220,
+         35,  34,  40,  39,  17,  16,  22,  21,
+        178, 178, 183, 182, 160, 160, 165, 164,
+         86,  85,  91,  90,  68,  68,  73,  72,
+        230, 229, 234, 234, 212, 211, 216, 216,
+         39,  38,  45,  44,  28,  27,  34,  33,
+        209, 208, 215, 213, 198, 196, 203, 202,
+         51,  50,  57,  56,  40,  39,  46,  44,
+        221, 219, 227, 225, 209, 208, 215, 214,
+         42,  41,  48,  47,  31,  30,  37,  36,
+        212, 211, 218, 216, 201, 199, 206, 205,
+         54,  53,  60,  59,  43,  42,  49,  47,
+        224, 222, 230, 228, 212, 211, 218, 217,
+         38,  37,  44,  42,  27,  25,  32,  31,
+        207, 206, 213, 212, 196, 195, 202, 201,
+         50,  48,  56,  54,  38,  37,  44,  43,
+        219, 218, 225, 224, 208, 207, 214, 212,
+         41,  40,  47,  45,  30,  28,  35,  34,
+        210, 209, 216, 215, 199, 198, 205, 204,
+         53,  51,  59,  57,  41,  40,  47,  46,
+        222, 221, 228, 227, 211, 210, 217, 215,
+         40,  38,  45,  44,  28,  27,  34,  33,
+        209, 208, 215, 214, 198, 196, 204, 202,
+         51,  50,  57,  56,  40,  39,  46,  45,
+        221, 220, 227, 225, 210, 208, 215, 214,
+         43,  41,  48,  47,  31,  30,  37,  36,
+        212, 211, 218, 217, 201, 199, 207, 205,
+         54,  53,  60,  59,  43,  42,  49,  48,
+        224, 223, 230, 228, 213, 211, 218, 217,
+         38,  37,  44,  43,  27,  25,  33,  31,
+        208, 206, 213, 212, 196, 195, 202, 201,
+         50,  49,  56,  54,  39,  37,  44,  43,
+        219, 218, 225, 224, 208, 207, 214, 213,
+         41,  40,  47,  46,  30,  28,  36,  34,
+        211, 209, 216, 215, 199, 198, 205, 204,
+         53,  52,  59,  57,  42,  40,  47,  46,
+        222, 221, 228, 227, 211, 210, 217, 216
+};
+
diff --git a/drivers/net/soundmodem/sm_tbl_hapn4800.h b/drivers/net/soundmodem/sm_tbl_hapn4800.h
new file mode 100644 (file)
index 0000000..39de6d9
--- /dev/null
@@ -0,0 +1,93 @@
+/*
+ * THIS FILE IS GENERATED AUTOMATICALLY BY ./gentbl, DO NOT EDIT!
+ */
+
+
+/*
+ * hapn4800 specific tables
+ */
+
+static unsigned char hapn48_txfilt_8[] = {
+        128, 127,  92,  91, 151, 150, 115, 114,
+        141, 140, 105, 104, 164, 163, 128, 128,
+        127, 128,  63,  63, 193, 194, 129, 129,
+        126, 126,  61,  62, 192, 192, 127, 128,
+        128, 129,  37,  38, 224, 226, 134, 135,
+        120, 121,  29,  31, 217, 218, 126, 127,
+        128, 132,  19,  24, 239, 243, 130, 135,
+        120, 125,  12,  16, 231, 236, 123, 127,
+        128, 135,  16,  24, 236, 243, 125, 132,
+        123, 130,  12,  19, 231, 239, 120, 127,
+        128, 135,  31,  38, 218, 226, 121, 129,
+        126, 134,  29,  37, 217, 224, 120, 127,
+        127, 129,  62,  63, 192, 194, 126, 128,
+        127, 129,  61,  63, 192, 193, 126, 128,
+        128, 114, 104,  91, 163, 150, 140, 127,
+        128, 115, 105,  92, 164, 151, 141, 127
+};
+
+static unsigned char hapn48_txfilt_10[] = {
+        128, 127,  94,  94, 146, 146, 113, 112,
+        143, 142, 109, 109, 161, 161, 128, 128,
+        128, 127,  72,  72, 182, 182, 126, 126,
+        129, 129,  73,  73, 183, 183, 128, 127,
+        127, 128,  49,  50, 211, 212, 133, 133,
+        122, 122,  43,  44, 205, 206, 127, 128,
+        127, 130,  30,  33, 231, 233, 133, 136,
+        119, 122,  22,  24, 222, 225, 125, 128,
+        127, 133,  18,  23, 240, 245, 130, 135,
+        120, 125,  10,  15, 232, 237, 122, 128,
+        128, 135,  15,  23, 237, 245, 125, 133,
+        122, 130,  10,  18, 232, 240, 120, 128,
+        127, 136,  24,  33, 225, 233, 122, 130,
+        125, 133,  22,  30, 222, 231, 119, 128,
+        128, 133,  44,  50, 206, 212, 122, 128,
+        127, 133,  43,  49, 205, 211, 122, 127,
+        127, 126,  73,  72, 183, 182, 129, 127,
+        128, 126,  73,  72, 183, 182, 129, 128,
+        128, 112, 109,  94, 161, 146, 142, 127,
+        128, 113, 109,  94, 161, 146, 143, 127
+};
+
+static unsigned char hapn48_txfilt_pm8[] = {
+         12,   6, 242, 237,  18,  12, 248, 243,
+         12,   7, 243, 237,  18,  13, 249, 243,
+         12,  18, 243, 248,   7,  12, 237, 243,
+         12,  18, 243, 248,   7,  12, 237, 243,
+         12,  39, 225, 252,   3,  30, 216, 243,
+         12,  39, 225, 252,   3,  30, 216, 243,
+         11,  70, 193, 252,   3,  62, 185, 244,
+         11,  70, 193, 252,   3,  62, 185, 244,
+         11, 109, 152, 250,   5, 103, 146, 244,
+         11, 109, 152, 250,   5, 103, 146, 244,
+          9, 150, 107, 248,   7, 148, 105, 246,
+          9, 150, 107, 248,   7, 148, 105, 246,
+          8, 189,  66, 248,   7, 189,  66, 247,
+          8, 189,  66, 248,   7, 189,  66, 247,
+          7, 221,  34, 248,   7, 221,  34, 248,
+          7, 221,  34, 248,   7, 221,  34, 248
+};
+
+static unsigned char hapn48_txfilt_pm10[] = {
+         12,  12,   8,   8, 243, 243, 238, 238,
+         17,  17,  12,  12, 247, 247, 243, 243,
+          8,   8,  12,  13, 238, 239, 243, 243,
+         12,  12,  16,  17, 242, 243, 247, 247,
+          8,   8,  28,  28, 227, 227, 247, 247,
+          8,   8,  28,  28, 227, 227, 247, 247,
+          9,   8,  50,  50, 207, 206, 248, 248,
+          7,   7,  49,  48, 205, 205, 247, 246,
+         10,   9,  79,  78, 179, 178, 249, 248,
+          7,   6,  77,  76, 177, 176, 246, 245,
+         11,   8, 113, 110, 147, 144, 249, 246,
+          9,   6, 111, 108, 145, 142, 247, 244,
+         12,   7, 148, 143, 114, 109, 250, 245,
+         10,   5, 146, 141, 112, 107, 248, 243,
+         12,   5, 181, 174,  82,  74, 251, 244,
+         11,   4, 181, 173,  81,  74, 250, 243,
+         12,   3, 210, 201,  54,  45, 252, 243,
+         12,   3, 210, 201,  54,  45, 252, 243,
+         12,   4, 231, 223,  32,  24, 251, 243,
+         12,   4, 231, 223,  32,  24, 251, 243
+};
+
diff --git a/drivers/net/soundmodem/sm_tbl_psk4800.h b/drivers/net/soundmodem/sm_tbl_psk4800.h
new file mode 100644 (file)
index 0000000..e3d57ba
--- /dev/null
@@ -0,0 +1,373 @@
+/*
+ * THIS FILE IS GENERATED AUTOMATICALLY BY ./gentbl, DO NOT EDIT!
+ */
+
+
+/*
+ * psk4800 specific tables
+ */
+#define PSK48_TXF_OVERSAMPLING 5
+#define PSK48_TXF_NUMSAMPLES 16
+
+#define PSK48_SAMPLERATE  8000
+#define PSK48_CAR_FREQ    2000
+#define PSK48_PSK_LEN     5
+#define PSK48_RXF_LEN     64
+#define PSK48_PHASEINC    (0x10000*PSK48_CAR_FREQ/PSK48_SAMPLERATE)
+#define PSK48_SPHASEINC   (0x10000/(2*PSK48_PSK_LEN))
+
+static const short psk48_tx_table[PSK48_TXF_OVERSAMPLING*PSK48_TXF_NUMSAMPLES*8*2] = {
+          -12,     -8,      0,      8,     12,      8,      0,     -8, 
+            0,     -8,    -12,     -8,      0,      8,     12,      8, 
+          -20,    -14,      0,     14,     20,     14,      0,    -14, 
+            0,    -14,    -20,    -14,      0,     14,     20,     14, 
+          -45,    -32,      0,     32,     45,     32,      0,    -32, 
+            0,    -32,    -45,    -32,      0,     32,     45,     32, 
+          -92,    -65,      0,     65,     92,     65,      0,    -65, 
+            0,    -65,    -92,    -65,      0,     65,     92,     65, 
+         -172,   -122,      0,    122,    172,    122,      0,   -122, 
+            0,   -122,   -172,   -122,      0,    122,    172,    122, 
+         -307,   -217,      0,    217,    307,    217,      0,   -217, 
+            0,   -217,   -307,   -217,      0,    217,    307,    217, 
+         -564,   -399,      0,    399,    564,    399,      0,   -399, 
+            0,   -399,   -564,   -399,      0,    399,    564,    399, 
+        -1322,   -935,      0,    935,   1322,    935,      0,   -935, 
+            0,   -935,  -1322,   -935,      0,    935,   1322,    935, 
+        12256,   8666,      0,  -8666, -12256,  -8666,      0,   8666, 
+            0,   8666,  12256,   8666,      0,  -8666, -12256,  -8666, 
+         1066,    754,      0,   -754,  -1066,   -754,      0,    754, 
+            0,    754,   1066,    754,      0,   -754,  -1066,   -754, 
+          495,    350,      0,   -350,   -495,   -350,      0,    350, 
+            0,    350,    495,    350,      0,   -350,   -495,   -350, 
+          273,    193,      0,   -193,   -273,   -193,      0,    193, 
+            0,    193,    273,    193,      0,   -193,   -273,   -193, 
+          153,    108,      0,   -108,   -153,   -108,      0,    108, 
+            0,    108,    153,    108,      0,   -108,   -153,   -108, 
+           81,     57,      0,    -57,    -81,    -57,      0,     57, 
+            0,     57,     81,     57,      0,    -57,    -81,    -57, 
+           38,     27,      0,    -27,    -38,    -27,      0,     27, 
+            0,     27,     38,     27,      0,    -27,    -38,    -27, 
+           17,     12,      0,    -12,    -17,    -12,      0,     12, 
+            0,     12,     17,     12,      0,    -12,    -17,    -12, 
+          -20,    -14,      0,     14,     20,     14,      0,    -14, 
+            0,    -14,    -20,    -14,      0,     14,     20,     14, 
+          -38,    -27,      0,     27,     38,     27,      0,    -27, 
+            0,    -27,    -38,    -27,      0,     27,     38,     27, 
+          -85,    -60,      0,     60,     85,     60,      0,    -60, 
+            0,    -60,    -85,    -60,      0,     60,     85,     60, 
+         -170,   -120,      0,    120,    170,    120,      0,   -120, 
+            0,   -120,   -170,   -120,      0,    120,    170,    120, 
+         -314,   -222,      0,    222,    314,    222,      0,   -222, 
+            0,   -222,   -314,   -222,      0,    222,    314,    222, 
+         -557,   -394,      0,    394,    557,    394,      0,   -394, 
+            0,   -394,   -557,   -394,      0,    394,    557,    394, 
+        -1048,   -741,      0,    741,   1048,    741,      0,   -741, 
+            0,   -741,  -1048,   -741,      0,    741,   1048,    741, 
+        -2783,  -1968,      0,   1968,   2783,   1968,      0,  -1968, 
+            0,  -1968,  -2783,  -1968,      0,   1968,   2783,   1968, 
+         6591,   4660,      0,  -4660,  -6591,  -4660,      0,   4660, 
+            0,   4660,   6591,   4660,      0,  -4660,  -6591,  -4660, 
+         1434,   1014,      0,  -1014,  -1434,  -1014,      0,   1014, 
+            0,   1014,   1434,   1014,      0,  -1014,  -1434,  -1014, 
+          707,    500,      0,   -500,   -707,   -500,      0,    500, 
+            0,    500,    707,    500,      0,   -500,   -707,   -500, 
+          395,    279,      0,   -279,   -395,   -279,      0,    279, 
+            0,    279,    395,    279,      0,   -279,   -395,   -279, 
+          219,    155,      0,   -155,   -219,   -155,      0,    155, 
+            0,    155,    219,    155,      0,   -155,   -219,   -155, 
+          114,     80,      0,    -80,   -114,    -80,      0,     80, 
+            0,     80,    114,     80,      0,    -80,   -114,    -80, 
+           53,     37,      0,    -37,    -53,    -37,      0,     37, 
+            0,     37,     53,     37,      0,    -37,    -53,    -37, 
+           25,     17,      0,    -17,    -25,    -17,      0,     17, 
+            0,     17,     25,     17,      0,    -17,    -25,    -17, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+            0,      0,      0,      0,      0,      0,      0,      0, 
+           25,     17,      0,    -17,    -25,    -17,      0,     17, 
+            0,     17,     25,     17,      0,    -17,    -25,    -17, 
+           53,     37,      0,    -37,    -53,    -37,      0,     37, 
+            0,     37,     53,     37,      0,    -37,    -53,    -37, 
+          114,     80,      0,    -80,   -114,    -80,      0,     80, 
+            0,     80,    114,     80,      0,    -80,   -114,    -80, 
+          219,    155,      0,   -155,   -219,   -155,      0,    155, 
+            0,    155,    219,    155,      0,   -155,   -219,   -155, 
+          395,    279,      0,   -279,   -395,   -279,      0,    279, 
+            0,    279,    395,    279,      0,   -279,   -395,   -279, 
+          707,    500,      0,   -500,   -707,   -500,      0,    500, 
+            0,    500,    707,    500,      0,   -500,   -707,   -500, 
+         1434,   1014,      0,  -1014,  -1434,  -1014,      0,   1014, 
+            0,   1014,   1434,   1014,      0,  -1014,  -1434,  -1014, 
+         6591,   4660,      0,  -4660,  -6591,  -4660,      0,   4660, 
+            0,   4660,   6591,   4660,      0,  -4660,  -6591,  -4660, 
+        -2783,  -1968,      0,   1968,   2783,   1968,      0,  -1968, 
+            0,  -1968,  -2783,  -1968,      0,   1968,   2783,   1968, 
+        -1048,   -741,      0,    741,   1048,    741,      0,   -741, 
+            0,   -741,  -1048,   -741,      0,    741,   1048,    741, 
+         -557,   -394,      0,    394,    557,    394,      0,   -394, 
+            0,   -394,   -557,   -394,      0,    394,    557,    394, 
+         -314,   -222,      0,    222,    314,    222,      0,   -222, 
+            0,   -222,   -314,   -222,      0,    222,    314,    222, 
+         -170,   -120,      0,    120,    170,    120,      0,   -120, 
+            0,   -120,   -170,   -120,      0,    120,    170,    120, 
+          -85,    -60,      0,     60,     85,     60,      0,    -60, 
+            0,    -60,    -85,    -60,      0,     60,     85,     60, 
+          -38,    -27,      0,     27,     38,     27,      0,    -27, 
+            0,    -27,    -38,    -27,      0,     27,     38,     27, 
+          -20,    -14,      0,     14,     20,     14,      0,    -14, 
+            0,    -14,    -20,    -14,      0,     14,     20,     14, 
+           17,     12,      0,    -12,    -17,    -12,      0,     12, 
+            0,     12,     17,     12,      0,    -12,    -17,    -12, 
+           38,     27,      0,    -27,    -38,    -27,      0,     27, 
+            0,     27,     38,     27,      0,    -27,    -38,    -27, 
+           81,     57,      0,    -57,    -81,    -57,      0,     57, 
+            0,     57,     81,     57,      0,    -57,    -81,    -57, 
+          153,    108,      0,   -108,   -153,   -108,      0,    108, 
+            0,    108,    153,    108,      0,   -108,   -153,   -108, 
+          273,    193,      0,   -193,   -273,   -193,      0,    193, 
+            0,    193,    273,    193,      0,   -193,   -273,   -193, 
+          495,    350,      0,   -350,   -495,   -350,      0,    350, 
+            0,    350,    495,    350,      0,   -350,   -495,   -350, 
+         1066,    754,      0,   -754,  -1066,   -754,      0,    754, 
+            0,    754,   1066,    754,      0,   -754,  -1066,   -754, 
+        12256,   8666,      0,  -8666, -12256,  -8666,      0,   8666, 
+            0,   8666,  12256,   8666,      0,  -8666, -12256,  -8666, 
+        -1322,   -935,      0,    935,   1322,    935,      0,   -935, 
+            0,   -935,  -1322,   -935,      0,    935,   1322,    935, 
+         -564,   -399,      0,    399,    564,    399,      0,   -399, 
+            0,   -399,   -564,   -399,      0,    399,    564,    399, 
+         -307,   -217,      0,    217,    307,    217,      0,   -217, 
+            0,   -217,   -307,   -217,      0,    217,    307,    217, 
+         -172,   -122,      0,    122,    172,    122,      0,   -122, 
+            0,   -122,   -172,   -122,      0,    122,    172,    122, 
+          -92,    -65,      0,     65,     92,     65,      0,    -65, 
+            0,    -65,    -92,    -65,      0,     65,     92,     65, 
+          -45,    -32,      0,     32,     45,     32,      0,    -32, 
+            0,    -32,    -45,    -32,      0,     32,     45,     32, 
+          -20,    -14,      0,     14,     20,     14,      0,    -14, 
+            0,    -14,    -20,    -14,      0,     14,     20,     14, 
+          -12,     -8,      0,      8,     12,      8,      0,     -8, 
+            0,     -8,    -12,     -8,      0,      8,     12,      8
+};
+
+static const short psk48_rx_coeff[PSK48_RXF_LEN] = {
+           -7,    11,    28,    35,    24,    -6,   -48,   -79,
+          -76,   -22,    68,   157,   186,   114,   -53,  -250,
+         -370,  -315,   -58,   318,   636,   694,   371,  -281,
+        -1014, -1444, -1200,   -86,  1793,  4033,  6035,  7215,
+         7215,  6035,  4033,  1793,   -86, -1200, -1444, -1014,
+         -281,   371,   694,   636,   318,   -58,  -315,  -370,
+         -250,   -53,   114,   186,   157,    68,   -22,   -76,
+          -79,   -48,    -6,    24,    35,    28,    11,    -7
+};
+
+
+/*
+ * more accurate cosine table
+ */
+
+static const short costab[256] = {
+        32767,  32757,  32727,  32678,  32609,  32520,  32412,  32284, 
+        32137,  31970,  31785,  31580,  31356,  31113,  30851,  30571, 
+        30272,  29955,  29621,  29268,  28897,  28510,  28105,  27683, 
+        27244,  26789,  26318,  25831,  25329,  24811,  24278,  23731, 
+        23169,  22594,  22004,  21402,  20787,  20159,  19519,  18867, 
+        18204,  17530,  16845,  16150,  15446,  14732,  14009,  13278, 
+        12539,  11792,  11038,  10278,   9511,   8739,   7961,   7179, 
+         6392,   5601,   4807,   4011,   3211,   2410,   1607,    804, 
+            0,   -804,  -1607,  -2410,  -3211,  -4011,  -4807,  -5601, 
+        -6392,  -7179,  -7961,  -8739,  -9511, -10278, -11038, -11792, 
+       -12539, -13278, -14009, -14732, -15446, -16150, -16845, -17530, 
+       -18204, -18867, -19519, -20159, -20787, -21402, -22004, -22594, 
+       -23169, -23731, -24278, -24811, -25329, -25831, -26318, -26789, 
+       -27244, -27683, -28105, -28510, -28897, -29268, -29621, -29955, 
+       -30272, -30571, -30851, -31113, -31356, -31580, -31785, -31970, 
+       -32137, -32284, -32412, -32520, -32609, -32678, -32727, -32757, 
+       -32767, -32757, -32727, -32678, -32609, -32520, -32412, -32284, 
+       -32137, -31970, -31785, -31580, -31356, -31113, -30851, -30571, 
+       -30272, -29955, -29621, -29268, -28897, -28510, -28105, -27683, 
+       -27244, -26789, -26318, -25831, -25329, -24811, -24278, -23731, 
+       -23169, -22594, -22004, -21402, -20787, -20159, -19519, -18867, 
+       -18204, -17530, -16845, -16150, -15446, -14732, -14009, -13278, 
+       -12539, -11792, -11038, -10278,  -9511,  -8739,  -7961,  -7179, 
+        -6392,  -5601,  -4807,  -4011,  -3211,  -2410,  -1607,   -804, 
+            0,    804,   1607,   2410,   3211,   4011,   4807,   5601, 
+         6392,   7179,   7961,   8739,   9511,  10278,  11038,  11792, 
+        12539,  13278,  14009,  14732,  15446,  16150,  16845,  17530, 
+        18204,  18867,  19519,  20159,  20787,  21402,  22004,  22594, 
+        23169,  23731,  24278,  24811,  25329,  25831,  26318,  26789, 
+        27244,  27683,  28105,  28510,  28897,  29268,  29621,  29955, 
+        30272,  30571,  30851,  31113,  31356,  31580,  31785,  31970, 
+        32137,  32284,  32412,  32520,  32609,  32678,  32727,  32757
+};
+
+#define COS(x) costab[((x)>>8)&0xff]
+#define SIN(x) COS((x)+0xc000)
+
+
+/*
+ * arctan table (indexed by i/q; should really be indexed by i/(i+q)
+ */
+#define ATAN_TABLEN 1024
+
+static const unsigned short atan_tab[ATAN_TABLEN+2] = {
+            0,     10,     20,     30,     40,     50,     61,     71, 
+           81,     91,    101,    112,    122,    132,    142,    152, 
+          162,    173,    183,    193,    203,    213,    224,    234, 
+          244,    254,    264,    274,    285,    295,    305,    315, 
+          325,    336,    346,    356,    366,    376,    386,    397, 
+          407,    417,    427,    437,    447,    458,    468,    478, 
+          488,    498,    508,    519,    529,    539,    549,    559, 
+          569,    579,    590,    600,    610,    620,    630,    640, 
+          651,    661,    671,    681,    691,    701,    711,    722, 
+          732,    742,    752,    762,    772,    782,    792,    803, 
+          813,    823,    833,    843,    853,    863,    873,    884, 
+          894,    904,    914,    924,    934,    944,    954,    964, 
+          974,    985,    995,   1005,   1015,   1025,   1035,   1045, 
+         1055,   1065,   1075,   1085,   1096,   1106,   1116,   1126, 
+         1136,   1146,   1156,   1166,   1176,   1186,   1196,   1206, 
+         1216,   1226,   1236,   1246,   1256,   1266,   1277,   1287, 
+         1297,   1307,   1317,   1327,   1337,   1347,   1357,   1367, 
+         1377,   1387,   1397,   1407,   1417,   1427,   1437,   1447, 
+         1457,   1467,   1477,   1487,   1497,   1507,   1517,   1527, 
+         1537,   1547,   1556,   1566,   1576,   1586,   1596,   1606, 
+         1616,   1626,   1636,   1646,   1656,   1666,   1676,   1686, 
+         1696,   1706,   1715,   1725,   1735,   1745,   1755,   1765, 
+         1775,   1785,   1795,   1805,   1814,   1824,   1834,   1844, 
+         1854,   1864,   1874,   1884,   1893,   1903,   1913,   1923, 
+         1933,   1943,   1952,   1962,   1972,   1982,   1992,   2002, 
+         2011,   2021,   2031,   2041,   2051,   2060,   2070,   2080, 
+         2090,   2100,   2109,   2119,   2129,   2139,   2148,   2158, 
+         2168,   2178,   2187,   2197,   2207,   2217,   2226,   2236, 
+         2246,   2255,   2265,   2275,   2285,   2294,   2304,   2314, 
+         2323,   2333,   2343,   2352,   2362,   2372,   2381,   2391, 
+         2401,   2410,   2420,   2430,   2439,   2449,   2459,   2468, 
+         2478,   2488,   2497,   2507,   2516,   2526,   2536,   2545, 
+         2555,   2564,   2574,   2583,   2593,   2603,   2612,   2622, 
+         2631,   2641,   2650,   2660,   2669,   2679,   2688,   2698, 
+         2708,   2717,   2727,   2736,   2746,   2755,   2765,   2774, 
+         2784,   2793,   2802,   2812,   2821,   2831,   2840,   2850, 
+         2859,   2869,   2878,   2887,   2897,   2906,   2916,   2925, 
+         2935,   2944,   2953,   2963,   2972,   2981,   2991,   3000, 
+         3010,   3019,   3028,   3038,   3047,   3056,   3066,   3075, 
+         3084,   3094,   3103,   3112,   3122,   3131,   3140,   3149, 
+         3159,   3168,   3177,   3187,   3196,   3205,   3214,   3224, 
+         3233,   3242,   3251,   3260,   3270,   3279,   3288,   3297, 
+         3307,   3316,   3325,   3334,   3343,   3352,   3362,   3371, 
+         3380,   3389,   3398,   3407,   3416,   3426,   3435,   3444, 
+         3453,   3462,   3471,   3480,   3489,   3498,   3508,   3517, 
+         3526,   3535,   3544,   3553,   3562,   3571,   3580,   3589, 
+         3598,   3607,   3616,   3625,   3634,   3643,   3652,   3661, 
+         3670,   3679,   3688,   3697,   3706,   3715,   3724,   3733, 
+         3742,   3751,   3759,   3768,   3777,   3786,   3795,   3804, 
+         3813,   3822,   3831,   3839,   3848,   3857,   3866,   3875, 
+         3884,   3893,   3901,   3910,   3919,   3928,   3937,   3945, 
+         3954,   3963,   3972,   3981,   3989,   3998,   4007,   4016, 
+         4024,   4033,   4042,   4051,   4059,   4068,   4077,   4085, 
+         4094,   4103,   4112,   4120,   4129,   4138,   4146,   4155, 
+         4164,   4172,   4181,   4189,   4198,   4207,   4215,   4224, 
+         4233,   4241,   4250,   4258,   4267,   4275,   4284,   4293, 
+         4301,   4310,   4318,   4327,   4335,   4344,   4352,   4361, 
+         4369,   4378,   4386,   4395,   4403,   4412,   4420,   4429, 
+         4437,   4446,   4454,   4462,   4471,   4479,   4488,   4496, 
+         4505,   4513,   4521,   4530,   4538,   4546,   4555,   4563, 
+         4572,   4580,   4588,   4597,   4605,   4613,   4622,   4630, 
+         4638,   4646,   4655,   4663,   4671,   4680,   4688,   4696, 
+         4704,   4713,   4721,   4729,   4737,   4745,   4754,   4762, 
+         4770,   4778,   4787,   4795,   4803,   4811,   4819,   4827, 
+         4836,   4844,   4852,   4860,   4868,   4876,   4884,   4892, 
+         4901,   4909,   4917,   4925,   4933,   4941,   4949,   4957, 
+         4965,   4973,   4981,   4989,   4997,   5005,   5013,   5021, 
+         5029,   5037,   5045,   5053,   5061,   5069,   5077,   5085, 
+         5093,   5101,   5109,   5117,   5125,   5133,   5141,   5148, 
+         5156,   5164,   5172,   5180,   5188,   5196,   5204,   5211, 
+         5219,   5227,   5235,   5243,   5251,   5258,   5266,   5274, 
+         5282,   5290,   5297,   5305,   5313,   5321,   5328,   5336, 
+         5344,   5352,   5359,   5367,   5375,   5383,   5390,   5398, 
+         5406,   5413,   5421,   5429,   5436,   5444,   5452,   5459, 
+         5467,   5475,   5482,   5490,   5497,   5505,   5513,   5520, 
+         5528,   5535,   5543,   5550,   5558,   5566,   5573,   5581, 
+         5588,   5596,   5603,   5611,   5618,   5626,   5633,   5641, 
+         5648,   5656,   5663,   5671,   5678,   5686,   5693,   5700, 
+         5708,   5715,   5723,   5730,   5738,   5745,   5752,   5760, 
+         5767,   5774,   5782,   5789,   5797,   5804,   5811,   5819, 
+         5826,   5833,   5841,   5848,   5855,   5862,   5870,   5877, 
+         5884,   5892,   5899,   5906,   5913,   5921,   5928,   5935, 
+         5942,   5949,   5957,   5964,   5971,   5978,   5985,   5993, 
+         6000,   6007,   6014,   6021,   6028,   6036,   6043,   6050, 
+         6057,   6064,   6071,   6078,   6085,   6093,   6100,   6107, 
+         6114,   6121,   6128,   6135,   6142,   6149,   6156,   6163, 
+         6170,   6177,   6184,   6191,   6198,   6205,   6212,   6219, 
+         6226,   6233,   6240,   6247,   6254,   6261,   6268,   6275, 
+         6282,   6288,   6295,   6302,   6309,   6316,   6323,   6330, 
+         6337,   6344,   6350,   6357,   6364,   6371,   6378,   6385, 
+         6391,   6398,   6405,   6412,   6419,   6425,   6432,   6439, 
+         6446,   6453,   6459,   6466,   6473,   6480,   6486,   6493, 
+         6500,   6506,   6513,   6520,   6527,   6533,   6540,   6547, 
+         6553,   6560,   6567,   6573,   6580,   6586,   6593,   6600, 
+         6606,   6613,   6620,   6626,   6633,   6639,   6646,   6653, 
+         6659,   6666,   6672,   6679,   6685,   6692,   6698,   6705, 
+         6711,   6718,   6724,   6731,   6737,   6744,   6750,   6757, 
+         6763,   6770,   6776,   6783,   6789,   6796,   6802,   6809, 
+         6815,   6821,   6828,   6834,   6841,   6847,   6853,   6860, 
+         6866,   6873,   6879,   6885,   6892,   6898,   6904,   6911, 
+         6917,   6923,   6930,   6936,   6942,   6949,   6955,   6961, 
+         6967,   6974,   6980,   6986,   6992,   6999,   7005,   7011, 
+         7017,   7024,   7030,   7036,   7042,   7048,   7055,   7061, 
+         7067,   7073,   7079,   7086,   7092,   7098,   7104,   7110, 
+         7116,   7122,   7129,   7135,   7141,   7147,   7153,   7159, 
+         7165,   7171,   7177,   7183,   7190,   7196,   7202,   7208, 
+         7214,   7220,   7226,   7232,   7238,   7244,   7250,   7256, 
+         7262,   7268,   7274,   7280,   7286,   7292,   7298,   7304, 
+         7310,   7316,   7322,   7328,   7333,   7339,   7345,   7351, 
+         7357,   7363,   7369,   7375,   7381,   7387,   7392,   7398, 
+         7404,   7410,   7416,   7422,   7428,   7433,   7439,   7445, 
+         7451,   7457,   7462,   7468,   7474,   7480,   7486,   7491, 
+         7497,   7503,   7509,   7514,   7520,   7526,   7532,   7537, 
+         7543,   7549,   7555,   7560,   7566,   7572,   7577,   7583, 
+         7589,   7594,   7600,   7606,   7611,   7617,   7623,   7628, 
+         7634,   7640,   7645,   7651,   7657,   7662,   7668,   7673, 
+         7679,   7685,   7690,   7696,   7701,   7707,   7712,   7718, 
+         7724,   7729,   7735,   7740,   7746,   7751,   7757,   7762, 
+         7768,   7773,   7779,   7784,   7790,   7795,   7801,   7806, 
+         7812,   7817,   7823,   7828,   7833,   7839,   7844,   7850, 
+         7855,   7861,   7866,   7871,   7877,   7882,   7888,   7893, 
+         7898,   7904,   7909,   7914,   7920,   7925,   7931,   7936, 
+         7941,   7947,   7952,   7957,   7963,   7968,   7973,   7978, 
+         7984,   7989,   7994,   8000,   8005,   8010,   8015,   8021, 
+         8026,   8031,   8036,   8042,   8047,   8052,   8057,   8063, 
+         8068,   8073,   8078,   8083,   8089,   8094,   8099,   8104, 
+         8109,   8115,   8120,   8125,   8130,   8135,   8140,   8145, 
+         8151,   8156,   8161,   8166,   8171,   8176,   8181,   8186, 
+         8192,   8192
+};
+
index 6ce37b050f8c0bf8d48ae94c678c14764134ab8f..bb7c9142e343a87a7435376a567cff285757711e 100644 (file)
@@ -427,11 +427,8 @@ tmscsim.o : tmscsim.c
 g_NCR5380.o: g_NCR5380.c
        $(CC) $(CFLAGS) -DGENERIC_NCR5380_OVERRIDE="{{(NCR5380_map_type)0x350,5,0, BOARD_NCR53C400}};" -c g_NCR5380.c
 
-initio.o: ini9100u.c i91uscsi.c
-       $(CC) $(CFLAGS) -c ini9100u.c -o ini9100u.o
-       $(CC) $(CFLAGS) -c i91uscsi.c -o i91uscsi.o
+initio.o: ini9100u.o i91uscsi.o
        $(LD) -r -o initio.o ini9100u.o i91uscsi.o
-       rm -f ini9100u.o i91uscsi.o
 
 megaraid.o: megaraid.c
        $(CC) $(CFLAGS) -c megaraid.c
index d3c6d2a9096c99b27ad30ce33901de0b6e02b5e2..9aa9d6162bc8b3636c73da08af85b4b61df85ed8 100644 (file)
  *             - Remove cli() locking for kernels >= 2.1.95. This uses
  *               spinlocks to serialize access to the pSRB_head and
  *               pSRB_tail members of the HCS structure.
+ * 09/01/99 bv - v1.03d
+ *             - Fixed a deadlock problem in SMP.
+ * 21/01/99 bv - v1.03e
+ *             - Add support for the Domex 3192U PCI SCSI
+ *               This is a slightly modified patch by
+ *               Brian Macy <bmacy@sunshinecomputing.com>
  **************************************************************************/
 
 #define CVT_LINUX_VERSION(V,P,S)        (V * 65536 + P * 256 + S)
@@ -173,7 +179,7 @@ Scsi_Host_Template driver_template = INI9100U;
 char *i91uCopyright = "Copyright (C) 1996-98";
 char *i91uInitioName = "by Initio Corporation";
 char *i91uProductName = "INI-9X00U/UW";
-char *i91uVersion = "v1.03b";
+char *i91uVersion = "v1.03e";
 
 #if LINUX_VERSION_CODE >= CVT_LINUX_VERSION(1,3,0)
 struct proc_dir_entry proc_scsi_ini9100u =
@@ -245,6 +251,14 @@ extern int tul_device_reset(HCS * pCurHcb, ULONG pSrb, unsigned int target, unsi
                                /* ---- EXTERNAL VARIABLES ---- */
 extern HCS tul_hcs[];
 
+const PCI_ID i91u_pci_devices[] = {
+       { INI_VENDOR_ID, I950_DEVICE_ID },
+       { INI_VENDOR_ID, I940_DEVICE_ID },
+       { INI_VENDOR_ID, I935_DEVICE_ID },
+       { INI_VENDOR_ID, I920_DEVICE_ID },
+       { DMX_VENDOR_ID, I920_DEVICE_ID },
+};
+
 /*
  *  queue services:
  */
@@ -336,64 +350,26 @@ int tul_NewReturnNumberOfAdapters(void)
        int iAdapters = 0;
        long dRegValue;
        WORD wBIOS;
+       int i = 0;
 
        init_i91uAdapter_table();
 
-       while ((pDev = pci_find_device(INI_VENDOR_ID, I950_DEVICE_ID, pDev)) != NULL) {
-               pci_read_config_dword(pDev, 0x44, (u32 *) & dRegValue);
-               wBIOS = (UWORD) (dRegValue & 0xFF);
-               if (((dRegValue & 0xFF00) >> 8) == 0xFF)
-                       dRegValue = 0;
-               wBIOS = (wBIOS << 8) + ((UWORD) ((dRegValue & 0xFF00) >> 8));
-               if (Addi91u_into_Adapter_table(wBIOS,
-                                       (pDev->base_address[0] & 0xFFFE),
-                                              pDev->irq,
-                                              pDev->bus->number,
-                                              (pDev->devfn >> 3)
-                   ) == 0)
-                       iAdapters++;
-       }
-       while ((pDev = pci_find_device(INI_VENDOR_ID, I940_DEVICE_ID, pDev)) != NULL) {
-               pci_read_config_dword(pDev, 0x44, (u32 *) & dRegValue);
-               wBIOS = (UWORD) (dRegValue & 0xFF);
-               if (((dRegValue & 0xFF00) >> 8) == 0xFF)
-                       dRegValue = 0;
-               wBIOS = (wBIOS << 8) + ((UWORD) ((dRegValue & 0xFF00) >> 8));
-               if (Addi91u_into_Adapter_table(wBIOS,
-                                       (pDev->base_address[0] & 0xFFFE),
-                                              pDev->irq,
-                                              pDev->bus->number,
-                                              (pDev->devfn >> 3)
-                   ) == 0)
-                       iAdapters++;
-       }
-       while ((pDev = pci_find_device(INI_VENDOR_ID, I935_DEVICE_ID, pDev)) != NULL) {
-               pci_read_config_dword(pDev, 0x44, (u32 *) & dRegValue);
-               wBIOS = (UWORD) (dRegValue & 0xFF);
-               if (((dRegValue & 0xFF00) >> 8) == 0xFF)
-                       dRegValue = 0;
-               wBIOS = (wBIOS << 8) + ((UWORD) ((dRegValue & 0xFF00) >> 8));
-               if (Addi91u_into_Adapter_table(wBIOS,
-                                       (pDev->base_address[0] & 0xFFFE),
-                                              pDev->irq,
-                                              pDev->bus->number,
-                                              (pDev->devfn >> 3)
-                   ) == 0)
-                       iAdapters++;
-       }
-       while ((pDev = pci_find_device(INI_VENDOR_ID, 0x0002, pDev)) != NULL) {
-               pci_read_config_dword(pDev, 0x44, (u32 *) & dRegValue);
-               wBIOS = (UWORD) (dRegValue & 0xFF);
-               if (((dRegValue & 0xFF00) >> 8) == 0xFF)
-                       dRegValue = 0;
-               wBIOS = (wBIOS << 8) + ((UWORD) ((dRegValue & 0xFF00) >> 8));
-               if (Addi91u_into_Adapter_table(wBIOS,
-                                       (pDev->base_address[0] & 0xFFFE),
-                                              pDev->irq,
-                                              pDev->bus->number,
-                                              (pDev->devfn >> 3)
-                   ) == 0)
-                       iAdapters++;
+       for (i = 0; i < TULSZ(i91u_pci_devices); i++)
+       {
+               while ((pDev = pci_find_device(i91u_pci_devices[i].vendor_id, i91u_pci_devices[i].device_id, pDev)) != NULL) {
+                       pci_read_config_dword(pDev, 0x44, (u32 *) & dRegValue);
+                       wBIOS = (UWORD) (dRegValue & 0xFF);
+                       if (((dRegValue & 0xFF00) >> 8) == 0xFF)
+                               dRegValue = 0;
+                       wBIOS = (wBIOS << 8) + ((UWORD) ((dRegValue & 0xFF00) >> 8));
+                       if (Addi91u_into_Adapter_table(wBIOS,
+                                                       (pDev->base_address[0] & 0xFFFE),
+                                                       pDev->irq,
+                                                       pDev->bus->number,
+                                                       (pDev->devfn >> 3)
+                               ) == 0)
+                               iAdapters++;
+               }
        }
 
        return (iAdapters);
@@ -416,17 +392,6 @@ int tul_ReturnNumberOfAdapters(void)
        unsigned short command;
        WORD wBIOS, wBASE;
        BYTE bPCIBusNum, bInterrupt, bPCIDeviceNum;
-       struct {
-               unsigned short vendor_id;
-               unsigned short device_id;
-       } const i91u_pci_devices[] =
-       {
-               {INI_VENDOR_ID, I935_DEVICE_ID},
-               {INI_VENDOR_ID, I940_DEVICE_ID},
-               {INI_VENDOR_ID, I950_DEVICE_ID},
-               {INI_VENDOR_ID, I920_DEVICE_ID}
-       };
-
 
        iAdapters = 0;
        /*
index d80cebbe652203fd96ba908b79e0eb868641f839..c490792e138c967270bc0b48504a1192312a9c31 100644 (file)
@@ -63,7 +63,9 @@
  *             - Removed unused code
  * 12/13/98 bv - v1.03b
  *             - Add spinlocks to HCS structure.
-*******************************************************************************/
+ * 21/01/99 bv - v1.03e
+ *             - Added PCI_ID structure
+ **************************************************************************/
 
 #ifndef        CVT_LINUX_VERSION
 #define        CVT_LINUX_VERSION(V,P,S)        (((V) * 65536) + ((P) * 256) + (S))
@@ -88,7 +90,7 @@ extern struct proc_dir_entry proc_scsi_ini9100u;
 extern int i91u_biosparam(Disk *, int, int *); /*for linux v1.13 */
 #endif
 
-#define i91u_REVID "Initio INI-9X00U/UW SCSI device driver; Revision: 1.03b"
+#define i91u_REVID "Initio INI-9X00U/UW SCSI device driver; Revision: 1.03e"
 
 #if LINUX_VERSION_CODE < CVT_LINUX_VERSION(1, 3, 0)
 #define INI9100U       { \
@@ -207,11 +209,20 @@ extern int i91u_biosparam(Disk *, int, int *);    /*for linux v1.13 */
 #define SENSE_SIZE             14
 
 #define INI_VENDOR_ID   0x1101 /* Initio's PCI vendor ID       */
+#define DMX_VENDOR_ID  0x134a  /* Domex's PCI vendor ID        */
 #define I950_DEVICE_ID 0x9500  /* Initio's inic-950 product ID   */
 #define I940_DEVICE_ID 0x9400  /* Initio's inic-940 product ID   */
 #define I935_DEVICE_ID 0x9401  /* Initio's inic-935 product ID   */
 #define I920_DEVICE_ID 0x0002  /* Initio's other product ID      */
 
+/************************************************************************/
+/*              Vendor ID/Device ID Pair Structure                     */
+/************************************************************************/
+typedef struct PCI_ID_Struc {
+       unsigned short vendor_id;
+       unsigned short device_id;
+} PCI_ID;
+
 /************************************************************************/
 /*              Scatter-Gather Element Structure                        */
 /************************************************************************/
index 7273edf812384dc84d545d783917742a6d284601..19fa2ef9188b96066ec6847867821980cfe2a7c4 100644 (file)
@@ -68,6 +68,9 @@ if [ "$CONFIG_INET" = "y" ]; then
 fi
 if [ "$CONFIG_IPX" != "n" ]; then
   tristate 'NCP filesystem support (to mount NetWare volumes)' CONFIG_NCP_FS
+  if [ "$CONFIG_NCP_FS" != "n" ]; then
+    source fs/ncpfs/Config.in
+  fi
 fi
 tristate 'OS/2 HPFS filesystem support (read only)' CONFIG_HPFS_FS
 tristate 'System V and Coherent filesystem support' CONFIG_SYSV_FS
diff --git a/fs/ncpfs/Config.in b/fs/ncpfs/Config.in
new file mode 100644 (file)
index 0000000..6b21d39
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# NCP Filesystem configuration
+#
+bool     '   Packet singatures' CONFIG_NCPFS_PACKET_SIGNING
+bool     '   Proprietary file locking' CONFIG_NCPFS_IOCTL_LOCKING
+bool     '   Clear remove/delete inhibit when needed' CONFIG_NCPFS_STRONG
+bool     '   Use NFS namespace if available' CONFIG_NCPFS_NFS_NS
+bool     '   Use LONG (OS/2) namespace if available' CONFIG_NCPFS_OS2_NS
+bool     '   Allow mounting of volume subdirectories' CONFIG_NCPFS_MOUNT_SUBDIR
index be43c491b1804dc6f0813c3c34c9312539c2789f..f009ad53b137b7e116c43b3f78f5cd4ca86226e9 100644 (file)
@@ -8,7 +8,8 @@
 # Note 2! The CFLAGS definitions are now in the main makefile...
 
 O_TARGET := ncpfs.o
-O_OBJS   := dir.o file.o inode.o ioctl.o mmap.o ncplib_kernel.o sock.o
+O_OBJS   := dir.o file.o inode.o ioctl.o mmap.o ncplib_kernel.o sock.o \
+               ncpsign_kernel.o
 M_OBJS   := $(O_TARGET)
 
 # If you want debugging output, please uncomment the following line
index 9d9c7d58c70ced702c8f6b5d693f4d09f031ecca..4496bdc6fc4fe10b87daad799fd95696e9c1cbbd 100644 (file)
@@ -5,6 +5,8 @@
  *
  */
 
+#include <linux/config.h>
+
 #include <linux/sched.h>
 #include <linux/errno.h>
 #include <linux/stat.h>
@@ -103,7 +105,14 @@ ncp_namespace(struct inode *i)
 static inline int
 ncp_preserve_case(struct inode *i)
 {
-       return (ncp_namespace(i) == NW_NS_OS2);
+       return
+#ifdef CONFIG_NCPFS_OS2_NS
+       (ncp_namespace(i) == NW_NS_OS2) || 
+#endif /* CONFIG_NCPFS_OS2_NS */
+#ifdef CONFIG_NCPFS_NFS_NS
+       (ncp_namespace(i) == NW_NS_NFS) ||
+#endif /* CONFIG_NCPFS_NFS_NS */
+       0;
 }
 
 static struct file_operations ncp_dir_operations = {
@@ -157,7 +166,7 @@ inline ino_t
 ncp_info_ino(struct ncp_server *server, struct ncp_inode_info *info)
 {
        return ncp_single_volume(server)
-               ? info->finfo.i.dirEntNum : (ino_t)info;
+               ? (info->finfo.i.dirEntNum == server->root.finfo.i.dirEntNum)?0:info->finfo.i.dirEntNum: (ino_t)info;
 }
 
 static inline int
@@ -937,6 +946,7 @@ ncp_create(struct inode *dir, const char *name, int len, int mode,
 {
        struct nw_file_info finfo;
        __u8 _name[len+1];
+       int error;
 
        *result = NULL;
 
@@ -961,15 +971,18 @@ ncp_create(struct inode *dir, const char *name, int len, int mode,
        }
 
        lock_super(dir->i_sb);
-       if (ncp_open_create_file_or_subdir(NCP_SERVER(dir),
+       if ((error = ncp_open_create_file_or_subdir(NCP_SERVER(dir),
                                           NCP_ISTRUCT(dir), _name,
                                           OC_MODE_CREATE|OC_MODE_OPEN|
                                           OC_MODE_REPLACE,
                                           0, AR_READ|AR_WRITE,
-                                          &finfo) != 0)
+                                          &finfo)) != 0)
        {
                unlock_super(dir->i_sb);
                iput(dir);
+               if (error == 0x87) {
+                       return -ENAMETOOLONG;
+               } 
                return -EACCES;
        }
 
@@ -1095,6 +1108,65 @@ ncp_rmdir(struct inode *dir, const char *name, int len)
        return error;
 }
 
+
+#ifdef CONFIG_NCPFS_STRONG
+/* try to delete a readonly file (NW R bit set) */
+
+static int
+ncp_force_unlink(struct inode *dir,char *name,int len)
+{
+        int res=0x9c,res2;
+        struct inode *_inode;
+        struct iattr ia;
+
+        /* remove the Read-Only flag on the NW server */
+
+        dir->i_count++;
+        res2=ncp_lookup(dir,name,len,&_inode);
+        if (res2)
+        {
+                goto leave_me; /* abort operation */
+        }
+        memset(&ia,0,sizeof(struct iattr));
+        ia.ia_mode = _inode->i_mode;
+        ia.ia_mode |= NCP_SERVER(dir)->m.file_mode & 0222;  /* set write bits */
+        ia.ia_valid = ATTR_MODE;
+
+        res2=ncp_notify_change(_inode,&ia);
+        if (res2)
+        {
+                iput(_inode);
+                goto leave_me;
+        }
+
+        /* now try again the delete operation */
+
+        res2 = ncp_del_file_or_subdir(NCP_SERVER(dir),NCP_ISTRUCT(dir),name);
+
+        res=res2; /* save status to use as return value */
+
+        res=res2;
+        if (res2)  /* delete failed, set R bit again */
+        {
+                memset(&ia,0,sizeof(struct iattr));
+                ia.ia_mode = _inode->i_mode;
+                ia.ia_mode &= ~(NCP_SERVER(dir)->m.file_mode & 0222);  /* clear write bits */
+                ia.ia_valid = ATTR_MODE;
+
+                res2=ncp_notify_change(_inode,&ia);
+                if (res2)
+                {
+                        iput(_inode);
+                        goto leave_me;
+                }
+        }
+        iput(_inode);
+
+ leave_me:
+        return(res);
+}
+#endif /* CONFIG_NCPFS_STRONG */
+
 static int
 ncp_unlink(struct inode *dir, const char *name, int len)
 {
@@ -1126,14 +1198,21 @@ ncp_unlink(struct inode *dir, const char *name, int len)
                        str_upper(_name);
                }
 
-                if ((error = ncp_del_file_or_subdir(NCP_SERVER(dir),
-                                                   NCP_ISTRUCT(dir),
-                                                   _name)) == 0)
+                error = ncp_del_file_or_subdir(NCP_SERVER(dir),
+                                               NCP_ISTRUCT(dir),
+                                               _name);
+#ifdef CONFIG_NCPFS_STRONG
+               if (error == 0x9c && NCP_SERVER(dir)->m.flags & NCP_MOUNT_STRONG)  /* readonly */
                {
-                        ncp_invalid_dir_cache(dir);
+                       error = ncp_force_unlink(dir,_name,len); /* special treatment */
                }
-               else
-               {
+#endif /* CONFIG_NCPFS_STRONG */
+
+               if (error == 0) {
+                       ncp_invalid_dir_cache(dir);
+               } else if (error == 0xFF) {
+                       error = -ENOENT;
+               } else {
                        error = -EACCES;
                }
         }
@@ -1141,6 +1220,83 @@ ncp_unlink(struct inode *dir, const char *name, int len)
        return error;
 }
 
+#ifdef CONFIG_NCPFS_STRONG
+static int
+ncp_force_rename(struct inode *old_dir, const char *old_name, char *_old_name, int old_len,
+                 struct inode *new_dir, const char *new_name, char *_new_name, int new_len)
+{
+        int res=0x90,res2;
+        char _rename_old[old_len+1];
+        char _rename_new[new_len+1];
+        struct inode *_inode,*x_dir;
+        struct iattr ia;
+
+        strncpy(_rename_old,old_name,old_len);
+        _rename_old[old_len] = 0;
+        strncpy(_rename_new,new_name,new_len);
+        _rename_new[new_len] = 0;
+
+        /* remove the Read-Only flag on the NW server */
+
+        old_dir->i_count++;
+        res2=ncp_lookup(old_dir,_rename_old,old_len,&_inode);
+        if (res2)
+        {
+                goto leave_me;
+        }
+        memset(&ia,0,sizeof(struct iattr));
+        ia.ia_mode = _inode->i_mode;
+        ia.ia_mode |= NCP_SERVER(old_dir)->m.file_mode & 0222;  /* set write bits */
+        ia.ia_valid = ATTR_MODE;
+
+        res2=ncp_notify_change(_inode,&ia);
+        if (res2)
+        {
+                iput(_inode);
+                goto leave_me;
+        }
+
+        /* now try again the rename operation */
+        res2 = ncp_ren_or_mov_file_or_subdir(NCP_SERVER(old_dir),
+                                             NCP_ISTRUCT(old_dir), _old_name,
+                                             NCP_ISTRUCT(new_dir), _new_name);
+
+        res=res2;
+        if (!res2)  /* rename succeeded, get a new inode for the new file */
+        {
+                x_dir=new_dir;
+                new_dir->i_count++;
+                iput(_inode);
+                res2=ncp_lookup(new_dir,_rename_new,new_len,&_inode);
+                if (res2)
+                {
+                        goto leave_me;
+                }
+        }
+        else
+        {
+                x_dir=old_dir;
+        }
+
+        memset(&ia,0,sizeof(struct iattr));
+        ia.ia_mode = _inode->i_mode;
+        ia.ia_mode &= ~(NCP_SERVER(x_dir)->m.file_mode & 0222);  /* clear write bits */
+        ia.ia_valid = ATTR_MODE;
+
+        res2=ncp_notify_change(_inode,&ia);
+        iput(_inode);
+        if (res2)
+        {
+                printk(KERN_INFO "ncpfs: ncp_notify_change (2) failed: %08x\n",res2);
+                goto leave_me;
+        }
+
+ leave_me:
+        return(res);
+}
+#endif /* CONFIG_NCPFS_STRONG */
+
+
 static int
 ncp_rename(struct inode *old_dir, const char *old_name, int old_len,
            struct inode *new_dir, const char *new_name, int new_len,
@@ -1197,14 +1353,26 @@ ncp_rename(struct inode *old_dir, const char *old_name, int old_len,
                                            NCP_ISTRUCT(old_dir), _old_name,
                                            NCP_ISTRUCT(new_dir), _new_name);
 
-        if (res == 0)
+#ifdef CONFIG_NCPFS_STRONG
+       if (res == 0x90 && NCP_SERVER(old_dir)->m.flags & NCP_MOUNT_STRONG) /* file is readonly */
        {
-                ncp_invalid_dir_cache(old_dir);
-                ncp_invalid_dir_cache(new_dir);
-        }
+               res=ncp_force_rename(old_dir,old_name,_old_name,old_len,new_dir,new_name,_new_name,new_len);
+       }
+#endif /* CONFIG_NCPFS_STRONG */
+
+       if (res == 0)
+       {
+               ncp_invalid_dir_cache(old_dir);
+               ncp_invalid_dir_cache(new_dir);
+       }
        else
        {
-               res = -EACCES;
+               if (res == 0x9E)
+                       res = -ENAMETOOLONG;
+               else if (res == 0xFF)
+                       res = -ENOENT;
+               else
+                       res = -EACCES;
        }
        
  finished:
index 72ec823a531781d2a08ba361543ba7f42358515a..d96a00f273ebdf6a222c9af973128a10f0886297 100644 (file)
@@ -32,7 +32,6 @@ static void ncp_put_inode(struct inode *);
 static void ncp_read_inode(struct inode *);
 static void ncp_put_super(struct super_block *);
 static void ncp_statfs(struct super_block *sb, struct statfs *buf, int bufsiz);
-static int ncp_notify_change(struct inode *inode, struct iattr *attr);
 
 static struct super_operations ncp_sops = {
        ncp_read_inode,         /* read inode */
@@ -83,6 +82,9 @@ ncp_read_inode(struct inode *inode)
        else
        {
                 inode->i_mode = NCP_SERVER(inode)->m.file_mode;
+#if 1
+                if (NCP_ISTRUCT(inode)->attributes & /* 0x60001 incl. DiRi */ 1) inode->i_mode &= ~0222;
+#endif
                inode->i_size = NCP_ISTRUCT(inode)->dataStreamSize;
        }
 
@@ -144,10 +146,11 @@ ncp_put_inode(struct inode *inode)
         */
        lock_super(sb);
 
-       if (inode->i_count > 1) {
-printk("ncp_put_inode: inode in use device %s, inode %ld, count=%ld\n", 
-kdevname(inode->i_dev), inode->i_ino, inode->i_count);
-               goto unlock;
+       if (inode->i_count > 1)
+        {
+                printk("ncp_put_inode: inode in use device %s, inode %ld, count=%ld\n", 
+                       kdevname(inode->i_dev), inode->i_ino, inode->i_count);
+                goto unlock;
        }
        
        DDPRINTK("ncp_put_inode: put %s\n",
@@ -198,6 +201,9 @@ ncp_read_super(struct super_block *sb, void *raw_data, int silent)
        struct file *msg_filp;
        kdev_t dev = sb->s_dev;
        int error;
+#ifdef CONFIG_NCPFS_PACKET_SIGNING
+       int options;
+#endif
 
        if (data == NULL)
        {
@@ -274,7 +280,10 @@ ncp_read_super(struct super_block *sb, void *raw_data, int silent)
         server->packet      = NULL;
        server->buffer_size = 0;
        server->conn_status = 0;
-
+#ifdef CONFIG_NCPFS_PACKET_SIGNING
+       server->sign_wanted = 0;
+       server->sign_active = 0;
+#endif
         server->m = *data;
        server->m.file_mode = (server->m.file_mode &
                               (S_IRWXU|S_IRWXG|S_IRWXO)) | S_IFREG;
@@ -342,6 +351,29 @@ ncp_read_super(struct super_block *sb, void *raw_data, int silent)
                 goto disconnect;
        }
 
+#ifdef CONFIG_NCPFS_PACKET_SIGNING
+       if (ncp_negotiate_size_and_options(server, NCP_DEFAULT_BUFSIZE,
+               NCP_DEFAULT_OPTIONS, &(server->buffer_size), &options) == 0)
+       {
+               if (options != NCP_DEFAULT_OPTIONS)
+               {
+                       if (ncp_negotiate_size_and_options(server, 
+                               NCP_DEFAULT_BUFSIZE,
+                               options & 2, 
+                               &(server->buffer_size), &options) != 0)
+                               
+                       {
+                               sb->s_dev = 0;
+                               printk("ncp_read_super: "
+                                       "could not set options\n");
+                               goto disconnect;
+                       }
+               }
+               if (options & 2)
+                       server->sign_wanted = 1;
+       }
+       else 
+#endif /* CONFIG_NCPFS_PACKET_SIGNING */
        if (ncp_negotiate_buffersize(server, NCP_DEFAULT_BUFSIZE,
                                     &(server->buffer_size)) != 0)
        {
@@ -449,7 +481,7 @@ ncp_statfs(struct super_block *sb, struct statfs *buf, int bufsiz)
        memcpy_tofs(buf, &tmp, bufsiz);
 }
 
-static int
+int
 ncp_notify_change(struct inode *inode, struct iattr *attr)
 {
        int result = 0;
@@ -480,6 +512,33 @@ ncp_notify_change(struct inode *inode, struct iattr *attr)
        info_mask = 0;
        memset(&info, 0, sizeof(info));
 
+#if 1 
+        if ((attr->ia_valid & ATTR_MODE) != 0)
+        {
+                if (NCP_ISTRUCT(inode)->attributes & aDIR)
+                {
+                        return -EPERM;
+                }
+                else
+                {
+                       umode_t newmode;
+
+                        info_mask |= DM_ATTRIBUTES;
+                        newmode=attr->ia_mode;
+                        newmode &= NCP_SERVER(inode)->m.file_mode;
+
+                        if (newmode & 0222) /* any write bit set */
+                        {
+                                info.attributes &= ~0x60001;
+                        }
+                        else
+                        {
+                                info.attributes |= 0x60001;
+                        }
+                }
+        }
+#endif
+
        if ((attr->ia_valid & ATTR_CTIME) != 0)
        {
                info_mask |= (DM_CREATE_TIME|DM_CREATE_DATE);
index 4350fdd6561add8b5c838cbcfa0527f55d353b10..d8dac13fecd4488221b767d2a8f1f6a318efbf45 100644 (file)
@@ -5,6 +5,8 @@
  *
  */
 
+#include <linux/config.h>
+
 #include <asm/segment.h>
 #include <linux/errno.h>
 #include <linux/fs.h>
@@ -13,6 +15,7 @@
 #include <linux/sched.h>
 #include <linux/mm.h>
 #include <linux/ncp.h>
+#include "ncplib_kernel.h"
 
 int
 ncp_ioctl (struct inode * inode, struct file * filp,
@@ -152,6 +155,242 @@ ncp_ioctl (struct inode * inode, struct file * filp,
                 put_fs_word(server->m.mounted_uid, (uid_t*) arg);
                 return 0;
 
+#if 0
+       case NCP_IOC_GETMOUNTUID_INT:
+               if (   (permission(inode, MAY_READ) != 0)
+                   && (current->uid != server->m.mounted_uid))
+               {
+                       return -EACCES;
+               }
+
+               if ((result = verify_area(VERIFY_WRITE, (unsigned int*)arg,
+                                       sizeof(unsigned int))) != 0)
+               {
+                       return result;
+               }
+               {
+                       unsigned int tmp=server->m.mounted_uid;
+                       put_fs_long(tmp, (unsigned int*) arg);
+               }
+               return 0;
+#endif
+
+#ifdef CONFIG_NCPFS_MOUNT_SUBDIR
+       case NCP_IOC_GETROOT:
+               {
+                       struct ncp_setroot_ioctl sr;
+
+                       if (   (permission(inode, MAY_READ) != 0)
+                           && (current->uid != server->m.mounted_uid))
+                       {
+                               return -EACCES;
+                       }
+                       if (server->m.mounted_vol[0]) {
+                               sr.volNumber = server->root.finfo.i.volNumber;
+                               sr.dirEntNum = server->root.finfo.i.dirEntNum;
+                               sr.namespace = server->name_space[sr.volNumber];
+                       } else {
+                               sr.volNumber = -1;
+                               sr.namespace = 0;
+                               sr.dirEntNum = 0;
+                       }
+                       if ((result = verify_area(VERIFY_WRITE, 
+                                                 (struct ncp_setroot_ioctl*)arg,
+                                                 sizeof(sr))) != 0)
+                       {
+                               return result;
+                       }
+                       memcpy_tofs((struct ncp_setroot_ioctl*)arg, 
+                                   &sr, sizeof(sr));
+                       return 0;
+               }
+       case NCP_IOC_SETROOT:
+               {
+                       struct ncp_setroot_ioctl sr;
+
+                       if (   (permission(inode, MAY_WRITE) != 0)
+                           && (current->uid != server->m.mounted_uid))
+                       {
+                               return -EACCES;
+                       }
+                       if ((result = verify_area(VERIFY_READ, 
+                                                 (struct ncp_setroot_ioctl*)arg,
+                                                 sizeof(sr))) != 0)
+                       {
+                               return result;
+                       }
+                       memcpy_fromfs(&sr, (struct ncp_setroot_ioctl*)arg, sizeof(sr));
+                       if (sr.volNumber < 0) {
+                               server->m.mounted_vol[0] = 0;
+                               server->root.finfo.i.volNumber = 0;
+                               server->root.finfo.i.dirEntNum = 0;
+                       } else if (sr.volNumber >= NCP_NUMBER_OF_VOLUMES) {
+                               return -EINVAL;
+                       } else {
+                               if (ncp_mount_subdir(server, sr.volNumber, sr.namespace, sr.dirEntNum)) {
+                                       return -ENOENT;
+                               }
+                       }
+                       return 0;
+               }
+#endif /* CONFIG_NCPFS_MOUNT_SUBDIR */
+
+#ifdef CONFIG_NCPFS_PACKET_SIGNING     
+       case NCP_IOC_SIGN_INIT:
+               if ((permission(inode, MAY_WRITE) != 0)
+                   && (current->uid != server->m.mounted_uid))
+               {
+                       return -EACCES;
+               }
+               if ((result = verify_area(VERIFY_READ, (struct ncp_sign_init*)arg, 
+                                         sizeof(struct ncp_sign_init))) != 0)
+               {
+                       return result;
+               }
+               if (server->sign_active)
+               {
+                       return -EINVAL;
+               }
+               if (server->sign_wanted)
+               {
+                       struct ncp_sign_init sign;
+
+                       memcpy_fromfs(&sign, (struct ncp_sign_init *) arg,
+                             sizeof(sign));
+                       memcpy(server->sign_root,sign.sign_root,8);
+                       memcpy(server->sign_last,sign.sign_last,16);
+                       server->sign_active = 1;
+               }
+               /* ignore when signatures not wanted */
+               return 0;               
+       
+        case NCP_IOC_SIGN_WANTED:
+               if (   (permission(inode, MAY_READ) != 0)
+                   && (current->uid != server->m.mounted_uid))
+               {
+                       return -EACCES;
+               }
+                if ((result = verify_area(VERIFY_WRITE, (int*) arg,
+                                          sizeof(int))) != 0)
+               {
+                        return result;
+               }
+               /* Should not it be put_fs_long? Vandrove@vc.cvut.cz */
+                       put_fs_word(server->sign_wanted, (int*) arg);
+                       return 0;
+
+       case NCP_IOC_SET_SIGN_WANTED:
+               {
+                       int newstate;
+
+                       if (   (permission(inode, MAY_WRITE) != 0)
+                           && (current->uid != server->m.mounted_uid))
+                       {
+                               return -EACCES;
+                       }
+                       if ((result = verify_area(VERIFY_READ, (int*) arg,
+                                                 sizeof(int))) != 0)
+                       {
+                               return result;
+                       }
+                       /* get only low 8 bits... */
+                       newstate = get_fs_byte((unsigned char*)arg);
+                       if (server->sign_active) {
+                               /* cannot turn signatures OFF when active */
+                               if (!newstate) return -EINVAL;
+                       } else {
+                               server->sign_wanted = newstate != 0;
+                       }
+                       return 0;
+               }
+
+#endif /* CONFIG_NCPFS_PACKET_SIGNING */
+
+#ifdef CONFIG_NCPFS_IOCTL_LOCKING
+       case NCP_IOC_LOCKUNLOCK:
+               if (   (permission(inode, MAY_WRITE) != 0)
+                   && (current->uid != server->m.mounted_uid))
+               {
+                       return -EACCES;
+               }
+               {
+                       struct ncp_lock_ioctl    rqdata;
+                       struct nw_file_info     *finfo;
+                       int result;
+
+                       if ((result = verify_area(VERIFY_READ, 
+                                       (struct ncp_lock_ioctl*)arg, 
+                                       sizeof(rqdata))) != 0)
+                       {
+                               return result;
+                       }
+                       memcpy_fromfs(&rqdata, (struct ncp_lock_ioctl*)arg,
+                               sizeof(rqdata));
+                       if (rqdata.origin != 0)
+                               return -EINVAL;
+                       /* check for cmd */
+                       switch (rqdata.cmd) {
+                               case NCP_LOCK_EX:
+                               case NCP_LOCK_SH:
+                                               if (rqdata.timeout == 0)
+                                                       rqdata.timeout = NCP_LOCK_DEFAULT_TIMEOUT;
+                                               else if (rqdata.timeout > NCP_LOCK_MAX_TIMEOUT)
+                                                       rqdata.timeout = NCP_LOCK_MAX_TIMEOUT;
+                                               break;
+                               case NCP_LOCK_LOG:
+                                               rqdata.timeout = NCP_LOCK_DEFAULT_TIMEOUT;      /* has no effect */
+                               case NCP_LOCK_CLEAR:
+                                               break;
+                               default:
+                                               return -EINVAL;
+                       }
+                       if ((result = ncp_make_open(inode, O_RDWR)) != 0)
+                       {
+                               return result;
+                       }
+                       if (!ncp_conn_valid(server))
+                       {
+                               return -EIO;
+                       }
+                       if (!S_ISREG(inode->i_mode))
+                       {
+                               return -EISDIR;
+                       }
+                       finfo=NCP_FINFO(inode);
+                       if (!finfo->opened)
+                       {
+                               return -EBADFD;
+                       }
+                       if (rqdata.cmd == NCP_LOCK_CLEAR)
+                       {
+                               result = ncp_ClearPhysicalRecord(NCP_SERVER(inode),
+                                                       finfo->file_handle, 
+                                                       rqdata.offset,
+                                                       rqdata.length);
+                               if (result > 0) result = 0;     /* no such lock */
+                       }
+                       else
+                       {
+                               int lockcmd;
+
+                               switch (rqdata.cmd)
+                               {
+                                       case NCP_LOCK_EX:  lockcmd=1; break;
+                                       case NCP_LOCK_SH:  lockcmd=3; break;
+                                       default:           lockcmd=0; break;
+                               }
+                               result = ncp_LogPhysicalRecord(NCP_SERVER(inode),
+                                                       finfo->file_handle,
+                                                       lockcmd,
+                                                       rqdata.offset,
+                                                       rqdata.length,
+                                                       rqdata.timeout);
+                               if (result > 0) result = -EAGAIN;
+                       }
+                       return result;
+               }
+#endif /* CONFIG_NCPFS_IOCTL_LOCKING */
+
        default:
                return -EINVAL;
        }
index 625193f14ae97399340f10d421953ad046f426ef..134aa2981f7b967d98a5e1b349e70e5f79e2f2f4 100644 (file)
@@ -5,6 +5,8 @@
  *
  */
 
+#include <linux/config.h>
+
 #include "ncplib_kernel.h"
 
 typedef __u8  byte;
@@ -129,6 +131,33 @@ ncp_reply_dword(struct ncp_server *server, int offset)
        return *(dword *)(ncp_reply_data(server, offset));
 }
 
+
+/* options: 
+ *     bit 0   ipx checksum
+ *     bit 1   packet signing
+ */
+int
+ncp_negotiate_size_and_options(struct ncp_server *server, 
+       int size, int options, int *ret_size, int *ret_options) {
+       int result;
+
+       ncp_init_request(server);
+       ncp_add_word(server, htons(size));
+       ncp_add_byte(server, options);
+       
+       if ((result = ncp_request(server, 0x61)) != 0)
+       {
+               ncp_unlock_server(server);
+               return result;
+       }
+
+       *ret_size = min(ntohs(ncp_reply_word(server, 0)), size);
+       *ret_options = ncp_reply_byte(server, 4);
+
+       ncp_unlock_server(server);
+       return 0;
+}
+
 int
 ncp_negotiate_buffersize(struct ncp_server *server,
                         int size, int *target)
@@ -261,7 +290,7 @@ ncp_obtain_info(struct ncp_server *server,
        ncp_add_byte(server, 6); /* subfunction */
        ncp_add_byte(server, server->name_space[vol_num]);
        ncp_add_byte(server, server->name_space[vol_num]);
-       ncp_add_word(server, 0xff); /* get all */
+       ncp_add_word(server, 0x8006); /* get all */
        ncp_add_dword(server, RIM_ALL);
        ncp_add_handle_path(server, vol_num, dir_base, 1, path);
 
@@ -277,8 +306,9 @@ ncp_obtain_info(struct ncp_server *server,
 }
 
 static inline int
-ncp_has_os2_namespace(struct ncp_server *server, __u8 volume)
+ncp_get_known_namespace(struct ncp_server *server, __u8 volume)
 {
+#if defined(CONFIG_NCPFS_OS2_NS) || defined(CONFIG_NCPFS_NFS_NS)
        int result;
        __u8 *namespace;
        __u16 no_namespaces;
@@ -291,9 +321,10 @@ ncp_has_os2_namespace(struct ncp_server *server, __u8 volume)
        if ((result = ncp_request(server, 87)) != 0)
        {
                ncp_unlock_server(server);
-               return 0;
+               return NW_NS_DOS;
        }
 
+       result=NW_NS_DOS;
        no_namespaces = ncp_reply_word(server, 0);
        namespace = ncp_reply_data(server, 2);
 
@@ -301,16 +332,104 @@ ncp_has_os2_namespace(struct ncp_server *server, __u8 volume)
        {
                DPRINTK("get_namespaces: found %d on %d\n", *namespace,volume);
 
-               if (*namespace == 4)
+#ifdef CONFIG_NCPFS_NFS_NS
+               if ((*namespace == NW_NS_NFS) && !(server->m.flags&NCP_MOUNT_NO_NFS))
+               {
+                       result = NW_NS_NFS;
+                       break;
+               }
+#endif /* CONFIG_NCPFS_NFS_NS */
+#ifdef CONFIG_NCPFS_OS2_NS
+               if ((*namespace == NW_NS_OS2) && !(server->m.flags&NCP_MOUNT_NO_OS2))
                {
-                       DPRINTK("get_namespaces: found OS2\n");
-                       ncp_unlock_server(server);
-                       return 1;
+                       result = NW_NS_OS2;
                }
+#endif /* CONFIG_NCPFS_OS2_NS */
                namespace += 1;
                no_namespaces -= 1;
        }
        ncp_unlock_server(server);
+       return result;
+#else  /* neither OS2 nor NFS - only DOS */
+       return NW_NS_DOS;
+#endif /* defined(CONFIG_NCPFS_OS2_NS) || defined(CONFIG_NCPFS_NFS_NS) */
+}
+
+static int
+ncp_ObtainSpecificDirBase(struct ncp_server *server,
+               __u8 nsSrc, __u8 nsDst, __u8 vol_num, __u32 dir_base,
+               char *path, /* At most 1 component */
+               __u32 *dirEntNum)
+{
+       int result;
+
+       ncp_init_request(server);
+       ncp_add_byte(server, 6); /* subfunction */
+       ncp_add_byte(server, nsSrc);
+       ncp_add_byte(server, nsDst);
+       ncp_add_word(server, 0x8006); /* get all */
+       ncp_add_dword(server, RIM_ALL);
+       ncp_add_handle_path(server, vol_num, dir_base, 1, path);
+
+       if ((result = ncp_request(server, 87)) != 0)
+       {
+               ncp_unlock_server(server);
+               return result;
+       }
+
+       if (dirEntNum)
+               *dirEntNum = ncp_reply_dword(server, 0x30);
+       ncp_unlock_server(server);
+       return 0;
+}
+
+int
+ncp_mount_subdir(struct ncp_server *server,
+               __u8 volNumber,
+               __u8 srcNS, __u32 dirEntNum)
+{
+       int dstNS;
+       int result;
+       __u32 newDirEnt;
+       
+       dstNS = ncp_get_known_namespace(server, volNumber);
+       if ((result = ncp_ObtainSpecificDirBase(server, srcNS, dstNS, volNumber, 
+                                     dirEntNum, NULL, &newDirEnt)) != 0)
+       {
+               return result;
+       }
+       server->name_space[volNumber] = dstNS;
+       server->root.finfo.i.volNumber = volNumber;
+       server->root.finfo.i.dirEntNum = newDirEnt;
+       server->m.mounted_vol[1] = 0;
+       server->m.mounted_vol[0] = 'X';
+       return 0;
+}
+
+static int
+ncp_obtain_DOS_dir_base(struct ncp_server *server,
+               struct nw_info_struct* file,
+               char *path, /* At most 1 component */
+               __u32 *DOS_dir_base)
+{
+       int result;
+
+       ncp_init_request(server);
+       ncp_add_byte(server, 6); /* subfunction */
+       ncp_add_byte(server, server->name_space[file->volNumber]);
+       ncp_add_byte(server, server->name_space[file->volNumber]);
+       ncp_add_word(server, 0x8006); /* get all */
+       ncp_add_dword(server, RIM_DIRECTORY);
+       ncp_add_handle_path(server, file->volNumber, file->dirEntNum, 1, path);
+
+       if ((result = ncp_request(server, 87)) != 0)
+       {
+               ncp_unlock_server(server);
+               return result;
+       }
+
+       if (DOS_dir_base) *DOS_dir_base=ncp_reply_dword(server, 0x34);
+       ncp_unlock_server(server);
        return 0;
 }
 
@@ -348,7 +467,8 @@ ncp_lookup_volume(struct ncp_server *server,
        target->volNumber = volnum = ncp_reply_byte(server, 8);
        ncp_unlock_server(server);
 
-       server->name_space[volnum] = ncp_has_os2_namespace(server,volnum)?4:0;
+       server->name_space[volnum] =
+               ncp_get_known_namespace(server, volnum);
 
        DPRINTK("lookup_vol: namespace[%d] = %d\n",
                volnum, server->name_space[volnum]);
@@ -383,25 +503,44 @@ ncp_modify_file_or_subdir_dos_info(struct ncp_server *server,
        return result;
 }
 
-int
-ncp_del_file_or_subdir(struct ncp_server *server,
-                      struct nw_info_struct *dir, char *name)
+static int
+ncp_DeleteNSEntry(struct ncp_server *server,
+                 __u8 have_dir_base, __u8 volume, __u32 dir_base,
+                 char* name, __u8 ns, int attr)
 {
        int result;
 
        ncp_init_request(server);
        ncp_add_byte(server, 8); /* subfunction */
-       ncp_add_byte(server, server->name_space[dir->volNumber]);
+       ncp_add_byte(server, ns); /* namespace */
        ncp_add_byte(server, 0); /* reserved */
-       ncp_add_word(server, 0x8006); /* search attribs: all */
-       ncp_add_handle_path(server, dir->volNumber,
-                           dir->dirEntNum, 1, name);
+       ncp_add_word(server, attr); /* search attribs */
+       ncp_add_handle_path(server, volume, dir_base, have_dir_base, name);
        
        result = ncp_request(server, 87);
        ncp_unlock_server(server);
        return result;
 }
 
+int
+ncp_del_file_or_subdir(struct ncp_server *server,
+                      struct nw_info_struct *dir, char *name)
+{
+#ifdef CONFIG_NCPFS_NFS_NS
+       if (server->name_space[dir->volNumber]==NW_NS_NFS)
+       {
+               __u32 DOS_dir_base;
+               int result;
+
+               result=ncp_obtain_DOS_dir_base(server, dir, name, &DOS_dir_base);
+               if (result) return result;
+               return ncp_DeleteNSEntry(server, 1, dir->volNumber, DOS_dir_base, NULL, NW_NS_DOS, 0x8006);
+       }
+       else
+#endif /* CONFIG_NCPFS_NFS_NS */
+               return ncp_DeleteNSEntry(server, 1, dir->volNumber, dir->dirEntNum, name, server->name_space[dir->volNumber], 0x8006);
+}
+
 static inline void
 ConvertToNWfromDWORD ( __u32 sfd , __u8 ret[6] )
 {
@@ -428,7 +567,7 @@ ncp_open_create_file_or_subdir(struct ncp_server *server,
        if ((create_attributes & aDIR) != 0)
        {
                search_attribs |= 0x8000;       
-}
+        }
 
        ncp_init_request(server);
        ncp_add_byte(server, 1); /* subfunction */
@@ -464,7 +603,7 @@ ncp_open_create_file_or_subdir(struct ncp_server *server,
        if (dir != NULL)
        {
                /* in target there's a new finfo to fill */
-               ncp_extract_file_info(ncp_reply_data(server, 5), &(target->i));
+               ncp_extract_file_info(ncp_reply_data(server, 6), &(target->i));
        }
 
        ConvertToNWfromDWORD(target->server_file_handle, target->file_handle);
@@ -511,12 +650,21 @@ ncp_search_for_file_or_subdir(struct ncp_server *server,
        ncp_add_byte(server, 3); /* subfunction */
        ncp_add_byte(server, server->name_space[seq->volNumber]);
        ncp_add_byte(server, 0); /* data stream (???) */
-       ncp_add_word(server, 0xffff); /* Search attribs */
+       ncp_add_word(server, 0x8006); /* Search attribs */
        ncp_add_dword(server, RIM_ALL); /* return info mask */
        ncp_add_mem(server, seq, 9);
-       ncp_add_byte(server, 2); /* 2 byte pattern */
-       ncp_add_byte(server, 0xff); /* following is a wildcard */
-       ncp_add_byte(server, '*');
+#ifdef CONFIG_NCPFS_NFS_NS
+       if (server->name_space[seq->volNumber]==NW_NS_NFS)
+       {
+               ncp_add_byte(server, 0);
+       }
+       else
+#endif /* CONFIG_NCPFS_NFS_NS */
+       {
+               ncp_add_byte(server, 2); /* 2 byte pattern */
+               ncp_add_byte(server, 0xff); /* following is a wildcard */
+               ncp_add_byte(server, '*');
+       }
        
        if ((result = ncp_request(server, 87)) != 0)
        {
@@ -532,9 +680,9 @@ ncp_search_for_file_or_subdir(struct ncp_server *server,
 }
 
 int
-ncp_ren_or_mov_file_or_subdir(struct ncp_server *server,
-                             struct nw_info_struct *old_dir, char *old_name,
-                             struct nw_info_struct *new_dir, char *new_name)
+ncp_RenameNSEntry(struct ncp_server *server,
+                 struct nw_info_struct *old_dir, char *old_name, int old_type,
+                 struct nw_info_struct *new_dir, char *new_name)
 {
        int result;
 
@@ -546,7 +694,7 @@ ncp_ren_or_mov_file_or_subdir(struct ncp_server *server,
        ncp_add_byte(server, 4); /* subfunction */
        ncp_add_byte(server, server->name_space[old_dir->volNumber]);
        ncp_add_byte(server, 1); /* rename flag */
-       ncp_add_word(server, 0x8006); /* search attributes */
+       ncp_add_word(server, old_type); /* search attributes */
 
        /* source Handle Path */
        ncp_add_byte(server, old_dir->volNumber);
@@ -570,6 +718,31 @@ ncp_ren_or_mov_file_or_subdir(struct ncp_server *server,
        return result;
 }
        
+int
+ncp_ren_or_mov_file_or_subdir(struct ncp_server *server,
+                             struct nw_info_struct *old_dir, char *old_name,
+                             struct nw_info_struct *new_dir, char *new_name)
+{
+        int result;
+        int old_type = 0x0006;
+
+/* If somebody can do it atomic, call me... vandrove@vc.cvut.cz */
+       result = ncp_RenameNSEntry(server, old_dir, old_name, old_type,
+                                          new_dir, new_name);
+        if (result == 0xFF)    /* File Not Found, try directory */
+       {
+               old_type = 0x0016;
+               result = ncp_RenameNSEntry(server, old_dir, old_name, old_type,
+                                                  new_dir, new_name);
+       }
+       if (result != 0x92) return result;      /* All except NO_FILES_RENAMED */
+       result = ncp_del_file_or_subdir(server, new_dir, new_name);
+       if (result != 0) return -EACCES;
+       result = ncp_RenameNSEntry(server, old_dir, old_name, old_type,
+                                          new_dir, new_name);
+       return result;
+}
+       
 
 /* We have to transfer to/from user space */
 int
@@ -625,3 +798,48 @@ ncp_write(struct ncp_server *server, const char *file_id,
        return 0;
 }
 
+#ifdef CONFIG_NCPFS_IOCTL_LOCKING
+int
+ncp_LogPhysicalRecord(struct ncp_server *server, const char *file_id,
+         __u8 locktype, __u32 offset, __u32 length, __u16 timeout)
+{
+       int result;
+
+       ncp_init_request(server);
+       ncp_add_byte(server, locktype);
+       ncp_add_mem(server, file_id, 6);
+       ncp_add_dword(server, htonl(offset));
+       ncp_add_dword(server, htonl(length));
+       ncp_add_word(server, htons(timeout));
+
+       if ((result = ncp_request(server, 0x1A)) != 0)
+       {
+               ncp_unlock_server(server);
+               return result;
+       }
+       ncp_unlock_server(server);
+       return 0;
+}
+
+int
+ncp_ClearPhysicalRecord(struct ncp_server *server, const char *file_id,
+         __u32 offset, __u32 length)
+{
+       int result;
+
+       ncp_init_request(server);
+       ncp_add_byte(server, 0);        /* who knows... lanalyzer says that */
+       ncp_add_mem(server, file_id, 6);
+       ncp_add_dword(server, htonl(offset));
+       ncp_add_dword(server, htonl(length));
+
+       if ((result = ncp_request(server, 0x1E)) != 0)
+       {
+               ncp_unlock_server(server);
+               return result;
+       }
+       ncp_unlock_server(server);
+       return 0;
+}
+#endif /* CONFIG_NCPFS_IOCTL_LOCKING */
+
index d564bf31528bf36ec3d92ec018b92b6998121201..1f4e1ee69d3fbf2631401c3ffea710a5ae0b1799 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef _NCPLIB_H
 #define _NCPLIB_H
 
+#include <linux/config.h>
+
 #include <linux/fs.h>
 #include <linux/ncp.h>
 #include <linux/ncp_fs.h>
@@ -22,6 +24,9 @@
 
 #include <linux/ncp.h>
 
+int
+ncp_negotiate_size_and_options(struct ncp_server *server, int size,
+                         int options, int *ret_size, int *ret_options);
 int
 ncp_negotiate_buffersize(struct ncp_server *server, int size,
                         int *target);
@@ -165,5 +170,22 @@ ncp_ren_or_mov_file_or_subdir(struct ncp_server *server,
                              struct nw_info_struct *old_dir, char *old_name,
                              struct nw_info_struct *new_dir, char *new_name);
 
+#ifdef CONFIG_NCPFS_IOCTL_LOCKING
+int
+ncp_LogPhysicalRecord(struct ncp_server *server,
+                     const char *file_id, __u8 locktype,
+                     __u32 offset, __u32 length, __u16 timeout);
+
+int
+ncp_ClearPhysicalRecord(struct ncp_server *server,
+                       const char *file_id,
+                       __u32 offset, __u32 length);
+#endif /* CONFIG_NCPFS_IOCTL_LOCKING */
+
+#ifdef CONFIG_NCPFS_MOUNT_SUBDIR
+int
+ncp_mount_subdir(struct ncp_server* server, __u8 volNumber, 
+                __u8 srcNS, __u32 srcDirEntNum);
+#endif /* CONFIG_NCPFS_MOUNT_SUBDIR */
 
 #endif /* _NCPLIB_H */
diff --git a/fs/ncpfs/ncpsign_kernel.c b/fs/ncpfs/ncpsign_kernel.c
new file mode 100644 (file)
index 0000000..7b9015e
--- /dev/null
@@ -0,0 +1,125 @@
+/*
+ *  ncpsign_kernel.c
+ *
+ *  Arne de Bruijn (arne@knoware.nl), 1997
+ *
+ */
+
+#include <linux/config.h>
+
+#ifdef CONFIG_NCPFS_PACKET_SIGNING
+
+#if 0
+#ifdef MODULE
+#include <linux/module.h>
+#include <linux/version.h>
+#endif
+#endif
+
+#include <linux/string.h>
+#include <linux/ncp.h>
+#if 0
+#include <linux/ncp_fs.h>
+#include <linux/ncp_fs_sb.h>
+#endif
+#include "ncpsign_kernel.h"
+
+#define rol32(i,c) (((((i)&0xffffffff)<<c)&0xffffffff)| \
+                    (((i)&0xffffffff)>>(32-c)))
+/* i386: 32-bit, little endian, handles mis-alignment */
+#ifdef __i386__
+#define GET_LE32(p) (*(int *)(p))
+#define PUT_LE32(p,v) { *(int *)(p)=v; }
+#else
+/* from include/ncplib.h */
+#define BVAL(buf,pos) (((__u8 *)(buf))[pos])
+#define PVAL(buf,pos) ((unsigned)BVAL(buf,pos))
+#define BSET(buf,pos,val) (BVAL(buf,pos) = (val))
+
+static inline word
+WVAL_LH(__u8 * buf, int pos)
+{
+       return PVAL(buf, pos) | PVAL(buf, pos + 1) << 8;
+}
+static inline dword
+DVAL_LH(__u8 * buf, int pos)
+{
+       return WVAL_LH(buf, pos) | WVAL_LH(buf, pos + 2) << 16;
+}
+static inline void
+WSET_LH(__u8 * buf, int pos, word val)
+{
+       BSET(buf, pos, val & 0xff);
+       BSET(buf, pos + 1, val >> 8);
+}
+static inline void
+DSET_LH(__u8 * buf, int pos, dword val)
+{
+       WSET_LH(buf, pos, val & 0xffff);
+       WSET_LH(buf, pos + 2, val >> 16);
+}
+
+#define GET_LE32(p) DVAL_LH(p,0)
+#define PUT_LE32(p,v) DSET_LH(p,0,v)
+#endif
+
+#define min(a,b) ((a)<(b)?(a):(b))
+
+static void nwsign(char *r_data1, char *r_data2, char *outdata) {
+ int i;
+ unsigned int w0,w1,w2,w3;
+ static int rbit[4]={0, 2, 1, 3};
+#ifdef __i386__
+ unsigned int *data2=(int *)r_data2;
+#else
+ unsigned int data2[16];
+ for (i=0;i<16;i++)
+  data2[i]=GET_LE32(r_data2+(i<<2));
+#endif 
+ w0=GET_LE32(r_data1);
+ w1=GET_LE32(r_data1+4);
+ w2=GET_LE32(r_data1+8);
+ w3=GET_LE32(r_data1+12);
+ for (i=0;i<16;i+=4) {
+  w0=rol32(w0 + ((w1 & w2) | ((~w1) & w3)) + data2[i+0],3);
+  w3=rol32(w3 + ((w0 & w1) | ((~w0) & w2)) + data2[i+1],7);
+  w2=rol32(w2 + ((w3 & w0) | ((~w3) & w1)) + data2[i+2],11);
+  w1=rol32(w1 + ((w2 & w3) | ((~w2) & w0)) + data2[i+3],19);
+ }
+ for (i=0;i<4;i++) {
+  w0=rol32(w0 + (((w2 | w3) & w1) | (w2 & w3)) + 0x5a827999 + data2[i+0],3);
+  w3=rol32(w3 + (((w1 | w2) & w0) | (w1 & w2)) + 0x5a827999 + data2[i+4],5);
+  w2=rol32(w2 + (((w0 | w1) & w3) | (w0 & w1)) + 0x5a827999 + data2[i+8],9);
+  w1=rol32(w1 + (((w3 | w0) & w2) | (w3 & w0)) + 0x5a827999 + data2[i+12],13);
+ }
+ for (i=0;i<4;i++) {
+  w0=rol32(w0 + ((w1 ^ w2) ^ w3) + 0x6ed9eba1 + data2[rbit[i]+0],3);
+  w3=rol32(w3 + ((w0 ^ w1) ^ w2) + 0x6ed9eba1 + data2[rbit[i]+8],9);
+  w2=rol32(w2 + ((w3 ^ w0) ^ w1) + 0x6ed9eba1 + data2[rbit[i]+4],11);
+  w1=rol32(w1 + ((w2 ^ w3) ^ w0) + 0x6ed9eba1 + data2[rbit[i]+12],15);
+ }
+ PUT_LE32(outdata,(w0+GET_LE32(r_data1)) & 0xffffffff);
+ PUT_LE32(outdata+4,(w1+GET_LE32(r_data1+4)) & 0xffffffff);
+ PUT_LE32(outdata+8,(w2+GET_LE32(r_data1+8)) & 0xffffffff);
+ PUT_LE32(outdata+12,(w3+GET_LE32(r_data1+12)) & 0xffffffff);
+}
+
+/* Make a signature for the current packet and add it at the end of the */
+/* packet. */
+void sign_packet(struct ncp_server *server, int *size) {
+ char data[64];
+
+ memset(data,0,64);
+ memcpy(data,server->sign_root,8);
+ PUT_LE32(data+8,(*size));
+ memcpy(data+12,server->packet+sizeof(struct ncp_request_header)-1,
+  min((*size)-sizeof(struct ncp_request_header)+1,52));
+
+ nwsign(server->sign_last,data,server->sign_last);
+
+ memcpy(server->packet+(*size),server->sign_last,8);
+ (*size)+=8;
+}
+
+#endif /* CONFIG_NCPFS_PACKET_SIGNING */
+
diff --git a/fs/ncpfs/ncpsign_kernel.h b/fs/ncpfs/ncpsign_kernel.h
new file mode 100644 (file)
index 0000000..85974f3
--- /dev/null
@@ -0,0 +1,16 @@
+/*
+ *  ncpsign_kernel.h
+ *
+ *  Arne de Bruijn (arne@knoware.nl), 1997
+ *
+ */
+#ifndef _NCPSIGN_KERNEL_H
+#define _NCPSIGN_KERNEL_H
+
+#include <linux/ncp_fs.h>
+#include <linux/ncp_fs_sb.h>
+
+void sign_packet(struct ncp_server *server, int *size);
+
+#endif
index e80b595c3dc4665c90cac1f5e1f466c4ca4fa104..c13b856e7fd98d8de8f38f1721f11205fd7edaaf 100644 (file)
@@ -7,6 +7,8 @@
  *
  */
 
+#include <linux/config.h>
+
 #include <linux/sched.h>
 #include <linux/ncp_fs.h>
 #include <linux/errno.h>
@@ -25,6 +27,7 @@
 #include <linux/ncp_fs_sb.h>
 #include <net/sock.h>
 
+#include "ncpsign_kernel.h"
 
 #define _S(nr) (1<<((nr)-1))
 static int _recvfrom(struct socket *sock, unsigned char *ubuf,
@@ -562,7 +565,12 @@ ncp_do_request(struct ncp_server *server, int size)
                printk("ncpfs: Server not locked!\n");
                return -EIO;
        }
-
+#ifdef CONFIG_NCPFS_PACKET_SIGNING
+       if (server->sign_active)
+       {
+               sign_packet(server, &size);
+       }
+#endif /* CONFIG_NCPFS_PACKET_SIGNING */
        if (!ncp_conn_valid(server))
        {
                return -EIO;
diff --git a/fs/nls_iso8859-15.c b/fs/nls_iso8859-15.c
deleted file mode 100644 (file)
index 33478bf..0000000
+++ /dev/null
@@ -1,268 +0,0 @@
-/*
- * linux/fs/nls_iso8859-15.c
- *
- * Charset iso8859-15 translation tables.
- * The Unicode to charset table has only exact mappings.
- */
-
-#include <linux/module.h>
-#include <linux/kernel.h>
-#include <linux/string.h>
-#include <linux/nls.h>
-
-static struct nls_unicode charset2uni[256] = {
-       /* 0x00*/
-       {0x00, 0x00}, {0x01, 0x00}, {0x02, 0x00}, {0x03, 0x00},
-       {0x04, 0x00}, {0x05, 0x00}, {0x06, 0x00}, {0x07, 0x00},
-       {0x08, 0x00}, {0x09, 0x00}, {0x0a, 0x00}, {0x0b, 0x00},
-       {0x0c, 0x00}, {0x0d, 0x00}, {0x0e, 0x00}, {0x0f, 0x00},
-       /* 0x10*/
-       {0x10, 0x00}, {0x11, 0x00}, {0x12, 0x00}, {0x13, 0x00},
-       {0x14, 0x00}, {0x15, 0x00}, {0x16, 0x00}, {0x17, 0x00},
-       {0x18, 0x00}, {0x19, 0x00}, {0x1a, 0x00}, {0x1b, 0x00},
-       {0x1c, 0x00}, {0x1d, 0x00}, {0x1e, 0x00}, {0x1f, 0x00},
-       /* 0x20*/
-       {0x20, 0x00}, {0x21, 0x00}, {0x22, 0x00}, {0x23, 0x00},
-       {0x24, 0x00}, {0x25, 0x00}, {0x26, 0x00}, {0x27, 0x00},
-       {0x28, 0x00}, {0x29, 0x00}, {0x2a, 0x00}, {0x2b, 0x00},
-       {0x2c, 0x00}, {0x2d, 0x00}, {0x2e, 0x00}, {0x2f, 0x00},
-       /* 0x30*/
-       {0x30, 0x00}, {0x31, 0x00}, {0x32, 0x00}, {0x33, 0x00},
-       {0x34, 0x00}, {0x35, 0x00}, {0x36, 0x00}, {0x37, 0x00},
-       {0x38, 0x00}, {0x39, 0x00}, {0x3a, 0x00}, {0x3b, 0x00},
-       {0x3c, 0x00}, {0x3d, 0x00}, {0x3e, 0x00}, {0x3f, 0x00},
-       /* 0x40*/
-       {0x40, 0x00}, {0x41, 0x00}, {0x42, 0x00}, {0x43, 0x00},
-       {0x44, 0x00}, {0x45, 0x00}, {0x46, 0x00}, {0x47, 0x00},
-       {0x48, 0x00}, {0x49, 0x00}, {0x4a, 0x00}, {0x4b, 0x00},
-       {0x4c, 0x00}, {0x4d, 0x00}, {0x4e, 0x00}, {0x4f, 0x00},
-       /* 0x50*/
-       {0x50, 0x00}, {0x51, 0x00}, {0x52, 0x00}, {0x53, 0x00},
-       {0x54, 0x00}, {0x55, 0x00}, {0x56, 0x00}, {0x57, 0x00},
-       {0x58, 0x00}, {0x59, 0x00}, {0x5a, 0x00}, {0x5b, 0x00},
-       {0x5c, 0x00}, {0x5d, 0x00}, {0x5e, 0x00}, {0x5f, 0x00},
-       /* 0x60*/
-       {0x60, 0x00}, {0x61, 0x00}, {0x62, 0x00}, {0x63, 0x00},
-       {0x64, 0x00}, {0x65, 0x00}, {0x66, 0x00}, {0x67, 0x00},
-       {0x68, 0x00}, {0x69, 0x00}, {0x6a, 0x00}, {0x6b, 0x00},
-       {0x6c, 0x00}, {0x6d, 0x00}, {0x6e, 0x00}, {0x6f, 0x00},
-       /* 0x70*/
-       {0x70, 0x00}, {0x71, 0x00}, {0x72, 0x00}, {0x73, 0x00},
-       {0x74, 0x00}, {0x75, 0x00}, {0x76, 0x00}, {0x77, 0x00},
-       {0x78, 0x00}, {0x79, 0x00}, {0x7a, 0x00}, {0x7b, 0x00},
-       {0x7c, 0x00}, {0x7d, 0x00}, {0x7e, 0x00}, {0x7f, 0x00},
-       /* 0x80*/
-       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
-       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
-       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
-       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
-       /* 0x90*/
-       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
-       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
-       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
-       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
-       /* 0xa0*/
-       {0xa0, 0x00}, {0xa1, 0x00}, {0xa2, 0x00}, {0xa3, 0x00},
-       {0xac, 0x20}, {0xa5, 0x00}, {0x60, 0x01}, {0xa7, 0x00},
-       {0x61, 0x01}, {0xa9, 0x00}, {0xaa, 0x00}, {0xab, 0x00},
-       {0xac, 0x00}, {0xad, 0x00}, {0xae, 0x00}, {0xaf, 0x00},
-       /* 0xb0*/
-       {0xb0, 0x00}, {0xb1, 0x00}, {0xb2, 0x00}, {0xb3, 0x00},
-       {0x7d, 0x01}, {0xb5, 0x00}, {0xb6, 0x00}, {0xb7, 0x00},
-       {0x7e, 0x01}, {0xb9, 0x00}, {0xba, 0x00}, {0xbb, 0x00},
-       {0x52, 0x01}, {0x53, 0x01}, {0x78, 0x01}, {0xbf, 0x00},
-       /* 0xc0*/
-       {0xc0, 0x00}, {0xc1, 0x00}, {0xc2, 0x00}, {0xc3, 0x00},
-       {0xc4, 0x00}, {0xc5, 0x00}, {0xc6, 0x00}, {0xc7, 0x00},
-       {0xc8, 0x00}, {0xc9, 0x00}, {0xca, 0x00}, {0xcb, 0x00},
-       {0xcc, 0x00}, {0xcd, 0x00}, {0xce, 0x00}, {0xcf, 0x00},
-       /* 0xd0*/
-       {0xd0, 0x00}, {0xd1, 0x00}, {0xd2, 0x00}, {0xd3, 0x00},
-       {0xd4, 0x00}, {0xd5, 0x00}, {0xd6, 0x00}, {0xd7, 0x00},
-       {0xd8, 0x00}, {0xd9, 0x00}, {0xda, 0x00}, {0xdb, 0x00},
-       {0xdc, 0x00}, {0xdd, 0x00}, {0xde, 0x00}, {0xdf, 0x00},
-       /* 0xe0*/
-       {0xe0, 0x00}, {0xe1, 0x00}, {0xe2, 0x00}, {0xe3, 0x00},
-       {0xe4, 0x00}, {0xe5, 0x00}, {0xe6, 0x00}, {0xe7, 0x00},
-       {0xe8, 0x00}, {0xe9, 0x00}, {0xea, 0x00}, {0xeb, 0x00},
-       {0xec, 0x00}, {0xed, 0x00}, {0xee, 0x00}, {0xef, 0x00},
-       /* 0xf0*/
-       {0xf0, 0x00}, {0xf1, 0x00}, {0xf2, 0x00}, {0xf3, 0x00},
-       {0xf4, 0x00}, {0xf5, 0x00}, {0xf6, 0x00}, {0xf7, 0x00},
-       {0xf8, 0x00}, {0xf9, 0x00}, {0xfa, 0x00}, {0xfb, 0x00},
-       {0xfc, 0x00}, {0xfd, 0x00}, {0xfe, 0x00}, {0xff, 0x00},
-};
-
-static unsigned char page00[256] = {
-       0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, /* 0x00-0x07 */
-       0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, /* 0x08-0x0f */
-       0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, /* 0x10-0x17 */
-       0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, /* 0x18-0x1f */
-       0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, /* 0x20-0x27 */
-       0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, /* 0x28-0x2f */
-       0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, /* 0x30-0x37 */
-       0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, /* 0x38-0x3f */
-       0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, /* 0x40-0x47 */
-       0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, /* 0x48-0x4f */
-       0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, /* 0x50-0x57 */
-       0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f, /* 0x58-0x5f */
-       0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, /* 0x60-0x67 */
-       0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, /* 0x68-0x6f */
-       0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, /* 0x70-0x77 */
-       0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f, /* 0x78-0x7f */
-
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x80-0x87 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x88-0x8f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x90-0x97 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x98-0x9f */
-       0xa0, 0xa1, 0xa2, 0xa3, 0x00, 0xa5, 0x00, 0xa7, /* 0xa0-0xa7 */
-       0x00, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, /* 0xa8-0xaf */
-       0xb0, 0xb1, 0xb2, 0xb3, 0x00, 0xb5, 0xb6, 0xb7, /* 0xb0-0xb7 */
-       0x00, 0xb9, 0xba, 0xbb, 0x00, 0x00, 0x00, 0xbf, /* 0xb8-0xbf */
-       0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, /* 0xc0-0xc7 */
-       0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, /* 0xc8-0xcf */
-       0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, /* 0xd0-0xd7 */
-       0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, /* 0xd8-0xdf */
-       0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, /* 0xe0-0xe7 */
-       0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef, /* 0xe8-0xef */
-       0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, /* 0xf0-0xf7 */
-       0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff, /* 0xf8-0xff */
-};
-
-static unsigned char page01[256] = {
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x00-0x07 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x08-0x0f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10-0x17 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x18-0x1f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x20-0x27 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x28-0x2f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x30-0x37 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x38-0x3f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x40-0x47 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x48-0x4f */
-       0x00, 0x00, 0xbc, 0xbd, 0x00, 0x00, 0x00, 0x00, /* 0x50-0x57 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x58-0x5f */
-       0xa6, 0xa8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x60-0x67 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x68-0x6f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x70-0x77 */
-       0xbe, 0x00, 0x00, 0x00, 0x00, 0xb4, 0xb8, 0x00, /* 0x78-0x7f */
-
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x80-0x87 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x88-0x8f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x90-0x97 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x98-0x9f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa0-0xa7 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa8-0xaf */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb0-0xb7 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb8-0xbf */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc0-0xc7 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc8-0xcf */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd0-0xd7 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd8-0xdf */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xe0-0xe7 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xe8-0xef */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xf0-0xf7 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xf8-0xff */
-};
-
-static unsigned char page20[256] = {
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x00-0x07 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x08-0x0f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10-0x17 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x18-0x1f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x20-0x27 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x28-0x2f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x30-0x37 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x38-0x3f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x40-0x47 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x48-0x4f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x50-0x57 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x58-0x5f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x60-0x67 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x68-0x6f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x70-0x77 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x78-0x7f */
-
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x80-0x87 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x88-0x8f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x90-0x97 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x98-0x9f */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa0-0xa7 */
-       0x00, 0x00, 0x00, 0x00, 0xa4, 0x00, 0x00, 0x00, /* 0xa8-0xaf */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb0-0xb7 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb8-0xbf */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc0-0xc7 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc8-0xcf */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd0-0xd7 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd8-0xdf */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xe0-0xe7 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xe8-0xef */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xf0-0xf7 */
-       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xf8-0xff */
-};
-
-static unsigned char *page_uni2charset[256] = {
-       page00, page01, NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   
-       NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,
-
-       NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,
-       NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,
-
-       page20, NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,
-       NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,
-};
-
-static void inc_use_count(void)
-{
-       MOD_INC_USE_COUNT;
-}
-
-static void dec_use_count(void)
-{
-       MOD_DEC_USE_COUNT;
-}
-
-static struct nls_table table = {
-       "iso8859-15",
-       page_uni2charset,
-       charset2uni,
-       inc_use_count,
-       dec_use_count,
-       NULL
-};
-
-int init_nls_iso8859_15(void)
-{
-       return register_nls(&table);
-}
-
-#ifdef MODULE
-int init_module(void)
-{
-       return init_nls_iso8859_15();
-}
-
-
-void cleanup_module(void)
-{
-       unregister_nls(&table);
-       return;
-}
-#endif
-
-/*
- * Overrides for Emacs so that we follow Linus's tabbing style.
- * Emacs will notice this stuff at the end of the file and automatically
- * adjust the settings for this buffer only.  This must remain at the end
- * of the file.
- * ---------------------------------------------------------------------------
- * Local variables:
- * c-indent-level: 8
- * c-brace-imaginary-offset: 0
- * c-brace-offset: -8
- * c-argdecl-indent: 8
- * c-label-offset: -8
- * c-continued-statement-offset: 8
- * c-continued-brace-offset: 0
- * End:
- */
diff --git a/fs/nls_iso8859_15.c b/fs/nls_iso8859_15.c
new file mode 100644 (file)
index 0000000..33478bf
--- /dev/null
@@ -0,0 +1,268 @@
+/*
+ * linux/fs/nls_iso8859-15.c
+ *
+ * Charset iso8859-15 translation tables.
+ * The Unicode to charset table has only exact mappings.
+ */
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/nls.h>
+
+static struct nls_unicode charset2uni[256] = {
+       /* 0x00*/
+       {0x00, 0x00}, {0x01, 0x00}, {0x02, 0x00}, {0x03, 0x00},
+       {0x04, 0x00}, {0x05, 0x00}, {0x06, 0x00}, {0x07, 0x00},
+       {0x08, 0x00}, {0x09, 0x00}, {0x0a, 0x00}, {0x0b, 0x00},
+       {0x0c, 0x00}, {0x0d, 0x00}, {0x0e, 0x00}, {0x0f, 0x00},
+       /* 0x10*/
+       {0x10, 0x00}, {0x11, 0x00}, {0x12, 0x00}, {0x13, 0x00},
+       {0x14, 0x00}, {0x15, 0x00}, {0x16, 0x00}, {0x17, 0x00},
+       {0x18, 0x00}, {0x19, 0x00}, {0x1a, 0x00}, {0x1b, 0x00},
+       {0x1c, 0x00}, {0x1d, 0x00}, {0x1e, 0x00}, {0x1f, 0x00},
+       /* 0x20*/
+       {0x20, 0x00}, {0x21, 0x00}, {0x22, 0x00}, {0x23, 0x00},
+       {0x24, 0x00}, {0x25, 0x00}, {0x26, 0x00}, {0x27, 0x00},
+       {0x28, 0x00}, {0x29, 0x00}, {0x2a, 0x00}, {0x2b, 0x00},
+       {0x2c, 0x00}, {0x2d, 0x00}, {0x2e, 0x00}, {0x2f, 0x00},
+       /* 0x30*/
+       {0x30, 0x00}, {0x31, 0x00}, {0x32, 0x00}, {0x33, 0x00},
+       {0x34, 0x00}, {0x35, 0x00}, {0x36, 0x00}, {0x37, 0x00},
+       {0x38, 0x00}, {0x39, 0x00}, {0x3a, 0x00}, {0x3b, 0x00},
+       {0x3c, 0x00}, {0x3d, 0x00}, {0x3e, 0x00}, {0x3f, 0x00},
+       /* 0x40*/
+       {0x40, 0x00}, {0x41, 0x00}, {0x42, 0x00}, {0x43, 0x00},
+       {0x44, 0x00}, {0x45, 0x00}, {0x46, 0x00}, {0x47, 0x00},
+       {0x48, 0x00}, {0x49, 0x00}, {0x4a, 0x00}, {0x4b, 0x00},
+       {0x4c, 0x00}, {0x4d, 0x00}, {0x4e, 0x00}, {0x4f, 0x00},
+       /* 0x50*/
+       {0x50, 0x00}, {0x51, 0x00}, {0x52, 0x00}, {0x53, 0x00},
+       {0x54, 0x00}, {0x55, 0x00}, {0x56, 0x00}, {0x57, 0x00},
+       {0x58, 0x00}, {0x59, 0x00}, {0x5a, 0x00}, {0x5b, 0x00},
+       {0x5c, 0x00}, {0x5d, 0x00}, {0x5e, 0x00}, {0x5f, 0x00},
+       /* 0x60*/
+       {0x60, 0x00}, {0x61, 0x00}, {0x62, 0x00}, {0x63, 0x00},
+       {0x64, 0x00}, {0x65, 0x00}, {0x66, 0x00}, {0x67, 0x00},
+       {0x68, 0x00}, {0x69, 0x00}, {0x6a, 0x00}, {0x6b, 0x00},
+       {0x6c, 0x00}, {0x6d, 0x00}, {0x6e, 0x00}, {0x6f, 0x00},
+       /* 0x70*/
+       {0x70, 0x00}, {0x71, 0x00}, {0x72, 0x00}, {0x73, 0x00},
+       {0x74, 0x00}, {0x75, 0x00}, {0x76, 0x00}, {0x77, 0x00},
+       {0x78, 0x00}, {0x79, 0x00}, {0x7a, 0x00}, {0x7b, 0x00},
+       {0x7c, 0x00}, {0x7d, 0x00}, {0x7e, 0x00}, {0x7f, 0x00},
+       /* 0x80*/
+       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
+       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
+       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
+       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
+       /* 0x90*/
+       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
+       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
+       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
+       {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00},
+       /* 0xa0*/
+       {0xa0, 0x00}, {0xa1, 0x00}, {0xa2, 0x00}, {0xa3, 0x00},
+       {0xac, 0x20}, {0xa5, 0x00}, {0x60, 0x01}, {0xa7, 0x00},
+       {0x61, 0x01}, {0xa9, 0x00}, {0xaa, 0x00}, {0xab, 0x00},
+       {0xac, 0x00}, {0xad, 0x00}, {0xae, 0x00}, {0xaf, 0x00},
+       /* 0xb0*/
+       {0xb0, 0x00}, {0xb1, 0x00}, {0xb2, 0x00}, {0xb3, 0x00},
+       {0x7d, 0x01}, {0xb5, 0x00}, {0xb6, 0x00}, {0xb7, 0x00},
+       {0x7e, 0x01}, {0xb9, 0x00}, {0xba, 0x00}, {0xbb, 0x00},
+       {0x52, 0x01}, {0x53, 0x01}, {0x78, 0x01}, {0xbf, 0x00},
+       /* 0xc0*/
+       {0xc0, 0x00}, {0xc1, 0x00}, {0xc2, 0x00}, {0xc3, 0x00},
+       {0xc4, 0x00}, {0xc5, 0x00}, {0xc6, 0x00}, {0xc7, 0x00},
+       {0xc8, 0x00}, {0xc9, 0x00}, {0xca, 0x00}, {0xcb, 0x00},
+       {0xcc, 0x00}, {0xcd, 0x00}, {0xce, 0x00}, {0xcf, 0x00},
+       /* 0xd0*/
+       {0xd0, 0x00}, {0xd1, 0x00}, {0xd2, 0x00}, {0xd3, 0x00},
+       {0xd4, 0x00}, {0xd5, 0x00}, {0xd6, 0x00}, {0xd7, 0x00},
+       {0xd8, 0x00}, {0xd9, 0x00}, {0xda, 0x00}, {0xdb, 0x00},
+       {0xdc, 0x00}, {0xdd, 0x00}, {0xde, 0x00}, {0xdf, 0x00},
+       /* 0xe0*/
+       {0xe0, 0x00}, {0xe1, 0x00}, {0xe2, 0x00}, {0xe3, 0x00},
+       {0xe4, 0x00}, {0xe5, 0x00}, {0xe6, 0x00}, {0xe7, 0x00},
+       {0xe8, 0x00}, {0xe9, 0x00}, {0xea, 0x00}, {0xeb, 0x00},
+       {0xec, 0x00}, {0xed, 0x00}, {0xee, 0x00}, {0xef, 0x00},
+       /* 0xf0*/
+       {0xf0, 0x00}, {0xf1, 0x00}, {0xf2, 0x00}, {0xf3, 0x00},
+       {0xf4, 0x00}, {0xf5, 0x00}, {0xf6, 0x00}, {0xf7, 0x00},
+       {0xf8, 0x00}, {0xf9, 0x00}, {0xfa, 0x00}, {0xfb, 0x00},
+       {0xfc, 0x00}, {0xfd, 0x00}, {0xfe, 0x00}, {0xff, 0x00},
+};
+
+static unsigned char page00[256] = {
+       0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, /* 0x00-0x07 */
+       0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, /* 0x08-0x0f */
+       0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, /* 0x10-0x17 */
+       0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, /* 0x18-0x1f */
+       0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, /* 0x20-0x27 */
+       0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, /* 0x28-0x2f */
+       0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, /* 0x30-0x37 */
+       0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, /* 0x38-0x3f */
+       0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, /* 0x40-0x47 */
+       0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, /* 0x48-0x4f */
+       0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, /* 0x50-0x57 */
+       0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f, /* 0x58-0x5f */
+       0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, /* 0x60-0x67 */
+       0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, /* 0x68-0x6f */
+       0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, /* 0x70-0x77 */
+       0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f, /* 0x78-0x7f */
+
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x80-0x87 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x88-0x8f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x90-0x97 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x98-0x9f */
+       0xa0, 0xa1, 0xa2, 0xa3, 0x00, 0xa5, 0x00, 0xa7, /* 0xa0-0xa7 */
+       0x00, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, /* 0xa8-0xaf */
+       0xb0, 0xb1, 0xb2, 0xb3, 0x00, 0xb5, 0xb6, 0xb7, /* 0xb0-0xb7 */
+       0x00, 0xb9, 0xba, 0xbb, 0x00, 0x00, 0x00, 0xbf, /* 0xb8-0xbf */
+       0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, /* 0xc0-0xc7 */
+       0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, /* 0xc8-0xcf */
+       0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, /* 0xd0-0xd7 */
+       0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, /* 0xd8-0xdf */
+       0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, /* 0xe0-0xe7 */
+       0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef, /* 0xe8-0xef */
+       0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, /* 0xf0-0xf7 */
+       0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff, /* 0xf8-0xff */
+};
+
+static unsigned char page01[256] = {
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x00-0x07 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x08-0x0f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10-0x17 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x18-0x1f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x20-0x27 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x28-0x2f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x30-0x37 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x38-0x3f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x40-0x47 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x48-0x4f */
+       0x00, 0x00, 0xbc, 0xbd, 0x00, 0x00, 0x00, 0x00, /* 0x50-0x57 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x58-0x5f */
+       0xa6, 0xa8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x60-0x67 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x68-0x6f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x70-0x77 */
+       0xbe, 0x00, 0x00, 0x00, 0x00, 0xb4, 0xb8, 0x00, /* 0x78-0x7f */
+
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x80-0x87 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x88-0x8f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x90-0x97 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x98-0x9f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa0-0xa7 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa8-0xaf */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb0-0xb7 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb8-0xbf */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc0-0xc7 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc8-0xcf */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd0-0xd7 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd8-0xdf */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xe0-0xe7 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xe8-0xef */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xf0-0xf7 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xf8-0xff */
+};
+
+static unsigned char page20[256] = {
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x00-0x07 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x08-0x0f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10-0x17 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x18-0x1f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x20-0x27 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x28-0x2f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x30-0x37 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x38-0x3f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x40-0x47 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x48-0x4f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x50-0x57 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x58-0x5f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x60-0x67 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x68-0x6f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x70-0x77 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x78-0x7f */
+
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x80-0x87 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x88-0x8f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x90-0x97 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x98-0x9f */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa0-0xa7 */
+       0x00, 0x00, 0x00, 0x00, 0xa4, 0x00, 0x00, 0x00, /* 0xa8-0xaf */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb0-0xb7 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb8-0xbf */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc0-0xc7 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc8-0xcf */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd0-0xd7 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd8-0xdf */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xe0-0xe7 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xe8-0xef */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xf0-0xf7 */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xf8-0xff */
+};
+
+static unsigned char *page_uni2charset[256] = {
+       page00, page01, NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   
+       NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,
+
+       NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,
+       NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,
+
+       page20, NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,
+       NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,   NULL,
+};
+
+static void inc_use_count(void)
+{
+       MOD_INC_USE_COUNT;
+}
+
+static void dec_use_count(void)
+{
+       MOD_DEC_USE_COUNT;
+}
+
+static struct nls_table table = {
+       "iso8859-15",
+       page_uni2charset,
+       charset2uni,
+       inc_use_count,
+       dec_use_count,
+       NULL
+};
+
+int init_nls_iso8859_15(void)
+{
+       return register_nls(&table);
+}
+
+#ifdef MODULE
+int init_module(void)
+{
+       return init_nls_iso8859_15();
+}
+
+
+void cleanup_module(void)
+{
+       unregister_nls(&table);
+       return;
+}
+#endif
+
+/*
+ * Overrides for Emacs so that we follow Linus's tabbing style.
+ * Emacs will notice this stuff at the end of the file and automatically
+ * adjust the settings for this buffer only.  This must remain at the end
+ * of the file.
+ * ---------------------------------------------------------------------------
+ * Local variables:
+ * c-indent-level: 8
+ * c-brace-imaginary-offset: 0
+ * c-brace-offset: -8
+ * c-argdecl-indent: 8
+ * c-label-offset: -8
+ * c-continued-statement-offset: 8
+ * c-continued-brace-offset: 0
+ * End:
+ */
diff --git a/include/linux/compile.h b/include/linux/compile.h
new file mode 100644 (file)
index 0000000..96ab054
--- /dev/null
@@ -0,0 +1,6 @@
+#define UTS_VERSION "#3 Wed Feb 10 18:12:00 GMT 1999"
+#define LINUX_COMPILE_TIME "18:12:01"
+#define LINUX_COMPILE_BY "root"
+#define LINUX_COMPILE_HOST "box.swansea.uk.linux.org"
+#define LINUX_COMPILE_DOMAIN ""
+#define LINUX_COMPILER "gcc version 2.7.2.3"
index 1d6744420099d0ed623dfe3d8eafc940569d773c..9bf794dd65c34add0ad57e581d74a080b16a8536 100644 (file)
@@ -29,7 +29,7 @@ struct ncp_ioctl_request {
 struct ncp_fs_info {
        int    version;
        struct sockaddr_ipx addr;
-       uid_t  mounted_uid;
+       __kernel_uid_t  mounted_uid;
        int    connection;      /* Connection number the server assigned us */
        int    buffer_size;     /* The negotiated buffer size, to be
                                   used for read/write requests! */
@@ -38,13 +38,50 @@ struct ncp_fs_info {
        __u32  directory_id;
 };     
 
+struct ncp_sign_init
+{
+       char sign_root[8];
+       char sign_last[16];
+};
+
+struct ncp_lock_ioctl
+{
+#define NCP_LOCK_LOG   0
+#define NCP_LOCK_SH    1
+#define NCP_LOCK_EX    2
+#define NCP_LOCK_CLEAR 256
+       int             cmd;
+       int             origin;
+       unsigned int    offset;
+       unsigned int    length;
+#define NCP_LOCK_DEFAULT_TIMEOUT       18
+#define NCP_LOCK_MAX_TIMEOUT           180
+       int             timeout;
+};
+
+struct ncp_setroot_ioctl
+{
+       int             volNumber;
+       int             namespace;
+       __u32           dirEntNum;
+};
+
 #define        NCP_IOC_NCPREQUEST              _IOR('n', 1, struct ncp_ioctl_request)
-#define        NCP_IOC_GETMOUNTUID             _IOW('n', 2, uid_t)
+#define        NCP_IOC_GETMOUNTUID             _IOW('n', 2, __kernel_uid_t)
+#define NCP_IOC_GETMOUNTUID_INT                _IOW('n', 2, unsigned int)
 #define NCP_IOC_CONN_LOGGED_IN          _IO('n', 3)
 
 #define NCP_GET_FS_INFO_VERSION (1)
 #define NCP_IOC_GET_FS_INFO             _IOWR('n', 4, struct ncp_fs_info)
 
+#define NCP_IOC_SIGN_INIT              _IOR('n', 5, struct ncp_sign_init)
+#define NCP_IOC_SIGN_WANTED            _IOR('n', 6, int)
+#define NCP_IOC_SET_SIGN_WANTED                _IOW('n', 6, int)
+
+#define NCP_IOC_LOCKUNLOCK             _IOR('n', 7, struct ncp_lock_ioctl)
+
+#define NCP_IOC_GETROOT                        _IOW('n', 8, struct ncp_setroot_ioctl)
+#define NCP_IOC_SETROOT                        _IOR('n', 8, struct ncp_setroot_ioctl)
 /*
  * The packet size to allocate. One page should be enough.
  */
@@ -142,6 +179,7 @@ int ncp_ioctl (struct inode * inode, struct file * filp,
                unsigned int cmd, unsigned long arg);
 
 /* linux/fs/ncpfs/inode.c */
+int ncp_notify_change(struct inode *inode, struct iattr *attr);
 struct super_block *ncp_read_super(struct super_block *sb,
                                    void *raw_data, int silent);
 extern int init_ncp_fs(void);
index 6d1d7c5105e68e5d67f95ec017eb15a9075009d6..e98c5b446fa89412c95e85a87a80d22e2b52c654 100644 (file)
@@ -14,6 +14,7 @@
 #ifdef __KERNEL__
 
 #define NCP_DEFAULT_BUFSIZE 1024
+#define NCP_DEFAULT_OPTIONS 0          /* 2 for packet signatures */
 
 struct ncp_server {
 
@@ -57,6 +58,12 @@ struct ncp_server {
 
         struct ncp_inode_info root;
        char       root_path;   /* '\0' */
+
+/* info for packet signing */
+       int sign_wanted;        /* 1=Server needs signed packets */
+       int sign_active;        /* 0=don't do signing, 1=do */
+       char sign_root[8];      /* generated from password and encr. key */
+       char sign_last[16];     
 };
 
 static inline int
index 3de288659667945dc91b92beb4f731081ac54121..1a411011447b4d0dbfa27cb9947af6127dfb539f 100644 (file)
 /* Values for flags */
 #define NCP_MOUNT_SOFT 0x0001
 #define NCP_MOUNT_INTR 0x0002
+#define NCP_MOUNT_STRONG 0x0004   /* enable delete/rename of r/o files */
+#define NCP_MOUNT_NO_OS2 0x0008
+#define NCP_MOUNT_NO_NFS 0x0010
 
 struct ncp_mount_data {
        int version;
        unsigned int ncp_fd;    /* The socket to the ncp port */
        unsigned int wdog_fd;   /* Watchdog packets come here */
        unsigned int message_fd; /* Message notifications come here */
-        uid_t mounted_uid;      /* Who may umount() this filesystem? */
+        __kernel_uid_t mounted_uid;      /* Who may umount() this filesystem? */
 
        struct sockaddr_ipx serv_addr;
        unsigned char server_name[NCP_BINDERY_NAME_LEN];
@@ -40,10 +43,10 @@ struct ncp_mount_data {
        unsigned int retry_count; /* And how often should I retry? */
        unsigned int flags;
 
-        uid_t uid;
-        gid_t gid;
-        mode_t file_mode;
-        mode_t dir_mode;
+        __kernel_uid_t uid;
+        __kernel_gid_t gid;
+        __kernel_mode_t file_mode;
+        __kernel_mode_t dir_mode;
 };
 
 #endif
diff --git a/modules/BLOCK_MODULES b/modules/BLOCK_MODULES
new file mode 100644 (file)
index 0000000..f772947
--- /dev/null
@@ -0,0 +1,2 @@
+paride.o
+rd.o loop.o xd.o
diff --git a/modules/CDROM_MODULES b/modules/CDROM_MODULES
new file mode 100644 (file)
index 0000000..2149115
--- /dev/null
@@ -0,0 +1 @@
+cdrom.o aztcd.o cdu31a.o mcd.o mcdx.o sbpcd.o sonycd535.o gscd.o cm206.o optcd.o sjcd.o
diff --git a/modules/FS_MODULES b/modules/FS_MODULES
new file mode 100644 (file)
index 0000000..5697dc9
--- /dev/null
@@ -0,0 +1,17 @@
+minix.o
+ext.o
+fat.o
+msdos.o
+vfat.o
+isofs.o
+nfs.o
+xiafs.o
+umsdos.o
+sysv.o
+smbfs.o
+ncpfs.o
+hpfs.o
+ufs.o
+affs.o
+autofs.o
+nls.o binfmt_aout.o binfmt_java.o nls_cp437.o nls_cp737.o nls_cp775.o nls_cp850.o nls_cp852.o nls_cp855.o nls_cp857.o nls_cp860.o nls_cp861.o nls_cp862.o nls_cp863.o nls_cp864.o nls_cp865.o nls_cp866.o nls_cp869.o nls_cp874.o nls_iso8859_1.o nls_iso8859_2.o nls_iso8859_3.o nls_iso8859_4.o nls_iso8859_5.o nls_iso8859_6.o nls_iso8859_7.o nls_iso8859_8.o nls_iso8859_9.o nls_iso8859_15.o nls_koi8_r.o
diff --git a/modules/IPV4_MODULES b/modules/IPV4_MODULES
new file mode 100644 (file)
index 0000000..b7eff3d
--- /dev/null
@@ -0,0 +1 @@
+rarp.o ipip.o
diff --git a/modules/NET_MISC_MODULES b/modules/NET_MISC_MODULES
new file mode 100644 (file)
index 0000000..f3dc88d
--- /dev/null
@@ -0,0 +1,6 @@
+ipv4.o
+ipx.o
+appletalk.o
+netrom.o
+rose.o
+ax25.o
diff --git a/modules/NET_MODULES b/modules/NET_MODULES
new file mode 100644 (file)
index 0000000..b10160e
--- /dev/null
@@ -0,0 +1,2 @@
+soundmodem.o
+ppp.o slhc.o hdlcdrv.o ibmtr.o shaper.o new_tunnel.o hp100.o smc9194.o wd.o 3c503.o ne.o hp.o hp-plus.o smc-ultra.o smc-ultra32.o e2100.o plip.o bsd_comp.o slip.o strip.o dummy.o de600.o de620.o lance.o at1700.o fmv18x.o 3c501.o 3c507.o 3c515.o 3c59x.o via-rhine.o eexpress.o eepro.o eepro100.o epic100.o ne2k-pci.o pcnet32.o rtl8139.o yellowfin.o wavelan.o depca.o ewrk3.o atp.o de4x5.o ni52.o ni65.o 3c505.o ac3200.o apricot.o tulip.o tlan.o arcnet.o eth16i.o mkiss.o pi2.o pt.o bpqether.o baycom.o 8390.o eql.o dlci.o dgrs.o rcpci.o
diff --git a/modules/PARIDE_MODULES b/modules/PARIDE_MODULES
new file mode 100644 (file)
index 0000000..b8b839e
--- /dev/null
@@ -0,0 +1 @@
+paride.o pd.o pcd.o pf.o pt.o pg.o aten.o bpck.o comm.o dstr.o kbic.o epat.o epia.o fit2.o fit3.o frpw.o friq.o on20.o on26.o ktti.o
diff --git a/modules/SCSI_MODULES b/modules/SCSI_MODULES
new file mode 100644 (file)
index 0000000..197c6d6
--- /dev/null
@@ -0,0 +1 @@
+st.o sr_mod.o sg.o advansys.o ppa.o qlogicfas.o qlogicisp.o atp870u.o initio.o aha152x.o aha1542.o aha1740.o aic7xxx.o tmscsim.o AM53C974.o eata_dma.o eata_pio.o u14-34f.o gdth.o fdomain.o in2000.o g_NCR5380.o 53c7,8xx.o ncr53c8xx.o pas16.o seagate.o wd7000.o t128.o dtc.o ultrastor.o eata.o NCR53c406a.o sym53c416.o megaraid.o
index 3faeac96ea59c967a5336a96f8895572eca240c9..202203b3cc0871caf38d8c65df283ef7ea12f9dc 100644 (file)
@@ -509,7 +509,7 @@ static struct atalk_iface *atalk_find_interface(int net, int node)
        struct atalk_iface *iface;
        for(iface=atalk_iface_list;iface!=NULL;iface=iface->next)
        {
-               if((node==ATADDR_BCAST || iface->address.s_node==node) 
+               if((node==ATADDR_BCAST || node==ATADDR_ANYNODE || iface->address.s_node==node) 
                        && iface->address.s_net==net && !(iface->status&ATIF_PROBE))
                        return iface;
        }
@@ -1544,7 +1544,10 @@ static int atalk_rcv(struct sk_buff *skb, struct device *dev, struct packet_type
        /* Which socket - atalk_search_socket() looks for a *full match*
           of the <net,node,port> tuple */
        tosat.sat_addr.s_net = ddp->deh_dnet;
-       tosat.sat_addr.s_node = ddp->deh_dnode;
+       if (ddp->deh_dnode == ATADDR_ANYNODE)
+               tosat.sat_addr.s_node = atif->address.s_node;
+       else
+               tosat.sat_addr.s_node = ddp->deh_dnode;
        tosat.sat_port = ddp->deh_dport;
 
        sock=atalk_search_socket( &tosat, atif );
diff --git a/pot b/pot
new file mode 100644 (file)
index 0000000..8c10c0d
--- /dev/null
+++ b/pot
@@ -0,0 +1,410 @@
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o init/main.o init/main.c
+dnsdomainname: Host name lookup failure
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
+set -e; for i in kernel drivers mm fs net ipc lib arch/i386/kernel arch/i386/mm arch/i386/lib; do make -C $i; done
+make[1]: Entering directory `/usr/src/linux/kernel'
+make all_targets
+make[2]: Entering directory `/usr/src/linux/kernel'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODVERSIONS -DEXPORT_SYMTAB -c ksyms.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -fno-omit-frame-pointer -c sched.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o fork.o fork.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o exec_domain.o exec_domain.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o panic.o panic.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o printk.o printk.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o sys.o sys.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o module.o module.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o exit.o exit.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o signal.o signal.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o itimer.o itimer.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o info.o info.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o time.o time.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o softirq.o softirq.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o resource.o resource.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o sysctl.o sysctl.c
+rm -f kernel.o
+ld -m elf_i386  -r -o kernel.o ksyms.o sched.o dma.o fork.o exec_domain.o panic.o printk.o sys.o module.o exit.o signal.o itimer.o info.o time.o softirq.o resource.o sysctl.o
+make[2]: Leaving directory `/usr/src/linux/kernel'
+make[1]: Leaving directory `/usr/src/linux/kernel'
+make[1]: Entering directory `/usr/src/linux/drivers'
+set -e; for i in block char net  pci scsi cdrom; do make -C $i; done
+make[2]: Entering directory `/usr/src/linux/drivers/block'
+make all_targets
+make[3]: Entering directory `/usr/src/linux/drivers/block'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ll_rw_blk.o ll_rw_blk.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o genhd.o genhd.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o floppy.o floppy.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ide.o ide.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o rz1000.o rz1000.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o cmd640.o cmd640.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o triton.o triton.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ide-cd.o ide-cd.c
+rm -f block.a
+ar  rcs block.a  ll_rw_blk.o genhd.o floppy.o ide.o rz1000.o cmd640.o triton.o ide-cd.o
+make[3]: Leaving directory `/usr/src/linux/drivers/block'
+make[2]: Leaving directory `/usr/src/linux/drivers/block'
+make[2]: Entering directory `/usr/src/linux/drivers/char'
+make all_targets
+make[3]: Entering directory `/usr/src/linux/drivers/char'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODVERSIONS -DEXPORT_SYMTAB -c serial.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODVERSIONS -DEXPORT_SYMTAB -c misc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o tty_io.o tty_io.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o n_tty.o n_tty.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o console.o console.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o tty_ioctl.o tty_ioctl.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o pty.o pty.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o vt.o vt.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o mem.o mem.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o vc_screen.o vc_screen.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o random.o random.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o consolemap.o consolemap.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o selection.o selection.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o keyboard.o keyboard.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o psaux.o psaux.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o rtc.o rtc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o vga.o vga.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o vesa_blank.o vesa_blank.c
+rm -f char.a
+ar  rcs char.a serial.o misc.o tty_io.o n_tty.o console.o tty_ioctl.o pty.o vt.o mem.o vc_screen.o random.o consolemap.o selection.o keyboard.o defkeymap.o psaux.o rtc.o vga.o vesa_blank.o
+make[3]: Leaving directory `/usr/src/linux/drivers/char'
+make[2]: Leaving directory `/usr/src/linux/drivers/char'
+make[2]: Entering directory `/usr/src/linux/drivers/net'
+make all_targets
+make[3]: Entering directory `/usr/src/linux/drivers/net'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o auto_irq.o auto_irq.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c Space.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o net_init.o net_init.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o loopback.o loopback.c
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o 3c509.o 3c509.c
+rm -f net.a
+ar  rcs net.a  auto_irq.o Space.o net_init.o loopback.o 3c509.o
+make[3]: Leaving directory `/usr/src/linux/drivers/net'
+make[2]: Leaving directory `/usr/src/linux/drivers/net'
+make[2]: Entering directory `/usr/src/linux/drivers/pci'
+make all_targets
+make[3]: Entering directory `/usr/src/linux/drivers/pci'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o pci.o pci.c
+rm -f pci.a
+ar  rcs pci.a  pci.o
+make[3]: Leaving directory `/usr/src/linux/drivers/pci'
+make[2]: Leaving directory `/usr/src/linux/drivers/pci'
+make[2]: Entering directory `/usr/src/linux/drivers/scsi'
+make all_targets
+make[3]: Entering directory `/usr/src/linux/drivers/scsi'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODVERSIONS -DEXPORT_SYMTAB -c scsi_syms.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o hosts.o hosts.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o scsi.o scsi.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o scsi_ioctl.o scsi_ioctl.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o constants.o constants.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o scsicam.o scsicam.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o scsi_proc.o scsi_proc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o sd.o sd.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o sd_ioctl.o sd_ioctl.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o BusLogic.o BusLogic.c
+rm -f scsi.a
+ar  rcs scsi.a scsi_syms.o  hosts.o scsi.o scsi_ioctl.o constants.o scsicam.o scsi_proc.o sd.o sd_ioctl.o BusLogic.o
+make[3]: Leaving directory `/usr/src/linux/drivers/scsi'
+make[2]: Leaving directory `/usr/src/linux/drivers/scsi'
+make[2]: Entering directory `/usr/src/linux/drivers/cdrom'
+make all_targets
+make[3]: Entering directory `/usr/src/linux/drivers/cdrom'
+rm -f cdrom.a
+ar  rcs cdrom.a  
+make[3]: Leaving directory `/usr/src/linux/drivers/cdrom'
+make[2]: Leaving directory `/usr/src/linux/drivers/cdrom'
+make all_targets
+make[2]: Entering directory `/usr/src/linux/drivers'
+make[2]: Nothing to be done for `all_targets'.
+make[2]: Leaving directory `/usr/src/linux/drivers'
+make[1]: Leaving directory `/usr/src/linux/drivers'
+make[1]: Entering directory `/usr/src/linux/mm'
+make all_targets
+make[2]: Entering directory `/usr/src/linux/mm'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o memory.o memory.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o mmap.o mmap.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o filemap.o filemap.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o mprotect.o mprotect.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o mlock.o mlock.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o mremap.o mremap.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o kmalloc.o kmalloc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o vmalloc.o vmalloc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o swap.o swap.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o vmscan.o vmscan.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o page_io.o page_io.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o page_alloc.o page_alloc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o swap_state.o swap_state.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o swapfile.o swapfile.c
+rm -f mm.o
+ld -m elf_i386  -r -o mm.o  memory.o mmap.o filemap.o mprotect.o mlock.o mremap.o kmalloc.o vmalloc.o swap.o vmscan.o page_io.o page_alloc.o swap_state.o swapfile.o
+make[2]: Leaving directory `/usr/src/linux/mm'
+make[1]: Leaving directory `/usr/src/linux/mm'
+make[1]: Entering directory `/usr/src/linux/fs'
+set -e; for i in ext2 proc; do make -C $i; done
+make[2]: Entering directory `/usr/src/linux/fs/ext2'
+make all_targets
+make[3]: Entering directory `/usr/src/linux/fs/ext2'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o acl.o acl.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o balloc.o balloc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o bitmap.o bitmap.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o dir.o dir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o file.o file.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o fsync.o fsync.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ialloc.o ialloc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ioctl.o ioctl.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o namei.o namei.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o super.o super.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o symlink.o symlink.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o truncate.o truncate.c
+rm -f ext2.o
+ld -m elf_i386  -r -o ext2.o  acl.o balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o ioctl.o namei.o super.o symlink.o truncate.o
+make[3]: Leaving directory `/usr/src/linux/fs/ext2'
+make[2]: Leaving directory `/usr/src/linux/fs/ext2'
+make[2]: Entering directory `/usr/src/linux/fs/proc'
+make all_targets
+make[3]: Entering directory `/usr/src/linux/fs/proc'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODVERSIONS -DEXPORT_SYMTAB -c procfs_syms.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o root.o root.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o base.o base.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o mem.o mem.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o link.o link.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o fd.o fd.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o array.o array.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o kmsg.o kmsg.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o net.o net.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o scsi.o scsi.c
+rm -f proc.o
+ld -m elf_i386  -r -o proc.o procfs_syms.o inode.o root.o base.o mem.o link.o fd.o array.o kmsg.o net.o scsi.o
+make[3]: Leaving directory `/usr/src/linux/fs/proc'
+make[2]: Leaving directory `/usr/src/linux/fs/proc'
+make all_targets
+make[2]: Entering directory `/usr/src/linux/fs'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o open.o open.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o read_write.o read_write.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o devices.o devices.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o file_table.o file_table.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o buffer.o buffer.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o super.o super.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o block_dev.o block_dev.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o stat.o stat.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o exec.o exec.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o pipe.o pipe.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o namei.o namei.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o fcntl.o fcntl.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ioctl.o ioctl.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o readdir.o readdir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o select.o select.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o fifo.o fifo.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o locks.o locks.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o filesystems.o filesystems.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o dcache.o dcache.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o bad_inode.o bad_inode.c
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o binfmt_elf.o binfmt_elf.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o binfmt_script.o binfmt_script.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o dquot.o dquot.c
+rm -f fs.o
+ld -m elf_i386  -r -o fs.o  open.o read_write.o inode.o devices.o file_table.o buffer.o super.o  block_dev.o stat.o exec.o pipe.o namei.o fcntl.o ioctl.o readdir.o select.o fifo.o locks.o filesystems.o dcache.o bad_inode.o binfmt_elf.o binfmt_script.o dquot.o
+rm -f filesystems.a
+ar  rcs filesystems.a  ext2/ext2.o proc/proc.o
+make[2]: Leaving directory `/usr/src/linux/fs'
+make[1]: Leaving directory `/usr/src/linux/fs'
+make[1]: Entering directory `/usr/src/linux/net'
+set -e; for i in core ethernet unix 802 ipv4; do make -C $i; done
+make[2]: Entering directory `/usr/src/linux/net/core'
+make all_targets
+make[3]: Entering directory `/usr/src/linux/net/core'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODVERSIONS -DEXPORT_SYMTAB -c firewall.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o sock.o sock.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o skbuff.o skbuff.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o iovec.o iovec.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o datagram.o datagram.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o sysctl_net_core.o sysctl_net_core.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o dev.o dev.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o dev_mcast.o dev_mcast.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o net_alias.o net_alias.c
+rm -f core.o
+ld -m elf_i386  -r -o core.o firewall.o sock.o skbuff.o iovec.o datagram.o sysctl_net_core.o dev.o dev_mcast.o net_alias.o
+make[3]: Leaving directory `/usr/src/linux/net/core'
+make[2]: Leaving directory `/usr/src/linux/net/core'
+make[2]: Entering directory `/usr/src/linux/net/ethernet'
+make all_targets
+make[3]: Entering directory `/usr/src/linux/net/ethernet'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o eth.o eth.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o sysctl_net_ether.o sysctl_net_ether.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o pe2.o pe2.c
+rm -f ethernet.o
+ld -m elf_i386  -r -o ethernet.o  eth.o sysctl_net_ether.o pe2.o
+make[3]: Leaving directory `/usr/src/linux/net/ethernet'
+make[2]: Leaving directory `/usr/src/linux/net/ethernet'
+make[2]: Entering directory `/usr/src/linux/net/unix'
+make all_targets
+make[3]: Entering directory `/usr/src/linux/net/unix'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o af_unix.o af_unix.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o garbage.o garbage.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o sysctl_net_unix.o sysctl_net_unix.c
+rm -f unix.o
+ld -m elf_i386  -r -o unix.o  af_unix.o garbage.o sysctl_net_unix.o
+make[3]: Leaving directory `/usr/src/linux/net/unix'
+make[2]: Leaving directory `/usr/src/linux/net/unix'
+make[2]: Entering directory `/usr/src/linux/net/802'
+make all_targets
+make[3]: Entering directory `/usr/src/linux/net/802'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODVERSIONS -DEXPORT_SYMTAB -c p8022.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODVERSIONS -DEXPORT_SYMTAB -c psnap.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODVERSIONS -DEXPORT_SYMTAB -c p8022tr.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o p8023.o p8023.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o sysctl_net_802.o sysctl_net_802.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o tr.o tr.c
+rm -f 802.o
+ld -m elf_i386  -r -o 802.o p8022.o psnap.o p8022tr.o p8023.o sysctl_net_802.o tr.o
+make[3]: Leaving directory `/usr/src/linux/net/802'
+make[2]: Leaving directory `/usr/src/linux/net/802'
+make[2]: Entering directory `/usr/src/linux/net/ipv4'
+make all_targets
+make[3]: Entering directory `/usr/src/linux/net/ipv4'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o utils.o utils.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o route.o route.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o proc.o proc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o timer.o timer.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o protocol.o protocol.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o packet.o packet.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ip_input.o ip_input.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ip_fragment.o ip_fragment.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ip_forward.o ip_forward.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ip_options.o ip_options.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ip_output.o ip_output.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ip_sockglue.o ip_sockglue.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o tcp.o tcp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o tcp_input.o tcp_input.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o tcp_output.o tcp_output.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o tcp_timer.o tcp_timer.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o raw.o raw.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o udp.o udp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o arp.o arp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o icmp.o icmp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o devinet.o devinet.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o af_inet.o af_inet.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o igmp.o igmp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ip_fw.o ip_fw.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o sysctl_net_ipv4.o sysctl_net_ipv4.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ip_alias.o ip_alias.c
+rm -f ipv4.o
+ld -m elf_i386  -r -o ipv4.o  utils.o route.o proc.o timer.o protocol.o packet.o ip_input.o ip_fragment.o ip_forward.o ip_options.o ip_output.o ip_sockglue.o tcp.o tcp_input.o tcp_output.o tcp_timer.o raw.o udp.o arp.o icmp.o devinet.o af_inet.o igmp.o ip_fw.o sysctl_net_ipv4.o ip_alias.o
+make[3]: Leaving directory `/usr/src/linux/net/ipv4'
+make[2]: Leaving directory `/usr/src/linux/net/ipv4'
+make all_targets
+make[2]: Entering directory `/usr/src/linux/net'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODVERSIONS -DEXPORT_SYMTAB -c netsyms.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o socket.o socket.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o protocols.o protocols.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o sysctl_net.o sysctl_net.c
+rm -f network.a
+ar  rcs network.a netsyms.o socket.o protocols.o sysctl_net.o core/core.o ethernet/ethernet.o unix/unix.o 802/802.o ipv4/ipv4.o
+make[2]: Leaving directory `/usr/src/linux/net'
+make[1]: Leaving directory `/usr/src/linux/net'
+make[1]: Entering directory `/usr/src/linux/ipc'
+make all_targets
+make[2]: Entering directory `/usr/src/linux/ipc'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o util.o util.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o msg.o msg.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o sem.o sem.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o shm.o shm.c
+rm -f ipc.o
+ld -m elf_i386  -r -o ipc.o  util.o msg.o sem.o shm.o
+make[2]: Leaving directory `/usr/src/linux/ipc'
+make[1]: Leaving directory `/usr/src/linux/ipc'
+make[1]: Entering directory `/usr/src/linux/lib'
+make all_targets
+make[2]: Entering directory `/usr/src/linux/lib'
+rm -f lib.a
+ar  rcs lib.a  errno.o ctype.o string.o vsprintf.o
+make[2]: Leaving directory `/usr/src/linux/lib'
+make[1]: Leaving directory `/usr/src/linux/lib'
+make[1]: Entering directory `/usr/src/linux/arch/i386/kernel'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o process.o process.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o signal.o signal.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o traps.o traps.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o irq.o irq.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o vm86.o vm86.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o bios32.o bios32.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ptrace.o ptrace.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ioport.o ioport.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ldt.o ldt.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o setup.o setup.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o time.o time.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o sys_i386.o sys_i386.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o ksyms.o ksyms.c
+rm -f kernel.o
+ld -m elf_i386  -r -o kernel.o  process.o signal.o entry.o traps.o irq.o vm86.o bios32.o ptrace.o ioport.o ldt.o setup.o time.o sys_i386.o ksyms.o
+gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -traditional -c head.S -o head.o
+make[1]: Leaving directory `/usr/src/linux/arch/i386/kernel'
+make[1]: Entering directory `/usr/src/linux/arch/i386/mm'
+make all_targets
+make[2]: Entering directory `/usr/src/linux/arch/i386/mm'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o init.o init.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o fault.o fault.c
+rm -f mm.o
+ld -m elf_i386  -r -o mm.o  init.o fault.o
+make[2]: Leaving directory `/usr/src/linux/arch/i386/mm'
+make[1]: Leaving directory `/usr/src/linux/arch/i386/mm'
+make[1]: Entering directory `/usr/src/linux/arch/i386/lib'
+make all_targets
+make[2]: Entering directory `/usr/src/linux/arch/i386/lib'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o checksum.o checksum.c
+rm -f lib.a
+ar  rcs lib.a  checksum.o semaphore.o delay.o
+make[2]: Leaving directory `/usr/src/linux/arch/i386/lib'
+make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'
+ld -m elf_i386 -Ttext 0x100000 -e stext arch/i386/kernel/head.o init/main.o init/version.o \
+       arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o net/network.a \
+       fs/filesystems.a \
+       drivers/block/block.a drivers/char/char.a drivers/net/net.a drivers/cdrom/cdrom.a drivers/scsi/scsi.a drivers/pci/pci.a \
+       /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a -o vmlinux
+nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( a \)' | sort > System.map
+make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
+gcc -D__KERNEL__ -I/usr/src/linux/include -E -D__ELF__ -traditional -DSVGA_MODE=NORMAL_VGA  bootsect.S -o bootsect.s
+as86 -0 -a -o bootsect.o bootsect.s
+ld86 -0 -s -o bootsect bootsect.o
+gcc -D__KERNEL__ -I/usr/src/linux/include -E -D__ELF__ -traditional -DSVGA_MODE=NORMAL_VGA  setup.S -o setup.s
+as86 -0 -a -o setup.o setup.s
+ld86 -0 -s -o setup setup.o
+make[2]: Entering directory `/usr/src/linux/arch/i386/boot/compressed'
+tmppiggy=/tmp/$$piggy; \
+rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk; \
+if hash encaps 2> /dev/null; then \
+  objdump -k -q  -o 0x100000 /usr/src/linux/vmlinux > $tmppiggy; \
+else \
+  objcopy -O binary -R .note -R .comment -R .stab -R .stabstr /usr/src/linux/vmlinux $tmppiggy; \
+fi; \
+gzip -f -9 < $tmppiggy > $tmppiggy.gz; \
+if hash encaps 2> /dev/null; then \
+  encaps --target elf32-i386 piggy.o $tmppiggy.gz input_data input_len; \
+else \
+  echo "SECTIONS { .data : { input_len = .; LONG(input_data_end - input_data) input_data = .; *(.data) input_data_end = .; }}" > $tmppiggy.lnk; \
+  ld -m elf_i386 -m elf_i386 -r -o piggy.o -b binary $tmppiggy.gz -b elf32-i386 -T $tmppiggy.lnk; \
+fi; \
+rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk
+ld -m elf_i386 -Ttext 0x1000 -e startup_32  -o vmlinux head.o misc.o piggy.o
+make[2]: Leaving directory `/usr/src/linux/arch/i386/boot/compressed'
+if hash encaps 2> /dev/null; then \
+  objdump -k -q  -o 0x1000 compressed/vmlinux > compressed/vmlinux.out; \
+else \
+  objcopy -O binary -R .note -R .comment -R .stab -R .stabstr compressed/vmlinux compressed/vmlinux.out; \
+fi
+tools/build bootsect setup compressed/vmlinux.out CURRENT > zImage
+Root device is (22, 2)
+Boot sector 512 bytes.
+Setup is 4428 bytes.
+System is 386 kB
+sync
+make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
diff --git a/pot2 b/pot2
new file mode 100644 (file)
index 0000000..93b1963
--- /dev/null
+++ b/pot2
@@ -0,0 +1,770 @@
+make[1]: Entering directory `/usr/src/linux/kernel'
+make[1]: Nothing to be done for `modules'.
+make[1]: Leaving directory `/usr/src/linux/kernel'
+make[1]: Entering directory `/usr/src/linux/drivers'
+set -e; for i in block char net  scsi cdrom isdn; do make -C $i modules; done
+make[2]: Entering directory `/usr/src/linux/drivers/block'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rd.o rd.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o loop.o loop.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o xd.o xd.c
+set -e; for i in paride; do make -C $i modules; done
+make[3]: Entering directory `/usr/src/linux/drivers/block/paride'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -E -D__GENKSYMS__ paride.c | /sbin/genksyms /usr/src/linux/include/linux/modules
+In file included from paride.c:21:
+/usr/src/linux/include/linux/module.h:11: warning: `_set_ver' redefined
+/usr/src/linux/include/linux/modversions.h:5: warning: this is the location of the previous definition
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DEXPORT_SYMTAB -c paride.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o pd.o pd.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o pcd.o pcd.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o pf.o pf.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o pt.o pt.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o pg.o pg.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o aten.o aten.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o bpck.o bpck.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o comm.o comm.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dstr.o dstr.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o kbic.o kbic.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o epat.o epat.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o epia.o epia.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o fit2.o fit2.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o fit3.o fit3.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o frpw.o frpw.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o friq.o friq.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o on20.o on20.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o on26.o on26.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ktti.o ktti.c
+rm -f $TOPDIR/modules/PARIDE_MODULES
+echo  paride.o pd.o pcd.o pf.o pt.o pg.o aten.o bpck.o comm.o dstr.o kbic.o epat.o epia.o fit2.o fit3.o frpw.o friq.o on20.o on26.o ktti.o >> $TOPDIR/modules/PARIDE_MODULES
+echo drivers/block/paride/
+drivers/block/paride/
+cd $TOPDIR/modules; for i in  paride.o pd.o pcd.o pf.o pt.o pg.o aten.o bpck.o comm.o dstr.o kbic.o epat.o epia.o fit2.o fit3.o frpw.o friq.o on20.o on26.o ktti.o; do \
+    ln -sf ../drivers/block/paride//$i .; done
+make[3]: Leaving directory `/usr/src/linux/drivers/block/paride'
+rm -f $TOPDIR/modules/BLOCK_MODULES
+for i in paride; do \
+    echo `basename $i`.o >> $TOPDIR/modules/BLOCK_MODULES; done
+echo   rd.o loop.o xd.o >> $TOPDIR/modules/BLOCK_MODULES
+echo drivers/block/
+drivers/block/
+cd $TOPDIR/modules; for i in   rd.o loop.o xd.o; do \
+    ln -sf ../drivers/block//$i .; done
+make[2]: Leaving directory `/usr/src/linux/drivers/block'
+make[2]: Entering directory `/usr/src/linux/drivers/char'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o cyclades.o cyclades.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o stallion.o stallion.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o istallion.o istallion.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o riscom8.o riscom8.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o specialix.o specialix.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o atixlmouse.o atixlmouse.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o busmouse.o busmouse.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o lp.o lp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o msbusmouse.o msbusmouse.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o softdog.o softdog.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o pcwd.o pcwd.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o wdt.o wdt.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o scc.o scc.c
+echo drivers/char/
+drivers/char/
+cd $TOPDIR/modules; for i in   cyclades.o stallion.o istallion.o riscom8.o specialix.o atixlmouse.o busmouse.o lp.o msbusmouse.o softdog.o pcwd.o wdt.o scc.o; do \
+    ln -sf ../drivers/char//$i .; done
+make[2]: Leaving directory `/usr/src/linux/drivers/char'
+make[2]: Entering directory `/usr/src/linux/drivers/net'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DEXPORT_SYMTAB -c ppp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DEXPORT_SYMTAB -c slhc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DEXPORT_SYMTAB -c hdlcdrv.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ibmtr.o ibmtr.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o shaper.o shaper.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o new_tunnel.o new_tunnel.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o hp100.o hp100.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o smc9194.o smc9194.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c wd.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c 3c503.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c ne.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c hp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o hp-plus.o hp-plus.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o smc-ultra.o smc-ultra.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o smc-ultra32.o smc-ultra32.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o e2100.o e2100.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c plip.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o bsd_comp.o bsd_comp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c slip.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c strip.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c dummy.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c de600.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c de620.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c lance.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o at1700.o at1700.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o fmv18x.o fmv18x.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o 3c501.o 3c501.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o 3c507.o 3c507.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o 3c515.o 3c515.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o 3c59x.o 3c59x.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o via-rhine.o via-rhine.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o eexpress.o eexpress.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o eepro.o eepro.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o eepro100.o eepro100.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o epic100.o epic100.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ne2k-pci.o ne2k-pci.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o pcnet32.o pcnet32.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rtl8139.o rtl8139.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o yellowfin.o yellowfin.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o wavelan.o wavelan.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c depca.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c ewrk3.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o atp.o atp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DDE4X5_AUTOSENSE=AUTO -c de4x5.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ni52.o ni52.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ni65.o ni65.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c 3c505.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ac3200.o ac3200.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o apricot.o apricot.c
+apricot.c: In function `init_i596_mem':
+apricot.c:266: warning: assignment discards `volatile' from pointer target type
+apricot.c:267: warning: assignment discards `volatile' from pointer target type
+apricot.c:291: warning: passing arg 2 of `i596_add_cmd' discards `volatile' from pointer target type
+apricot.c:295: warning: passing arg 2 of `i596_add_cmd' discards `volatile' from pointer target type
+apricot.c:298: warning: passing arg 2 of `i596_add_cmd' discards `volatile' from pointer target type
+apricot.c: In function `i596_cleanup_cmd':
+apricot.c:419: warning: unused variable `count'
+apricot.c: In function `i596_interrupt':
+apricot.c:829: warning: unused variable `count'
+apricot.c: In function `set_multicast_list':
+apricot.c:999: warning: passing arg 2 of `i596_add_cmd' discards `volatile' from pointer target type
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c tulip.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o tlan.o tlan.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o arcnet.o arcnet.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o eth16i.o eth16i.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o mkiss.o mkiss.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c pi2.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o pt.o pt.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o bpqether.o bpqether.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o baycom.o baycom.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o 8390.o 8390.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o eql.o eql.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dlci.o dlci.c
+gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c dgrs.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rcpci45.o rcpci45.c
+ld -m elf_i386 -r -o rcpci.o rcpci45.o rclanmtl.o
+set -e; for i in  soundmodem; do make -C $i modules; done
+make[3]: Entering directory `/usr/src/linux/drivers/net/soundmodem'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sm.o sm.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sm_sbc.o sm_sbc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sm_wss.o sm_wss.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sm_afsk1200.o sm_afsk1200.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sm_afsk2400_7.o sm_afsk2400_7.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sm_afsk2400_8.o sm_afsk2400_8.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sm_afsk2666.o sm_afsk2666.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sm_hapn4800.o sm_hapn4800.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sm_psk4800.o sm_psk4800.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sm_fsk9600.o sm_fsk9600.c
+rm -f soundmodem.o
+ld -m elf_i386  -r -o soundmodem.o  sm.o sm_sbc.o sm_wss.o sm_afsk1200.o sm_afsk2400_7.o sm_afsk2400_8.o sm_afsk2666.o sm_hapn4800.o sm_psk4800.o sm_fsk9600.o
+echo drivers/net/soundmodem/
+drivers/net/soundmodem/
+cd $TOPDIR/modules; for i in  soundmodem.o; do \
+    ln -sf ../drivers/net/soundmodem//$i .; done
+make[3]: Leaving directory `/usr/src/linux/drivers/net/soundmodem'
+rm -f $TOPDIR/modules/NET_MODULES
+for i in  soundmodem; do \
+    echo `basename $i`.o >> $TOPDIR/modules/NET_MODULES; done
+echo ppp.o slhc.o hdlcdrv.o  ibmtr.o shaper.o new_tunnel.o hp100.o smc9194.o wd.o 3c503.o ne.o hp.o hp-plus.o smc-ultra.o smc-ultra32.o e2100.o plip.o bsd_comp.o slip.o strip.o dummy.o de600.o de620.o lance.o at1700.o fmv18x.o 3c501.o 3c507.o 3c515.o 3c59x.o via-rhine.o eexpress.o eepro.o eepro100.o epic100.o ne2k-pci.o pcnet32.o rtl8139.o yellowfin.o wavelan.o depca.o ewrk3.o atp.o de4x5.o ni52.o ni65.o 3c505.o ac3200.o apricot.o tulip.o tlan.o arcnet.o eth16i.o mkiss.o pi2.o pt.o bpqether.o baycom.o 8390.o eql.o dlci.o dgrs.o rcpci.o >> $TOPDIR/modules/NET_MODULES
+echo drivers/net/
+drivers/net/
+cd $TOPDIR/modules; for i in ppp.o slhc.o hdlcdrv.o  ibmtr.o shaper.o new_tunnel.o hp100.o smc9194.o wd.o 3c503.o ne.o hp.o hp-plus.o smc-ultra.o smc-ultra32.o e2100.o plip.o bsd_comp.o slip.o strip.o dummy.o de600.o de620.o lance.o at1700.o fmv18x.o 3c501.o 3c507.o 3c515.o 3c59x.o via-rhine.o eexpress.o eepro.o eepro100.o epic100.o ne2k-pci.o pcnet32.o rtl8139.o yellowfin.o wavelan.o depca.o ewrk3.o atp.o de4x5.o ni52.o ni65.o 3c505.o ac3200.o apricot.o tulip.o tlan.o arcnet.o eth16i.o mkiss.o pi2.o pt.o bpqether.o baycom.o 8390.o eql.o dlci.o dgrs.o rcpci.o; do \
+    ln -sf ../drivers/net//$i .; done
+make[2]: Leaving directory `/usr/src/linux/drivers/net'
+make[2]: Entering directory `/usr/src/linux/drivers/scsi'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o st.o st.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sr.o sr.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sr_ioctl.o sr_ioctl.c
+ld -m elf_i386 -m elf_i386 -r -o sr_mod.o sr.o sr_ioctl.o
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sg.o sg.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o advansys.o advansys.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ppa.o ppa.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o qlogicfas.o qlogicfas.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o qlogicisp.o qlogicisp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o atp870u.o atp870u.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ini9100u.o ini9100u.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o i91uscsi.o i91uscsi.c
+ld -m elf_i386 -r -o initio.o ini9100u.o i91uscsi.o
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DDEBUG_AHA152X -DAUTOCONF -c aha152x.c 
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o aha1542.o aha1542.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o aha1740.o aha1740.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o aic7xxx.o aic7xxx.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c tmscsim.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o AM53C974.o AM53C974.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o eata_dma.o eata_dma.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o eata_pio.o eata_pio.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o u14-34f.o u14-34f.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c gdth.c 
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o fdomain.o fdomain.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o in2000.o in2000.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DGENERIC_NCR5380_OVERRIDE="{{(NCR5380_map_type)0x350,5,0, BOARD_NCR53C400}};" -c g_NCR5380.c
+g_NCR5380.c: In function `generic_NCR5380_proc_info':
+g_NCR5380.c:617: warning: unused variable `dev'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o 53c7,8xx.o 53c7,8xx.c
+53c7,8xx.c:713: warning: `request_synchronous' defined but not used
+53c7,8xx.c:761: warning: `request_disconnect' defined but not used
+53c7,8xx.c:5415: warning: `ncr_state' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ncr53c8xx.o ncr53c8xx.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o pas16.o pas16.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DARBITRATE -DSLOW_HANDSHAKE -DFAST32 -c seagate.c 
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o wd7000.o wd7000.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o t128.o t128.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dtc.o dtc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ultrastor.o ultrastor.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o eata.o eata.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o NCR53c406a.o NCR53c406a.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sym53c416.o sym53c416.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c megaraid.c
+rm -f $TOPDIR/modules/SCSI_MODULES
+echo   st.o sr_mod.o sg.o advansys.o ppa.o qlogicfas.o qlogicisp.o  atp870u.o  initio.o aha152x.o aha1542.o aha1740.o aic7xxx.o tmscsim.o AM53C974.o eata_dma.o eata_pio.o u14-34f.o gdth.o fdomain.o in2000.o g_NCR5380.o 53c7,8xx.o ncr53c8xx.o pas16.o seagate.o wd7000.o t128.o dtc.o ultrastor.o eata.o NCR53c406a.o sym53c416.o  megaraid.o >> $TOPDIR/modules/SCSI_MODULES
+echo drivers/scsi/
+drivers/scsi/
+cd $TOPDIR/modules; for i in   st.o sr_mod.o sg.o advansys.o ppa.o qlogicfas.o qlogicisp.o  atp870u.o  initio.o aha152x.o aha1542.o aha1740.o aic7xxx.o tmscsim.o AM53C974.o eata_dma.o eata_pio.o u14-34f.o gdth.o fdomain.o in2000.o g_NCR5380.o 53c7,8xx.o ncr53c8xx.o pas16.o seagate.o wd7000.o t128.o dtc.o ultrastor.o eata.o NCR53c406a.o sym53c416.o  megaraid.o; do \
+    ln -sf ../drivers/scsi//$i .; done
+make[2]: Leaving directory `/usr/src/linux/drivers/scsi'
+make[2]: Entering directory `/usr/src/linux/drivers/cdrom'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o cdrom.o cdrom.c
+cdrom.c: In function `register_cdrom':
+cdrom.c:67: warning: initialization discards `const' from pointer target type
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o aztcd.o aztcd.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o cdu31a.o cdu31a.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o mcd.o mcd.c
+In file included from mcd.c:93:
+/usr/src/linux/include/linux/mcd.h:114: warning: #warning You have not edited mcd.h
+/usr/src/linux/include/linux/mcd.h:115: warning: #warning Perhaps irq and i/o settings are wrong.
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o mcdx.o mcdx.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sbpcd.o sbpcd.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sonycd535.o sonycd535.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o gscd.o gscd.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o cm206.o cm206.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o optcd.o optcd.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sjcd.o sjcd.c
+rm -f $TOPDIR/modules/CDROM_MODULES
+echo   cdrom.o aztcd.o cdu31a.o mcd.o mcdx.o sbpcd.o sonycd535.o gscd.o cm206.o optcd.o sjcd.o >> $TOPDIR/modules/CDROM_MODULES
+echo drivers/cdrom/
+drivers/cdrom/
+cd $TOPDIR/modules; for i in   cdrom.o aztcd.o cdu31a.o mcd.o mcdx.o sbpcd.o sonycd535.o gscd.o cm206.o optcd.o sjcd.o; do \
+    ln -sf ../drivers/cdrom//$i .; done
+make[2]: Leaving directory `/usr/src/linux/drivers/cdrom'
+make[2]: Entering directory `/usr/src/linux/drivers/isdn'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DMODVERSIONS -DEXPORT_SYMTAB -c isdn_syms.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o isdn_common.o isdn_common.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o isdn_net.o isdn_net.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o isdn_tty.o isdn_tty.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o isdn_ppp.o isdn_ppp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o isdn_audio.o isdn_audio.c
+rm -f isdn.o
+ld -m elf_i386  -r -o isdn.o  isdn_syms.o  isdn_common.o isdn_net.o isdn_tty.o isdn_ppp.o isdn_audio.o
+set -e; for i in  hisax icn pcbit sc avmb1 isdnloop; do make -C $i modules; done
+make[3]: Entering directory `/usr/src/linux/drivers/isdn/hisax'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DMODVERSIONS -DEXPORT_SYMTAB -c config.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o isdnl1.o isdnl1.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o tei.o tei.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o isdnl2.o isdnl2.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o isdnl3.o isdnl3.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o lmgr.o lmgr.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o q931.o q931.c
+q931.c:211: warning: `fac_1tr6' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o callc.o callc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o fsm.o fsm.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -D CERTIFICATION=0 -c -o cert.o cert.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o l3dss1.o l3dss1.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o teles0.o teles0.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o isac.o isac.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o hscx.o hscx.c
+rm -f hisax.o
+ld -m elf_i386  -r -o hisax.o  config.o isdnl1.o tei.o isdnl2.o isdnl3.o lmgr.o q931.o callc.o fsm.o cert.o l3dss1.o teles0.o isac.o hscx.o     
+echo drivers/isdn/hisax/
+drivers/isdn/hisax/
+cd $TOPDIR/modules; for i in   hisax.o; do \
+    ln -sf ../drivers/isdn/hisax//$i .; done
+make[3]: Leaving directory `/usr/src/linux/drivers/isdn/hisax'
+make[3]: Entering directory `/usr/src/linux/drivers/isdn/icn'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o icn.o icn.c
+echo drivers/isdn/icn/
+drivers/isdn/icn/
+cd $TOPDIR/modules; for i in   icn.o; do \
+    ln -sf ../drivers/isdn/icn//$i .; done
+make[3]: Leaving directory `/usr/src/linux/drivers/isdn/icn'
+make[3]: Entering directory `/usr/src/linux/drivers/isdn/pcbit'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o module.o module.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o edss1.o edss1.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o drv.o drv.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o layer2.o layer2.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o capi.o capi.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o callbacks.o callbacks.c
+rm -f pcbit.o
+ld -m elf_i386  -r -o pcbit.o  module.o edss1.o drv.o layer2.o capi.o callbacks.o 
+echo drivers/isdn/pcbit/
+drivers/isdn/pcbit/
+cd $TOPDIR/modules; for i in   pcbit.o; do \
+    ln -sf ../drivers/isdn/pcbit//$i .; done
+make[3]: Leaving directory `/usr/src/linux/drivers/isdn/pcbit'
+make[3]: Entering directory `/usr/src/linux/drivers/isdn/sc'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o shmem.o shmem.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o init.o init.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o debug.o debug.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o packet.o packet.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o command.o command.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o event.o event.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ioctl.o ioctl.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o interrupt.o interrupt.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o message.o message.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o timer.o timer.c
+rm -f sc.o
+ld -m elf_i386  -r -o sc.o  shmem.o init.o debug.o packet.o command.o event.o ioctl.o interrupt.o message.o timer.o
+echo drivers/isdn/sc/
+drivers/isdn/sc/
+cd $TOPDIR/modules; for i in   sc.o; do \
+    ln -sf ../drivers/isdn/sc//$i .; done
+make[3]: Leaving directory `/usr/src/linux/drivers/isdn/sc'
+make[3]: Entering directory `/usr/src/linux/drivers/isdn/avmb1'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DEXPORT_SYMTAB -c capiutil.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DEXPORT_SYMTAB -c capidrv.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DEXPORT_SYMTAB -c b1pci.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o capi.o capi.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DMODVERSIONS -DEXPORT_SYMTAB -c b1capi.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o b1lli.o b1lli.c
+rm -f kernelcapi.o
+ld -m elf_i386  -r -o kernelcapi.o  b1capi.o  b1lli.o
+echo drivers/isdn/avmb1/
+drivers/isdn/avmb1/
+cd $TOPDIR/modules; for i in  capiutil.o capidrv.o b1pci.o  capi.o kernelcapi.o; do \
+    ln -sf ../drivers/isdn/avmb1//$i .; done
+make[3]: Leaving directory `/usr/src/linux/drivers/isdn/avmb1'
+make[3]: Entering directory `/usr/src/linux/drivers/isdn/isdnloop'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o isdnloop.o isdnloop.c
+echo drivers/isdn/isdnloop/
+drivers/isdn/isdnloop/
+cd $TOPDIR/modules; for i in   isdnloop.o; do \
+    ln -sf ../drivers/isdn/isdnloop//$i .; done
+make[3]: Leaving directory `/usr/src/linux/drivers/isdn/isdnloop'
+echo drivers/isdn/
+drivers/isdn/
+cd $TOPDIR/modules; for i in   isdn.o; do \
+    ln -sf ../drivers/isdn//$i .; done
+make[2]: Leaving directory `/usr/src/linux/drivers/isdn'
+make[1]: Leaving directory `/usr/src/linux/drivers'
+make[1]: Entering directory `/usr/src/linux/mm'
+make[1]: Nothing to be done for `modules'.
+make[1]: Leaving directory `/usr/src/linux/mm'
+make[1]: Entering directory `/usr/src/linux/fs'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DEXPORT_SYMTAB -c nls.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o binfmt_aout.o binfmt_aout.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o binfmt_java.o binfmt_java.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp437.o nls_cp437.c
+nls_cp437.c:361: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp737.o nls_cp737.c
+nls_cp737.c:289: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp775.o nls_cp775.c
+nls_cp775.c:289: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp850.o nls_cp850.c
+nls_cp850.c:253: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp852.o nls_cp852.c
+nls_cp852.c:253: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp855.o nls_cp855.c
+nls_cp855.c:253: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp857.o nls_cp857.c
+nls_cp857.c:217: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp860.o nls_cp860.c
+nls_cp860.c:325: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp861.o nls_cp861.c
+nls_cp861.c:361: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp862.o nls_cp862.c
+nls_cp862.c:397: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp863.o nls_cp863.c
+nls_cp863.c:361: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp864.o nls_cp864.c
+nls_cp864.c:352: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp865.o nls_cp865.c
+nls_cp865.c:361: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp866.o nls_cp866.c
+nls_cp866.c:289: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp869.o nls_cp869.c
+nls_cp869.c:253: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_cp874.o nls_cp874.c
+nls_cp874.c:217: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_iso8859_1.o nls_iso8859_1.c
+nls_iso8859_1.c:138: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_iso8859_2.o nls_iso8859_2.c
+nls_iso8859_2.c:210: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_iso8859_3.o nls_iso8859_3.c
+nls_iso8859_3.c:210: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_iso8859_4.o nls_iso8859_4.c
+nls_iso8859_4.c:210: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_iso8859_5.o nls_iso8859_5.c
+nls_iso8859_5.c:214: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_iso8859_6.o nls_iso8859_6.c
+nls_iso8859_6.c:174: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_iso8859_7.o nls_iso8859_7.c
+nls_iso8859_7.c:250: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_iso8859_8.o nls_iso8859_8.c
+nls_iso8859_8.c:214: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_iso8859_9.o nls_iso8859_9.c
+nls_iso8859_9.c:174: warning: `charset2upper' defined but not used
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_iso8859_15.o nls_iso8859_15.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nls_koi8_r.o nls_koi8_r.c
+nls_koi8_r.c:286: warning: `charset2upper' defined but not used
+set -e; for i in minix ext fat msdos vfat isofs nfs xiafs umsdos sysv smbfs ncpfs hpfs ufs affs autofs; do make -C $i modules; done
+make[2]: Entering directory `/usr/src/linux/fs/minix'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o bitmap.o bitmap.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o truncate.o truncate.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o namei.o namei.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o file.o file.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dir.o dir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o symlink.o symlink.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o fsync.o fsync.c
+rm -f minix.o
+ld -m elf_i386  -r -o minix.o  bitmap.o truncate.o namei.o inode.o file.o dir.o symlink.o fsync.o
+echo fs/minix/
+fs/minix/
+cd $TOPDIR/modules; for i in  minix.o; do \
+    ln -sf ../fs/minix//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/minix'
+make[2]: Entering directory `/usr/src/linux/fs/ext'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o freelists.o freelists.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o truncate.o truncate.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o namei.o namei.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o file.o file.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dir.o dir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o symlink.o symlink.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o fsync.o fsync.c
+rm -f ext.o
+ld -m elf_i386  -r -o ext.o  freelists.o truncate.o namei.o inode.o file.o dir.o symlink.o fsync.o
+echo fs/ext/
+fs/ext/
+cd $TOPDIR/modules; for i in  ext.o; do \
+    ln -sf ../fs/ext//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/ext'
+make[2]: Entering directory `/usr/src/linux/fs/fat'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DMODVERSIONS -DEXPORT_SYMTAB -c fatfs_syms.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o buffer.o buffer.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o cache.o cache.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dir.o dir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o file.o file.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o misc.o misc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o mmap.o mmap.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o tables.o tables.c
+rm -f fat.o
+ld -m elf_i386  -r -o fat.o fatfs_syms.o buffer.o cache.o dir.o file.o inode.o misc.o mmap.o tables.o
+echo fs/fat/
+fs/fat/
+cd $TOPDIR/modules; for i in  fat.o; do \
+    ln -sf ../fs/fat//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/fat'
+make[2]: Entering directory `/usr/src/linux/fs/msdos'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DMODVERSIONS -DEXPORT_SYMTAB -c msdosfs_syms.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o namei.o namei.c
+rm -f msdos.o
+ld -m elf_i386  -r -o msdos.o msdosfs_syms.o namei.o
+echo fs/msdos/
+fs/msdos/
+cd $TOPDIR/modules; for i in  msdos.o; do \
+    ln -sf ../fs/msdos//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/msdos'
+make[2]: Entering directory `/usr/src/linux/fs/vfat'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DMODVERSIONS -DEXPORT_SYMTAB -c vfatfs_syms.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o namei.o namei.c
+rm -f vfat.o
+ld -m elf_i386  -r -o vfat.o vfatfs_syms.o namei.o
+echo fs/vfat/
+fs/vfat/
+cd $TOPDIR/modules; for i in  vfat.o; do \
+    ln -sf ../fs/vfat//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/vfat'
+make[2]: Entering directory `/usr/src/linux/fs/isofs'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o namei.o namei.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o file.o file.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dir.o dir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o util.o util.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rock.o rock.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o symlink.o symlink.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o joliet.o joliet.c
+rm -f isofs.o
+ld -m elf_i386  -r -o isofs.o  namei.o inode.o file.o dir.o util.o rock.o symlink.o joliet.o
+echo fs/isofs/
+fs/isofs/
+cd $TOPDIR/modules; for i in  isofs.o; do \
+    ln -sf ../fs/isofs//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/isofs'
+make[2]: Entering directory `/usr/src/linux/fs/nfs'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o proc.o proc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sock.o sock.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rpcsock.o rpcsock.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o file.o file.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o bio.o bio.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nfsiod.o nfsiod.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dir.o dir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o symlink.o symlink.c
+rm -f nfs.o
+ld -m elf_i386  -r -o nfs.o  proc.o sock.o rpcsock.o inode.o file.o bio.o nfsiod.o dir.o symlink.o
+echo fs/nfs/
+fs/nfs/
+cd $TOPDIR/modules; for i in  nfs.o; do \
+    ln -sf ../fs/nfs//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/nfs'
+make[2]: Entering directory `/usr/src/linux/fs/xiafs'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o bitmap.o bitmap.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o truncate.o truncate.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o namei.o namei.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o file.o file.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dir.o dir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o symlink.o symlink.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o fsync.o fsync.c
+rm -f xiafs.o
+ld -m elf_i386  -r -o xiafs.o  bitmap.o truncate.o namei.o inode.o file.o dir.o symlink.o fsync.o
+echo fs/xiafs/
+fs/xiafs/
+cd $TOPDIR/modules; for i in  xiafs.o; do \
+    ln -sf ../fs/xiafs//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/xiafs'
+make[2]: Entering directory `/usr/src/linux/fs/umsdos'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dir.o dir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o emd.o emd.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o file.o file.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ioctl.o ioctl.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o mangle.o mangle.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o namei.o namei.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rdir.o rdir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o symlink.o symlink.c
+rm -f umsdos.o
+ld -m elf_i386  -r -o umsdos.o  dir.o emd.o file.o inode.o ioctl.o mangle.o namei.o rdir.o symlink.o 
+echo fs/umsdos/
+fs/umsdos/
+cd $TOPDIR/modules; for i in  umsdos.o; do \
+    ln -sf ../fs/umsdos//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/umsdos'
+make[2]: Entering directory `/usr/src/linux/fs/sysv'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ialloc.o ialloc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o balloc.o balloc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o file.o file.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dir.o dir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o symlink.o symlink.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o namei.o namei.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o fsync.o fsync.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o truncate.o truncate.c
+rm -f sysv.o
+ld -m elf_i386  -r -o sysv.o  ialloc.o balloc.o inode.o file.o dir.o symlink.o namei.o fsync.o truncate.o
+echo fs/sysv/
+fs/sysv/
+cd $TOPDIR/modules; for i in  sysv.o; do \
+    ln -sf ../fs/sysv//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/sysv'
+make[2]: Entering directory `/usr/src/linux/fs/smbfs'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o proc.o proc.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sock.o sock.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o file.o file.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dir.o dir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ioctl.o ioctl.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o mmap.o mmap.c
+rm -f smbfs.o
+ld -m elf_i386  -r -o smbfs.o  proc.o sock.o inode.o file.o dir.o ioctl.o mmap.o
+echo fs/smbfs/
+fs/smbfs/
+cd $TOPDIR/modules; for i in  smbfs.o; do \
+    ln -sf ../fs/smbfs//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/smbfs'
+make[2]: Entering directory `/usr/src/linux/fs/ncpfs'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dir.o dir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o file.o file.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ioctl.o ioctl.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o mmap.o mmap.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -finline-functions -c -o ncplib_kernel.o ncplib_kernel.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sock.o sock.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ncpsign_kernel.o ncpsign_kernel.c
+rm -f ncpfs.o
+ld -m elf_i386  -r -o ncpfs.o  dir.o file.o inode.o ioctl.o mmap.o ncplib_kernel.o sock.o ncpsign_kernel.o
+echo fs/ncpfs/
+fs/ncpfs/
+cd $TOPDIR/modules; for i in  ncpfs.o; do \
+    ln -sf ../fs/ncpfs//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/ncpfs'
+make[2]: Entering directory `/usr/src/linux/fs/hpfs'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o hpfs_fs.o hpfs_fs.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o hpfs_caps.o hpfs_caps.c
+rm -f hpfs.o
+ld -m elf_i386  -r -o hpfs.o  hpfs_fs.o hpfs_caps.o
+echo fs/hpfs/
+fs/hpfs/
+cd $TOPDIR/modules; for i in  hpfs.o; do \
+    ln -sf ../fs/hpfs//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/hpfs'
+make[2]: Entering directory `/usr/src/linux/fs/ufs'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ufs_dir.o ufs_dir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ufs_file.o ufs_file.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ufs_inode.o ufs_inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ufs_namei.o ufs_namei.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ufs_super.o ufs_super.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ufs_symlink.o ufs_symlink.c
+rm -f ufs.o
+ld -m elf_i386  -r -o ufs.o  ufs_dir.o ufs_file.o ufs_inode.o ufs_namei.o ufs_super.o ufs_symlink.o
+echo fs/ufs/
+fs/ufs/
+cd $TOPDIR/modules; for i in  ufs.o; do \
+    ln -sf ../fs/ufs//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/ufs'
+make[2]: Entering directory `/usr/src/linux/fs/affs'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o namei.o namei.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o file.o file.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dir.o dir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o amigaffs.o amigaffs.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o bitmap.o bitmap.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o symlink.o symlink.c
+rm -f affs.o
+ld -m elf_i386  -r -o affs.o  namei.o inode.o file.o dir.o amigaffs.o bitmap.o symlink.o
+echo fs/affs/
+fs/affs/
+cd $TOPDIR/modules; for i in  affs.o; do \
+    ln -sf ../fs/affs//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/affs'
+make[2]: Entering directory `/usr/src/linux/fs/autofs'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dir.o dir.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o dirhash.o dirhash.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o init.o init.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o inode.o inode.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o root.o root.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o symlink.o symlink.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o waitq.o waitq.c
+rm -f autofs.o
+ld -m elf_i386  -r -o autofs.o  dir.o dirhash.o init.o inode.o root.o symlink.o waitq.o
+echo fs/autofs/
+fs/autofs/
+cd $TOPDIR/modules; for i in  autofs.o; do \
+    ln -sf ../fs/autofs//$i .; done
+make[2]: Leaving directory `/usr/src/linux/fs/autofs'
+rm -f $TOPDIR/modules/FS_MODULES
+for i in minix ext fat msdos vfat isofs nfs xiafs umsdos sysv smbfs ncpfs hpfs ufs affs autofs; do \
+    echo `basename $i`.o >> $TOPDIR/modules/FS_MODULES; done
+echo nls.o binfmt_aout.o binfmt_java.o nls_cp437.o nls_cp737.o nls_cp775.o nls_cp850.o nls_cp852.o nls_cp855.o nls_cp857.o nls_cp860.o nls_cp861.o nls_cp862.o nls_cp863.o nls_cp864.o nls_cp865.o nls_cp866.o nls_cp869.o nls_cp874.o nls_iso8859_1.o nls_iso8859_2.o nls_iso8859_3.o nls_iso8859_4.o nls_iso8859_5.o nls_iso8859_6.o nls_iso8859_7.o nls_iso8859_8.o nls_iso8859_9.o nls_iso8859_15.o nls_koi8_r.o >> $TOPDIR/modules/FS_MODULES
+echo fs/
+fs/
+cd $TOPDIR/modules; for i in nls.o binfmt_aout.o binfmt_java.o nls_cp437.o nls_cp737.o nls_cp775.o nls_cp850.o nls_cp852.o nls_cp855.o nls_cp857.o nls_cp860.o nls_cp861.o nls_cp862.o nls_cp863.o nls_cp864.o nls_cp865.o nls_cp866.o nls_cp869.o nls_cp874.o nls_iso8859_1.o nls_iso8859_2.o nls_iso8859_3.o nls_iso8859_4.o nls_iso8859_5.o nls_iso8859_6.o nls_iso8859_7.o nls_iso8859_8.o nls_iso8859_9.o nls_iso8859_15.o nls_koi8_r.o; do \
+    ln -sf ../fs//$i .; done
+make[1]: Leaving directory `/usr/src/linux/fs'
+make[1]: Entering directory `/usr/src/linux/net'
+set -e; for i in ipv4 ipx appletalk netrom rose ax25; do make -C $i modules; done
+make[2]: Entering directory `/usr/src/linux/net/ipv4'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rarp.o rarp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ipip.o ipip.c
+rm -f $TOPDIR/modules/IPV4_MODULES
+echo   rarp.o ipip.o >> $TOPDIR/modules/IPV4_MODULES
+echo net/ipv4/
+net/ipv4/
+cd $TOPDIR/modules; for i in   rarp.o ipip.o; do \
+    ln -sf ../net/ipv4//$i .; done
+make[2]: Leaving directory `/usr/src/linux/net/ipv4'
+make[2]: Entering directory `/usr/src/linux/net/ipx'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o af_ipx.o af_ipx.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sysctl_net_ipx.o sysctl_net_ipx.c
+rm -f ipx.o
+ld -m elf_i386  -r -o ipx.o  af_ipx.o sysctl_net_ipx.o
+echo net/ipx/
+net/ipx/
+cd $TOPDIR/modules; for i in  ipx.o; do \
+    ln -sf ../net/ipx//$i .; done
+make[2]: Leaving directory `/usr/src/linux/net/ipx'
+make[2]: Entering directory `/usr/src/linux/net/appletalk'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o aarp.o aarp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ddp.o ddp.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sysctl_net_atalk.o sysctl_net_atalk.c
+rm -f appletalk.o
+ld -m elf_i386  -r -o appletalk.o  aarp.o ddp.o sysctl_net_atalk.o
+echo net/appletalk/
+net/appletalk/
+cd $TOPDIR/modules; for i in  appletalk.o; do \
+    ln -sf ../net/appletalk//$i .; done
+make[2]: Leaving directory `/usr/src/linux/net/appletalk'
+make[2]: Entering directory `/usr/src/linux/net/netrom'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o af_netrom.o af_netrom.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sysctl_net_netrom.o sysctl_net_netrom.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nr_dev.o nr_dev.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nr_in.o nr_in.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nr_out.o nr_out.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nr_route.o nr_route.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nr_subr.o nr_subr.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nr_timer.o nr_timer.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o nr_loopback.o nr_loopback.c
+rm -f netrom.o
+ld -m elf_i386  -r -o netrom.o  af_netrom.o sysctl_net_netrom.o nr_dev.o nr_in.o nr_out.o nr_route.o nr_subr.o nr_timer.o nr_loopback.o
+echo net/netrom/
+net/netrom/
+cd $TOPDIR/modules; for i in  netrom.o; do \
+    ln -sf ../net/netrom//$i .; done
+make[2]: Leaving directory `/usr/src/linux/net/netrom'
+make[2]: Entering directory `/usr/src/linux/net/rose'
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o af_rose.o af_rose.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sysctl_net_rose.o sysctl_net_rose.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rose_dev.o rose_dev.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rose_in.o rose_in.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rose_link.o rose_link.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rose_loopback.o rose_loopback.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rose_out.o rose_out.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rose_route.o rose_route.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rose_subr.o rose_subr.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o rose_timer.o rose_timer.c
+rm -f rose.o
+ld -m elf_i386  -r -o rose.o  af_rose.o sysctl_net_rose.o rose_dev.o rose_in.o rose_link.o rose_loopback.o rose_out.o rose_route.o rose_subr.o rose_timer.o
+echo net/rose/
+net/rose/
+cd $TOPDIR/modules; for i in  rose.o; do \
+    ln -sf ../net/rose//$i .; done
+make[2]: Leaving directory `/usr/src/linux/net/rose'
+make[2]: Entering directory `/usr/src/linux/net/ax25'
+updating /usr/src/linux/include/linux/modversions.h
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DMODVERSIONS -DEXPORT_SYMTAB -c af_ax25.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o sysctl_net_ax25.o sysctl_net_ax25.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ax25_in.o ax25_in.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ax25_out.o ax25_out.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ax25_route.o ax25_route.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ax25_subr.o ax25_subr.c
+gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -c -o ax25_timer.o ax25_timer.c
+rm -f ax25.o
+ld -m elf_i386  -r -o ax25.o af_ax25.o sysctl_net_ax25.o ax25_in.o ax25_out.o ax25_route.o ax25_subr.o ax25_timer.o
+echo net/ax25/
+net/ax25/
+cd $TOPDIR/modules; for i in  ax25.o; do \
+    ln -sf ../net/ax25//$i .; done
+make[2]: Leaving directory `/usr/src/linux/net/ax25'
+rm -f $TOPDIR/modules/NET_MISC_MODULES
+for i in ipv4 ipx appletalk netrom rose ax25; do \
+    echo `basename $i`.o >> $TOPDIR/modules/NET_MISC_MODULES; done
+make[1]: Leaving directory `/usr/src/linux/net'
+make[1]: Entering directory `/usr/src/linux/ipc'
+make[1]: Nothing to be done for `modules'.
+make[1]: Leaving directory `/usr/src/linux/ipc'
+make[1]: Entering directory `/usr/src/linux/lib'
+make[1]: Nothing to be done for `modules'.
+make[1]: Leaving directory `/usr/src/linux/lib'
+make[1]: Entering directory `/usr/src/linux/arch/i386/kernel'
+make[1]: Nothing to be done for `modules'.
+make[1]: Leaving directory `/usr/src/linux/arch/i386/kernel'
+make[1]: Entering directory `/usr/src/linux/arch/i386/mm'
+make[1]: Nothing to be done for `modules'.
+make[1]: Leaving directory `/usr/src/linux/arch/i386/mm'
+make[1]: Entering directory `/usr/src/linux/arch/i386/lib'
+make[1]: Nothing to be done for `modules'.
+make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'