Koala nano PC

From Koala
Jump to: navigation, search

Koala nano PC

Patch per linux kernel-2.6.18

Questa patch permette di attivare la LAN del Koala nano PC


diff -urN linux-2.6.18.orig/drivers/ide/pci/it821x.c linux-2.6.18/drivers/ide/pci/it821x.c
--- linux-2.6.18.orig/drivers/ide/pci/it821x.c  2006-09-20 11:42:06.000000000 +0800
+++ linux-2.6.18/drivers/ide/pci/it821x.c       2007-07-27 17:30:10.000000000 +0800
@@ -233,7 +233,10 @@

 static u8 it821x_ratemask (ide_drive_t *drive)
 {
-       u8 mode = 4;
+       /* DMP patched */
+       /* A dirty hack for the BadCRC issue on Vortex86SX */
+       /* Force all udma mode to be downgraded to mdma2 */
+       u8 mode = 0;
        if (!eighty_ninty_three(drive))
                mode = min(mode, (u8)1);
        return mode;
@@ -310,7 +313,7 @@

        it821x_clock_strategy(drive);
        /* FIXME: do we need to program this ? */
-       /* it821x_program(drive, itdev->mwdma[unit]); */
+       it821x_program(drive, itdev->mwdma[unit]);
 }

 /**
@@ -541,8 +544,21 @@

 static unsigned int __devinit ata66_it821x(ide_hwif_t *hwif)
 {
-       /* The reference driver also only does disk side */
-       return 1;
+       /* DMP pacthed */
+       struct pci_dev *dev = hwif->pci_dev;
+       unsigned int ata66 = 0;
+       u8 cable_80_pin[2] = { 0, 0 };
+       u16 regw = 0;
+
+       pci_read_config_word(dev, 0x40, &regw);
+       /* printk(KERN_INFO "DMP: %04X\n", regw); */
+
+       if (!(regw & 0x0008)) cable_80_pin[1] = 1;
+       if (!(regw & 0x0004)) cable_80_pin[0] = 1;
+
+       ata66 = (hwif->channel) ? cable_80_pin[1] : cable_80_pin[0];
+
+       return ata66;
 }

 /**
@@ -791,6 +807,7 @@
 static struct pci_device_id it821x_pci_tbl[] = {
        { PCI_VENDOR_ID_ITE, PCI_DEVICE_ID_ITE_8211,  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
        { PCI_VENDOR_ID_ITE, PCI_DEVICE_ID_ITE_8212,  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+       { 0x17F3, 0x1010, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
        { 0, },
 };

diff -urN linux-2.6.18.orig/drivers/net/Kconfig linux-2.6.18/drivers/net/Kconfig
--- linux-2.6.18.orig/drivers/net/Kconfig       2006-09-20 11:42:06.000000000 +0800
+++ linux-2.6.18/drivers/net/Kconfig    2007-07-25 17:36:05.000000000 +0800
@@ -1567,6 +1567,25 @@
          <file:Documentation/networking/net-modules.txt>.  The module
          will be called es3210.

+config R6040
+       tristate "RDC R6040 PCI Fast Ethernet support"
+       depends on NET_PCI && PCI
+       select CRC32
+       select MII
+       help
+         To compile this driver as a module, choose M here: the module
+         will be called r6040.  This is recommended.
+
+config R6040_NAPI
+       bool "Use Rx Polling (NAPI)"
+       depends on R6040
+       help
+         NAPI is a new driver API designed to reduce CPU and interrupt load
+         when the driver is receiving lots of packets from the card.
+
+         See <file:Documentation/networking/NAPI_HOWTO.txt> for more
+         information.
+
 config 8139CP
        tristate "RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support (EXPERIMENTAL)"
        depends on NET_PCI && PCI && EXPERIMENTAL
diff -urN linux-2.6.18.orig/drivers/net/Makefile linux-2.6.18/drivers/net/Makefile
--- linux-2.6.18.orig/drivers/net/Makefile      2006-09-20 11:42:06.000000000 +0800
+++ linux-2.6.18/drivers/net/Makefile   2007-07-25 17:35:26.000000000 +0800
@@ -164,6 +164,7 @@
 obj-$(CONFIG_LASI_82596) += lasi_82596.o
 obj-$(CONFIG_MVME16x_NET) += 82596.o
 obj-$(CONFIG_BVME6000_NET) += 82596.o
+obj-$(CONFIG_R6040) += r6040.o

 # This is also a 82596 and should probably be merged
 obj-$(CONFIG_LP486E) += lp486e.o
diff -urN linux-2.6.18.orig/drivers/net/r6040.c linux-2.6.18/drivers/net/r6040.c
--- linux-2.6.18.orig/drivers/net/r6040.c       1970-01-01 08:00:00.000000000 +0800
+++ linux-2.6.18/drivers/net/r6040.c    2007-07-25 17:35:26.000000000 +0800
@@ -0,0 +1,1101 @@
+/* r6040.c: A RDC R6040 FastEthernet driver for linux. */
+/*
+       Re-written 2004 by Sten Wang.
+
+       Copyright 1994-2000 by Donald Becker.
+       Copyright 1993 United States Government as represented by the
+       Director, National Security Agency.      This software may be used and
+       distributed according to the terms of the GNU General Public License,
+       incorporated herein by reference.
+
+       This driver is for RDC R6040 FastEthernet MAC series.
+       For kernel version after 2.4.22
+
+       Modification List
+       ----------      ------------------------------------------------
+       04-13-2007      Support the mac address auto download
+       02-14-2007      Support mii-tool to R/W phy & fix the bug which the dhcp client can not get IP
+       09-26-2006      Modify the Rx NAPI bug with SPD
+       09-14-2006      Change the previous NAPI( Tx/Rx polling) to NAPI( Rx polling )
+       08-24-2006      Support at linux 2.6.10 above
+       03-24-2006      Support NAPI
+       03-21-2006      By Charies,change spin_lock_irqsave(lp->lock, flags) to
+                       spin_lock_irqsave(&lp->lock, flags) in set_multicast_list
+       03-15-2006      Modify the set_multicast_list ,due to when re-plug the ethernet,
+                       it will forget the previous setting
+       07-12-2005      Tim, modify the set_multicast_list
+       03-28-2005      Tim, modify some error mac register offset in
+                       function set_multicast_list
+       03-27-2005      Tim, Add the internal state machine reset
+                       Sten, If multicast address more than 4, enter PROM mode
+                       Changed rdc to r6040
+       12-22-2004      Sten Init MAC MBCR register=0x012A
+                       PHY_CAP = 0x01E1
+
+       Need to Do List:
+       1. If multicast address more than 4, use the multicast address hash
+*/
+
+#define DRV_NAME       "r6040"
+#define DRV_VERSION    "0.17"
+#define DRV_RELDATE    "13Apr2007"
+
+
+/* PHY CHIP Address */
+#define PHY1_ADDR      1       /* For MAC1 */
+#define PHY2_ADDR      2       /* For MAC2 */
+#define PHY_MODE       0x3100  /* PHY CHIP Register 0 */
+#define PHY_CAP                0x01E1  /* PHY CHIP Register 4 */
+
+/* Time in jiffies before concluding the transmitter is hung. */
+#define TX_TIMEOUT     (600 * HZ / 1000)
+#define TIMER_WUT      (jiffies + HZ * 1)/* timer wakeup time : 1 second */
+
+/* RDC MAC ID */
+#define RDC_MAC_ID     0x6040
+
+/* RDC MAC I/O Size */
+#define R6040_IO_SIZE  256
+
+/* RDC Chip PCI Command */
+#define R6040_PCI_CMD  0x0005  /* IO, Master */
+
+/* MAX RDC MAC */
+#define MAX_MAC                2
+
+/* MAC setting */
+#define TX_DCNT                20      /* TX descriptor count */
+#define RX_DCNT                256     /* RX descriptor count */
+#define MAX_BUF_SIZE   0x600
+#define ALLOC_DESC_SIZE        ((TX_DCNT+RX_DCNT)*sizeof(struct r6040_descriptor)+0x10)
+#define MBCR_DEFAULT   0x012A  /* MAC Bus Control Register */
+
+/* Debug enable or not */
+#define RDC_DEBUG      0
+
+#if RDC_DEBUG > 1
+#define RDC_DBUG(msg, value) printk("%s %x\n", msg, value);
+#else
+#define RDC_DBUG(msg, value)
+#endif
+
+#include <linux/module.h>
+#include <linux/version.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
+#include <linux/moduleparam.h>
+#endif
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/timer.h>
+#include <linux/errno.h>
+#include <linux/ioport.h>
+#include <linux/slab.h>
+#include <linux/interrupt.h>
+#include <linux/pci.h>
+#include <linux/netdevice.h>
+#include <linux/etherdevice.h>
+#include <linux/skbuff.h>
+#include <linux/init.h>
+#include <linux/delay.h>       /* for udelay() */
+#include <linux/mii.h>
+#include <linux/ethtool.h>
+#include <linux/crc32.h>
+#include <linux/spinlock.h>
+
+#include <asm/processor.h>
+#include <asm/bitops.h>
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <asm/uaccess.h>
+
+//Added by Keilven, 08/16/2006
+#ifdef FAST_NAT
+  extern software_nat_init(struct net_device *dev);
+  extern void shnat_external_cmd(char *cmd);
+#endif
+
+MODULE_AUTHOR("Sten Wang <sten.wang@rdc.com.tw>");
+MODULE_LICENSE("GPL");
+#ifdef CONFIG_R6040_NAPI
+MODULE_DESCRIPTION("RDC R6040 NAPI PCI FastEthernet Driver");
+#else
+MODULE_DESCRIPTION("RDC R6040 PCI FastEthernet Driver");
+#endif
+
+#define RX_INT                         0x0001
+#define TX_INT                         0x0010
+#define RX_NO_DESC_INT                 0x0002
+
+#define R6040_INT_MASK                 (RX_INT | TX_INT)
+
+struct r6040_descriptor {
+       u16     status, len;            /* 0-3 */
+       u32     buf;                    /* 4-7 */
+       u32     ndesc;                  /* 8-B */
+       u32     rev1;                   /* C-F */
+       char    *vbufp;                 /* 10-13 */
+       struct r6040_descriptor *vndescp;       /* 14-17 */
+       struct sk_buff *skb_ptr;        /* 18-1B */
+       u32     rev2;                   /* 1C-1F */
+} __attribute__(( aligned(32) ));
+
+struct r6040_private {
+       struct net_device_stats stats;
+       spinlock_t lock;
+       struct timer_list timer;
+       struct pci_dev *pdev;
+
+       struct r6040_descriptor *rx_insert_ptr;
+       struct r6040_descriptor *rx_remove_ptr;
+       struct r6040_descriptor *tx_insert_ptr;
+       struct r6040_descriptor *tx_remove_ptr;
+       u16     tx_free_desc, rx_free_desc, phy_addr, phy_mode;
+       u16     mcr0, mcr1;
+       dma_addr_t desc_dma;
+       char    *desc_pool;
+
+#ifdef CONFIG_R6040_NAPI
+       u16     NAPI_RX_RUNNING ;
+#endif
+       struct mii_if_info mii_if;
+};
+
+struct r6040_chip_info {
+       const char *name;
+       u16 pci_flags;
+       int io_size;
+       int drv_flags;
+};
+
+
+
+static int __devinitdata printed_version;
+#ifdef CONFIG_R6040_NAPI
+static char version[] __devinitdata =
+       KERN_INFO DRV_NAME ": RDC R6040 RX NAPI net driver, version "DRV_VERSION " (" DRV_RELDATE ")\n";
+#else
+static char version[] __devinitdata =
+       KERN_INFO DRV_NAME ": RDC R6040 net driver, version "DRV_VERSION " (" DRV_RELDATE ")\n";
+#endif
+static struct r6040_chip_info r6040_chip_info[] __devinitdata =
+{
+       { "RDC R6040 Knight", R6040_PCI_CMD, R6040_IO_SIZE, 0}
+};
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
+static int NUM_MAC_TABLE = 2 ;
+#endif
+
+static int phy_table[] = {0x1, 0x2};
+static u8 adr_table[2][8] = {{0x00, 0x00, 0x60, 0x00, 0x00, 0x01}, {0x00, 0x00, 0x60, 0x00, 0x00, 0x02}};
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 10)
+       module_param_array(adr_table, int, &NUM_MAC_TABLE, 0644);
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
+       module_param_array(adr_table, int, NUM_MAC_TABLE, 0644);
+#else
+       MODULE_PARM(adr_table, "2-4i");
+#endif
+MODULE_PARM_DESC(adr_table, "MAC Address (assigned)");
+
+static int  mdio_read(struct net_device *dev, int phy_id, int location);
+static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
+static int r6040_open(struct net_device *dev);
+static int r6040_start_xmit(struct sk_buff *skb, struct net_device *dev);
+static irqreturn_t r6040_interrupt(int irq, void *dev_id, struct pt_regs *regs);
+static struct net_device_stats *r6040_get_stats(struct net_device *dev);
+static int r6040_close(struct net_device *dev);
+static void set_multicast_list(struct net_device *dev);
+static struct ethtool_ops netdev_ethtool_ops;
+static int netdev_ioctl (struct net_device *dev, struct ifreq *rq, int cmd);
+static void r6040_down(struct net_device *dev);
+static void r6040_up(struct net_device *dev);
+static void r6040_tx_timeout (struct net_device *dev);
+static void r6040_timer(unsigned long);
+
+static int phy_mode_chk(struct net_device *dev);
+static int phy_read(int ioaddr, int phy_adr, int reg_idx);
+static void phy_write(int ioaddr, int phy_adr, int reg_idx, int dat);
+static void rx_buf_alloc(struct r6040_private *lp,struct net_device *dev);
+static int r6040_GetSet_MACaddress(struct net_device *dev);
+#ifdef CONFIG_R6040_NAPI
+static int r6040_poll(struct net_device *netdev, int *budget);
+#endif
+
+
+static int mdio_read(struct net_device *dev, int phy_id, int regnum)
+{
+       struct r6040_private *lp = dev->priv;
+       long ioaddr = dev->base_addr;
+
+       return  (phy_read(ioaddr, lp->phy_addr, regnum)) ;
+}
+
+static void mdio_write(struct net_device *dev, int phy_id, int regnum, int value)
+{
+       struct netdev_private *np = dev->priv;
+       struct r6040_private *lp = dev->priv;
+       long ioaddr = dev->base_addr;
+
+       phy_write(ioaddr, lp->phy_addr, regnum, value);
+}
+
+static int __devinit r6040_init_one (struct pci_dev *pdev,
+                                        const struct pci_device_id *ent)
+{
+       struct net_device *dev;
+       struct r6040_private *lp;
+       int ioaddr, io_size, err;
+       static int card_idx = -1;
+       int chip_id = (int)ent->driver_data;
+
+       RDC_DBUG("r6040_init_one()", 0);
+
+       if (printed_version++)
+               printk(version);
+
+       if ((err = pci_enable_device (pdev)))
+               return err;
+
+       /* this should always be supported */
+       if (pci_set_dma_mask(pdev, 0xffffffff)) {
+               printk(KERN_ERR DRV_NAME "32-bit PCI DMA addresses not supported by the card!?\n");
+               return  -ENODEV;
+       }
+
+       /* IO Size check */
+       io_size = r6040_chip_info[chip_id].io_size;
+       if (pci_resource_len  (pdev, 0) < io_size) {
+               return  -ENODEV;
+       }
+
+       ioaddr = pci_resource_start (pdev, 0);  /* IO map base address */
+       pci_set_master(pdev);
+
+       dev = alloc_etherdev(sizeof(struct r6040_private));
+       if (dev == NULL)
+               return -ENOMEM;
+       SET_MODULE_OWNER(dev);
+
+       if (pci_request_regions(pdev, DRV_NAME)) {
+               printk(KERN_ERR DRV_NAME ": Failed to request PCI regions\n");
+               err = -ENODEV;
+               goto err_out_disable;
+       }
+
+       /* Init system & device */
+       lp = dev->priv;
+       dev->base_addr = ioaddr;
+       dev->irq = pdev->irq;
+
+       spin_lock_init(&lp->lock);
+       pci_set_drvdata(pdev, dev);
+
+       card_idx++;
+
+       //Check if the MAC address is 0xFFFFFFFFFFFF or 0
+       if(((inw(ioaddr + 0x68) ==0xFFFF) && (inw(ioaddr + 0x6A)==0xFFFF) && (inw(ioaddr + 0x6C)==0xFFFF)) ||
+          ((inw(ioaddr + 0x68) == 0) && (inw(ioaddr + 0x6A)== 0) && (inw(ioaddr + 0x6C)== 0)))
+           memcpy(dev->dev_addr, (u8 *)&adr_table[card_idx][0], 6);
+       else
+           {
+           u16 *adrp;
+           adrp = (u16 *) dev->dev_addr;
+
+           adrp[0] = inw(ioaddr + 0x68);
+           adrp[1] = inw(ioaddr + 0x6A);
+           adrp[2] = inw(ioaddr + 0x6C);
+           }
+
+       /* Link new device into r6040_root_dev */
+       lp->pdev = pdev;
+
+       /* Init RDC private data */
+       lp->mcr0 = 0x1002;
+       lp->phy_addr = phy_table[card_idx];
+
+       /* The RDC-specific entries in the device structure. */
+       dev->open = &r6040_open;
+       dev->hard_start_xmit = &r6040_start_xmit;
+       dev->stop = &r6040_close;
+       dev->get_stats = &r6040_get_stats;
+       dev->set_multicast_list = &set_multicast_list;
+       dev->do_ioctl = &netdev_ioctl;
+       dev->ethtool_ops = &netdev_ethtool_ops;
+       dev->tx_timeout = &r6040_tx_timeout;
+       dev->watchdog_timeo = TX_TIMEOUT;
+
+       lp->mii_if.dev = dev;
+       lp->mii_if.mdio_read = mdio_read;
+       lp->mii_if.mdio_write = mdio_write;
+       lp->mii_if.phy_id = lp->phy_addr ;
+       lp->mii_if.phy_id_mask = 0x1f;
+       lp->mii_if.reg_num_mask = 0x1f;
+
+#ifdef CONFIG_R6040_NAPI
+       dev->poll = &r6040_poll;
+       dev->weight = 64;
+#endif
+
+       /* Register net device. After this dev->name assign */
+       if ((err = register_netdev(dev))) {
+               printk(KERN_ERR DRV_NAME ": Failed to register net device\n");
+               goto err_out_res;
+       }
+
+       netif_carrier_on(dev);
+       return 0;
+
+err_out_res:
+       pci_release_regions(pdev);
+err_out_disable:
+       pci_disable_device(pdev);
+       pci_set_drvdata(pdev, NULL);
+       kfree(dev);
+
+       return err;
+}
+
+static void __devexit r6040_remove_one (struct pci_dev *pdev)
+{
+       struct net_device *dev = pci_get_drvdata(pdev);
+
+       unregister_netdev(dev);
+       pci_release_regions(pdev);
+       kfree(dev);
+       pci_disable_device(pdev);
+       pci_set_drvdata(pdev, NULL);
+}
+
+static int
+r6040_open(struct net_device *dev)
+{
+       struct r6040_private *lp = dev->priv;
+       int i;
+
+       RDC_DBUG("r6040_open()", 0);
+
+       r6040_GetSet_MACaddress(dev);
+
+       /* Request IRQ and Register interrupt handler */
+       i = request_irq(dev->irq, &r6040_interrupt, SA_SHIRQ, dev->name, dev);
+       if (i) return i;
+
+       /* Allocate Descriptor memory */
+       lp->desc_pool = pci_alloc_consistent(lp->pdev, ALLOC_DESC_SIZE, &lp->desc_dma);
+       if (!lp->desc_pool) return -ENOMEM;
+
+       r6040_up(dev);
+
+       netif_start_queue(dev);
+
+       /* set and active a timer process */
+       init_timer(&lp->timer);
+       lp->timer.expires = TIMER_WUT;
+       lp->timer.data = (unsigned long)dev;
+       lp->timer.function = &r6040_timer;
+       add_timer(&lp->timer);
+
+#ifdef FAST_NAT
+        software_nat_init(dev);  //Added by Keilven, 08/16/2006
+#endif
+
+       return 0;
+}
+
+static void
+r6040_tx_timeout (struct net_device *dev)
+{
+       struct r6040_private *lp = dev->priv;
+       //int ioaddr = dev->base_addr;
+       //struct r6040_descriptor *descptr = lp->tx_remove_ptr;
+
+       RDC_DBUG("r6040_tx_timeout()", 0);
+
+       /* Transmitter timeout, serious problems. */
+       /* Sten: Nothing need to do so far. */
+       printk(KERN_ERR DRV_NAME ": Big Trobule, transmit timeout/n");
+       lp->stats.tx_errors++;
+       netif_stop_queue(dev);
+
+//printk("<RDC> XMT timedout: CR0 %x, CR40 %x, CR3C %x, CR2C %x, CR30 %x, CR34 %x, CR38 %x\n", inw(ioaddr), inw(ioaddr+0x40), inw(ioaddr+0x3c), inw(ioaddr+0x2c), inw(ioaddr+0x30), inw(ioaddr+0x34), inw(ioaddr+0x38));
+
+//printk("<RDC> XMT_TO: %08lx:%04x %04x %08lx %08lx %08lx %08lx\n", descptr, descptr->status, descptr->len, descptr->buf, descptr->skb_ptr, descptr->ndesc, descptr->vndescp);
+}
+
+
+static int
+r6040_start_xmit(struct sk_buff *skb, struct net_device *dev)
+{
+       struct r6040_private *lp = dev->priv;
+       struct r6040_descriptor *descptr;
+       int ioaddr = dev->base_addr;
+       unsigned long flags;
+
+       RDC_DBUG("r6040_start_xmit()", 0);
+
+       if (skb == NULL)        /* NULL skb directly return */
+               return 0;
+       if (skb->len >= MAX_BUF_SIZE) { /* Packet too long, drop it */
+               dev_kfree_skb(skb);
+               return 0;
+       }
+
+       /* Critical Section */
+       spin_lock_irqsave(&lp->lock, flags);
+
+       /* TX resource check */
+       if (!lp->tx_free_desc) {
+               spin_unlock_irqrestore(&lp->lock, flags);
+               printk(KERN_ERR DRV_NAME ": NO TX DESC ");
+               return 1;
+       }
+
+       /* Statistic Counter */
+       lp->stats.tx_packets++;
+       lp->stats.tx_bytes += skb->len;
+
+       /* Set TX descriptor & Transmit it */
+       lp->tx_free_desc--;
+       descptr = lp->tx_insert_ptr;
+       if (skb->len < 0x3c) descptr->len = 0x3c;
+       else descptr->len = skb->len;
+       descptr->skb_ptr = skb;
+       descptr->buf = cpu_to_le32(pci_map_single(lp->pdev, skb->data, skb->len, PCI_DMA_TODEVICE));
+       descptr->status = 0x8000;
+       outw(0x01, ioaddr + 0x14);
+       lp->tx_insert_ptr = descptr->vndescp;
+
+#if RDC_DEBUG
+ printk("Xmit(): %08lx:%04x %04x %08lx %08lx %08lx %08lx\n", descptr, descptr->status, descptr->len, descptr->buf, descptr->skb_ptr, descptr->ndesc, descptr->vndescp);
+#endif
+
+       /* If no tx resource, stop */
+       if (!lp->tx_free_desc)
+               netif_stop_queue(dev);
+
+       dev->trans_start = jiffies;
+       spin_unlock_irqrestore(&lp->lock, flags);
+       return 0;
+}
+
+/* The RDC interrupt handler. */
+static irqreturn_t
+r6040_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+{
+       struct net_device *dev = dev_id;
+       struct r6040_private *lp;
+       struct r6040_descriptor *descptr;
+       struct sk_buff *skb_ptr;
+       int ioaddr, status;
+       unsigned long flags;
+#ifdef CONFIG_R6040_NAPI
+       int handled = 1;
+#else
+       int handled = 0;
+#endif
+
+       RDC_DBUG("r6040_interrupt()", 0);
+       if (dev == NULL) {
+               printk (KERN_ERR DRV_NAME ": INT() unknown device.\n");
+               return IRQ_RETVAL(handled);
+       }
+
+       lp = (struct r6040_private *)dev->priv;
+       spin_lock_irqsave(&lp->lock, flags);
+
+       /* Check MAC Interrupt status */
+       ioaddr = dev->base_addr;
+       outw(0x0, ioaddr + 0x40);       /* Mask Off RDC MAC interrupt */
+       status = inw(ioaddr + 0x3c);    /* Read INTR status and clear */
+
+
+#ifdef CONFIG_R6040_NAPI
+       /* TX interrupt request */
+       if (status & 0x10)
+           {
+           handled = 1;
+           descptr = lp->tx_remove_ptr;
+           while(lp->tx_free_desc < TX_DCNT)
+               {
+               if (descptr->status & 0x8000) break; /* Not complte */
+               skb_ptr = descptr->skb_ptr;
+               pci_unmap_single(lp->pdev, descptr->buf, skb_ptr->len, PCI_DMA_TODEVICE);
+               dev_kfree_skb_irq(skb_ptr); /* Free buffer */
+               descptr->skb_ptr = 0;
+               descptr = descptr->vndescp; /* To next descriptor */
+               lp->tx_free_desc++;
+               }
+           lp->tx_remove_ptr = descptr;
+           if (lp->tx_free_desc) netif_wake_queue(dev);
+           }
+       /* RX interrupt request */
+       if ((!lp->NAPI_RX_RUNNING) && (status & 0x01) )
+           {
+           if(netif_rx_schedule_prep(dev))
+               __netif_rx_schedule(dev);
+           }
+
+       if(lp->NAPI_RX_RUNNING)
+           outw( TX_INT , ioaddr + 0x40);
+       else
+           outw( R6040_INT_MASK, ioaddr + 0x40);
+
+       spin_unlock_irqrestore(&lp->lock, flags);
+       return IRQ_RETVAL(handled);
+
+#else
+       /* TX interrupt request */
+       if (status & 0x10) {
+               handled = 1;
+               descptr = lp->tx_remove_ptr;
+               while(lp->tx_free_desc < TX_DCNT) {
+                       if (descptr->status & 0x8000) break; /* Not complte */
+                       skb_ptr = descptr->skb_ptr;
+                       pci_unmap_single(lp->pdev, descptr->buf, skb_ptr->len, PCI_DMA_TODEVICE);
+                       dev_kfree_skb_irq(skb_ptr); /* Free buffer */
+                       descptr->skb_ptr = 0;
+                       descptr = descptr->vndescp; /* To next descriptor */
+                       lp->tx_free_desc++;
+               }
+               lp->tx_remove_ptr = descptr;
+               if (lp->tx_free_desc) netif_wake_queue(dev);
+       }
+
+       /* RX interrupt request */
+       if (status & 0x01) {
+               handled = 1;
+               descptr = lp->rx_remove_ptr;
+               while(lp->rx_free_desc) {
+                       if (descptr->status & 0x8000) break; /* No Rx packet */
+                       skb_ptr = descptr->skb_ptr;
+                       descptr->skb_ptr = 0;
+                       skb_ptr->dev = dev;
+                       skb_put(skb_ptr, descptr->len - 4);
+                       pci_unmap_single(lp->pdev, descptr->buf, MAX_BUF_SIZE, PCI_DMA_FROMDEVICE);
+                       skb_ptr->protocol = eth_type_trans(skb_ptr, dev);
+                       netif_rx(skb_ptr);  /* Send to upper layer */
+                       lp->stats.rx_packets++;
+                       lp->stats.rx_bytes += descptr->len;
+                       descptr = descptr->vndescp; /* To next descriptor */
+                       lp->rx_free_desc--;
+               }
+               lp->rx_remove_ptr = descptr;
+       }
+
+       /* Allocate new RX buffer */
+       if (lp->rx_free_desc < RX_DCNT) rx_buf_alloc(lp,dev);
+
+       outw(R6040_INT_MASK, ioaddr + 0x40);    /* TX/RX interrupt enable */
+       spin_unlock_irqrestore(&lp->lock, flags);
+
+       return IRQ_RETVAL(handled);
+#endif
+
+}
+
+
+static struct net_device_stats *
+r6040_get_stats(struct net_device *dev)
+{
+       struct r6040_private *lp = dev->priv;
+
+       RDC_DBUG("r6040_get_stats()", 0);
+       return &lp->stats;
+}
+
+/*
+ *     Set or clear the multicast filter for this adaptor.
+ */
+static void
+set_multicast_list(struct net_device *dev)
+{
+       struct r6040_private *lp = dev->priv;
+       struct dev_mc_list *mcptr;
+       int ioaddr = dev->base_addr;
+       u16 *adrp, i;
+       unsigned long flags;
+
+       RDC_DBUG("set_multicast_list()", 0);
+
+       /* MAC Address */
+       adrp = (u16 *) dev->dev_addr;
+       outw(adrp[0], ioaddr + 0x68);
+       outw(adrp[1], ioaddr + 0x6A);
+       outw(adrp[2], ioaddr + 0x6C);
+
+
+#if RDC_DEBUG
+       printk("MAC ADDR: %04x %04x %04x\n", adrp[0], adrp[1], adrp[2]);
+#endif
+
+       /* Promiscous Mode */
+       spin_lock_irqsave(&lp->lock, flags);
+       i = inw(ioaddr) & ~0x0120;              /* Clear AMCP & PROM */
+       if (dev->flags & IFF_PROMISC)
+           {
+               i |= 0x0020;
+               lp->mcr0 |= 0x0020 ;
+           }
+       if (dev->mc_count > 4) i |= 0x0020;     /* Too many multicast address */
+       outw(i, ioaddr);
+       spin_unlock_irqrestore(&lp->lock, flags);
+
+       /* Multicast Address */
+       if (dev->mc_count > 4)  /* Wait to do: Hash Table for multicast */
+               return;
+
+       /* Multicast Address 1~4 case */
+       for (i = 0, mcptr = dev->mc_list; (i<dev->mc_count) && (i<4); i++) {
+               adrp = (u16 *)mcptr->dmi_addr;
+               outw(adrp[0], ioaddr + 0x70 + 8*i);
+               outw(adrp[1], ioaddr + 0x72 + 8*i);
+               outw(adrp[2], ioaddr + 0x74 + 8*i);
+               mcptr = mcptr->next;
+#if RDC_DEBUG
+       printk("M_ADDR: %04x %04x %04x\n", adrp[0], adrp[1], adrp[2]);
+#endif
+       }
+       for (i = dev->mc_count; i < 4; i++) {
+               outw(0xffff, ioaddr + 0x68 + 8*i);
+               outw(0xffff, ioaddr + 0x6A + 8*i);
+               outw(0xffff, ioaddr + 0x6C + 8*i);
+       }
+}
+
+static void netdev_get_drvinfo (struct net_device *dev, struct ethtool_drvinfo *info)
+{
+       struct r6040_private *rp = dev->priv;
+
+       strcpy (info->driver, DRV_NAME);
+       strcpy (info->version, DRV_VERSION);
+       strcpy (info->bus_info, pci_name(rp->pdev));
+}
+
+static struct ethtool_ops netdev_ethtool_ops = {
+       .get_drvinfo            = netdev_get_drvinfo,
+};
+
+static int
+r6040_close(struct net_device *dev)
+{
+       struct r6040_private *lp = dev->priv;
+
+       RDC_DBUG("r6040_close()", 0);
+
+       /* deleted timer */
+       del_timer_sync(&lp->timer);
+
+       spin_lock_irq(&lp->lock);
+
+       netif_stop_queue(dev);
+
+       r6040_down(dev);
+
+       spin_unlock_irq(&lp->lock);
+
+       return 0;
+}
+
+/**
+ */
+static int netdev_ioctl (struct net_device *dev, struct ifreq *rq, int cmd)
+{
+
+       struct r6040_private *lp = dev->priv;
+       struct mii_ioctl_data *data = (struct mii_ioctl_data *) & rq->ifr_data;
+       int rc;
+
+       if (!netif_running(dev))
+           return -EINVAL;
+
+       spin_lock_irq(&lp->lock);
+       rc = generic_mii_ioctl(&lp->mii_if, data, cmd, NULL);
+       spin_unlock_irq(&lp->lock);
+
+       return rc;
+}
+
+/**
+       Stop RDC MAC and Free the allocated resource
+ */
+static void r6040_down(struct net_device *dev)
+{
+       struct r6040_private *lp = dev->priv;
+       int i;
+       u16 *adrp;
+       int ioaddr = dev->base_addr;
+
+       RDC_DBUG("r6040_down()", 0);
+
+       /* Stop MAC */
+       outw(0x0000, ioaddr + 0x40);    /* Mask Off Interrupt */
+       outw(0x0001, ioaddr + 0x04);    /* Reset RDC MAC */
+       i = 0;
+       do{}while((i++ < 2048) && (inw(ioaddr + 0x04) & 0x1));
+
+
+       //Restore MAC Address to MIDx
+       adrp = (u16 *) dev->dev_addr;
+       outw(adrp[0], ioaddr + 0x68);
+       outw(adrp[1], ioaddr + 0x6A);
+       outw(adrp[2], ioaddr + 0x6C);
+
+       free_irq(dev->irq, dev);
+
+       /* Free RX buffer */
+       for (i = 0; i < RX_DCNT; i++) {
+               if (lp->rx_insert_ptr->skb_ptr) {
+                       pci_unmap_single(lp->pdev, lp->rx_insert_ptr->buf, MAX_BUF_SIZE, PCI_DMA_FROMDEVICE);
+                       dev_kfree_skb(lp->rx_insert_ptr->skb_ptr);
+                       lp->rx_insert_ptr->skb_ptr = 0;
+               }
+               lp->rx_insert_ptr = lp->rx_insert_ptr->vndescp;
+       }
+
+       /* Free TX buffer */
+       for (i = 0; i < TX_DCNT; i++) {
+               if (lp->tx_insert_ptr->skb_ptr) {
+                       pci_unmap_single(lp->pdev, lp->tx_insert_ptr->buf, MAX_BUF_SIZE, PCI_DMA_TODEVICE);
+                       dev_kfree_skb(lp->tx_insert_ptr->skb_ptr);
+                       lp->rx_insert_ptr->skb_ptr = 0;
+               }
+               lp->tx_insert_ptr = lp->tx_insert_ptr->vndescp;
+       }
+
+       /* Free Descriptor memory */
+       pci_free_consistent(lp->pdev, ALLOC_DESC_SIZE, lp->desc_pool, lp->desc_dma);
+}
+
+
+
+#ifdef CONFIG_R6040_NAPI
+static int r6040_poll(struct net_device *dev, int *budget)
+{
+       struct r6040_private *lp;
+       struct r6040_descriptor *descptr;
+       struct sk_buff *skb_ptr;
+       int ioaddr, status;
+       unsigned long flags;
+
+       ioaddr = dev->base_addr;
+       lp = (struct r6040_private *)dev->priv;
+       unsigned long rx_work = dev->quota ;
+
+
+       /* Disable RX interrupt */
+       local_irq_disable();
+       lp->NAPI_RX_RUNNING = 1 ;
+       outw(inw(ioaddr + 0x40) &  (~RX_INT)  ,ioaddr + 0x40 );
+       local_irq_enable();
+       {
+       descptr = lp->rx_remove_ptr;
+       while(lp->rx_free_desc)
+           {
+           if (descptr->status & 0x8000)
+               break; /* No Rx packet */
+           skb_ptr = descptr->skb_ptr;
+           descptr->skb_ptr = 0;
+           skb_ptr->dev = dev;
+           skb_put(skb_ptr, descptr->len - 4);
+           pci_unmap_single(lp->pdev, descptr->buf, MAX_BUF_SIZE, PCI_DMA_FROMDEVICE);
+            skb_ptr->protocol = eth_type_trans(skb_ptr, dev);
+            netif_receive_skb(skb_ptr); /* Send to upper layer */
+           lp->stats.rx_packets++;
+           lp->stats.rx_bytes += descptr->len;
+           descptr = descptr->vndescp; /* To next descriptor */
+           lp->rx_free_desc--;
+           }
+       lp->rx_remove_ptr = descptr;
+
+       }
+       /* Allocate new RX buffer */
+       if (lp->rx_free_desc < RX_DCNT) rx_buf_alloc(lp,dev);
+
+       local_irq_disable();
+       lp->NAPI_RX_RUNNING = 0 ;
+       /* Enable RX interrupt */
+       outw(inw(ioaddr + 0x40)| RX_INT  ,ioaddr + 0x40 );
+       netif_rx_complete(dev);
+       local_irq_enable();
+
+       return 0;
+
+}
+#endif
+
+/* Init RDC MAC */
+static void r6040_up(struct net_device *dev)
+{
+       struct r6040_private *lp = dev->priv;
+       struct r6040_descriptor *descptr;
+       int i;
+       int ioaddr = dev->base_addr;
+       u32 tmp_addr;
+       dma_addr_t desc_dma, start_dma;
+
+       RDC_DBUG("r6040_up()", 0);
+
+       /* Initilize */
+       lp->tx_free_desc = TX_DCNT;
+       lp->rx_free_desc = 0;
+
+       /* Init descriptor */
+       memset(lp->desc_pool, 0, ALLOC_DESC_SIZE); /* Let all descriptor = 0 */
+       lp->tx_insert_ptr = (struct r6040_descriptor *)lp->desc_pool;
+       lp->tx_remove_ptr = lp->tx_insert_ptr;
+       lp->rx_insert_ptr = (struct r6040_descriptor *)lp->tx_insert_ptr+TX_DCNT;
+       lp->rx_remove_ptr = lp->rx_insert_ptr;
+
+       /* Init TX descriptor */
+       descptr = lp->tx_insert_ptr;
+       desc_dma = lp->desc_dma;
+       start_dma = desc_dma;
+       for (i = 0; i < TX_DCNT; i++) {
+               descptr->ndesc = cpu_to_le32(desc_dma + sizeof(struct r6040_descriptor));
+               descptr->vndescp = (descptr + 1);
+               descptr = (descptr + 1);
+               desc_dma += sizeof(struct r6040_descriptor);
+       }
+       (descptr - 1)->ndesc = cpu_to_le32(start_dma);
+       (descptr - 1)->vndescp = lp->tx_insert_ptr;
+
+       /* Init RX descriptor */
+       start_dma = desc_dma;
+       descptr = lp->rx_insert_ptr;
+       for (i = 0; i < RX_DCNT; i++) {
+               descptr->ndesc = cpu_to_le32(desc_dma + sizeof(struct r6040_descriptor));
+               descptr->vndescp = (descptr + 1);
+               descptr = (descptr + 1);
+               desc_dma += sizeof(struct r6040_descriptor);
+       }
+       (descptr - 1)->ndesc = cpu_to_le32(start_dma);
+       (descptr - 1)->vndescp = lp->rx_insert_ptr;
+
+       /* Allocate buffer for RX descriptor */
+       rx_buf_alloc(lp,dev);
+
+#if RDC_DEBUG
+descptr = lp->tx_insert_ptr;
+for (i = 0; i < TX_DCNT; i++) {
+ printk("%08lx:%04x %04x %08lx %08lx %08lx %08lx\n", descptr, descptr->status, descptr->len, descptr->buf, descptr->skb_ptr, descptr->ndesc, descptr->vndescp);
+ descptr = descptr->vndescp;
+}
+descptr = lp->rx_insert_ptr;
+for (i = 0; i < RX_DCNT; i++) {
+ printk("%08lx:%04x %04x %08lx %08lx %08lx %08lx\n", descptr, descptr->status, descptr->len, descptr->buf, descptr->skb_ptr, descptr->ndesc, descptr->vndescp);
+ descptr = descptr->vndescp;
+}
+#endif
+
+       /* TX and RX descriptor start Register */
+       tmp_addr = cpu_to_le32(lp->tx_insert_ptr);
+       tmp_addr = virt_to_bus((volatile void *)tmp_addr);
+       outw((u16) tmp_addr, ioaddr+0x2c);
+       outw(tmp_addr >> 16, ioaddr+0x30);
+       tmp_addr = cpu_to_le32(lp->rx_insert_ptr);
+       tmp_addr = virt_to_bus((volatile void *)tmp_addr);
+       outw((u16) tmp_addr, ioaddr+0x34);
+       outw(tmp_addr >> 16, ioaddr+0x38);
+
+       /* Buffer Size Register */
+       outw(MAX_BUF_SIZE, ioaddr+0x18);
+
+       /* PHY Mode Check */
+       phy_write(ioaddr, lp->phy_addr, 4, PHY_CAP);
+       phy_write(ioaddr, lp->phy_addr, 0, PHY_MODE);
+
+       if (PHY_MODE == 0x3100)
+               lp->phy_mode = phy_mode_chk(dev);
+       else lp->phy_mode = (PHY_MODE & 0x0100) ? 0x8000:0x0;
+
+#ifdef CONFIG_R6040_NAPI
+       /* Sending 15 Tx packets ,only generate one interrupt */
+        outw(0x0F06, ioaddr+ 0x0C);
+
+        lp->NAPI_RX_RUNNING =0;
+#endif
+
+       /* MAC Bus Control Register */
+       outw(MBCR_DEFAULT, ioaddr+0x8);
+
+       /* MAC TX/RX Enable */
+       lp->mcr0 |= lp->phy_mode;
+       outw(lp->mcr0, ioaddr);
+
+       /* Interrupt Mask Register */
+       outw(R6040_INT_MASK, ioaddr + 0x40);
+}
+
+/*
+  A periodic timer routine
+       Polling PHY Chip Link Status
+*/
+static void r6040_timer(unsigned long data)
+{
+       struct net_device *dev=(struct net_device *)data;
+       struct r6040_private *lp = dev->priv;
+       u16 ioaddr = dev->base_addr, phy_mode;
+
+       RDC_DBUG("r6040_timer()", 0);
+
+       /* Polling PHY Chip Status */
+       if (PHY_MODE == 0x3100)
+               phy_mode = phy_mode_chk(dev);
+       else phy_mode = (PHY_MODE & 0x0100) ? 0x8000:0x0;
+
+       if (phy_mode != lp->phy_mode) {
+               lp->phy_mode = phy_mode;
+               lp->mcr0 = (lp->mcr0 & 0x7fff) | phy_mode;
+               outw(lp->mcr0, ioaddr);
+               printk("<RDC> Link Change %x \n", inw(ioaddr));
+       }
+
+       /* Debug */
+//     printk("<RDC> Timer: CR0 %x CR40 %x CR3C %x\n", inw(ioaddr), inw(ioaddr+0x40), inw(ioaddr+0x3c));
+
+       /* Timer active again */
+       lp->timer.expires = TIMER_WUT;
+       add_timer(&lp->timer);
+}
+
+/* Allocate skb buffer for rx descriptor */
+static void rx_buf_alloc(struct r6040_private *lp,struct net_device *dev)
+{
+       struct r6040_descriptor *descptr;
+       int ioaddr = dev->base_addr ;
+
+       RDC_DBUG("rx_buf_alloc()", 0);
+       descptr = lp->rx_insert_ptr;
+       while(lp->rx_free_desc < RX_DCNT){
+               descptr->skb_ptr = dev_alloc_skb(MAX_BUF_SIZE);
+               if (!descptr->skb_ptr) break;
+               descptr->buf = cpu_to_le32(pci_map_single(lp->pdev, descptr->skb_ptr->tail, MAX_BUF_SIZE, PCI_DMA_FROMDEVICE));
+               descptr->status = 0x8000;
+               descptr = descptr->vndescp;
+               lp->rx_free_desc++;
+               outw(lp->mcr0 | 0x0002, ioaddr);        //Trigger Rx DMA
+       }
+       lp->rx_insert_ptr = descptr;
+}
+
+/* Status of PHY CHIP */
+static int phy_mode_chk(struct net_device *dev)
+{
+       struct r6040_private *lp = dev->priv;
+       int ioaddr = dev->base_addr, phy_dat;
+
+       RDC_DBUG("phy_mode_chk()", 0);
+
+       /* PHY Link Status Check */
+       phy_dat = phy_read(ioaddr, lp->phy_addr, 1);
+       if (!(phy_dat & 0x4)) return 0x8000;    /* Link Failed, full duplex */
+
+       /* PHY Chip Auto-Negotiation Status */
+       phy_dat = phy_read(ioaddr, lp->phy_addr, 1);
+       if (phy_dat & 0x0020) {
+               /* Auto Negotiation Mode */
+               phy_dat = phy_read(ioaddr, lp->phy_addr, 5);
+               phy_dat &= phy_read(ioaddr, lp->phy_addr, 4);
+               if (phy_dat & 0x140) phy_dat = 0x8000;
+               else phy_dat = 0;
+       } else {
+               /* Force Mode */
+               phy_dat = phy_read(ioaddr, lp->phy_addr, 0);
+               if (phy_dat & 0x100) phy_dat = 0x8000;
+               else phy_dat = 0x0000;
+       }
+
+       return phy_dat;
+};
+
+/* Read a word data from PHY Chip */
+static int phy_read(int ioaddr, int phy_addr, int reg_idx)
+{
+       int i = 0;
+
+       RDC_DBUG("phy_read()", 0);
+       outw(0x2000 + reg_idx + (phy_addr << 8), ioaddr + 0x20);
+       do{}while( (i++ < 2048) && (inw(ioaddr + 0x20) & 0x2000) );
+
+       return inw(ioaddr + 0x24);
+}
+
+/* Write a word data from PHY Chip */
+static void phy_write(int ioaddr, int phy_addr, int reg_idx, int dat)
+{
+       int i = 0;
+
+       RDC_DBUG("phy_write()", 0);
+       outw(dat, ioaddr + 0x28);
+       outw(0x4000 + reg_idx + (phy_addr << 8), ioaddr + 0x20);
+       do{}while( (i++ < 2048) && (inw(ioaddr + 0x20) & 0x4000) );
+}
+
+enum {
+       RDC_6040 = 0
+};
+
+static int r6040_GetSet_MACaddress(struct net_device *dev)
+{
+       struct r6040_private *lp = dev->priv;
+       int ioaddr = dev->base_addr ;
+       u16 *adrp ;
+
+       /* MAC operation register */
+       outw(0x01, ioaddr+0x04);        /* Reset MAC */
+       outw(2   , ioaddr+0xAC);        /* Reset internal state machine */
+       outw(0   , ioaddr+0xAC);
+       udelay(5000);
+
+       //Restore MAC Address */
+       adrp = (u16 *) dev->dev_addr;
+       outw(adrp[0], ioaddr + 0x68);
+       outw(adrp[1], ioaddr + 0x6A);
+       outw(adrp[2], ioaddr + 0x6C);
+}
+
+static struct pci_device_id r6040_pci_tbl[] = {
+       {0x17F3, 0x6040, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RDC_6040},
+       //{0x1106, 0x3065, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RDC_6040},
+       {0,}                    /* terminate list */
+};
+MODULE_DEVICE_TABLE(pci, r6040_pci_tbl);
+
+static struct pci_driver r6040_driver = {
+       .name           = "r6040",
+       .id_table       = r6040_pci_tbl,
+       .probe          = r6040_init_one,
+       .remove         = __devexit_p(r6040_remove_one),
+};
+
+
+static int __init r6040_init (void)
+{
+       RDC_DBUG("r6040_init()", 0);
+
+       printk(version);
+       printed_version = 1;
+
+       return pci_module_init (&r6040_driver);
+}
+
+
+static void __exit r6040_cleanup (void)
+{
+       RDC_DBUG("r6040_cleanup()", 0);
+       pci_unregister_driver (&r6040_driver);
+}
+
+module_init(r6040_init);
+module_exit(r6040_cleanup);
+
+
+/*
+ * Local variables:
+ *  compile-command: "gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c r6040.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`"
+ *  c-indent-level: 4
+ *  c-basic-offset: 4
+ *  tab-width: 4
+ * End:
+ */

Configurazione linux kernel 2.6.18

Con questa configurazione viene disattivato in particolare il coprocessore matematico

Notare CONFIG_MATH_EMULATION=y


#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.18
# Fri Aug  3 13:06:11 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_DMI=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION="-nanopc"
CONFIG_LOCALVERSION_AUTO=y
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set
# CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_SLAB=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y

#
# Block layer
#
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_AS is not set
CONFIG_DEFAULT_DEADLINE=y
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="deadline"

#
# Processor type and features
#
# CONFIG_SMP is not set
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
CONFIG_M486=y
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
CONFIG_X86_GENERIC=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_PPRO_FENCE=y
CONFIG_X86_F00F_BUG=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_ALIGNMENT_16=y
CONFIG_X86_INTEL_USERCOPY=y
# CONFIG_HPET_TIMER is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
# CONFIG_PREEMPT_BKL is not set
# CONFIG_X86_UP_APIC is not set
# CONFIG_X86_MCE is not set
CONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
CONFIG_MATH_EMULATION=y
# CONFIG_MTRR is not set
CONFIG_REGPARM=y
# CONFIG_SECCOMP is not set
CONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=100
# CONFIG_KEXEC is not set
CONFIG_PHYSICAL_START=0x100000
CONFIG_COMPAT_VDSO=y

#
# Power management options (ACPI, APM)
#
# CONFIG_PM is not set

#
# ACPI (Advanced Configuration and Power Interface) Support
#
# CONFIG_ACPI is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCIEPORTBUS is not set
CONFIG_ISA_DMA_API=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set

#
# PCCARD (PCMCIA/CardBus) support
#
# CONFIG_PCCARD is not set

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
# CONFIG_NETDEBUG is not set
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_HASH=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_BIC=y
# CONFIG_IPV6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set

#
# DCCP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_DCCP is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_SCTP is not set

#
# TIPC Configuration (EXPERIMENTAL)
#
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_IEEE80211 is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
# CONFIG_FW_LOADER is not set
# CONFIG_SYS_HYPERVISOR is not set

#
# Connector - unified userspace <-> kernelspace linker
#
# CONFIG_CONNECTOR is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
# CONFIG_PARPORT_SERIAL is not set
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_AX88796 is not set
CONFIG_PARPORT_1284=y

#
# Plug and Play support
#
CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set

#
# Protocols
#
CONFIG_ISAPNP=y
# CONFIG_PNPBIOS is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=m
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=m
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not set
# CONFIG_BLK_DEV_RAM is not set
CONFIG_BLK_DEV_INITRD=y
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
# CONFIG_IDEDMA_PCI_AUTO is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_CS5535 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
CONFIG_BLK_DEV_IT821X=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_IDEDMA_AUTO is not set
# CONFIG_BLK_DEV_HD is not set

#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
# CONFIG_SCSI_PROC_FS is not set

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_CHR_DEV_SCH is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set

#
# SCSI Transport Attributes
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set

#
# SCSI low-level drivers
#
# CONFIG_ISCSI_TCP is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
CONFIG_SCSI_SATA=m
# CONFIG_SCSI_SATA_AHCI is not set
# CONFIG_SCSI_SATA_SVW is not set
# CONFIG_SCSI_ATA_PIIX is not set
# CONFIG_SCSI_SATA_MV is not set
# CONFIG_SCSI_SATA_NV is not set
# CONFIG_SCSI_PDC_ADMA is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_SATA_QSTOR is not set
# CONFIG_SCSI_SATA_PROMISE is not set
# CONFIG_SCSI_SATA_SX4 is not set
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIL24 is not set
# CONFIG_SCSI_SATA_SIS is not set
# CONFIG_SCSI_SATA_ULI is not set
CONFIG_SCSI_SATA_VIA=m
# CONFIG_SCSI_SATA_VITESSE is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
# CONFIG_FUSION_SPI is not set
# CONFIG_FUSION_FC is not set
# CONFIG_FUSION_SAS is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_NET_SB1000 is not set

#
# ARCnet devices
#
# CONFIG_ARCNET is not set

#
# PHY device support
#
# CONFIG_PHYLIB is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_CS89x0 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
CONFIG_R6040=y
# CONFIG_R6040_NAPI is not set
# CONFIG_8139CP is not set
CONFIG_8139TOO=y
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_8139TOO_8129 is not set
# CONFIG_8139_OLD_RX_RESET is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
# CONFIG_SK98LIN is not set
# CONFIG_VIA_VELOCITY is not set
# CONFIG_TIGON3 is not set
# CONFIG_BNX2 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_CHELSIO_T1 is not set
# CONFIG_IXGB is not set
# CONFIG_S2IO is not set
# CONFIG_MYRI10GE is not set

#
# Token Ring devices
#
# CONFIG_TR is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=m
# CONFIG_PPP_MULTILINK is not set
# CONFIG_PPP_FILTER is not set
CONFIG_PPP_ASYNC=m
# CONFIG_PPP_SYNC_TTY is not set
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
# CONFIG_PPP_MPPE is not set
# CONFIG_PPPOE is not set
# CONFIG_SLIP is not set
# CONFIG_NET_FC is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1280
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=1024
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=m
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_PNP=y
CONFIG_SERIAL_8250_NR_UARTS=8
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
# CONFIG_SERIAL_8250_RSA is not set
# CONFIG_SERIAL_8250_FOURPORT is not set
# CONFIG_SERIAL_8250_ACCENT is not set
# CONFIG_SERIAL_8250_BOCA is not set
# CONFIG_SERIAL_8250_HUB6 is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
CONFIG_PPDEV=m
# CONFIG_TIPAR is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_PC8736x_GPIO is not set
# CONFIG_NSC_GPIO is not set
# CONFIG_CS5535_GPIO is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set

#
# TPM devices
#
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set

#
# I2C support
#
# CONFIG_I2C is not set

#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set

#
# Dallas's 1-wire bus
#

#
# Hardware Monitoring support
#
# CONFIG_HWMON is not set
# CONFIG_HWMON_VID is not set

#
# Misc devices
#
# CONFIG_IBM_ASM is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
CONFIG_VIDEO_V4L2=y

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
# CONFIG_USB_DABUSB is not set

#
# Graphics support
#
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_VGACON_SOFT_SCROLLBACK is not set
CONFIG_VIDEO_SELECT=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
# CONFIG_SND_SEQUENCER is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
# CONFIG_SND_RTCTIMER is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# ISA devices
#
# CONFIG_SND_ADLIB is not set
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_ALS100 is not set
# CONFIG_SND_AZT2320 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_DT019X is not set
# CONFIG_SND_ES968 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_MIRO is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
# CONFIG_SND_WAVEFRONT is not set

#
# PCI devices
#
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# USB devices
#
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_USX2Y is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_EHCI_SPLIT_ISO is not set
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
# CONFIG_USB_ISP116X_HCD is not set
CONFIG_USB_OHCI_HCD=y
# CONFIG_USB_OHCI_BIG_ENDIAN is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
# CONFIG_USB_UHCI_HCD is not set
# CONFIG_USB_SL811_HCD is not set

#
# USB Device Class drivers
#
CONFIG_USB_ACM=m
# CONFIG_USB_PRINTER is not set

#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
#

#
# may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_LIBUSUAL is not set

#
# USB Input Devices
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_ACECAD is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
CONFIG_USB_TOUCHSCREEN=m
CONFIG_USB_TOUCHSCREEN_EGALAX=y
CONFIG_USB_TOUCHSCREEN_PANJIT=y
CONFIG_USB_TOUCHSCREEN_3M=y
CONFIG_USB_TOUCHSCREEN_ITM=y
# CONFIG_USB_YEALINK is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# CONFIG_USB_ATI_REMOTE2 is not set
# CONFIG_USB_KEYSPAN_REMOTE is not set
# CONFIG_USB_APPLETOUCH is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_MON is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGETKIT is not set
# CONFIG_USB_PHIDGETSERVO is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TEST is not set

#
# USB DSL modem support
#

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

#
# MMC/SD Card support
#
# CONFIG_MMC is not set

#
# LED devices
#
# CONFIG_NEW_LEDS is not set

#
# LED drivers
#

#
# LED Triggers
#

#
# InfiniBand support
#
# CONFIG_INFINIBAND is not set

#
# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
#
# CONFIG_EDAC is not set

#
# Real Time Clock
#
# CONFIG_RTC_CLASS is not set

#
# DMA Engine support
#
# CONFIG_DMA_ENGINE is not set

#
# DMA Clients
#

#
# DMA Devices
#

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_REISERFS_FS_XATTR is not set
# CONFIG_JFS_FS is not set
# CONFIG_FS_POSIX_ACL is not set
# CONFIG_XFS_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
CONFIG_DNOTIFY=y
CONFIG_AUTOFS_FS=m
CONFIG_AUTOFS4_FS=m
# CONFIG_FUSE_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
# CONFIG_CONFIGFS_FS is not set

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=m
# CONFIG_RPCSEC_GSS_KRB5 is not set
# CONFIG_RPCSEC_GSS_SPKM3 is not set
# CONFIG_SMB_FS is not set
CONFIG_CIFS=m
# CONFIG_CIFS_STATS is not set
# CONFIG_CIFS_WEAK_PW_HASH is not set
# CONFIG_CIFS_XATTR is not set
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_EXPERIMENTAL is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
# CONFIG_9P_FS is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
# CONFIG_EFI_PARTITION is not set

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m

#
# Instrumentation Support
#
# CONFIG_PROFILING is not set
# CONFIG_KPROBES is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_DEBUG_KERNEL is not set
CONFIG_LOG_BUF_SHIFT=14
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_FS is not set
# CONFIG_UNWIND_INFO is not set
CONFIG_EARLY_PRINTK=y
CONFIG_DOUBLEFAULT=y

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Hardware crypto devices
#

#
# Library routines
#
CONFIG_CRC_CCITT=m
# CONFIG_CRC16 is not set
CONFIG_CRC32=y
# CONFIG_LIBCRC32C is not set
CONFIG_ZLIB_INFLATE=m
CONFIG_ZLIB_DEFLATE=m
CONFIG_PLIST=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_KTIME_SCALAR=y