You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(6) |
Jul
(14) |
Aug
(156) |
Sep
(35) |
Oct
(48) |
Nov
(55) |
Dec
(16) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(24) |
Feb
(154) |
Mar
(139) |
Apr
(175) |
May
(87) |
Jun
(34) |
Jul
(42) |
Aug
(68) |
Sep
(41) |
Oct
(76) |
Nov
(77) |
Dec
(50) |
2008 |
Jan
(98) |
Feb
(43) |
Mar
(102) |
Apr
(27) |
May
(55) |
Jun
(13) |
Jul
(58) |
Aug
(62) |
Sep
(61) |
Oct
(43) |
Nov
(87) |
Dec
(134) |
2009 |
Jan
(175) |
Feb
(106) |
Mar
(58) |
Apr
(41) |
May
(74) |
Jun
(123) |
Jul
(252) |
Aug
(192) |
Sep
(69) |
Oct
(38) |
Nov
(117) |
Dec
(95) |
2010 |
Jan
(146) |
Feb
(76) |
Mar
(90) |
Apr
(60) |
May
(23) |
Jun
(19) |
Jul
(208) |
Aug
(140) |
Sep
(103) |
Oct
(114) |
Nov
(50) |
Dec
(47) |
2011 |
Jan
(59) |
Feb
(47) |
Mar
(61) |
Apr
(58) |
May
(41) |
Jun
(11) |
Jul
(17) |
Aug
(49) |
Sep
(34) |
Oct
(166) |
Nov
(38) |
Dec
(70) |
2012 |
Jan
(87) |
Feb
(37) |
Mar
(28) |
Apr
(25) |
May
(29) |
Jun
(30) |
Jul
(43) |
Aug
(27) |
Sep
(46) |
Oct
(27) |
Nov
(51) |
Dec
(70) |
2013 |
Jan
(92) |
Feb
(34) |
Mar
(58) |
Apr
(37) |
May
(46) |
Jun
(9) |
Jul
(38) |
Aug
(22) |
Sep
(28) |
Oct
(42) |
Nov
(44) |
Dec
(34) |
2014 |
Jan
(63) |
Feb
(39) |
Mar
(48) |
Apr
(31) |
May
(21) |
Jun
(43) |
Jul
(36) |
Aug
(69) |
Sep
(53) |
Oct
(56) |
Nov
(46) |
Dec
(49) |
2015 |
Jan
(63) |
Feb
(35) |
Mar
(30) |
Apr
(38) |
May
(27) |
Jun
(42) |
Jul
(42) |
Aug
(63) |
Sep
(18) |
Oct
(45) |
Nov
(65) |
Dec
(71) |
2016 |
Jan
(54) |
Feb
(79) |
Mar
(59) |
Apr
(38) |
May
(32) |
Jun
(46) |
Jul
(42) |
Aug
(30) |
Sep
(58) |
Oct
(33) |
Nov
(98) |
Dec
(59) |
2017 |
Jan
(79) |
Feb
(12) |
Mar
(43) |
Apr
(32) |
May
(76) |
Jun
(59) |
Jul
(44) |
Aug
(14) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <kr...@us...> - 2006-08-19 02:12:26
|
Revision: 281 Author: krisk84 Date: 2006-08-18 19:11:33 -0700 (Fri, 18 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=281&view=rev Log Message: ----------- initial gumstix support Modified Paths: -------------- trunk/target/device/Config.in trunk/target/device/net4801/Makefile.in Added Paths: ----------- trunk/target/device/Gumstix/ trunk/target/device/Gumstix/Config.in trunk/target/device/Gumstix/Makefile.in trunk/target/device/Gumstix/basix-connex/ trunk/target/device/Gumstix/basix-connex/busybox.config trunk/target/device/Gumstix/basix-connex/kernel-patches/ trunk/target/device/Gumstix/basix-connex/kernel-patches/add_input_randomness_export.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/arch-config.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/audio.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/bkpxa-pxa-ac97.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/bkpxa-pxa-cpu.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/bkpxa-pxa-cpufreq.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/board-init.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/bugfix-i2c-include.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/bugfix-mmc-clock.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/bugfix-mtd-onenand.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/bugfix-pxa-audio.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/bugfix-pxa-cpufreq.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/bugfix-pxa-serial-mctrl.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/bugfix-rndis.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/bugfix-serial-interrupt.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/bugfix-serial-register-status.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/compact-flash.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/cpufreq-better-freqs.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/cpufreq-ondemand-by-default.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/defconfig.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/disable-uncompress-message.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/ethernet-config.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/flash.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/header.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/kconfig-arch-cleanup.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/kernel-osx.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/kobject_get_path_export.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/mach-types-fix.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/mmc-card-detect.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/modular-init-bluetooth.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/modular-init-smc91x.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/modular-init-usb-gadget.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/proc-gpio.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/pxa-udc-gpio.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/pxa255-gpio-count-bugfix.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/pxa2xx_udc.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/rmk-2022-2-rtctime-sa110-pxa255-driver.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/serial-divisor.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/serial-ether-addr.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/series trunk/target/device/Gumstix/basix-connex/kernel-patches/smc-ether-addr.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/ucb1400-ac97-audio.patch trunk/target/device/Gumstix/basix-connex/kernel-patches/ucb1400-touchscreen.patch trunk/target/device/Gumstix/basix-connex/linux.config trunk/target/device/Gumstix/basix-connex/linux.mk trunk/target/device/Gumstix/basix-connex/uClibc.config trunk/target/device/Gumstix/etc-gumstix-release/ trunk/target/device/Gumstix/etc-gumstix-release/etc-gumstix-release.mk trunk/target/device/net4801/busybox.config trunk/target/device/net4801/kernel-patches/ trunk/target/device/net4801/kernel-patches/linux_natsemi.patch trunk/target/device/net4801/kernel-patches/linux_scx200-hr-timer.patch trunk/target/device/net4801/linux.config trunk/target/device/net4801/linux.mk Removed Paths: ------------- trunk/package/linux/linux_natsemi.patch trunk/package/linux/linux_scx200-hr-timer.patch trunk/target/device/net4801/linux-sc1100-wlan-2.6.16.12.config Deleted: trunk/package/linux/linux_natsemi.patch =================================================================== --- trunk/package/linux/linux_natsemi.patch 2006-08-19 01:30:20 UTC (rev 280) +++ trunk/package/linux/linux_natsemi.patch 2006-08-19 02:11:33 UTC (rev 281) @@ -1,299 +0,0 @@ -=================================================================== ---- linux-2.6.15.2.orig/drivers/net/natsemi.c 2006-01-31 06:25:07.000000000 +0000 -+++ linux-2.6.15.2/drivers/net/natsemi.c 2006-02-01 22:59:29.000000000 +0000 -@@ -3,6 +3,7 @@ - Written/copyright 1999-2001 by Donald Becker. - Portions copyright (c) 2001,2002 Sun Microsystems (th...@su...) - Portions copyright 2001,2002 Manfred Spraul (ma...@co...) -+ Portions copyright 2004 Harald Welte <la...@gn...> - - This software may be used and distributed according to the terms of - the GNU General Public License (GPL), incorporated herein by reference. -@@ -135,8 +136,6 @@ - - TODO: - * big endian support with CFG:BEM instead of cpu_to_le32 -- * support for an external PHY -- * NAPI - */ - - #include <linux/config.h> -@@ -160,6 +159,7 @@ - #include <linux/mii.h> - #include <linux/crc32.h> - #include <linux/bitops.h> -+#include <linux/prefetch.h> - #include <asm/processor.h> /* Processor type for cache alignment. */ - #include <asm/io.h> - #include <asm/irq.h> -@@ -183,8 +183,6 @@ - NETIF_MSG_TX_ERR) - static int debug = -1; - --/* Maximum events (Rx packets, etc.) to handle at each interrupt. */ --static int max_interrupt_work = 20; - static int mtu; - - /* Maximum number of multicast addresses to filter (vs. rx-all-multicast). -@@ -251,14 +249,11 @@ MODULE_AUTHOR("Donald Becker <becker@scy - MODULE_DESCRIPTION("National Semiconductor DP8381x series PCI Ethernet driver"); - MODULE_LICENSE("GPL"); - --module_param(max_interrupt_work, int, 0); - module_param(mtu, int, 0); - module_param(debug, int, 0); - module_param(rx_copybreak, int, 0); - module_param_array(options, int, NULL, 0); - module_param_array(full_duplex, int, NULL, 0); --MODULE_PARM_DESC(max_interrupt_work, -- "DP8381x maximum events handled per interrupt"); - MODULE_PARM_DESC(mtu, "DP8381x MTU (all boards)"); - MODULE_PARM_DESC(debug, "DP8381x default debug level"); - MODULE_PARM_DESC(rx_copybreak, -@@ -691,6 +686,8 @@ struct netdev_private { - /* Based on MTU+slack. */ - unsigned int rx_buf_sz; - int oom; -+ /* Interrupt status */ -+ u32 intr_status; - /* Do not touch the nic registers */ - int hands_off; - /* external phy that is used: only valid if dev->if_port != PORT_TP */ -@@ -748,7 +745,8 @@ static void init_registers(struct net_de - static int start_tx(struct sk_buff *skb, struct net_device *dev); - static irqreturn_t intr_handler(int irq, void *dev_instance, struct pt_regs *regs); - static void netdev_error(struct net_device *dev, int intr_status); --static void netdev_rx(struct net_device *dev); -+static int natsemi_poll(struct net_device *dev, int *budget); -+static void netdev_rx(struct net_device *dev, int *work_done, int work_to_do); - static void netdev_tx_done(struct net_device *dev); - static int natsemi_change_mtu(struct net_device *dev, int new_mtu); - #ifdef CONFIG_NET_POLL_CONTROLLER -@@ -776,6 +774,18 @@ static inline void __iomem *ns_ioaddr(st - return (void __iomem *) dev->base_addr; - } - -+static inline void natsemi_irq_enable(struct net_device *dev) -+{ -+ writel(1, ns_ioaddr(dev) + IntrEnable); -+ readl(ns_ioaddr(dev) + IntrEnable); -+} -+ -+static inline void natsemi_irq_disable(struct net_device *dev) -+{ -+ writel(0, ns_ioaddr(dev) + IntrEnable); -+ readl(ns_ioaddr(dev) + IntrEnable); -+} -+ - static void move_int_phy(struct net_device *dev, int addr) - { - struct netdev_private *np = netdev_priv(dev); -@@ -879,6 +889,7 @@ static int __devinit natsemi_probe1 (str - spin_lock_init(&np->lock); - np->msg_enable = (debug >= 0) ? (1<<debug)-1 : NATSEMI_DEF_MSG; - np->hands_off = 0; -+ np->intr_status = 0; - - /* Initial port: - * - If the nic was configured to use an external phy and if find_mii -@@ -932,6 +943,9 @@ static int __devinit natsemi_probe1 (str - dev->do_ioctl = &netdev_ioctl; - dev->tx_timeout = &tx_timeout; - dev->watchdog_timeo = TX_TIMEOUT; -+ dev->poll = natsemi_poll; -+ dev->weight = 64; -+ - #ifdef CONFIG_NET_POLL_CONTROLLER - dev->poll_controller = &natsemi_poll_controller; - #endif -@@ -2158,68 +2172,92 @@ static void netdev_tx_done(struct net_de - } - } - --/* The interrupt handler does all of the Rx thread work and cleans up -- after the Tx thread. */ -+/* The interrupt handler doesn't actually handle interrupts itself, it -+ * schedules a NAPI poll if there is anything to do. */ - static irqreturn_t intr_handler(int irq, void *dev_instance, struct pt_regs *rgs) - { - struct net_device *dev = dev_instance; - struct netdev_private *np = netdev_priv(dev); - void __iomem * ioaddr = ns_ioaddr(dev); -- int boguscnt = max_interrupt_work; -- unsigned int handled = 0; - - if (np->hands_off) - return IRQ_NONE; -- do { -- /* Reading automatically acknowledges all int sources. */ -- u32 intr_status = readl(ioaddr + IntrStatus); -+ -+ /* Reading automatically acknowledges. */ -+ np->intr_status = readl(ioaddr + IntrStatus); - -- if (netif_msg_intr(np)) -- printk(KERN_DEBUG -- "%s: Interrupt, status %#08x, mask %#08x.\n", -- dev->name, intr_status, -- readl(ioaddr + IntrMask)); -+ if (netif_msg_intr(np)) -+ printk(KERN_DEBUG -+ "%s: Interrupt, status %#08x, mask %#08x.\n", -+ dev->name, np->intr_status, -+ readl(ioaddr + IntrMask)); - -- if (intr_status == 0) -- break; -- handled = 1; -+ if (!np->intr_status) -+ return IRQ_NONE; - -- if (intr_status & -- (IntrRxDone | IntrRxIntr | RxStatusFIFOOver | -- IntrRxErr | IntrRxOverrun)) { -- netdev_rx(dev); -- } -+ prefetch(&np->rx_skbuff[np->cur_rx % RX_RING_SIZE]); -+ -+ if (netif_rx_schedule_prep(dev)) { -+ /* Disable interrupts and register for poll */ -+ natsemi_irq_disable(dev); -+ __netif_rx_schedule(dev); -+ } -+ return IRQ_HANDLED; -+} - -- if (intr_status & -- (IntrTxDone | IntrTxIntr | IntrTxIdle | IntrTxErr)) { -+/* This is the NAPI poll routine. As well as the standard RX handling -+ * it also handles all other interrupts that the chip might raise. -+ */ -+static int natsemi_poll(struct net_device *dev, int *budget) -+{ -+ struct netdev_private *np = netdev_priv(dev); -+ void __iomem * ioaddr = ns_ioaddr(dev); -+ -+ int work_to_do = min(*budget, dev->quota); -+ int work_done = 0; -+ -+ do { -+ if (np->intr_status & -+ (IntrTxDone | IntrTxIntr | IntrTxIdle | IntrTxErr)) { - spin_lock(&np->lock); - netdev_tx_done(dev); - spin_unlock(&np->lock); - } - - /* Abnormal error summary/uncommon events handlers. */ -- if (intr_status & IntrAbnormalSummary) -- netdev_error(dev, intr_status); -- -- if (--boguscnt < 0) { -- if (netif_msg_intr(np)) -- printk(KERN_WARNING -- "%s: Too much work at interrupt, " -- "status=%#08x.\n", -- dev->name, intr_status); -- break; -+ if (np->intr_status & IntrAbnormalSummary) -+ netdev_error(dev, np->intr_status); -+ -+ if (np->intr_status & -+ (IntrRxDone | IntrRxIntr | RxStatusFIFOOver | -+ IntrRxErr | IntrRxOverrun)) { -+ netdev_rx(dev, &work_done, work_to_do); - } -- } while (1); -+ -+ *budget -= work_done; -+ dev->quota -= work_done; - -- if (netif_msg_intr(np)) -- printk(KERN_DEBUG "%s: exiting interrupt.\n", dev->name); -+ if (work_done >= work_to_do) -+ return 1; -+ -+ np->intr_status = readl(ioaddr + IntrStatus); -+ } while (np->intr_status); - -- return IRQ_RETVAL(handled); -+ netif_rx_complete(dev); -+ -+ /* Reenable interrupts providing nothing is trying to shut -+ * the chip down. */ -+ spin_lock(&np->lock); -+ if (!np->hands_off && netif_running(dev)) -+ natsemi_irq_enable(dev); -+ spin_unlock(&np->lock); -+ -+ return 0; - } - - /* This routine is logically part of the interrupt handler, but separated - for clarity and better register allocation. */ --static void netdev_rx(struct net_device *dev) -+static void netdev_rx(struct net_device *dev, int *work_done, int work_to_do) - { - struct netdev_private *np = netdev_priv(dev); - int entry = np->cur_rx % RX_RING_SIZE; -@@ -2237,6 +2275,12 @@ static void netdev_rx(struct net_device - entry, desc_status); - if (--boguscnt < 0) - break; -+ -+ if (*work_done >= work_to_do) -+ break; -+ -+ (*work_done)++; -+ - pkt_len = (desc_status & DescSizeMask) - 4; - if ((desc_status&(DescMore|DescPktOK|DescRxLong)) != DescPktOK){ - if (desc_status & DescMore) { -@@ -2293,7 +2337,7 @@ static void netdev_rx(struct net_device - np->rx_skbuff[entry] = NULL; - } - skb->protocol = eth_type_trans(skb, dev); -- netif_rx(skb); -+ netif_receive_skb(skb); - dev->last_rx = jiffies; - np->stats.rx_packets++; - np->stats.rx_bytes += pkt_len; -@@ -3074,9 +3118,7 @@ static int netdev_close(struct net_devic - del_timer_sync(&np->timer); - disable_irq(dev->irq); - spin_lock_irq(&np->lock); -- /* Disable interrupts, and flush posted writes */ -- writel(0, ioaddr + IntrEnable); -- readl(ioaddr + IntrEnable); -+ natsemi_irq_disable(dev); - np->hands_off = 1; - spin_unlock_irq(&np->lock); - enable_irq(dev->irq); -@@ -3158,6 +3200,9 @@ static void __devexit natsemi_remove1 (s - * * netdev_timer: timer stopped by natsemi_suspend. - * * intr_handler: doesn't acquire the spinlock. suspend calls - * disable_irq() to enforce synchronization. -+ * * natsemi_poll: checks before reenabling interrupts. suspend -+ * sets hands_off, disables interrupts and then waits with -+ * netif_poll_disable(). - * - * Interrupts must be disabled, otherwise hands_off can cause irq storms. - */ -@@ -3183,6 +3228,8 @@ static int natsemi_suspend (struct pci_d - spin_unlock_irq(&np->lock); - enable_irq(dev->irq); - -+ netif_poll_disable(dev); -+ - /* Update the error counts. */ - __get_stats(dev); - -@@ -3235,6 +3282,7 @@ static int natsemi_resume (struct pci_de - mod_timer(&np->timer, jiffies + 1*HZ); - } - netif_device_attach(dev); -+ netif_poll_enable(dev); - out: - rtnl_unlock(); - return 0; - Deleted: trunk/package/linux/linux_scx200-hr-timer.patch =================================================================== --- trunk/package/linux/linux_scx200-hr-timer.patch 2006-08-19 01:30:20 UTC (rev 280) +++ trunk/package/linux/linux_scx200-hr-timer.patch 2006-08-19 02:11:33 UTC (rev 281) @@ -1,317 +0,0 @@ -diff -Naurp linux-2.6.12-rc6.orig/arch/i386/Kconfig linux-2.6.12-rc6/arch/i386/Kconfig ---- linux-2.6.12-rc6.orig/arch/i386/Kconfig 2005-06-07 14:56:02.000000000 +0100 -+++ linux-2.6.12-rc6/arch/i386/Kconfig 2005-06-07 16:43:19.000000000 +0100 -@@ -458,6 +458,17 @@ config HPET_EMULATE_RTC - bool "Provide RTC interrupt" - depends on HPET_TIMER && RTC=y - -+config SCx200HR_TIMER -+ bool "NatSemi SCx200 27MHz High-Resolution Timer Support" -+ help -+ Some of the AMD (formerly National Semiconductor) Geode -+ processors, notably the SC1100, suffer from a buggy time -+ stamp counter which causes them to lose time when the -+ processor is sleeping. Enable this option to use the -+ on-board 27Mz high-resolution timer to keep time instead. -+ depends on (SCx200) -+ default n -+ - config SMP - bool "Symmetric multi-processing support" - ---help--- -diff -Naurp linux-2.6.12-rc6.orig/arch/i386/kernel/scx200.c linux-2.6.12-rc6/arch/i386/kernel/scx200.c ---- linux-2.6.12-rc6.orig/arch/i386/kernel/scx200.c 2005-06-07 14:56:02.000000000 +0100 -+++ linux-2.6.12-rc6/arch/i386/kernel/scx200.c 2005-06-07 16:43:19.000000000 +0100 -@@ -27,6 +27,10 @@ long scx200_gpio_shadow[2]; - - unsigned scx200_cb_base = 0; - -+#ifdef CONFIG_SCx200HR_TIMER -+extern void __devinit scx200hr_timer_enable(void); -+#endif -+ - static struct pci_device_id scx200_tbl[] = { - { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE) }, - { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE) }, -@@ -83,6 +87,9 @@ static int __devinit scx200_probe(struct - printk(KERN_INFO NAME ": Configuration Block base 0x%x\n", scx200_cb_base); - } - -+#ifdef CONFIG_SCx200HR_TIMER -+ scx200hr_timer_enable(); -+#endif - return 0; - } - -diff -Naurp linux-2.6.12-rc6.orig/arch/i386/kernel/timers/Makefile linux-2.6.12-rc6/arch/i386/kernel/timers/Makefile ---- linux-2.6.12-rc6.orig/arch/i386/kernel/timers/Makefile 2004-03-11 18:21:13.000000000 +0000 -+++ linux-2.6.12-rc6/arch/i386/kernel/timers/Makefile 2005-06-07 16:43:19.000000000 +0100 -@@ -5,5 +5,6 @@ - obj-y := timer.o timer_none.o timer_tsc.o timer_pit.o common.o - - obj-$(CONFIG_X86_CYCLONE_TIMER) += timer_cyclone.o -+obj-$(CONFIG_SCx200HR_TIMER) += timer_scx200hr.o - obj-$(CONFIG_HPET_TIMER) += timer_hpet.o - obj-$(CONFIG_X86_PM_TIMER) += timer_pm.o -diff -Naurp linux-2.6.12-rc6.orig/arch/i386/kernel/timers/timer.c linux-2.6.12-rc6/arch/i386/kernel/timers/timer.c ---- linux-2.6.12-rc6.orig/arch/i386/kernel/timers/timer.c 2004-12-26 14:07:37.000000000 +0000 -+++ linux-2.6.12-rc6/arch/i386/kernel/timers/timer.c 2005-06-07 16:43:19.000000000 +0100 -@@ -13,6 +13,9 @@ - #endif - /* list of timers, ordered by preference, NULL terminated */ - static struct init_timer_opts* __initdata timers[] = { -+#ifdef CONFIG_SCx200HR_TIMER -+ &timer_scx200hr_init, -+#endif - #ifdef CONFIG_X86_CYCLONE_TIMER - &timer_cyclone_init, - #endif -diff -Naurp linux-2.6.12-rc6.orig/arch/i386/kernel/timers/timer_scx200hr.c linux-2.6.12-rc6/arch/i386/kernel/timers/timer_scx200hr.c ---- linux-2.6.12-rc6.orig/arch/i386/kernel/timers/timer_scx200hr.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.12-rc6/arch/i386/kernel/timers/timer_scx200hr.c 2005-06-07 16:43:19.000000000 +0100 -@@ -0,0 +1,220 @@ -+/* -+ * Copyright (C) 2005 Ted Phelps -+ * -+ * This is a clock driver for the Geode SCx200's 27MHz high-resolution -+ * timer as the system clock replacing its buggy time stamp counter. -+ * -+ * Based on parts of timer_hpet.c, timer_tsc.c and timer_pit.c. -+ * -+ * This program is free software; you can redistribute it and/or -+ * modify it under the terms of the GNU General Public License as -+ * published by the Free Software Foundation; either version 2 of the -+ * License, or (at your option) any later version. -+ */ -+ -+#include <asm/timer.h> -+#include <linux/init.h> -+#include <linux/pci.h> -+#include <linux/seq_file.h> -+#include <linux/scx200.h> -+ -+#define NAME "scx200hr" -+ -+/* Read the clock */ -+#define SCx200HR_CLOCK() inl(scx200_cb_base + SCx200_TIMER_OFFSET) -+ -+/* High-resolution timer configuration address */ -+#define SCx200_TMCNFG_OFFSET (SCx200_TIMER_OFFSET + 5) -+ -+/* Set this bit to disable the 27 MHz input clock */ -+#define HR_TM27MPD (1 << 2) -+ -+/* Set this bit to update the count-up timer once per cycle of the -+ * 27MHz timer, clear it to update the timer once every 27 cycles -+ * (effectively producing a 1MHz counter) */ -+#define HR_TMCLKSEL (1 << 1) -+ -+/* Set this bit to enable the high-resolution timer interrupt */ -+#define HR_TMEN (1 << 0) -+ -+/* The frequency of the timer. Change this to 27000000 and set -+ * HR_TMCLKSEL in scx200hr_enable to run at the faster clock rate. At -+ * this point in time there is no point in doing so since times are -+ * recorded in usec except for the monotonic clock, which is only used -+ * by the hangcheck-timer. */ -+#define HR_FREQ 1000000 -+ -+/* The number of cycles of the high-resolution timer we expect to see -+ * in a single tick. Note that the result is <<8 for greater precision*/ -+#define HR_CYCLES_PER_TICK \ -+ (SH_DIV(HR_FREQ / 1000000 * TICK_NSEC, 1000, 8)) -+ -+/* The number of cycles of the high-resolution timer we expect to see -+ * in one microsecond, <<8 */ -+#define HR_CYCLES_PER_US ((HR_FREQ / 1000000) << 8) -+ -+ -+/* The value of the timer at the last interrupt */ -+static u32 clock_at_last_interrupt; -+ -+/* The number of high-resolution clock cycles beyond what we would -+ have expected that the last tick occurred, <<8 for greater precision */ -+static long clock_delay; -+ -+/* The total number of timer nanoseconds between the time the timer -+ * went live and the most recent tick. */ -+static unsigned long long total_ns; -+ -+/* A lock to guard access to the monotonic clock-related variables -+ * (total_ns and clocal_at_last_interrupt). Note that these are also -+ * protected by the xtime lock. */ -+static seqlock_t hr_lock = SEQLOCK_UNLOCKED; -+ -+/* Nonzero if the timer has been selected */ -+static int enable_scx200hr; -+ -+static int __init scx200hr_init(char *override) -+{ -+ /* Watch for a command-line clock= override */ -+ if (override[0] && strncmp(override, NAME, sizeof(NAME) - 1) != 0) { -+ return -ENODEV; -+ } -+ -+ /* Note that we should try to enable this timer once the -+ * configuration block address is known */ -+ printk(KERN_WARNING NAME ": timer not yet accessible; will probe later.\n"); -+ enable_scx200hr = 1; -+ return -EAGAIN; -+} -+ -+/* Called by the timer interrupt. The xtime_lock will be held. */ -+static void mark_offset_scx200hr(void) -+{ -+ u32 now, delta; -+ -+ /* Avoid races between the interrupt handler and monotonic_clock */ -+ write_seqlock(&hr_lock); -+ -+ /* Determine how many cycles have elapsed since the last interrupt */ -+ now = SCx200HR_CLOCK(); -+ delta = (now - clock_at_last_interrupt) << 8; -+ clock_at_last_interrupt = now; -+ -+ /* Update the total us count and remainder */ -+ total_ns += (delta * 1000) / HR_CYCLES_PER_US; -+ -+ /* The monotonic clock is safe now */ -+ write_sequnlock(&hr_lock); -+ -+ /* Adjust for interrupt handling delay */ -+ delta += clock_delay; -+ -+ /* The high-resolution timer is driven by a different crystal -+ * to the main CPU, so there's no guarantee that the 1KHz -+ * interrupt rate will coincide with the timer. This keeps -+ * the jiffies count in line with the high-resolution timer, -+ * which makes it possible for NTP to do its magic */ -+ if (delta < HR_CYCLES_PER_TICK) { -+#if 1 -+ /* Didn't go over 1000us: decrement jiffies to balance -+ * out increment in do_timer. This will cause some -+ * jitter if the frequency offset is large, as that -+ * adjustment will be applied about 1ms late. */ -+ jiffies_64--; -+ clock_delay = delta; -+#else /* !1 */ -+ clock_delay = 0; -+#endif /* 1 */ -+ } else if (delta < (HR_CYCLES_PER_TICK << 1) + (HR_CYCLES_PER_TICK >> 1)) { -+ clock_delay = delta - HR_CYCLES_PER_TICK; -+ } else { -+ jiffies_64 += delta / HR_CYCLES_PER_TICK - 2; -+ clock_delay = HR_CYCLES_PER_TICK + delta % HR_CYCLES_PER_TICK; -+ } -+} -+ -+/* Called by gettimeofday(). Returns the number of microseconds since -+ * the last interrupt. This is called with the xtime_lock held.*/ -+static unsigned long get_offset_scx200hr(void) -+{ -+ u32 delta; -+ -+ /* Get the time now and determine how many cycles have -+ * transpired since the interrupt, adjusting for timer -+ * interrupt jitter. */ -+ delta = ((SCx200HR_CLOCK() - clock_at_last_interrupt) << 8) + clock_delay; -+ -+ /* Convert from cycles<<8 to microseconds */ -+ return delta / HR_CYCLES_PER_US; -+} -+ -+/* Returns the number of nanoseconds since the init of the timer. */ -+static unsigned long long monotonic_clock_scx200hr(void) -+{ -+ u32 delta, seq; -+ unsigned long long ns; -+ -+ /* This function is *not* called with xtime_lock held, so we -+ * need to get the hr_lock to ensure we're not competing with -+ * mark_offset_scx200hr. */ -+ do { -+ seq = read_seqbegin(&hr_lock); -+ ns = total_ns; -+ delta = SCx200HR_CLOCK() - clock_at_last_interrupt; -+ } while (read_seqretry(&hr_lock, seq)); -+ -+ /* Convert cycles to microseconds and add. */ -+ return ns + delta * 1000 / HR_CYCLES_PER_US; -+} -+ -+/* scx200hr timer_opts struct */ -+struct timer_opts timer_scx200hr = { -+ .name = NAME, -+ .mark_offset = mark_offset_scx200hr, -+ .get_offset = get_offset_scx200hr, -+ .monotonic_clock = monotonic_clock_scx200hr, -+ .delay = NULL -+}; -+ -+/* And the init_timer struct */ -+struct init_timer_opts __devinitdata timer_scx200hr_init = { -+ .init = scx200hr_init, -+ .opts = &timer_scx200hr -+}; -+ -+ -+/* Switch from the original timer to the high-resolution timer */ -+void __devinit scx200hr_timer_enable(void) -+{ -+ /* Make sure the timer was requested and that the -+ * configuration block is present */ -+ if (!enable_scx200hr || !scx200_cb_present()) { -+ return; -+ } -+ -+ /* Reserve the timer region for ourselves */ -+ if (!request_region(scx200_cb_base + SCx200_TIMER_OFFSET, -+ SCx200_TIMER_SIZE, -+ "NatSemi SCx200 High-Resolution Timer")) { -+ printk(KERN_WARNING NAME ": unable to lock timer region\n"); -+ return; -+ } -+ -+ /* Configure the timer */ -+ outb(0, scx200_cb_base + SCx200_TMCNFG_OFFSET); -+ -+ /* Record the current value of the timer. */ -+ clock_at_last_interrupt = SCx200HR_CLOCK(); -+ -+ /* Get the current value of the monotonic clock */ -+ total_ns = cur_timer->monotonic_clock(); -+ -+ /* Switch from the original timer functions to ours, but keep -+ * the current delay function since loops_per_jiffy will have -+ * been computed using that */ -+ timer_scx200hr.delay = cur_timer->delay; -+ cur_timer = &timer_scx200hr; -+ -+ printk(KERN_INFO "switching to scx200 high-resolution timer (%lu cpt)\n", -+ HR_CYCLES_PER_TICK); -+} -diff -Naurp linux-2.6.12-rc6.orig/include/asm-i386/timer.h linux-2.6.12-rc6/include/asm-i386/timer.h ---- linux-2.6.12-rc6.orig/include/asm-i386/timer.h 2005-06-07 14:56:11.000000000 +0100 -+++ linux-2.6.12-rc6/include/asm-i386/timer.h 2005-06-07 16:43:19.000000000 +0100 -@@ -50,6 +50,9 @@ extern struct init_timer_opts timer_tsc_ - #ifdef CONFIG_X86_CYCLONE_TIMER - extern struct init_timer_opts timer_cyclone_init; - #endif -+#ifdef CONFIG_SCx200HR_TIMER -+extern struct init_timer_opts timer_scx200hr_init; -+#endif - - extern unsigned long calibrate_tsc(void); - extern void init_cpu_khz(void); -diff -Naurp linux-2.6.12-rc6.orig/include/linux/scx200.h linux-2.6.12-rc6/include/linux/scx200.h ---- linux-2.6.12-rc6.orig/include/linux/scx200.h 2005-06-07 14:56:11.000000000 +0100 -+++ linux-2.6.12-rc6/include/linux/scx200.h 2005-06-07 16:43:19.000000000 +0100 -@@ -32,7 +32,7 @@ extern unsigned scx200_cb_base; - - /* High Resolution Timer */ - #define SCx200_TIMER_OFFSET 0x08 --#define SCx200_TIMER_SIZE 0x05 -+#define SCx200_TIMER_SIZE 0x06 - - /* Clock Generators */ - #define SCx200_CLOCKGEN_OFFSET 0x10 Modified: trunk/target/device/Config.in =================================================================== --- trunk/target/device/Config.in 2006-08-19 01:30:20 UTC (rev 280) +++ trunk/target/device/Config.in 2006-08-19 02:11:33 UTC (rev 281) @@ -5,6 +5,7 @@ source "target/device/geni586/Config.in" source "target/device/via/Config.in" source "target/device/genx8664/Config.in" +source "target/device/Gumstix/Config.in" # This must be last # source "target/generic/Config.in" Added: trunk/target/device/Gumstix/Config.in =================================================================== --- trunk/target/device/Gumstix/Config.in (rev 0) +++ trunk/target/device/Gumstix/Config.in 2006-08-19 02:11:33 UTC (rev 281) @@ -0,0 +1,26 @@ +config BR2_TARGET_GUMSTIX_BASIXCONNEX + bool "Gumstix basix or connex" + depends on BR2_arm + default n + select BR2_PACKAGE_LINUX + select BR2_PACKAGE_ETC_GUMSTIX_RELEASE + help + The gumstix basix and connex + +config GUMSTIX_400MHZ + bool "400MHz?" + depends on BR2_TARGET_GUMSTIX_BASIXCONNEX + default y + help + Do you want to build for 400MHz? If not, then will use 200MHz + +config BR2_PACKAGE_LINUX + bool "linux" + depends on BR2_TARGET_GUMSTIX_BASIXCONNEX + default n + help + The Linux kernel. + +config BR2_PACKAGE_ETC_GUMSTIX_RELEASE + bool + depends on BR2_TARGET_GUMSTIX_BASIXCONNEX Added: trunk/target/device/Gumstix/Makefile.in =================================================================== --- trunk/target/device/Gumstix/Makefile.in (rev 0) +++ trunk/target/device/Gumstix/Makefile.in 2006-08-19 02:11:33 UTC (rev 281) @@ -0,0 +1,14 @@ +# Override the default uClibc configuration +ifeq ($(strip $(BR2_TARGET_GUMSTIX_BASIXCONNEX)),y) +UCLIBC_CONFIG_FILE:=target/device/Gumstix/basix-connex/uClibc.config +BR2_PACKAGE_BUSYBOX_CONFIG:=target/device/Gumstix/basix-connex/busybox.config + +ifeq ($(strip $(BR2_PACKAGE_LINUX)),y) +TARGETS+=linux +include target/device/Gumstix/basix-connex/linux.mk +endif + +include target/device/Gumstix/etc-gumstix-release/etc-gumstix-release.mk +TARGETS+=etc-gumstix-release + +endif Added: trunk/target/device/Gumstix/basix-connex/busybox.config =================================================================== --- trunk/target/device/Gumstix/basix-connex/busybox.config (rev 0) +++ trunk/target/device/Gumstix/basix-connex/busybox.config 2006-08-19 02:11:33 UTC (rev 281) @@ -0,0 +1,607 @@ +# +# Automatically generated make config: don't edit +# +HAVE_DOT_CONFIG=y + +# +# Busybox Settings +# + +# +# General Configuration +# +# CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set +# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set +CONFIG_FEATURE_BUFFERS_GO_IN_BSS=y +CONFIG_FEATURE_VERBOSE_USAGE=y +# CONFIG_FEATURE_INSTALLER is not set +# CONFIG_LOCALE_SUPPORT is not set +# CONFIG_FEATURE_DEVFS is not set +CONFIG_FEATURE_DEVPTS=y +# CONFIG_FEATURE_CLEAN_UP is not set +CONFIG_FEATURE_SUID=y +# CONFIG_FEATURE_SUID_CONFIG is not set +# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set +# CONFIG_SELINUX is not set + +# +# Build Options +# +# CONFIG_STATIC is not set +# CONFIG_DISABLE_SHARED is not set +# CONFIG_BUILD_LIBBUSYBOX is not set +# CONFIG_FEATURE_FULL_LIBBUSYBOX is not set +# CONFIG_FEATURE_SHARED_BUSYBOX is not set +CONFIG_LFS=y +# USING_CROSS_COMPILER is not set +CROSS_COMPILER_PREFIX="" +EXTRA_CFLAGS_OPTIONS="-fPIC" +# CONFIG_BUILD_AT_ONCE is not set + +# +# Debugging Options +# +# CONFIG_DEBUG is not set +# CONFIG_NO_DEBUG_LIB is not set +# CONFIG_DMALLOC is not set +# CONFIG_EFENCE is not set +CONFIG_DEBUG_YANK_SUSv2=y + +# +# Installation Options +# +# CONFIG_INSTALL_NO_USR is not set +CONFIG_INSTALL_APPLET_SYMLINKS=y +# CONFIG_INSTALL_APPLET_HARDLINKS is not set +# CONFIG_INSTALL_APPLET_DONT is not set +PREFIX="./_install" + +# +# Busybox Library Tuning +# +CONFIG_MD5_SIZE_VS_SPEED=0 + +# +# Applets +# + +# +# Archival Utilities +# +# CONFIG_AR is not set +# CONFIG_FEATURE_AR_LONG_FILENAMES is not set +# CONFIG_BUNZIP2 is not set +# CONFIG_CPIO is not set +# CONFIG_DPKG is not set +# CONFIG_DPKG_DEB is not set +# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set +CONFIG_GUNZIP=y +# CONFIG_FEATURE_GUNZIP_UNCOMPRESS is not set +CONFIG_GZIP=y +# CONFIG_RPM2CPIO is not set +# CONFIG_RPM is not set +CONFIG_TAR=y +CONFIG_FEATURE_TAR_CREATE=y +# CONFIG_FEATURE_TAR_BZIP2 is not set +# CONFIG_FEATURE_TAR_LZMA is not set +# CONFIG_FEATURE_TAR_FROM is not set +CONFIG_FEATURE_TAR_GZIP=y +# CONFIG_FEATURE_TAR_COMPRESS is not set +# CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY is not set +CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y +# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set +# CONFIG_UNCOMPRESS is not set +# CONFIG_UNLZMA is not set +# CONFIG_FEATURE_LZMA_FAST is not set +# CONFIG_UNZIP is not set + +# +# Common options for cpio and tar +# +# CONFIG_FEATURE_UNARCHIVE_TAPE is not set +# CONFIG_FEATURE_DEB_TAR_GZ is not set +# CONFIG_FEATURE_DEB_TAR_BZ2 is not set +# CONFIG_FEATURE_DEB_TAR_LZMA is not set + +# +# Coreutils +# +CONFIG_BASENAME=y +# CONFIG_CAL is not set +CONFIG_CAT=y +CONFIG_CHGRP=y +CONFIG_CHMOD=y +CONFIG_CHOWN=y +CONFIG_CHROOT=y +CONFIG_CMP=y +# CONFIG_COMM is not set +CONFIG_CP=y +CONFIG_CUT=y +CONFIG_DATE=y +CONFIG_FEATURE_DATE_ISOFMT=y +CONFIG_DD=y +CONFIG_DF=y +CONFIG_DIRNAME=y +# CONFIG_DOS2UNIX is not set +# CONFIG_UNIX2DOS is not set +CONFIG_DU=y +CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K=y +CONFIG_ECHO=y +CONFIG_FEATURE_FANCY_ECHO=y +CONFIG_ENV=y +# CONFIG_EXPR is not set +# CONFIG_EXPR_MATH_SUPPORT_64 is not set +CONFIG_FALSE=y +# CONFIG_FOLD is not set +CONFIG_HEAD=y +# CONFIG_FEATURE_FANCY_HEAD is not set +# CONFIG_HOSTID is not set +CONFIG_ID=y +# CONFIG_INSTALL is not set +CONFIG_LENGTH=y +CONFIG_LN=y +CONFIG_LOGNAME=y +CONFIG_LS=y +CONFIG_FEATURE_LS_FILETYPES=y +CONFIG_FEATURE_LS_FOLLOWLINKS=y +CONFIG_FEATURE_LS_RECURSIVE=y +CONFIG_FEATURE_LS_SORTFILES=y +CONFIG_FEATURE_LS_TIMESTAMPS=y +CONFIG_FEATURE_LS_USERNAME=y +CONFIG_FEATURE_LS_COLOR=y +# CONFIG_FEATURE_LS_COLOR_IS_DEFAULT is not set +CONFIG_MD5SUM=y +CONFIG_MKDIR=y +# CONFIG_MKFIFO is not set +CONFIG_MKNOD=y +CONFIG_MV=y +# CONFIG_NICE is not set +# CONFIG_NOHUP is not set +# CONFIG_OD is not set +# CONFIG_PRINTENV is not set +# CONFIG_PRINTF is not set +CONFIG_PWD=y +CONFIG_REALPATH=y +CONFIG_RM=y +CONFIG_RMDIR=y +CONFIG_SEQ=y +# CONFIG_SHA1SUM is not set +CONFIG_SLEEP=y +# CONFIG_FEATURE_FANCY_SLEEP is not set +CONFIG_SORT=y +# CONFIG_FEATURE_SORT_BIG is not set +# CONFIG_STAT is not set +# CONFIG_FEATURE_STAT_FORMAT is not set +CONFIG_STTY=y +# CONFIG_SUM is not set +CONFIG_SYNC=y +CONFIG_TAIL=y +# CONFIG_FEATURE_FANCY_TAIL is not set +CONFIG_TEE=y +# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set +CONFIG_TEST=y +# CONFIG_FEATURE_TEST_64 is not set +CONFIG_TOUCH=y +# CONFIG_TR is not set +# CONFIG_FEATURE_TR_CLASSES is not set +# CONFIG_FEATURE_TR_EQUIV is not set +CONFIG_TRUE=y +CONFIG_TTY=y +CONFIG_UNAME=y +CONFIG_UNIQ=y +CONFIG_USLEEP=y +# CONFIG_UUDECODE is not set +# CONFIG_UUENCODE is not set +# CONFIG_WATCH is not set +# CONFIG_WC is not set +# CONFIG_WHO is not set +CONFIG_WHOAMI=y +CONFIG_YES=y + +# +# Common options for cp and mv +# +CONFIG_FEATURE_PRESERVE_HARDLINKS=y + +# +# Common options for ls, more and telnet +# +CONFIG_FEATURE_AUTOWIDTH=y + +# +# Common options for df, du, ls +# +CONFIG_FEATURE_HUMAN_READABLE=y + +# +# Common options for md5sum, sha1sum +# +# CONFIG_FEATURE_MD5_SHA1_SUM_CHECK is not set + +# +# Console Utilities +# +# CONFIG_CHVT is not set +CONFIG_CLEAR=y +# CONFIG_DEALLOCVT is not set +# CONFIG_DUMPKMAP is not set +# CONFIG_LOADFONT is not set +# CONFIG_LOADKMAP is not set +# CONFIG_OPENVT is not set +CONFIG_RESET=y +CONFIG_SETCONSOLE=y +# CONFIG_SETKEYCODES is not set + +# +# Debian Utilities +# +CONFIG_MKTEMP=y +# CONFIG_PIPE_PROGRESS is not set +CONFIG_READLINK=y +# CONFIG_FEATURE_READLINK_FOLLOW is not set +CONFIG_RUN_PARTS=y +CONFIG_START_STOP_DAEMON=y +CONFIG_WHICH=y + +# +# Editors +# +CONFIG_AWK=y +# CONFIG_FEATURE_AWK_MATH is not set +# CONFIG_PATCH is not set +CONFIG_SED=y +CONFIG_VI=y +CONFIG_FEATURE_VI_COLON=y +# CONFIG_FEATURE_VI_YANKMARK is not set +CONFIG_FEATURE_VI_SEARCH=y +CONFIG_FEATURE_VI_USE_SIGNALS=y +# CONFIG_FEATURE_VI_DOT_CMD is not set +# CONFIG_FEATURE_VI_READONLY is not set +# CONFIG_FEATURE_VI_SETOPTS is not set +# CONFIG_FEATURE_VI_SET is not set +CONFIG_FEATURE_VI_WIN_RESIZE=y +# CONFIG_FEATURE_VI_OPTIMIZE_CURSOR is not set + +# +# Finding Utilities +# +CONFIG_FIND=y +# CONFIG_FEATURE_FIND_MTIME is not set +# CONFIG_FEATURE_FIND_MMIN is not set +# CONFIG_FEATURE_FIND_PERM is not set +CONFIG_FEATURE_FIND_TYPE=y +# CONFIG_FEATURE_FIND_XDEV is not set +# CONFIG_FEATURE_FIND_NEWER is not set +# CONFIG_FEATURE_FIND_INUM is not set +CONFIG_FEATURE_FIND_EXEC=y +CONFIG_GREP=y +# CONFIG_FEATURE_GREP_EGREP_ALIAS is not set +CONFIG_FEATURE_GREP_FGREP_ALIAS=y +CONFIG_FEATURE_GREP_CONTEXT=y +CONFIG_XARGS=y +# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set +CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y +# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set +CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y + +# +# Init Utilities +# +CONFIG_INIT=y +CONFIG_FEATURE_USE_INITTAB=y +# CONFIG_FEATURE_INIT_SCTTY is not set +CONFIG_FEATURE_EXTRA_QUIET=y +# CONFIG_FEATURE_INIT_COREDUMPS is not set +# CONFIG_FEATURE_INITRD is not set +CONFIG_HALT=y +# CONFIG_MESG is not set + +# +# Login/Password Management Utilities +# +CONFIG_FEATURE_SHADOWPASSWDS=y +# CONFIG_USE_BB_SHADOW is not set +# CONFIG_USE_BB_PWD_GRP is not set +CONFIG_ADDGROUP=y +CONFIG_DELGROUP=y +CONFIG_ADDUSER=y +CONFIG_DELUSER=y +CONFIG_GETTY=y +# CONFIG_FEATURE_UTMP is not set +# CONFIG_FEATURE_WTMP is not set +CONFIG_LOGIN=y +# CONFIG_FEATURE_SECURETTY is not set +CONFIG_PASSWD=y +CONFIG_SU=y +# CONFIG_SULOGIN is not set +# CONFIG_VLOCK is not set + +# +# Linux Ext2 FS Progs +# +# CONFIG_CHATTR is not set +# CONFIG_E2FSCK is not set +# CONFIG_FSCK is not set +# CONFIG_LSATTR is not set +# CONFIG_MKE2FS is not set +# CONFIG_TUNE2FS is not set +# CONFIG_E2LABEL is not set +# CONFIG_FINDFS is not set + +# +# Linux Module Utilities +# +# CONFIG_INSMOD is not set +# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set +# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set +# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set +# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set +# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set +# CONFIG_RMMOD is not set +# CONFIG_LSMOD is not set +# CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set +# CONFIG_MODPROBE is not set +# CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS is not set +# CONFIG_FEATURE_CHECK_TAINTED_MODULE is not set +# CONFIG_FEATURE_2_4_MODULES is not set +# CONFIG_FEATURE_2_6_MODULES is not set +# CONFIG_FEATURE_QUERY_MODULE_INTERFACE is not set + +# +# Linux System Utilities +# +CONFIG_DMESG=y +# CONFIG_FBSET is not set +# CONFIG_FEATURE_FBSET_FANCY is not set +# CONFIG_FEATURE_FBSET_READMODE is not set +# CONFIG_FDFLUSH is not set +# CONFIG_FDFORMAT is not set +CONFIG_FDISK=y +FDISK_SUPPORT_LARGE_DISKS=y +CONFIG_FEATURE_FDISK_WRITABLE=y +# CONFIG_FEATURE_AIX_LABEL is not set +# CONFIG_FEATURE_SGI_LABEL is not set +# CONFIG_FEATURE_SUN_LABEL is not set +# CONFIG_FEATURE_OSF_LABEL is not set +# CONFIG_FEATURE_FDISK_ADVANCED is not set +# CONFIG_FREERAMDISK is not set +# CONFIG_FSCK_MINIX is not set +# CONFIG_MKFS_MINIX is not set +# CONFIG_FEATURE_MINIX2 is not set +CONFIG_GETOPT=y +# CONFIG_HEXDUMP is not set +# CONFIG_HWCLOCK is not set +# CONFIG_FEATURE_HWCLOCK_LONGOPTIONS is not set +# CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS is not set +# CONFIG_IPCRM is not set +# CONFIG_IPCS is not set +# CONFIG_LOSETUP is not set +# CONFIG_MDEV is not set +# CONFIG_FEATURE_MDEV_CONF is not set +# CONFIG_MKSWAP is not set +CONFIG_MORE=y +CONFIG_FEATURE_USE_TERMIOS=y +CONFIG_MOUNT=y +# CONFIG_FEATURE_MOUNT_NFS is not set +CONFIG_PIVOT_ROOT=y +CONFIG_RDATE=y +# CONFIG_READPROFILE is not set +# CONFIG_SETARCH is not set +# CONFIG_SWAPONOFF is not set +# CONFIG_SWITCH_ROOT is not set +CONFIG_UMOUNT=y +# CONFIG_FEATURE_UMOUNT_ALL is not set + +# +# Common options for mount/umount +# +CONFIG_FEATURE_MOUNT_LOOP=y +# CONFIG_FEATURE_MTAB_SUPPORT is not set + +# +# Miscellaneous Utilities +# +# CONFIG_ADJTIMEX is not set +# CONFIG_BBCONFIG is not set +# CONFIG_CROND is not set +# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set +# CONFIG_CRONTAB is not set +# CONFIG_DC is not set +# CONFIG_DEVFSD is not set +# CONFIG_DEVFSD_MODLOAD is not set +# CONFIG_DEVFSD_FG_NP is not set +# CONFIG_DEVFSD_VERBOSE is not set +# CONFIG_EJECT is not set +# CONFIG_LAST is not set +# CONFIG_LESS is not set +# CONFIG_FEATURE_LESS_BRACKETS is not set +# CONFIG_FEATURE_LESS_FLAGS is not set +# CONFIG_FEATURE_LESS_FLAGCS is not set +# CONFIG_FEATURE_LESS_MARKS is not set +# CONFIG_FEATURE_LESS_REGEXP is not set +# CONFIG_HDPARM is not set +# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set +# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set +# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set +CONFIG_MAKEDEVS=y +# CONFIG_FEATURE_MAKEDEVS_LEAF is not set +CONFIG_FEATURE_MAKEDEVS_TABLE=y +# CONFIG_MOUNTPOINT is not set +# CONFIG_MT is not set +# CONFIG_RUNLEVEL is not set +# CONFIG_RX is not set +# CONFIG_STRINGS is not set +# CONFIG_SETSID is not set +# CONFIG_TIME is not set +CONFIG_WATCHDOG=y + +# +# Networking Utilities +# +# CONFIG_FEATURE_IPV6 is not set +# CONFIG_ARPING is not set +# CONFIG_DNSD is not set +# CONFIG_ETHER_WAKE is not set +# CONFIG_FAKEIDENTD is not set +# CONFIG_FTPGET is not set +# CONFIG_FTPPUT is not set +CONFIG_HOSTNAME=y +# CONFIG_HTTPD is not set +# CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY is not set +# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set +# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set +# CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set +# CONFIG_FEATURE_HTTPD_SETUID is not set +# CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES is not set +# CONFIG_FEATURE_HTTPD_CGI is not set +# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set +# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set +# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set +CONFIG_IFCONFIG=y +CONFIG_FEATURE_IFCONFIG_STATUS=y +# CONFIG_FEATURE_IFCONFIG_SLIP is not set +# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set +CONFIG_FEATURE_IFCONFIG_HW=y +# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set +CONFIG_IFUPDOWN=y +CONFIG_FEATURE_IFUPDOWN_IP=y +CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN=y +CONFIG_FEATURE_IFUPDOWN_IPV4=y +# CONFIG_FEATURE_IFUPDOWN_IPV6 is not set +# CONFIG_FEATURE_IFUPDOWN_IPX is not set +# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set +# CONFIG_INETD is not set +# CONFIG_FEATURE_INETD_SUPPORT_BILTIN_ECHO is not set +# CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DISCARD is not set +# CONFIG_FEATURE_INETD_SUPPORT_BILTIN_TIME is not set +# CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DAYTIME is not set +# CONFIG_FEATURE_INETD_SUPPORT_BILTIN_CHARGEN is not set +# CONFIG_FEATURE_INETD_RPC is not set +CONFIG_IP=y +CONFIG_FEATURE_IP_ADDRESS=y +CONFIG_FEATURE_IP_LINK=y +CONFIG_FEATURE_IP_ROUTE=y +# CONFIG_FEATURE_IP_TUNNEL is not set +# CONFIG_IPCALC is not set +# CONFIG_FEATURE_IPCALC_FANCY is not set +# CONFIG_IPADDR is not set +# CONFIG_IPLINK is not set +# CONFIG_IPROUTE is not set +# CONFIG_IPTUNNEL is not set +CONFIG_NAMEIF=y +CONFIG_NC=y +# CONFIG_NC_GAPING_SECURITY_HOLE is not set +CONFIG_NETSTAT=y +# CONFIG_NSLOOKUP is not set +CONFIG_PING=y +CONFIG_FEATURE_FANCY_PING=y +# CONFIG_PING6 is not set +# CONFIG_FEATURE_FANCY_PING6 is not set +# CONFIG_ROUTE is not set +# CONFIG_TELNET is not set +# CONFIG_FEATURE_TELNET_TTYPE is not set +# CONFIG_FEATURE_TELNET_AUTOLOGIN is not set +# CONFIG_TELNETD is not set +# CONFIG_FEATURE_TELNETD_INETD is not set +# CONFIG_TFTP is not set +# CONFIG_FEATURE_TFTP_GET is not set +# CONFIG_FEATURE_TFTP_PUT is not set +# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set +# CONFIG_FEATURE_TFTP_DEBUG is not set +CONFIG_TRACEROUTE=y +CONFIG_FEATURE_TRACEROUTE_VERBOSE=y +# CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set +# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set +# CONFIG_VCONFIG is not set +CONFIG_WGET=y +CONFIG_FEATURE_WGET_STATUSBAR=y +CONFIG_FEATURE_WGET_AUTHENTICATION=y +# CONFIG_FEATURE_WGET_IP6_LITERAL is not set + +# +# udhcp Server/Client +# +# CONFIG_UDHCPD is not set +CONFIG_UDHCPC=y +# CONFIG_DUMPLEASES is not set +CONFIG_FEATURE_UDHCP_SYSLOG=y +# CONFIG_FEATURE_UDHCP_DEBUG is not set +CONFIG_FEATURE_UDHCP_LOG_LEVEL=5 +CONFIG_ZCIP=y + +# +# Process Utilities +# +# CONFIG_FREE is not set +# CONFIG_FUSER is not set +CONFIG_KILL=y +CONFIG_KILLALL=y +CONFIG_PIDOF=y +# CONFIG_FEATURE_PIDOF_SINGLE is not set +# CONFIG_FEATURE_PIDOF_OMIT is not set +CONFIG_PS=y +# CONFIG_FEATURE_PS_WIDE is not set +CONFIG_RENICE=y +# CONFIG_BB_SYSCTL is not set +# CONFIG_TOP is not set +# CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE is not set +CONFIG_UPTIME=y + +# +# Shells +# +CONFIG_FEATURE_SH_IS_ASH=y +# CONFIG_FEATURE_SH_IS_HUSH is not set +# CONFIG_FEATURE_SH_IS_LASH is not set +# CONFIG_FEATURE_SH_IS_MSH is not set +# CONFIG_FEATURE_SH_IS_NONE is not set +CONFIG_ASH=y + +# +# Ash Shell Options +# +CONFIG_ASH_JOB_CONTROL=y +# CONFIG_ASH_READ_NCHARS is not set +# CONFIG_ASH_READ_TIMEOUT is not set +CONFIG_ASH_ALIAS=y +CONFIG_ASH_MATH_SUPPORT=y +# CONFIG_ASH_MATH_SUPPORT_64 is not set +CONFIG_ASH_GETOPTS=y +# CONFIG_ASH_CMDCMD is not set +# CONFIG_ASH_BUILTIN_ECHO is not set +# CONFIG_ASH_MAIL is not set +CONFIG_ASH_OPTIMIZE_FOR_SIZE=y +# CONFIG_ASH_RANDOM_SUPPORT is not set +# CONFIG_ASH_EXPAND_PRMT is not set +# CONFIG_HUSH is not set +# CONFIG_LASH is not set +# CONFIG_MSH is not set + +# +# Bourne Shell Options +# +CONFIG_FEATURE_SH_EXTRA_QUIET=y +# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set +CONFIG_FEATURE_COMMAND_EDITING=y +# CONFIG_FEATURE_COMMAND_EDITING_VI is not set +CONFIG_FEATURE_COMMAND_HISTORY=15 +# CONFIG_FEATURE_COMMAND_SAVEHISTORY is not set +CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y +# CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set +# CONFIG_FEATURE_SH_FANCY_PROMPT is not set + +# +# System Logging Utilities +# +CONFIG_SYSLOGD=y +CONFIG_FEATURE_ROTATE_LOGFILE=y +# CONFIG_FEATURE_REMOTE_LOG is not set +CONFIG_FEATURE_IPC_SYSLOG=y +CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16 +CONFIG_LOGREAD=y +CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING=y +CONFIG_KLOGD=y +CONFIG_LOGGER=y Added: trunk/target/device/Gumstix/basix-connex/kernel-patches/add_input_randomness_export.patch =================================================================== --- trunk/target/device/Gumstix/basix-connex/kernel-patches/add_input_randomness_export.patch (rev 0) +++ trunk/target/device/Gumstix/basix-connex/kernel-patches/add_input_randomness_export.patch 2006-08-19 02:11:33 UTC (rev 281) @@ -0,0 +1,13 @@ +Oddly, drivers/input/input.c seems to reference a symbol which is apparently in another module but not exported. +Index: linux-2.6.15gum/drivers/char/random.c +=================================================================== +--- linux-2.6.15gum.orig/drivers/char/random.c ++++ linux-2.6.15gum/drivers/char/random.c +@@ -646,6 +646,7 @@ extern void add_input_randomness(unsigne + add_timer_randomness(&input_timer_state, + (type << 4) ^ code ^ (code >> 4) ^ value); + } ++EXPORT_SYMBOL(add_input_randomness); + + void add_interrupt_randomness(int irq) + { Added: trunk/target/device/Gumstix/basix-connex/kernel-patches/arch-config.patch =================================================================== --- trunk/target/device/Gumstix/basix-connex/kernel-patches/arch-config.patch (rev 0) +++ trunk/target/device/Gumstix/basix-connex/kernel-patches/arch-config.patch 2006-08-19 02:11:33 UTC (rev 281) @@ -0,0 +1,55 @@ +Index: linux-2.6.17gum/arch/arm/mach-pxa/Kconfig +=================================================================== +--- linux-2.6.17gum.orig/arch/arm/mach-pxa/Kconfig ++++ linux-2.6.17gum/arch/arm/mach-pxa/Kconfig +@@ -5,6 +5,10 @@ menu "Intel PXA2xx Implementations" + choice + prompt "Select target board" + ++config ARCH_GUMSTIX ++ bool "Gumstix Platform" ++ depends on ARCH_PXA ++ + config ARCH_LUBBOCK + bool "Intel DBPXA250 Development Platform" + select PXA25x +@@ -99,6 +103,27 @@ config MACH_TOSA + bool "Enable Sharp SL-6000x (Tosa) Support" + depends PXA_SHARPSL_25x + ++choice ++ depends on ARCH_GUMSTIX ++ prompt "Gumstix Platform Version" ++ default ARCH_GUMSTIX_F ++ ++config ARCH_GUMSTIX_ORIG ++ bool "Original Gumstix" ++ select PXA25x ++ help ++ The original gumstix platform, including the gs-200x and gs-400x and the waysmall ++ systems using these boards. ++ ++config ARCH_GUMSTIX_F ++ bool "Gumstix-F" ++ select PXA25x ++ help ++ The updated Gumstix boards with 60-pin connector, including gs-200f, gs-400f and the ++ waysmall systems using these boards, including ws-200ax and ws-400ax. ++ ++endchoice ++ + config PXA25x + bool + help +Index: linux-2.6.17gum/arch/arm/mach-pxa/Makefile +=================================================================== +--- linux-2.6.17gum.orig/arch/arm/mach-pxa/Makefile ++++ linux-2.6.17gum/arch/arm/mach-pxa/Makefile +@@ -8,6 +8,7 @@ obj-$(CONFIG_PXA25x) += pxa25x.o + obj-$(CONFIG_PXA27x) += pxa27x.o + + # Specific board support ++obj-$(CONFIG_ARCH_GUMSTIX) += gumstix.o + obj-$(CONFIG_ARCH_LUBBOCK) += lubbock.o + obj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o + obj-$(CONFIG_MACH_MAINSTONE) += mainstone.o Added: trunk/target/device/Gumstix/basix-connex/kernel-patches/audio.patch =================================================================== --- trunk/target/device/Gumstix/basix-connex/kernel-patches/audio.patch (rev 0) +++ trunk/target/device/Gumstix/basix-connex/kernel-patches/audio.patch 2006-08-19 02:11:33 UTC (rev 281) @@ -0,0 +1,454 @@ +Index: linux-2.6.17gum/sound/oss/ac97_codec.c +=================================================================== +--- linux-2.6.17gum.orig/sound/oss/ac97_codec.c ++++ linux-2.6.17gum/sound/oss/ac97_codec.c +@@ -59,6 +59,9 @@ + + #define CODEC_ID_BUFSZ 14 + ++static int ucb1400_read_mixer(struct ac97_codec *codec, int oss_channel); ++static void ucb1400_write_mixer(struct ac97_codec *codec, int oss_channel, ++ unsigned int left, unsigned int right); + static int ac97_read_mixer(struct ac97_codec *codec, int oss_channel); + static void ac97_write_mixer(struct ac97_codec *codec, int oss_channel, + unsigned int left, unsigned int right); +@@ -85,6 +88,7 @@ static int cmedia_init(struct ac97_codec + static int cmedia_digital_control(struct ac97_codec *codec, int slots, int rate, int mode); + static int generic_digital_control(struct ac97_codec *codec, int slots, int rate, int mode); + static int ucb1400_init(struct ac97_codec *codec); ++static int ucb1400_control(struct ac97_codec *codec, int on); + + + /* +@@ -120,7 +124,7 @@ static struct ac97_ops crystal_digital_o + static struct ac97_ops ad1886_ops = { ad1886_init, eapd_control, NULL }; + static struct ac97_ops cmedia_ops = { NULL, eapd_control, NULL}; + static struct ac97_ops cmedia_digital_ops = { cmedia_init, eapd_control, cmedia_digital_control}; +-static struct ac97_ops ucb1400_ops = { ucb1400_init, eapd_control, NULL }; ++static struct ac97_ops ucb1400_ops = { ucb1400_init, ucb1400_control, NULL }; + + /* sorted by vendor/device id */ + static const struct { +@@ -309,6 +313,143 @@ static LIST_HEAD(codecs); + static LIST_HEAD(codec_drivers); + static DEFINE_MUTEX(codec_mutex); + ++// Values of UCB1400 register addresses ++#define AC97_UCB1400_FCR1 (0x6a) ++#define AC97_UCB1400_FCR2 (0x6c) ++// Masks for bits of interest in those registers ++#define AC97_UCB1400_BASS_BOOST_MASK (0xf << 11) ++#define AC97_UCB1400_TREB_BOOST_MASK (0x3 << 9) ++#define AC97_UCB1400_BOOST_MODE_MASK (0x3 << 7) ++// Calculate the boost mode from the register by extracting the bits, then shifting it down ++// Mode 0 == flat, 1 == minimum, 2 == minimum, 3 == maximum ++#define AC97_UCB1400_BOOST_MODE(x) (((x) & AC97_UCB1400_BOOST_MODE_MASK) >> 7) ++// Caculate the treble boost ++#define AC97_UCB1400_TREB_BOOST(x) (((x) & AC97_UCB1400_TREB_BOOST_MASK) >> 9) ++// Calculate the bass boost ++#define AC97_UCB1400_BASS_BOOST(x) (((x) & AC97_UCB1400_BASS_BOOST_MASK) >> 11) ++ ++// Use a conversion table to translate from the register values to dB values ++#define AC97_UCB1400_BASS_LOOKUP(x,l) ((l)[AC97_UCB1400_BASS_BOOST(x) | (AC97_UCB1400_BOOST_MODE(x) << 4)]) ++#define AC97_UCB1400_TREB_LOOKUP(x,l) ((l)[AC97_UCB1400_TREB_BOOST(x) | (AC97_UCB1400_BOOST_MODE(x) << 4)]) ++ ++// This lookup table is indexed by a 6 bit number: ++// Two high bits are the boost mode from teh register ++// Four low bits are from the BASS or TREB boost value in the register ++// The lookup value is the dB boost calculated from the UCB1400 spec sheet ++// The lookup values will be calculated and populated during ucb1400_init() ++static const u8 ac97_ucb1400_boost_lookup[] = { ++ [0] = 0, [1] = 0, [2] = 0, [3] = 0, ++ [4] = 0, [5] = 0, [6] = 0, [7] = 0, // flat 00 ++ [8] = 0, [9] = 0, [10] = 0, [11] = 0, ++ [12] = 0, [13] = 0, [14] = 0, [15] = 0, ++ ++ [16] = 0, [17] = 2, [18] = 4, [19] = 6, ++ [20] = 8, [21] = 10, [22] = 12, [23] = 14, // min 01 ++ [24] = 16, [25] = 18, [26] = 18, [27] = 18, ++ [28] = 18, [29] = 18, [30] = 18, [31] = 18, ++ ++ [32] = 0, [33] = 2, [34] = 4, [35] = 6, ++ [36] = 8, [37] = 10, [38] = 12, [39] = 14, // min 10 ++ [40] = 16, [41] = 18, [42] = 18, [43] = 18, ++ [44] = 18, [45] = 18, [46] = 18, [47] = 18, ++ ++ [48] = 0, [49] = 2, [50] = 4, [51] = 6, ++ [52] = 8, [53] = 10, [54] = 12, [55] = 14, // max 11 ++ [56] = 16, [57] = 18, [58] = 20, [59] = 22, ++ [60] = 24, [61] = 24, [62] = 24, [63] = 24 ++}; ++ ++static int ucb1400_read_mixer(struct ac97_codec *codec, int oss_channel) ++{ ++ u16 val; ++ ++ switch(oss_channel) ++ { ++ ++ case SOUND_MIXER_BASS: ++ // Convert from the 24-dB max BASS boost level to a %age ++ val = codec->codec_read(codec, AC97_UCB1400_FCR1); // Read the register ++ return (AC97_UCB1400_BASS_LOOKUP(val, ac97_ucb1400_boost_lookup)*100)/24; ++ ++ case SOUND_MIXER_TREBLE: ++ // Convert from the 6-dB max TREB boost level to a %age ++ val = codec->codec_read(codec, AC97_UCB1400_FCR1); // Read the register ++ return (AC97_UCB1400_TREB_LOOKUP(val, ac97_ucb1400_boost_lookup)*100)/6; ++ ++ case SOUND_MIXER_MIC: ++ val = codec->codec_read(codec, AC97_MIC_VOL); ++ return (val & AC97_MICBOOST ? 100 : 0); ++ ++ default: ++ return ac97_read_mixer(codec, oss_channel); ++ } ++} ++ ++#ifndef MAX ++#define MAX(a,b) (((a)>(b)) ? (a) : (b)) ++#endif ++ ++static void ucb1400_write_mixer(struct ac97_codec *codec, int oss_channel, ++ unsigned int left, unsigned int right) ++{ ++ u16 old_val,new_val; ++ u8 treb,bass; ++ ++ switch(oss_channel) ++ { ++ case SOUND_MIXER_BASS: ++ case SOUND_MIXER_TREBLE: ++ old_val = codec->codec_read(codec, AC97_UCB1400_FCR1); // Read the register ++ ++ // Determine which one changed, set old one to old value (or 0 if old mode was flat) ++ bass = (oss_channel==SOUND_MIXER_BASS) ? ++ (left*24)/100 : // Convert from %age to 0-24dB scale for bass ++ AC97_UCB1400_BASS_LOOKUP(old_val, ac97_ucb1400_boost_lookup); ++ treb = (oss_channel==SOUND_MIXER_TREBLE) ? ++ (left*6)/100 : // convert from %age to 0-6dB scale for bass ++ AC97_UCB1400_TREB_LOOKUP(old_val, ac97_ucb1400_boost_lookup); ++ ++ // Now convert both treble and bass to values for the register. ++ // If both are 0, then use mode flat ++ // If either is non-zero, then use mode min if bass <=18 ++ // Otherwise, use mode max ++ new_val = old_val & ~(AC97_UCB1400_BASS_BOOST_MASK | // First clear the bits ++ AC97_UCB1400_TREB_BOOST_MASK | // which is same as flat mode ++ AC97_UCB1400_BOOST_MODE_MASK); // with both boosts at 0 ++ if(bass > 18) ++ { ++ new_val |= (3 << 7); // Set boost mode to 0b11 which is "max" ++ } ++ else if(bass > 0 || treb > 0) ++ { ++ new_val |= (1 << 7); // Set boost mode to 0b01 which is "min" ++ } ++ else ++ { ++ // Set boost mode to 0b00 which is "flat" ++ } ++ ++ if(bass || treb) ++ { ++ // The value to stick in the register the boost in dB divided by 2 ++ // Dividing by 2 is the same as shifting right by 1 ++ // We fix overflows by anding with the mask ++ new_val |= ((bass >> 1) << 11) & AC97_UCB1400_BASS_BOOST_MASK; ++ new_val |= ((treb >> 1) << 9) & AC97_UCB1400_TREB_BOOST_MASK; ++ } ++ ++ // Ok, now poke the value back to the codec ++ codec->codec_write(codec, AC97_UCB1400_FCR1, new_val); ++ break; ++ ++ case SOUND_MIXER_MIC: ++ codec->codec_write(codec, AC97_MIC_VOL, (left >= 50 ? AC97_MICBOOST : 0)); ++ break; ++ ++ default: ac97_write_mixer(codec, oss_channel, left, right); ++ } ++} ++ + /* reads the given OSS mixer from the ac97 the caller must have insured that the ac97 knows + about that given mixer, and should be holding a spinlock for the card */ + static int ac97_read_mixer(struct ac97_codec *codec, int oss_channel) +@@ -526,6 +667,7 @@ static int ac97_recmask_io(struct ac97_c + #endif + + codec->codec_write(codec, AC97_RECORD_SELECT, val); ++ val = codec->codec_read(codec, AC97_RECORD_SELECT); + + return 0; + }; +@@ -634,6 +776,8 @@ int ac97_read_proc (char *page, char **s + { + int len = 0, cap, extid, val, id1, id2; + struct ac97_codec *codec; ++ u8 ac97_register_query_list[] = {0x02,0x0e,0x1a,0x1c,0x26,0x2a,0x2c,0x32,0x6a,0x6c,0x00}; ++ size_t i=0; + int is_ac97_20 = 0; + + if ((codec = data) == NULL) +@@ -702,6 +846,13 @@ int ac97_read_proc (char *page, char **s + codec->codec_read(codec, AC97_PCM_FRONT_DAC_RATE)); + } + ++ do ++ { ++ len += sprintf(page+len, "Reg. 0x%02x : 0x%04x\n", ++ ac97_register_query_list[i], ++ codec->codec_read(codec, ac97_register_query_list[i])); ++ i++; ++ } while(ac97_register_query_list[i]); + return len; + } + +@@ -1180,7 +1331,25 @@ static int ad1886_init(struct ac97_codec + } + + ++static int ucb1400_control(struct ac97_codec *codec, int on) ++{ ++ if(on) ++ { ++ codec->codec_write(codec, AC97_POWER_CONTROL, 0x0000); // turn everything on + ++ // Now we wait for everything to settle ++ udelay(100); ++ } ++ else ++ { ++ codec->codec_write(codec, AC97_POWER_CONTROL, ++ (1 << 11) | // PR3: Audio Vref power-down ++ (1 << 9) | // PR1: Audio DAC and output path power-down ++ (1 << 8) // PR0: Audio ADC and input path power-down ++ ); ++ } ++ return 0; ++} + + /* + * This is basically standard AC97. It should work as a default for +@@ -1336,10 +1505,55 @@ static int pt101_init(struct ac97_codec + + static int ucb1400_init(struct ac97_codec *codec) + { +- codec->codec_write(codec,AC97_EXTENDED_STATUS,1); +- //codec->codec_write(codec, 0x6a, 0x1ff7); +- codec->codec_write(codec, 0x6a, 0x0050); +- codec->codec_write(codec, 0x6c, 0x0030); ++ codec->supported_mixers = SOUND_MASK_VOLUME | // Specify what UCB1400 supports ++ SOUND_MASK_BASS | ++ SOUND_MASK_TREBLE | ++ SOUND_MASK_MIC | ++ SOUND_MASK_IGAIN; ++ ++ codec->stereo_mixers = SOUND_MASK_VOLUME | // Specify what UCB1400 supports ++ SOUND_MASK_LINE | ++ SOUND_MASK_IGAIN; ++ ++ codec->record_sources = SOUND_MASK_MIC | // Specify what UCB1400 supports ++ SOUND_MASK_LINE; ++ ++ codec->read_mixer = ucb1400_read_mixer; // The UCB1400 bass and treble implementations ++ codec->write_mixer = ucb1400_write_mixer; // need special code ++ ++ codec->codec_write(codec,AC97_EXTENDED_STATUS, 1); // Ensure that VRA is on ++ ++ ucb1400_control(codec, 1); // Turn on DAC/ADC paths first to prevent click ++ ++ codec->codec_write(codec, AC97_UCB1400_FCR1, ++ (0 << 11) | // 0 base boost ++ (0 << 9) | // 0 treble boost ++ (0 << 7) | // Mode = flat ++ (1 << 6) | // Headphones enable ++ (0 << 5) | // De-emphasis disabled ++ (1 << 4) | // DC filter enabled ++ (1 << 3) | // Hi-pass filter enabled ++ (0 << 2) | // disable interrupt signalling via GPIO_INT ++ (1 << 0) // clear ADC overflow status if set ++ ); ++ ++ codec->codec_write(codec, AC97_UCB1400_FCR2, ++ (0 << 15) | // must be 0 ++ (0 << 13) | // must be 0 ++ (1 << 12) | // ADC filter enabled ++ (0 << 10) | // must be 0 ++ (0 << 4) | // Smart low power mode on neither Codec nor PLL ++ (0 << 0) // must be 0 ++ ); ++ ++ codec->codec_write(codec, AC97_RECORD_SELECT, 0); // default source is MIC ++ ++ codec->codec_write(codec, AC97_MIC_VOL, (1 << 6)); // 20dB MIC boost ++ ++ codec->codec_write(codec, AC97_RECORD_GAIN, 0); // no master record gain ++ ++ codec->codec_write(codec, AC97_GENERAL_PURPOSE, 0); // no ADC to DAC loopback ++ + return 0; + } + +@@ -1368,30 +1582,9 @@ unsigned int ac97_set_dac_rate(struct ac + + if(rate != codec->codec_read(codec, AC97_PCM_FRONT_DAC_RATE)) + { +- /* Mute several registers */ +- mast_vol = codec->codec_read(codec,... [truncated message content] |
From: <kr...@us...> - 2006-08-19 01:30:27
|
Revision: 280 Author: krisk84 Date: 2006-08-18 18:30:20 -0700 (Fri, 18 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=280&view=rev Log Message: ----------- create branch for 0.4.3 release Added Paths: ----------- tags/0.4.3/ Copied: tags/0.4.3 (from rev 279, trunk) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-19 01:28:54
|
Revision: 279 Author: krisk84 Date: 2006-08-18 18:28:50 -0700 (Fri, 18 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=279&view=rev Log Message: ----------- update astlinux-release Modified Paths: -------------- trunk/target/generic/target_skeleton/etc/astlinux-release Modified: trunk/target/generic/target_skeleton/etc/astlinux-release =================================================================== --- trunk/target/generic/target_skeleton/etc/astlinux-release 2006-08-18 04:52:41 UTC (rev 278) +++ trunk/target/generic/target_skeleton/etc/astlinux-release 2006-08-19 01:28:50 UTC (rev 279) @@ -1 +1 @@ -0.4.1 +0.4.3 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dha...@us...> - 2006-08-18 04:52:48
|
Revision: 278 Author: dhartman Date: 2006-08-17 21:52:41 -0700 (Thu, 17 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=278&view=rev Log Message: ----------- arno's firewall fix and VIA rc.modules fix Modified Paths: -------------- trunk/package/arno-fw/arno-iptables-firewall trunk/target/device/via/target_skeleton/etc/rc.modules Modified: trunk/package/arno-fw/arno-iptables-firewall =================================================================== --- trunk/package/arno-fw/arno-iptables-firewall 2006-08-18 03:31:12 UTC (rev 277) +++ trunk/package/arno-fw/arno-iptables-firewall 2006-08-18 04:52:41 UTC (rev 278) @@ -52,11 +52,13 @@ # Astlinux mod: check if config file is on key disk or use default from stat ############################################################################# +if [ ! -e /tmp/etc/arno-iptables-firewall.conf ]; then if [ -e /mnt/kd/arno-iptables-firewall.conf ]; then ln -s /mnt/kd/arno-iptables-firewall.conf /tmp/etc/arno-iptables-firewall.conf else cp /stat/etc/arno-iptables-firewall.conf /tmp/etc/arno-iptables-firewall.conf fi +fi # Check if config file exists and if so load it ############################################### Modified: trunk/target/device/via/target_skeleton/etc/rc.modules =================================================================== --- trunk/target/device/via/target_skeleton/etc/rc.modules 2006-08-18 03:31:12 UTC (rev 277) +++ trunk/target/device/via/target_skeleton/etc/rc.modules 2006-08-18 04:52:41 UTC (rev 278) @@ -12,7 +12,7 @@ #forcedeth #8139cp 8139too -#via-rhine +via-rhine #pcnet32 #acenic #e1000 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-18 03:31:16
|
Revision: 277 Author: krisk84 Date: 2006-08-17 20:31:12 -0700 (Thu, 17 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=277&view=rev Log Message: ----------- rhino fixes Modified Paths: -------------- trunk/package/zaptel/zaptel.mk Modified: trunk/package/zaptel/zaptel.mk =================================================================== --- trunk/package/zaptel/zaptel.mk 2006-08-17 18:27:40 UTC (rev 276) +++ trunk/package/zaptel/zaptel.mk 2006-08-18 03:31:12 UTC (rev 277) @@ -9,10 +9,10 @@ ZAPTEL_DIR := $(BUILD_DIR)/zaptel-$(ZAPTEL_VERSION) ZAPTEL_BINARY := ztcfg ZAPTEL_TARGET_BINARY := sbin/ztcfg -RHINO_SITE := ftp://ftp.rhinoequipment.com/.dist/ +RHINO_SITE := ftp://ftp.rhinoequipment.com/.dist RHINO_VER=1.0 RHINO_PKG := rhino-$(RHINO_VER)_$(ZAPTEL_VERSION).tar.gz -RHINO_DIR=$(BUILD_DIR)/rhino_$(RHINO_VER)_$(ZAPTEL_VERSION) +RHINO_DIR=$(BUILD_DIR)/rhino-$(RHINO_VER)_$(ZAPTEL_VERSION) #LINUX_VER=$(subst ",, $(strip $(BR2_PACKAGE_LINUX_VERSION))) #" @@ -47,9 +47,10 @@ toolchain/patch-kernel.sh $(ZAPTEL_DIR) package/zaptel/ zaptel\*.patch # Rhino-enabled ifeq ($(BR2_PACKAGE_ZAPTEL_RHINO),y) - zcat $(DL_DIR)/$(RHINO_PKG) | tar -C $(ZAPTEL_DIR) $(TAR_OPTIONS) - + zcat $(DL_DIR)/$(RHINO_PKG) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - # Hopefully the astlinux mainline zaptel patches won't disrupt the Rhino's toolchain/patch-kernel.sh $(ZAPTEL_DIR) $(RHINO_DIR)/ rhino-\*.patch + cp $(RHINO_DIR)/* $(ZAPTEL_DIR)/ endif # end Rhino touch $(ZAPTEL_DIR)/.source This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-17 19:03:51
|
Revision: 276 Author: krisk84 Date: 2006-08-17 11:27:40 -0700 (Thu, 17 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=276&view=rev Log Message: ----------- lmsensors init script fix Modified Paths: -------------- trunk/package/lmsensors/lmsensors.init Modified: trunk/package/lmsensors/lmsensors.init =================================================================== --- trunk/package/lmsensors/lmsensors.init 2006-08-17 18:16:56 UTC (rev 275) +++ trunk/package/lmsensors/lmsensors.init 2006-08-17 18:27:40 UTC (rev 276) @@ -32,6 +32,8 @@ modprobe -q pc87360 init=2 fi +sleep 2 + sensors -s fi } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-17 18:17:12
|
Revision: 275 Author: krisk84 Date: 2006-08-17 11:16:56 -0700 (Thu, 17 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=275&view=rev Log Message: ----------- acpi init script fix Modified Paths: -------------- trunk/package/acpid/acpid.init Modified: trunk/package/acpid/acpid.init =================================================================== --- trunk/package/acpid/acpid.init 2006-08-17 05:24:25 UTC (rev 274) +++ trunk/package/acpid/acpid.init 2006-08-17 18:16:56 UTC (rev 275) @@ -3,7 +3,7 @@ . /etc/rc.conf start () { -if [ -x /usr/sbin/acpid ] +if [ -x /usr/sbin/acpid -a -r /proc/acpi/event ] then echo "Starting acpid..." /usr/sbin/acpid This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-17 05:24:30
|
Revision: 274 Author: krisk84 Date: 2006-08-16 22:24:25 -0700 (Wed, 16 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=274&view=rev Log Message: ----------- don't make LOW_MEMORY the default for Asterisk Modified Paths: -------------- trunk/astlinux.config Modified: trunk/astlinux.config =================================================================== --- trunk/astlinux.config 2006-08-17 04:44:42 UTC (rev 273) +++ trunk/astlinux.config 2006-08-17 05:24:25 UTC (rev 274) @@ -170,7 +170,7 @@ # BR2_PACKAGE_ASTERISK_LIBPQ_CUSTOM is not set BR2_PACKAGE_ASTERISK_CHANSCCP=y # BR2_PACKAGE_ASTERISK_RESCONV is not set -BR2_PACKAGE_ASTERISK_LOWMEMORY=y +# BR2_PACKAGE_ASTERISK_LOWMEMORY is not set BR2_PACKAGE_ASTERISKNATIVESOUNDS=y BR2_PACKAGE_ASTERISKNATIVESOUNDS_ULAW=y # BR2_PACKAGE_ASTERISKNATIVESOUNDS_ALAW is not set This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-17 04:44:46
|
Revision: 273 Author: krisk84 Date: 2006-08-16 21:44:42 -0700 (Wed, 16 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=273&view=rev Log Message: ----------- stunnel kill fix Modified Paths: -------------- trunk/target/generic/target_skeleton/etc/runlevels/default/K25stunnel Modified: trunk/target/generic/target_skeleton/etc/runlevels/default/K25stunnel =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/K25stunnel 2006-08-17 04:41:24 UTC (rev 272) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/K25stunnel 2006-08-17 04:44:42 UTC (rev 273) @@ -1 +1 @@ -link ../init.d/stunnel \ No newline at end of file +link ../../init.d/stunnel \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-17 04:41:40
|
Revision: 272 Author: krisk84 Date: 2006-08-16 21:41:24 -0700 (Wed, 16 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=272&view=rev Log Message: ----------- root fs fixes Modified Paths: -------------- trunk/package/minihttpd/minihttpd.mk trunk/package/zaptel/zaptel.mk trunk/target/generic/target_skeleton/stat/etc/rc.conf Added Paths: ----------- trunk/package/minihttpd/www.tar.gz Removed Paths: ------------- trunk/target/generic/target_skeleton/stat/etc/zaptel.conf.sample trunk/target/generic/target_skeleton/stat/var/ trunk/target/generic/target_skeleton/usr/sbin/addmailbox trunk/target/generic/target_skeleton/usr/sbin/astgenkey Modified: trunk/package/minihttpd/minihttpd.mk =================================================================== --- trunk/package/minihttpd/minihttpd.mk 2006-08-17 01:05:51 UTC (rev 271) +++ trunk/package/minihttpd/minihttpd.mk 2006-08-17 04:41:24 UTC (rev 272) @@ -32,6 +32,8 @@ $(TARGET_DIR)/$(MINIHTTPD_TARGET_BINARY): $(MINIHTTPD_DIR)/$(MINIHTTPD_BINARY) $(INSTALL) -D $(MINIHTTPD_DIR)/$(MINIHTTPD_BINARY) $(TARGET_DIR)/usr/$(MINIHTTPD_TARGET_BINARY) $(INSTALL) -D $(MINIHTTPD_DIR)/htpasswd $(TARGET_DIR)/usr/bin/htpasswd + mkdir -p $(TARGET_DIR)/stat/var + $(MINIHTTPD_CAT) package/minihttpd/www.tar.gz | tar -C $(TARGET_DIR)/stat/var $(TAR_OPTIONS) - $(INSTALL) -D -m 0755 package/minihttpd/mini_httpd.init $(TARGET_DIR)/etc/init.d/mini_httpd ln -sf /tmp/etc/mini_httpd.conf $(TARGET_DIR)/etc/mini_httpd.conf Added: trunk/package/minihttpd/www.tar.gz =================================================================== (Binary files differ) Property changes on: trunk/package/minihttpd/www.tar.gz ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/package/zaptel/zaptel.mk =================================================================== --- trunk/package/zaptel/zaptel.mk 2006-08-17 01:05:51 UTC (rev 271) +++ trunk/package/zaptel/zaptel.mk 2006-08-17 04:41:24 UTC (rev 272) @@ -80,6 +80,7 @@ cp -a $(STAGING_DIR)/$(ZAPTEL_TARGET_BINARY) $(TARGET_DIR)/$(ZAPTEL_TARGET_BINARY) cp -a $(STAGING_DIR)/sbin/zttool $(TARGET_DIR)/sbin/zttool install -D -m 0755 $(ZAPTEL_DIR)/ztmonitor $(TARGET_DIR)/sbin/ztmonitor + install -D -m 0644 $(ZAPTEL_DIR)/zaptel.conf.sample $(TARGET_DIR)/stat/etc/zaptel.conf.sample -$(STRIP) -g $(TARGET_DIR)/lib/modules/$(LINUX_VER)/misc/*.ko -$(STRIP) -g $(TARGET_DIR)/lib/libtone* -$(STRIP) -g $(TARGET_DIR)/$(ZAPTEL_TARGET_BINARY) Modified: trunk/target/generic/target_skeleton/stat/etc/rc.conf =================================================================== --- trunk/target/generic/target_skeleton/stat/etc/rc.conf 2006-08-17 01:05:51 UTC (rev 271) +++ trunk/target/generic/target_skeleton/stat/etc/rc.conf 2006-08-17 04:41:24 UTC (rev 272) @@ -230,6 +230,11 @@ AUTOMODS="rtc 3c59x typhoon tulip eepro100 natsemi forcedeth 8139cp 8139too via-rhine pcnet32 acenic e1000 ns83820 r8169 tg3" +##LMSensors Modules +##List your hardware modules, seperated by spaces +##You will also need to create a sensors.conf +#SENSEMODS="vt1211" + ##Zaptel hardware support (NOT Sangoma - use "wancfg") ##These are the modules that will get loaded\unloaded by the Zaptel ## ##Init script. Please move the zaptel modules from /etc/rc.modules ## Deleted: trunk/target/generic/target_skeleton/stat/etc/zaptel.conf.sample =================================================================== --- trunk/target/generic/target_skeleton/stat/etc/zaptel.conf.sample 2006-08-17 01:05:51 UTC (rev 271) +++ trunk/target/generic/target_skeleton/stat/etc/zaptel.conf.sample 2006-08-17 04:41:24 UTC (rev 272) @@ -1,206 +0,0 @@ -# -# Zaptel Configuration File -# -# This file is parsed by the Zaptel Configurator, ztcfg -# -# -# First come the span definitions, in the format -# span=<span num>,<timing>,<line build out (LBO)>,<framing>,<coding>[,yellow] -# -# The timing parameter determines the selection of primary, secondary, and -# so on sync sources. If this span should be considered a primary sync -# source, then give it a value of "1". For a secondary, use "2", and so on. -# To not use this as a sync source, just use "0" -# -# The line build-out (or LBO) is an integer, from the following table: -# 0: 0 db (CSU) / 0-133 feet (DSX-1) -# 1: 133-266 feet (DSX-1) -# 2: 266-399 feet (DSX-1) -# 3: 399-533 feet (DSX-1) -# 4: 533-655 feet (DSX-1) -# 5: -7.5db (CSU) -# 6: -15db (CSU) -# 7: -22.5db (CSU) -# -# The framing is one of "d4" or "esf" for T1 or "cas" or "ccs" for E1 -# -# Note: "d4" could be referred to as "sf" or "superframe" -# -# The coding is one of "ami" or "b8zs" for T1 or "ami" or "hdb3" for E1 -# -# E1's may have the additional keyword "crc4" to enable CRC4 checking -# -# If the keyword "yellow" follows, yellow alarm is transmitted when no -# channels are open. -# -#span=1,0,0,esf,b8zs -#span=2,1,0,esf,b8zs -#span=3,0,0,ccs,hdb3,crc4 -# -# Next come the dynamic span definitions, in the form: -# dynamic=<driver>,<address>,<numchans>,<timing> -# -# Where <driver> is the name of the driver (e.g. eth), <address> is the -# driver specific address (like a MAC for eth), <numchans> is the number -# of channels, and <timing> is a timing priority, like for a normal span. -# use "0" to not use this as a timing source, or prioritize them as -# primary, secondard, etc. Note that you MUST have a REAL zaptel device -# if you are not using external timing. -# -# dynamic=eth,eth0/00:02:b3:35:43:9c,24,0 -# -# Next come the definitions for using the channels. The format is: -# <device>=<channel list> -# -# Valid devices are: -# -# "e&m" : Channel(s) are signalled using E&M signalling (specific -# implementation, such as Immediate, Wink, or Feature Group D -# are handled by the userspace library). -# "fxsls" : Channel(s) are signalled using FXS Loopstart protocol. -# "fxsgs" : Channel(s) are signalled using FXS Groundstart protocol. -# "fxsks" : Channel(s) are signalled using FXS Koolstart protocol. -# "fxols" : Channel(s) are signalled using FXO Loopstart protocol. -# "fxogs" : Channel(s) are signalled using FXO Groundstart protocol. -# "fxoks" : Channel(s) are signalled using FXO Koolstart protocol. -# "sf" : Channel(s) are signalled using in-band single freq tone. -# Syntax as follows: -# channel# => sf:<rxfreq>,<rxbw>,<rxflag>,<txfreq>,<txlevel>,<txflag> -# rxfreq is rx tone freq in hz, rxbw is rx notch (and decode) -# bandwith in hz (typically 10.0), rxflag is either 'normal' or -# 'inverted', txfreq is tx tone freq in hz, txlevel is tx tone -# level in dbm, txflag is either 'normal' or 'inverted'. Set -# rxfreq or txfreq to 0.0 if that tone is not desired. -# "unused" : No signalling is performed, each channel in the list remains idle -# "clear" : Channel(s) are bundled into a single span. No conversion or -# signalling is performed, and raw data is available on the master. -# "indclear": Like "clear" except all channels are treated individually and -# are not bundled. "bchan" is an alias for this. -# "rawhdlc" : The zaptel driver performs HDLC encoding and decoding on the -# bundle, and the resulting data is communicated via the master -# device. -# "fcshdlc" : The zapdel driver performs HDLC encoding and decoding on the -# bundle and also performs incoming and outgoing FCS insertion -# and verification. "dchan" is an alias for this. -# "nethdlc" : The zaptel driver bundles the channels together into an -# hdlc network device, which in turn can be configured with -# sethdlc (available separately). -# "dacs" : The zaptel driver cross connects the channels starting at -# the channel number listed at the end, after a colon -# "dacsrbs" : The zaptel driver cross connects the channels starting at -# the channel number listed at the end, after a colon and -# also performs the DACSing of RBS bits -# -# The channel list is a comma-separated list of channels or ranges, for -# example: -# -# 1,3,5 (channels one, three, and five) -# 16-23, 29 (channels 16 through 23, as well as channel 29 -# -# So, some complete examples are: -# e&m=1-12 -# nethdlc=13-24 -# fxsls=25,26,27,28 -# fxols=29-32 -# -#fxoks=1-24 -#bchan=25-47 -#dchan=48 -#fxols=1-12 -#fxols=13-24 -#e&m=25-29 -#nethdlc=30-33 -#clear=44 -#clear=45 -#clear=46 -#clear=47 -#fcshdlc=48 -#dacs=1-24:48 -#dacsrbs=1-24:48 -# -# Finally, you can preload some tone zones, to prevent them from getting -# overwritten by other users (if you allow non-root users to open /dev/zap/* -# interfaces anyway. Also this means they won't have to be loaded at runtime. -# The format is "loadzone=<zone>" where the zone is a two letter country code. -# -# You may also specify a default zone with "defaultzone=<zone>" where zone -# is a two letter country code. -# -# An up-to-date list of the zones can be found in the file zaptel/zonedata.c -# -loadzone = us -#loadzone = us-old -#loadzone=gr -#loadzone=it -#loadzone=fr -#loadzone=de -#loadzone=uk -#loadzone=fi -#loadzone=jp -#loadzone=sp -#loadzone=no -#loadzone=hu -#loadzone=lt -#loadzone=pl -defaultzone=us -# -# Section for PCI Radio Interface -# (see http://www.zapatatelephony.org/app_rpt.html) -# -# The PCI Radio Interface card interfaces up to 4 two-way radios (either -# a base/mobile radio or repeater system) to Zaptel channels. The driver -# may work either independent of an application, or with it, through -# the driver;s ioctl() interface. This file gives you access to specify -# load-time parameters for Radio channels, so that the driver may run -# by itself, and just act like a generic Zaptel radio interface. -# -# Unlike the rest of this file, you specify a block of parameters, and -# then the channel(s) to which they apply. CTCSS is specified as a frequency -# in tenths of hertz, for example 131.8 HZ is specified as 1318. DCS -# for receive is specified as the code directly, for example 223. DCS for -# transmit is specified as D and then the code, for example D223. -# -# The hardware supports a "community" CTCSS decoder system that has -# arbitrary transmit CTCSS or DCS codes associated with them, unlike -# traditional "community" systems that encode the same tone they decode. -# -# this example is a single tone DCS transmit and receive -# -# # specify the transmit tone (in DCS mode this stays constant) -# tx=D371 -# # specify the receive DCS code -# dcsrx=223 -# -# this example is a "community" CTCSS (if you only want a single tone, then -# only specify 1 in the ctcss list) -# -# # specify the default transmit tone (when not receiving) -# tx=1000 -# # Specify the receive freq, the tag (use 0 if none), and the transmit code. -# # The tag may be used by applications to determine classification of tones. -# # The tones are to be specified in order of presedence, most important first. -# # Currently, 15 tones may be specified.. -# ctcss=1318,1,1318 -# ctcss=1862,1,1862 -# -# The following parameters may be omitted if their default value is acceptible -# -# # set the receive debounce time in milliseconds -# debouncetime=123 -# # set the transmit quiet dropoff burst time in milliseconds -# bursttime=234 -# # set the COR level threshold (specified in tenths of millivolts) -# # valid values are {3125,6250,9375,12500,15625,18750,21875,25000} -# corthresh=12500 -# # Invert COR signal {y,n} -# invertcor=y -# # set the external tone mode; yes, no, internal {y,n,i} -# exttone=y -# -# Now apply the configuration to the specified channels: -# -# # We are all done with our channel parameters, so now we specify what -# # channels they apply to -# channels=1-4 - - Deleted: trunk/target/generic/target_skeleton/usr/sbin/addmailbox =================================================================== --- trunk/target/generic/target_skeleton/usr/sbin/addmailbox 2006-08-17 01:05:51 UTC (rev 271) +++ trunk/target/generic/target_skeleton/usr/sbin/addmailbox 2006-08-17 04:41:24 UTC (rev 272) @@ -1,45 +0,0 @@ -#!/bin/sh -clear -VMHOME=/var/spool/asterisk/voicemail -SNDHOME=/var/lib/asterisk/sounds -echo -echo "Enter Voicemail Context of the mailbox you are creating." -echo "The context is the value between the square brackets in" -echo "the voicemail.conf file." -echo "(DEFAULT: default)" -echo -n "Voicemail Context: " -read context -echo -echo "Enter the Mailbox number of the voicemail box you are creating." -echo -n "Mailbox Number: " -read mailbox - -context=${context:-default} - -if [ ! -e "${VMHOME}/${context}" ] - then - echo - echo "New Voicemail context.." - echo "Creating Voicemail context directory..." - mkdir -p ${VMHOME}/${context} -fi - -echo -echo "Creating Voicemail directory..." -mkdir -p ${VMHOME}/${context}/${mailbox} -echo "Creating INBOX..." -mkdir -p ${VMHOME}/${context}/${mailbox}/INBOX -echo "Creating Default greetings..." -cat ${SNDHOME}/vm-theperson.gsm > ${VMHOME}/${context}/${mailbox}/unavail.gsm -cat ${SNDHOME}/vm-theperson.gsm > ${VMHOME}/${context}/${mailbox}/busy.gsm -cat ${SNDHOME}/vm-extension.gsm > ${VMHOME}/${context}/${mailbox}/greet.gsm -nums=`echo $mailbox | sed 's/./ \0/g'` -for x in $nums; do - cat ${SNDHOME}/digits/${x}.gsm >> ${VMHOME}/${context}/${mailbox}/unavail.gsm - cat ${SNDHOME}/digits/${x}.gsm >> ${VMHOME}/${context}/${mailbox}/busy.gsm - cat ${SNDHOME}/digits/${x}.gsm >> ${VMHOME}/${context}/${mailbox}/greet.gsm -done -cat ${SNDHOME}/vm-isunavail.gsm >> ${VMHOME}/${context}/${mailbox}/unavail.gsm -cat ${SNDHOME}/vm-isonphone.gsm >> ${VMHOME}/${context}/${mailbox}/busy.gsm -echo "Complete." - Deleted: trunk/target/generic/target_skeleton/usr/sbin/astgenkey =================================================================== --- trunk/target/generic/target_skeleton/usr/sbin/astgenkey 2006-08-17 01:05:51 UTC (rev 271) +++ trunk/target/generic/target_skeleton/usr/sbin/astgenkey 2006-08-17 04:41:24 UTC (rev 272) @@ -1,61 +0,0 @@ -#!/bin/sh -# -# Usage: astgenkey [ -q ] [ -n ] [keyname] -# -DES3=-des3 -if [ "$1" = "-q" ]; then - QUIET='y' - if [ "$2" = "-n" ]; then - DES3= - KEY=$3 - else - KEY=$2 - fi -elif [ "$1" = "-n" ]; then - DES3= - if [ "$2" = "-q" ]; then - QUIET='y' - KEY=$3 - else - KEY=$2 - fi -else - KEY=$1 -fi - -if [ "$QUIET" != 'y' ]; then - echo "" - echo "This script generates an RSA private and public key pair" - echo "in PEM format for use by Asterisk. You will be asked to" - echo "enter a passcode for your key multiple times. Please" - echo "enter the same code each time. The resulting files will" - echo "need to be moved to /var/lib/asterisk/keys if you want" - echo "to use them, and any private keys (.key files) will" - echo "need to be initialized at runtime either by running" - echo "Asterisk with the '-i' option, or with the 'init keys'" - echo "command once Asterisk is running." - echo "" - echo "Press ENTER to continue or ^C to cancel." - read BLAH -fi - -while [ "$KEY" = "" ]; do - echo -n "Enter key name: " - read KEY -done - -rm -f ${KEY}.key ${KEY}.pub - -echo "Generating SSL key '$KEY': " -openssl genrsa -out ${KEY}.key ${DES3} 1024 -openssl rsa -in ${KEY}.key -pubout -out ${KEY}.pub - -if [ -f "${KEY}.key" ] && [ -f "${KEY}.pub" ]; then - if [ "$QUIET" != 'y' ]; then - echo "Key creation successful." - echo "Public key: ${KEY}.pub" - echo "Private key: ${KEY}.key" - fi -else - echo "Unknown error creating keys." -fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-17 01:05:59
|
Revision: 271 Author: krisk84 Date: 2006-08-16 18:05:51 -0700 (Wed, 16 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=271&view=rev Log Message: ----------- screen fixes, runnix typo Modified Paths: -------------- trunk/package/screen/screen.mk trunk/target/generic/target_skeleton/etc/runlevels/default/S91runnix Added Paths: ----------- trunk/package/screen/screenrc Removed Paths: ------------- trunk/target/generic/target_skeleton/etc/screenrc Modified: trunk/package/screen/screen.mk =================================================================== --- trunk/package/screen/screen.mk 2006-08-16 18:37:18 UTC (rev 270) +++ trunk/package/screen/screen.mk 2006-08-17 01:05:51 UTC (rev 271) @@ -27,8 +27,10 @@ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ + --prefix=/ \ + --exec-prefix=/usr \ + --datadir=/usr/share \ --sysconfdir=/etc \ - --prefix=$(SCREEN_ROOT) \ ); touch $(SCREEN_DIR)/.configured @@ -36,13 +38,15 @@ $(TARGET_CONFIGURE_OPTS) $(MAKE) CC=$(TARGET_CC) -C $(SCREEN_DIR) $(TARGET_DIR)/$(SCREEN_TARGET_BINARY): $(SCREEN_DIR)/$(SCREEN_BINARY) - install -D $(SCREEN_DIR)/$(SCREEN_BINARY) $(TARGET_DIR)/$(SCREEN_TARGET_BINARY) + install -D -m 0644 package/screen/screenrc $(TARGET_DIR)/etc/screenrc + install -D -m 0755 $(SCREEN_DIR)/$(SCREEN_BINARY) $(TARGET_DIR)/$(SCREEN_TARGET_BINARY) -$(STRIP) $(TARGET_DIR)/$(SCREEN_TARGET_BINARY) screen: uclibc $(TARGET_DIR)/$(SCREEN_TARGET_BINARY) screen-clean: rm -f $(TARGET_DIR)/$(SCREEN_TARGET_BINARY) + rm -f $(TARGET_DIR)/etc/screenrc -$(MAKE) -C $(SCREEN_DIR) clean screen-dirclean: Copied: trunk/package/screen/screenrc (from rev 269, trunk/target/generic/target_skeleton/etc/screenrc) =================================================================== --- trunk/package/screen/screenrc (rev 0) +++ trunk/package/screen/screenrc 2006-08-17 01:05:51 UTC (rev 271) @@ -0,0 +1,30 @@ +vbell on +autodetach on +startup_message off +pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended." +defscrollback 1000 +termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l +terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l +termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l +termcapinfo xterm* OL=100 +termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l' +termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' +termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~' +termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' +termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l' +termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337' +termcapinfo xterm* be +bind k +bind ^k +bind . +bind ^\ +bind \\ +bind ^h +bind h +bind 'K' kill +bind 'I' login on +bind 'O' login off +bind '}' history +register [ "\033:se noai\015a" +register ] "\033:se ai\015a" +bind ^] paste [.] Modified: trunk/target/generic/target_skeleton/etc/runlevels/default/S91runnix =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/S91runnix 2006-08-16 18:37:18 UTC (rev 270) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/S91runnix 2006-08-17 01:05:51 UTC (rev 271) @@ -1 +1 @@ -link ../../init.d/runix \ No newline at end of file +link ../../init.d/runnix \ No newline at end of file Deleted: trunk/target/generic/target_skeleton/etc/screenrc =================================================================== --- trunk/target/generic/target_skeleton/etc/screenrc 2006-08-16 18:37:18 UTC (rev 270) +++ trunk/target/generic/target_skeleton/etc/screenrc 2006-08-17 01:05:51 UTC (rev 271) @@ -1,30 +0,0 @@ -vbell on -autodetach on -startup_message off -pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended." -defscrollback 1000 -termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l -terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l -termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l -termcapinfo xterm* OL=100 -termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l' -termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' -termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~' -termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' -termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l' -termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337' -termcapinfo xterm* be -bind k -bind ^k -bind . -bind ^\ -bind \\ -bind ^h -bind h -bind 'K' kill -bind 'I' login on -bind 'O' login off -bind '}' history -register [ "\033:se noai\015a" -register ] "\033:se ai\015a" -bind ^] paste [.] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-16 18:37:23
|
Revision: 270 Author: krisk84 Date: 2006-08-16 11:37:18 -0700 (Wed, 16 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=270&view=rev Log Message: ----------- added elocal, removed ntpclient from default runlevel Added Paths: ----------- trunk/target/generic/target_skeleton/etc/init.d/elocal trunk/target/generic/target_skeleton/etc/runlevels/default/S04elocal Removed Paths: ------------- trunk/target/generic/target_skeleton/etc/runlevels/default/S03ntpclient Added: trunk/target/generic/target_skeleton/etc/init.d/elocal =================================================================== --- trunk/target/generic/target_skeleton/etc/init.d/elocal (rev 0) +++ trunk/target/generic/target_skeleton/etc/init.d/elocal 2006-08-16 18:37:18 UTC (rev 270) @@ -0,0 +1,46 @@ +#!/bin/sh + +. /etc/rc.conf + +start () { +if [ -x /stat/etc/rc.elocal ] +then +/stat/etc/rc.elocal +fi + +if [ -x /mnt/kd/rc.elocal ] +then +/mnt/kd/rc.elocal +fi + +} + +stop () { +echo -n "" +} + +case $1 in + +start) +start +;; + +stop) +stop +;; + +init) +start +;; + +restart) +stop +sleep 2 +start +;; + +*) +echo "Usage: start|stop|restart" +;; + +esac Property changes on: trunk/target/generic/target_skeleton/etc/init.d/elocal ___________________________________________________________________ Name: svn:executable + * Deleted: trunk/target/generic/target_skeleton/etc/runlevels/default/S03ntpclient =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/S03ntpclient 2006-08-16 15:57:28 UTC (rev 269) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/S03ntpclient 2006-08-16 18:37:18 UTC (rev 270) @@ -1 +0,0 @@ -link ../../init.d/ntpclient \ No newline at end of file Added: trunk/target/generic/target_skeleton/etc/runlevels/default/S04elocal =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/S04elocal (rev 0) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/S04elocal 2006-08-16 18:37:18 UTC (rev 270) @@ -0,0 +1 @@ +link ../../init.d/elocal \ No newline at end of file Property changes on: trunk/target/generic/target_skeleton/etc/runlevels/default/S04elocal ___________________________________________________________________ Name: svn:special + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-16 15:57:41
|
Revision: 269 Author: krisk84 Date: 2006-08-16 08:57:28 -0700 (Wed, 16 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=269&view=rev Log Message: ----------- build acpid by default, add VIA support Modified Paths: -------------- trunk/astlinux.config trunk/target/device/Config.in Added Paths: ----------- trunk/target/device/via/ trunk/target/device/via/Config.in trunk/target/device/via/Makefile.in trunk/target/device/via/linux-via-wlan-2.6.16.12.config trunk/target/device/via/target_skeleton/ trunk/target/device/via/target_skeleton/boot/ trunk/target/device/via/target_skeleton/boot/grub/ trunk/target/device/via/target_skeleton/boot/grub/grub.conf trunk/target/device/via/target_skeleton/etc/ trunk/target/device/via/target_skeleton/etc/inittab trunk/target/device/via/target_skeleton/etc/rc.modules trunk/target/device/via/uClibc.config Modified: trunk/astlinux.config =================================================================== --- trunk/astlinux.config 2006-08-16 14:52:08 UTC (rev 268) +++ trunk/astlinux.config 2006-08-16 15:57:28 UTC (rev 269) @@ -162,7 +162,7 @@ # # Other stuff # -# BR2_PACKAGE_ACPID is not set +BR2_PACKAGE_ACPID=y # BR2_PACKAGE_ARNOFW is not set BR2_PACKAGE_ASTERISK=y BR2_PACKAGE_ASTERISK_LIBPRI=y @@ -365,3 +365,4 @@ # BR2_TARGET_SOEKRIS_NET4801 is not set # BR2_TARGET_PCENGINES_WRAP is not set BR2_TARGET_GENI586=y +# BR2_TARGET_VIA is not set Modified: trunk/target/device/Config.in =================================================================== --- trunk/target/device/Config.in 2006-08-16 14:52:08 UTC (rev 268) +++ trunk/target/device/Config.in 2006-08-16 15:57:28 UTC (rev 269) @@ -3,6 +3,7 @@ source "target/device/net4801/Config.in" source "target/device/wrap/Config.in" source "target/device/geni586/Config.in" +source "target/device/via/Config.in" source "target/device/genx8664/Config.in" # This must be last Added: trunk/target/device/via/Config.in =================================================================== --- trunk/target/device/via/Config.in (rev 0) +++ trunk/target/device/via/Config.in 2006-08-16 15:57:28 UTC (rev 269) @@ -0,0 +1,8 @@ +config BR2_TARGET_VIA + bool "VIA" + depends BR2_i386 + default n + select BR2_PACKAGE_LINUX + help + Use this for the various VIA boards out there + SERIAL CONSOLE ENABLED BY DEFAULT - 19200,8n1 Added: trunk/target/device/via/Makefile.in =================================================================== --- trunk/target/device/via/Makefile.in (rev 0) +++ trunk/target/device/via/Makefile.in 2006-08-16 15:57:28 UTC (rev 269) @@ -0,0 +1,13 @@ +# Override the default linux configuration +VIA_PATH=target/device/via + +ifeq ($(strip $(BR2_TARGET_VIA)),y) +BR2_PACKAGE_LINUX_BASECONFIG=$(VIA_PATH)/linux-via-wlan +UCLIBC_CONFIG_FILE=$(VIA_PATH)/uClibc.config +TARGET_SKEL2_DIR=$(VIA_PATH)/target_skeleton + +ifeq ($(strip $(BR2_PACKAGE_LINUX)),y) +TARGETS+=linux +endif + +endif Added: trunk/target/device/via/linux-via-wlan-2.6.16.12.config =================================================================== --- trunk/target/device/via/linux-via-wlan-2.6.16.12.config (rev 0) +++ trunk/target/device/via/linux-via-wlan-2.6.16.12.config 2006-08-16 15:57:28 UTC (rev 269) @@ -0,0 +1,1727 @@ +# +# Automatically generated make config: don't edit +# Linux kernel version: 2.6.16.12 +# Tue Aug 15 19:36:25 2006 +# +CONFIG_X86_32=y +CONFIG_SEMAPHORE_SLEEPERS=y +CONFIG_X86=y +CONFIG_MMU=y +CONFIG_GENERIC_ISA_DMA=y +CONFIG_GENERIC_IOMAP=y +CONFIG_ARCH_MAY_HAVE_PC_FDC=y +CONFIG_DMI=y + +# +# Code maturity level options +# +CONFIG_EXPERIMENTAL=y +CONFIG_LOCK_KERNEL=y +CONFIG_INIT_ENV_ARG_LIMIT=32 + +# +# General setup +# +CONFIG_LOCALVERSION="" +CONFIG_LOCALVERSION_AUTO=y +CONFIG_SWAP=y +CONFIG_SYSVIPC=y +# CONFIG_POSIX_MQUEUE is not set +CONFIG_BSD_PROCESS_ACCT=y +# CONFIG_BSD_PROCESS_ACCT_V3 is not set +CONFIG_SYSCTL=y +# CONFIG_AUDIT is not set +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +# CONFIG_CPUSETS is not set +CONFIG_INITRAMFS_SOURCE="" +CONFIG_UID16=y +CONFIG_VM86=y +CONFIG_CC_OPTIMIZE_FOR_SIZE=y +# CONFIG_EMBEDDED is not set +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_CC_ALIGN_FUNCTIONS=0 +CONFIG_CC_ALIGN_LABELS=0 +CONFIG_CC_ALIGN_LOOPS=0 +CONFIG_CC_ALIGN_JUMPS=0 +CONFIG_SLAB=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_OBSOLETE_MODPARM=y +CONFIG_MODVERSIONS=y +# CONFIG_MODULE_SRCVERSION_ALL is not set +CONFIG_KMOD=y +CONFIG_STOP_MACHINE=y + +# +# Block layer +# +# CONFIG_LBD is not set + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +# CONFIG_IOSCHED_AS is not set +# CONFIG_IOSCHED_DEADLINE is not set +CONFIG_IOSCHED_CFQ=y +# CONFIG_DEFAULT_AS is not set +# CONFIG_DEFAULT_DEADLINE is not set +CONFIG_DEFAULT_CFQ=y +# CONFIG_DEFAULT_NOOP is not set +CONFIG_DEFAULT_IOSCHED="cfq" + +# +# Processor type and features +# +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 is not set +# CONFIG_M586 is not set +# CONFIG_M586TSC is not set +CONFIG_M586MMX=y +# 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_CMPXCHG64=y +CONFIG_X86_ALIGNMENT_16=y +CONFIG_X86_GOOD_APIC=y +CONFIG_X86_INTEL_USERCOPY=y +CONFIG_X86_TSC=y +CONFIG_HPET_TIMER=y +CONFIG_HPET_EMULATE_RTC=y +CONFIG_SMP=y +CONFIG_NR_CPUS=4 +CONFIG_SCHED_SMT=y +# CONFIG_PREEMPT_NONE is not set +# CONFIG_PREEMPT_VOLUNTARY is not set +CONFIG_PREEMPT=y +CONFIG_PREEMPT_BKL=y +CONFIG_X86_LOCAL_APIC=y +CONFIG_X86_IO_APIC=y +CONFIG_X86_MCE=y +# CONFIG_X86_MCE_NONFATAL is not set +# CONFIG_X86_MCE_P4THERMAL is not set +# CONFIG_TOSHIBA is not set +# CONFIG_I8K is not set +CONFIG_X86_REBOOTFIXUPS=y +# 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 is not set +CONFIG_HIGHMEM4G=y +# CONFIG_HIGHMEM64G is not set +CONFIG_VMSPLIT_3G=y +# CONFIG_VMSPLIT_3G_OPT is not set +# CONFIG_VMSPLIT_2G is not set +# CONFIG_VMSPLIT_1G is not set +CONFIG_PAGE_OFFSET=0xC0000000 +CONFIG_HIGHMEM=y +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_HIGHPTE is not set +# CONFIG_MATH_EMULATION is not set +CONFIG_MTRR=y +# CONFIG_EFI is not set +CONFIG_IRQBALANCE=y +# CONFIG_REGPARM is not set +CONFIG_SECCOMP=y +# CONFIG_HZ_100 is not set +# CONFIG_HZ_250 is not set +CONFIG_HZ_1000=y +CONFIG_HZ=1000 +CONFIG_KEXEC=y +# CONFIG_CRASH_DUMP is not set +CONFIG_PHYSICAL_START=0x100000 +# CONFIG_HOTPLUG_CPU is not set +CONFIG_DOUBLEFAULT=y + +# +# Power management options (ACPI, APM) +# +CONFIG_PM=y +# CONFIG_PM_LEGACY is not set +# CONFIG_PM_DEBUG is not set + +# +# ACPI (Advanced Configuration and Power Interface) Support +# +CONFIG_ACPI=y +# CONFIG_ACPI_AC is not set +# CONFIG_ACPI_BATTERY is not set +CONFIG_ACPI_BUTTON=y +# CONFIG_ACPI_VIDEO is not set +# CONFIG_ACPI_HOTKEY is not set +# CONFIG_ACPI_FAN is not set +# CONFIG_ACPI_PROCESSOR is not set +# CONFIG_ACPI_ASUS is not set +# CONFIG_ACPI_IBM is not set +# CONFIG_ACPI_TOSHIBA is not set +CONFIG_ACPI_BLACKLIST_YEAR=0 +# CONFIG_ACPI_DEBUG is not set +CONFIG_ACPI_EC=y +CONFIG_ACPI_POWER=y +CONFIG_ACPI_SYSTEM=y +CONFIG_X86_PM_TIMER=y +# CONFIG_ACPI_CONTAINER is not set + +# +# APM (Advanced Power Management) BIOS Support +# +# CONFIG_APM 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_PCI_MMCONFIG=y +CONFIG_PCIEPORTBUS=y +# CONFIG_PCI_MSI is not set +CONFIG_PCI_LEGACY_PROC=y +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=m + +# +# Networking +# +CONFIG_NET=y + +# +# Networking options +# +# CONFIG_NETDEBUG is not set +CONFIG_PACKET=y +# CONFIG_PACKET_MMAP is not set +CONFIG_UNIX=y +CONFIG_XFRM=y +CONFIG_XFRM_USER=m +CONFIG_NET_KEY=m +CONFIG_INET=y +CONFIG_IP_MULTICAST=y +CONFIG_IP_ADVANCED_ROUTER=y +CONFIG_ASK_IP_FIB_HASH=y +# CONFIG_IP_FIB_TRIE is not set +CONFIG_IP_FIB_HASH=y +CONFIG_IP_MULTIPLE_TABLES=y +CONFIG_IP_ROUTE_FWMARK=y +# CONFIG_IP_ROUTE_MULTIPATH is not set +# CONFIG_IP_ROUTE_VERBOSE is not set +# CONFIG_IP_PNP is not set +CONFIG_NET_IPIP=m +CONFIG_NET_IPGRE=m +# CONFIG_NET_IPGRE_BROADCAST is not set +# CONFIG_IP_MROUTE is not set +# CONFIG_ARPD is not set +CONFIG_SYN_COOKIES=y +CONFIG_INET_AH=m +CONFIG_INET_ESP=m +CONFIG_INET_IPCOMP=m +CONFIG_INET_TUNNEL=m +CONFIG_INET_DIAG=m +CONFIG_INET_TCP_DIAG=m +# CONFIG_TCP_CONG_ADVANCED is not set +CONFIG_TCP_CONG_BIC=y + +# +# IP: Virtual Server Configuration +# +# CONFIG_IP_VS is not set +# CONFIG_IPV6 is not set +CONFIG_NETFILTER=y +# CONFIG_NETFILTER_DEBUG is not set +# CONFIG_BRIDGE_NETFILTER is not set + +# +# Core Netfilter Configuration +# +CONFIG_NETFILTER_NETLINK=m +CONFIG_NETFILTER_NETLINK_QUEUE=m +CONFIG_NETFILTER_NETLINK_LOG=m +CONFIG_NETFILTER_XTABLES=m +CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m +CONFIG_NETFILTER_XT_TARGET_CONNMARK=m +CONFIG_NETFILTER_XT_TARGET_MARK=m +CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m +CONFIG_NETFILTER_XT_TARGET_NOTRACK=m +CONFIG_NETFILTER_XT_MATCH_COMMENT=m +CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m +CONFIG_NETFILTER_XT_MATCH_CONNMARK=m +CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m +CONFIG_NETFILTER_XT_MATCH_DCCP=m +CONFIG_NETFILTER_XT_MATCH_HELPER=m +CONFIG_NETFILTER_XT_MATCH_LENGTH=m +CONFIG_NETFILTER_XT_MATCH_LIMIT=m +CONFIG_NETFILTER_XT_MATCH_MAC=m +CONFIG_NETFILTER_XT_MATCH_MARK=m +CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m +CONFIG_NETFILTER_XT_MATCH_REALM=m +CONFIG_NETFILTER_XT_MATCH_SCTP=m +CONFIG_NETFILTER_XT_MATCH_STATE=m +CONFIG_NETFILTER_XT_MATCH_STRING=m +CONFIG_NETFILTER_XT_MATCH_TCPMSS=m + +# +# IP: Netfilter Configuration +# +CONFIG_IP_NF_CONNTRACK=m +CONFIG_IP_NF_CT_ACCT=y +CONFIG_IP_NF_CONNTRACK_MARK=y +CONFIG_IP_NF_CONNTRACK_EVENTS=y +CONFIG_IP_NF_CONNTRACK_NETLINK=m +# CONFIG_IP_NF_CT_PROTO_SCTP is not set +CONFIG_IP_NF_FTP=m +CONFIG_IP_NF_IRC=m +# CONFIG_IP_NF_NETBIOS_NS is not set +CONFIG_IP_NF_TFTP=m +CONFIG_IP_NF_AMANDA=m +CONFIG_IP_NF_PPTP=m +CONFIG_IP_NF_QUEUE=m +CONFIG_IP_NF_IPTABLES=m +CONFIG_IP_NF_MATCH_IPRANGE=m +CONFIG_IP_NF_MATCH_MULTIPORT=m +CONFIG_IP_NF_MATCH_TOS=m +CONFIG_IP_NF_MATCH_RECENT=m +CONFIG_IP_NF_MATCH_ECN=m +CONFIG_IP_NF_MATCH_DSCP=m +CONFIG_IP_NF_MATCH_AH_ESP=m +CONFIG_IP_NF_MATCH_TTL=m +CONFIG_IP_NF_MATCH_OWNER=m +CONFIG_IP_NF_MATCH_ADDRTYPE=m +CONFIG_IP_NF_MATCH_HASHLIMIT=m +CONFIG_IP_NF_MATCH_POLICY=m +CONFIG_IP_NF_FILTER=m +CONFIG_IP_NF_TARGET_REJECT=m +CONFIG_IP_NF_TARGET_LOG=m +CONFIG_IP_NF_TARGET_ULOG=m +CONFIG_IP_NF_TARGET_TCPMSS=m +CONFIG_IP_NF_NAT=m +CONFIG_IP_NF_NAT_NEEDED=y +CONFIG_IP_NF_TARGET_MASQUERADE=m +CONFIG_IP_NF_TARGET_REDIRECT=m +CONFIG_IP_NF_TARGET_NETMAP=m +CONFIG_IP_NF_TARGET_SAME=m +CONFIG_IP_NF_NAT_SNMP_BASIC=m +CONFIG_IP_NF_NAT_IRC=m +CONFIG_IP_NF_NAT_FTP=m +CONFIG_IP_NF_NAT_TFTP=m +CONFIG_IP_NF_NAT_AMANDA=m +CONFIG_IP_NF_NAT_PPTP=m +CONFIG_IP_NF_MANGLE=m +CONFIG_IP_NF_TARGET_TOS=m +CONFIG_IP_NF_TARGET_ECN=m +CONFIG_IP_NF_TARGET_DSCP=m +CONFIG_IP_NF_TARGET_TTL=m +CONFIG_IP_NF_TARGET_CLUSTERIP=m +CONFIG_IP_NF_RAW=m +CONFIG_IP_NF_ARPTABLES=m +CONFIG_IP_NF_ARPFILTER=m +CONFIG_IP_NF_ARP_MANGLE=m + +# +# Bridge: Netfilter Configuration +# +# CONFIG_BRIDGE_NF_EBTABLES 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=m +CONFIG_VLAN_8021Q=m +# 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_NET_DIVERT is not set +# CONFIG_ECONET is not set +# CONFIG_WAN_ROUTER is not set + +# +# QoS and/or fair queueing +# +CONFIG_NET_SCHED=y +CONFIG_NET_SCH_CLK_JIFFIES=y +# CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set +# CONFIG_NET_SCH_CLK_CPU is not set + +# +# Queueing/Scheduling +# +CONFIG_NET_SCH_CBQ=m +CONFIG_NET_SCH_HTB=m +CONFIG_NET_SCH_HFSC=m +CONFIG_NET_SCH_PRIO=m +CONFIG_NET_SCH_RED=m +CONFIG_NET_SCH_SFQ=m +CONFIG_NET_SCH_TEQL=m +CONFIG_NET_SCH_TBF=m +CONFIG_NET_SCH_GRED=m +CONFIG_NET_SCH_DSMARK=m +CONFIG_NET_SCH_NETEM=m +CONFIG_NET_SCH_INGRESS=m + +# +# Classification +# +CONFIG_NET_CLS=y +CONFIG_NET_CLS_BASIC=m +CONFIG_NET_CLS_TCINDEX=m +CONFIG_NET_CLS_ROUTE4=m +CONFIG_NET_CLS_ROUTE=y +CONFIG_NET_CLS_FW=m +CONFIG_NET_CLS_U32=m +CONFIG_CLS_U32_PERF=y +# CONFIG_CLS_U32_MARK is not set +CONFIG_NET_CLS_RSVP=m +# CONFIG_NET_CLS_RSVP6 is not set +CONFIG_NET_EMATCH=y +CONFIG_NET_EMATCH_STACK=32 +CONFIG_NET_EMATCH_CMP=m +CONFIG_NET_EMATCH_NBYTE=m +CONFIG_NET_EMATCH_U32=m +CONFIG_NET_EMATCH_META=m +CONFIG_NET_EMATCH_TEXT=m +# CONFIG_NET_CLS_ACT is not set +CONFIG_NET_CLS_POLICE=y +# CONFIG_NET_CLS_IND is not set +CONFIG_NET_ESTIMATOR=y + +# +# 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=m +# CONFIG_IEEE80211_DEBUG is not set +CONFIG_IEEE80211_CRYPT_WEP=m +CONFIG_IEEE80211_CRYPT_CCMP=m +CONFIG_IEEE80211_CRYPT_TKIP=m + +# +# Device Drivers +# + +# +# Generic Driver Options +# +CONFIG_STANDALONE=y +CONFIG_PREVENT_FIRMWARE_BUILD=y +CONFIG_FW_LOADER=m + +# +# Connector - unified userspace <-> kernelspace linker +# +# CONFIG_CONNECTOR is not set + +# +# Memory Technology Devices (MTD) +# +# CONFIG_MTD is not set + +# +# Parallel port support +# +# CONFIG_PARPORT is not set + +# +# Plug and Play support +# +CONFIG_PNP=y +# CONFIG_PNP_DEBUG is not set + +# +# Protocols +# +CONFIG_ISAPNP=y +CONFIG_PNPBIOS=y +CONFIG_PNPBIOS_PROC_FS=y +CONFIG_PNPACPI=y + +# +# Block devices +# +CONFIG_BLK_DEV_FD=y +# CONFIG_BLK_DEV_XD 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=y +CONFIG_BLK_DEV_CRYPTOLOOP=m +# 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=y +CONFIG_BLK_DEV_RAM_COUNT=16 +CONFIG_BLK_DEV_RAM_SIZE=4096 +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=y +CONFIG_BLK_DEV_IDECD=y +# 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=y +# CONFIG_IDEDMA_ONLYDISK is not set +# CONFIG_BLK_DEV_AEC62XX is not set +# CONFIG_BLK_DEV_ALI15X3 is not set +CONFIG_BLK_DEV_AMD74XX=y +# 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=y +# CONFIG_BLK_DEV_IT821X is not set +# CONFIG_BLK_DEV_NS87415 is not set +CONFIG_BLK_DEV_PDC202XX_OLD=y +# CONFIG_PDC202XX_BURST is not set +CONFIG_BLK_DEV_PDC202XX_NEW=y +# 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=y +# 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=y +# CONFIG_BLK_DEV_HD is not set + +# +# SCSI device support +# +# CONFIG_RAID_ATTRS is not set +CONFIG_SCSI=y +CONFIG_SCSI_PROC_FS=y + +# +# 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=y +CONFIG_SCSI_CONSTANTS=y +# 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_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=y +# CONFIG_SCSI_SATA_AHCI is not set +CONFIG_SCSI_SATA_SVW=y +CONFIG_SCSI_ATA_PIIX=y +# CONFIG_SCSI_SATA_MV is not set +CONFIG_SCSI_SATA_NV=y +# CONFIG_SCSI_PDC_ADMA is not set +# CONFIG_SCSI_SATA_QSTOR is not set +CONFIG_SCSI_SATA_PROMISE=y +CONFIG_SCSI_SATA_SX4=y +# CONFIG_SCSI_SATA_SIL is not set +# CONFIG_SCSI_SATA_SIL24 is not set +CONFIG_SCSI_SATA_SIS=y +# CONFIG_SCSI_SATA_ULI is not set +CONFIG_SCSI_SATA_VIA=y +# CONFIG_SCSI_SATA_VITESSE is not set +CONFIG_SCSI_SATA_INTEL_COMBINED=y +# 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_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_FC 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=m +# CONFIG_EQUALIZER is not set +CONFIG_TUN=m +# 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=m +# CONFIG_HAPPYMEAL is not set +# CONFIG_SUNGEM is not set +# CONFIG_CASSINI is not set +CONFIG_NET_VENDOR_3COM=y +# CONFIG_EL1 is not set +# CONFIG_EL2 is not set +# CONFIG_ELPLUS is not set +# CONFIG_EL16 is not set +# CONFIG_EL3 is not set +# CONFIG_3C515 is not set +CONFIG_VORTEX=m +CONFIG_TYPHOON=m +CONFIG_LANCE=m +# CONFIG_NET_VENDOR_SMC is not set +# CONFIG_NET_VENDOR_RACAL is not set + +# +# Tulip family network device support +# +CONFIG_NET_TULIP=y +# CONFIG_DE2104X is not set +CONFIG_TULIP=m +# CONFIG_TULIP_MWI is not set +# CONFIG_TULIP_MMIO is not set +# CONFIG_TULIP_NAPI is not set +# CONFIG_DE4X5 is not set +CONFIG_WINBOND_840=m +CONFIG_DM9102=m +CONFIG_ULI526X=m +# CONFIG_AT1700 is not set +# CONFIG_DEPCA is not set +# CONFIG_HP100 is not set +CONFIG_NET_ISA=y +# CONFIG_E2100 is not set +# CONFIG_EWRK3 is not set +# CONFIG_EEXPRESS is not set +# CONFIG_EEXPRESS_PRO is not set +# CONFIG_HPLAN_PLUS is not set +# CONFIG_HPLAN is not set +# CONFIG_LP486E is not set +# CONFIG_ETH16I is not set +CONFIG_NE2000=m +# CONFIG_ZNET is not set +# CONFIG_SEEQ8005 is not set +CONFIG_NET_PCI=y +CONFIG_PCNET32=m +CONFIG_AMD8111_ETH=m +# CONFIG_AMD8111E_NAPI is not set +CONFIG_ADAPTEC_STARFIRE=m +# CONFIG_ADAPTEC_STARFIRE_NAPI is not set +# CONFIG_AC3200 is not set +# CONFIG_APRICOT is not set +CONFIG_B44=m +CONFIG_FORCEDETH=m +# CONFIG_CS89x0 is not set +CONFIG_DGRS=m +CONFIG_EEPRO100=m +CONFIG_E100=m +CONFIG_FEALNX=m +CONFIG_NATSEMI=m +CONFIG_NE2K_PCI=m +CONFIG_8139CP=m +CONFIG_8139TOO=m +# CONFIG_8139TOO_PIO is not set +CONFIG_8139TOO_TUNE_TWISTER=y +CONFIG_8139TOO_8129=y +# CONFIG_8139_OLD_RX_RESET is not set +CONFIG_SIS900=m +CONFIG_EPIC100=m +CONFIG_SUNDANCE=m +# CONFIG_SUNDANCE_MMIO is not set +CONFIG_TLAN=m +CONFIG_VIA_RHINE=m +# CONFIG_VIA_RHINE_MMIO is not set + +# +# Ethernet (1000 Mbit) +# +CONFIG_ACENIC=m +# CONFIG_ACENIC_OMIT_TIGON_I is not set +CONFIG_DL2K=m +CONFIG_E1000=m +# CONFIG_E1000_NAPI is not set +# CONFIG_E1000_DISABLE_PACKET_SPLIT is not set +CONFIG_NS83820=m +CONFIG_HAMACHI=m +CONFIG_YELLOWFIN=m +CONFIG_R8169=m +# CONFIG_R8169_NAPI is not set +CONFIG_R8169_VLAN=y +CONFIG_SIS190=m +CONFIG_SKGE=m +CONFIG_SKY2=m +CONFIG_SK98LIN=m +CONFIG_VIA_VELOCITY=m +CONFIG_TIGON3=m +CONFIG_BNX2=m + +# +# Ethernet (10000 Mbit) +# +# CONFIG_CHELSIO_T1 is not set +# CONFIG_IXGB is not set +# CONFIG_S2IO is not set + +# +# Token Ring devices +# +# CONFIG_TR is not set + +# +# Wireless LAN (non-hamradio) +# +CONFIG_NET_RADIO=y + +# +# Obsolete Wireless cards support (pre-802.11) +# +# CONFIG_STRIP is not set +# CONFIG_ARLAN is not set +# CONFIG_WAVELAN is not set + +# +# Wireless 802.11b ISA/PCI cards support +# +CONFIG_IPW2100=m +CONFIG_IPW2100_MONITOR=y +# CONFIG_IPW2100_DEBUG is not set +CONFIG_IPW2200=m +# CONFIG_IPW2200_DEBUG is not set +CONFIG_AIRO=m +CONFIG_HERMES=m +CONFIG_PLX_HERMES=m +CONFIG_TMD_HERMES=m +CONFIG_NORTEL_HERMES=m +CONFIG_PCI_HERMES=m +CONFIG_ATMEL=m +CONFIG_PCI_ATMEL=m + +# +# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support +# +CONFIG_PRISM54=m +CONFIG_HOSTAP=m +CONFIG_HOSTAP_FIRMWARE=y +CONFIG_HOSTAP_FIRMWARE_NVRAM=y +CONFIG_HOSTAP_PLX=m +CONFIG_HOSTAP_PCI=m +CONFIG_NET_WIRELESS=y + +# +# Wan interfaces +# +CONFIG_WAN=y +# CONFIG_HOSTESS_SV11 is not set +# CONFIG_COSA is not set +# CONFIG_DSCC4 is not set +CONFIG_LANMEDIA=m +# CONFIG_SEALEVEL_4021 is not set +# CONFIG_SYNCLINK_SYNCPPP is not set +CONFIG_HDLC=m +CONFIG_HDLC_RAW=y +CONFIG_HDLC_RAW_ETH=y +CONFIG_HDLC_CISCO=y +CONFIG_HDLC_FR=y +CONFIG_HDLC_PPP=y + +# +# X.25/LAPB support is disabled +# +# CONFIG_PCI200SYN is not set +# CONFIG_WANXL is not set +# CONFIG_PC300 is not set +# CONFIG_N2 is not set +# CONFIG_C101 is not set +# CONFIG_FARSYNC is not set +CONFIG_DLCI=m +CONFIG_DLCI_COUNT=24 +CONFIG_DLCI_MAX=8 +# CONFIG_SDLA is not set +# CONFIG_SBNI is not set +# CONFIG_FDDI is not set +# CONFIG_HIPPI is not set +CONFIG_PPP=m +CONFIG_PPP_MULTILINK=y +CONFIG_PPP_FILTER=y +CONFIG_PPP_ASYNC=m +CONFIG_PPP_SYNC_TTY=m +CONFIG_PPP_DEFLATE=m +CONFIG_PPP_BSDCOMP=m +CONFIG_PPP_MPPE=m +CONFIG_PPPOE=m +# 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=m + +# +# Old ISDN4Linux +# +# CONFIG_ISDN_I4L is not set + +# +# CAPI subsystem +# +CONFIG_ISDN_CAPI=m +# CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON is not set +CONFIG_ISDN_CAPI_MIDDLEWARE=y +CONFIG_ISDN_CAPI_CAPI20=m +CONFIG_ISDN_CAPI_CAPIFS_BOOL=y +CONFIG_ISDN_CAPI_CAPIFS=m + +# +# CAPI hardware drivers +# + +# +# Active AVM cards +# +# CONFIG_CAPI_AVM is not set + +# +# Active Eicon DIVA Server cards +# +# CONFIG_CAPI_EICON 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 is not set +CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 +CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 +# CONFIG_INPUT_JOYDEV is not set +# CONFIG_INPUT_TSDEV is not set +# CONFIG_INPUT_EVDEV is not set +# 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 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_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_SERIAL_NONSTANDARD is not set + +# +# Serial drivers +# +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +# CONFIG_SERIAL_8250_ACPI is not set +CONFIG_SERIAL_8250_NR_UARTS=4 +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 + +# +# IPMI +# +# CONFIG_IPMI_HANDLER is not set + +# +# Watchdog Cards +# +CONFIG_WATCHDOG=y +CONFIG_WATCHDOG_NOWAYOUT=y + +# +# Watchdog Device Drivers +# +CONFIG_SOFT_WATCHDOG=m +# CONFIG_ACQUIRE_WDT is not set +# CONFIG_ADVANTECH_WDT is not set +# CONFIG_ALIM1535_WDT is not set +# CONFIG_ALIM7101_WDT is not set +# CONFIG_SC520_WDT is not set +# CONFIG_EUROTECH_WDT is not set +# CONFIG_IB700_WDT is not set +# CONFIG_IBMASR is not set +# CONFIG_WAFER_WDT is not set +# CONFIG_I6300ESB_WDT is not set +CONFIG_I8XX_TCO=m +# CONFIG_SC1200_WDT is not set +# CONFIG_60XX_WDT is not set +# CONFIG_SBC8360_WDT is not set +# CONFIG_CPU5_WDT is not set +# CONFIG_W83627HF_WDT is not set +# CONFIG_W83877F_WDT is not set +# CONFIG_W83977F_WDT is not set +# CONFIG_MACHZ_WDT is not set +# CONFIG_SBC_EPX_C3_WATCHDOG is not set + +# +# ISA-based Watchdog Cards +# +# CONFIG_PCWATCHDOG is not set +# CONFIG_MIXCOMWD is not set +# CONFIG_WDT is not set + +# +# PCI-based Watchdog Cards +# +# CONFIG_PCIPCWATCHDOG is not set +# CONFIG_WDTPCI is not set + +# +# USB-based Watchdog Cards +# +# CONFIG_USBPCWATCHDOG is not set +CONFIG_HW_RANDOM=m +# 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_AGP is not set +# CONFIG_DRM is not set +# CONFIG_MWAVE is not set +# CONFIG_CS5535_GPIO is not set +# CONFIG_RAW_DRIVER is not set +# CONFIG_HPET 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=m +# CONFIG_I2C_CHARDEV is not set + +# +# I2C Algorithms +# +# CONFIG_I2C_ALGOBIT is not set +# CONFIG_I2C_ALGOPCF is not set +# CONFIG_I2C_ALGOPCA is not set + +# +# I2C Hardware Bus support +# +# CONFIG_I2C_ALI1535 is not set +# CONFIG_I2C_ALI1563 is not set +# CONFIG_I2C_ALI15X3 is not set +# CONFIG_I2C_AMD756 is not set +# CONFIG_I2C_AMD8111 is not set +# CONFIG_I2C_I801 is not set +# CONFIG_I2C_I810 is not set +# CONFIG_I2C_PIIX4 is not set +CONFIG_I2C_ISA=m +# CONFIG_I2C_NFORCE2 is not set +# CONFIG_I2C_PARPORT_LIGHT is not set +# CONFIG_I2C_PROSAVAGE is not set +# CONFIG_I2C_SAVAGE4 is not set +# CONFIG_SCx200_ACB is not set +# CONFIG_I2C_SIS5595 is not set +# CONFIG_I2C_SIS630 is not set +# CONFIG_I2C_SIS96X is not set +# CONFIG_I2C_STUB is not set +# CONFIG_I2C_VIA is not set +# CONFIG_I2C_VIAPRO is not set +# CONFIG_I2C_VOODOO3 is not set +# CONFIG_I2C_PCA_ISA is not set + +# +# Miscellaneous I2C Chip support +# +# CONFIG_SENSORS_DS1337 is not set +# CONFIG_SENSORS_DS1374 is not set +# CONFIG_SENSORS_EEPROM is not set +# CONFIG_SENSORS_PCF8574 is not set +# CONFIG_SENSORS_PCA9539 is not set +# CONFIG_SENSORS_PCF8591 is not set +# CONFIG_SENSORS_RTC8564 is not set +# CONFIG_SENSORS_MAX6875 is not set +# CONFIG_RTC_X1205_I2C is not set +# CONFIG_I2C_DEBUG_CORE is not set +# CONFIG_I2C_DEBUG_ALGO is not set +# CONFIG_I2C_DEBUG_BUS is not set +# CONFIG_I2C_DEBUG_CHIP is not set + +# +# SPI support +# +# CONFIG_SPI is not set +# CONFIG_SPI_MASTER is not set + +# +# Dallas's 1-wire bus +# +# CONFIG_W1 is not set + +# +# Hardware Monitoring support +# +CONFIG_HWMON=m +CONFIG_HWMON_VID=m +# CONFIG_SENSORS_ADM1021 is not set +# CONFIG_SENSORS_ADM1025 is not set +# CONFIG_SENSORS_ADM1026 is not set +# CONFIG_SENSORS_ADM1031 is not set +# CONFIG_SENSORS_ADM9240 is not set +# CONFIG_SENSORS_ASB100 is not set +# CONFIG_SENSORS_ATXP1 is not set +# CONFIG_SENSORS_DS1621 is not set +# CONFIG_SENSORS_F71805F is not set +# CONFIG_SENSORS_FSCHER is not set +# CONFIG_SENSORS_FSCPOS is not set +# CONFIG_SENSORS_GL518SM is not set +# CONFIG_SENSORS_GL520SM is not set +# CONFIG_SENSORS_IT87 is not set +# CONFIG_SENSORS_LM63 is not set +# CONFIG_SENSORS_LM75 is not set +# CONFIG_SENSORS_LM77 is not set +# CONFIG_SENSORS_LM78 is not set +# CONFIG_SENSORS_LM80 is not set +# CONFIG_SENSORS_LM83 is not set +# CONFIG_SENSORS_LM85 is not set +# CONFIG_SENSORS_LM87 is not set +# CONFIG_SENSORS_LM90 is not set +# CONFIG_SENSORS_LM92 is not set +# CONFIG_SENSORS_MAX1619 is not set +# CONFIG_SENSORS_PC87360 is not set +# CONFIG_SENSORS_SIS5595 is not set +# CONFIG_SENSORS_SMSC47M1 is not set +# CONFIG_SENSORS_SMSC47B397 is not set +# CONFIG_SENSORS_VIA686A is not set +CONFIG_SENSORS_VT1211=m +# CONFIG_SENSORS_VT8231 is not set +# CONFIG_SENSORS_W83781D is not set +# CONFIG_SENSORS_W83792D is not set +# CONFIG_SENSORS_W83L785TS is not set +# CONFIG_SENSORS_W83627HF is not set +# CONFIG_SENSORS_W83627EHF is not set +# CONFIG_SENSORS_HDAPS is not set +# CONFIG_HWMON_DEBUG_CHIP is not set + +# +# Misc devices +# +# CONFIG_IBM_ASM is not set + +# +# Multimedia Capabilities Port drivers +# + +# +# Multimedia devices +# +# CONFIG_VIDEO_DEV is not set + +# +# Digital Video Broadcasting Devices +# +# CONFIG_DVB is not set + +# +# Graphics support +# +# CONFIG_FB is not set +# CONFIG_VIDEO_SELECT is not set + +# +# Console display driver support +# +CONFIG_VGA_CONSOLE=y +# CONFIG_MDA_CONSOLE is not set +CONFIG_DUMMY_CONSOLE=y + +# +# Sound +# +# CONFIG_SOUND is not set + +# +# USB support +# +CONFIG_USB_ARCH_HAS_HCD=y +CONFIG_USB_ARCH_HAS_OHCI=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_SUSPEND 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_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=y +# CONFIG_USB_SL811_HCD is not set + +# +# USB Device Class drivers +# +# CONFIG_USB_ACM is not set +# 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=y +CONFIG_USB_STORAGE_DATAFAB=y +CONFIG_USB_STORAGE_FREECOM=y +CONFIG_USB_STORAGE_ISD200=y +CONFIG_USB_STORAGE_DPCM=y +CONFIG_USB_STORAGE_USBAT=y +CONFIG_USB_STORAGE_SDDR09=y +CONFIG_USB_STORAGE_SDDR55=y +CONFIG_USB_STORAGE_JUMPSHOT=y +# CONFIG_USB_STORAGE_ALAUDA 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_MTOUCH is not set +# CONFIG_USB_ITMTOUCH is not set +# CONFIG_USB_EGALAX is not set +# 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 Multimedia devices +# +# CONFIG_USB_DABUSB is not set + +# +# Video4Linux support is needed for USB Multimedia device support +# + +# +# 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_ZD1201 is not set +# CONFIG_USB_MON is not set + +# +# USB port drivers +# + +# +# 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_CYTHERM is not set +# CONFIG_USB_PHIDGETKIT is not set +# CONFIG_USB_PHIDGETSERVO is not set +# CONFIG_USB_IDMOUSE 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 + +# +# InfiniBand support +# +# CONFIG_INFINIBAND is not set + +# +# EDAC - error detection and reporting (RAS) (EXPERIMENTAL) +# +# CONFIG_EDAC is not set + +# +# 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 is not set +# CONFIG_JFS_FS is not set +CONFIG_FS_POSIX_ACL=y +# 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 is not set +# CONFIG_QUOTA is not set +CONFIG_DNOTIFY=y +# CONFIG_AUTOFS_FS is not set +# CONFIG_AUTOFS4_FS is not set +# CONFIG_FUSE_FS is not set + +# +# CD-ROM/DVD Filesystems +# +CONFIG_ISO9660_FS=y +CONFIG_JOLIET=y +CONFIG_ZISOFS=y +CONFIG_ZISOFS_FS=y +CONFIG_UDF_FS=m +CONFIG_UDF_NLS=y + +# +# DOS/FAT/NT Filesystems +# +CONFIG_FAT_FS=y +CONFIG_MSDOS_FS=y +CONFIG_VFAT_FS=y +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 is not set +CONFIG_SYSFS=y +CONFIG_TMPFS=y +# CONFIG_HUGETLBFS is not set +# CONFIG_HUGETLB_PAGE is not set +CONFIG_RAMFS=y +# CONFIG_RELAYFS_FS is not set +# 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=y +CONFIG_NFS_V4=y +# CONFIG_NFS_DIRECTIO is not set +CONFIG_NFSD=m +CONFIG_NFSD_V2_ACL=y +CONFIG_NFSD_V3=y +CONFIG_NFSD_V3_ACL=y +CONFIG_NFSD_V4=y +CONFIG_NFSD_TCP=y +CONFIG_LOCKD=m +CONFIG_LOCKD_V4=y +CONFIG_EXPORTFS=m +CONFIG_NFS_ACL_SUPPORT=m +CONFIG_NFS_COMMON=y +CONFIG_SUNRPC=m +CONFIG_SUNRPC_GSS=m +CONFIG_RPCSEC_GSS_KRB5=m +# CONFIG_RPCSEC_GSS_SPKM3 is not set +# CONFIG_SMB_FS is not set +# CONFIG_CIFS 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 is not set +CONFIG_MSDOS_PARTITION=y + +# +# 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 is not set + +# +# Instrumentation Support +# +# CONFIG_PROFILING is not set +# CONFIG_KPROBES is not set + +# +# Kernel hacking +# +# CONFIG_PRINTK_TIME is not set +# CONFIG_MAGIC_SYSRQ is not set +# CONFIG_DEBUG_KERNEL is not set +CONFIG_LOG_BUF_SHIFT=15 +CONFIG_DEBUG_BUGVERBOSE=y +CONFIG_EARLY_PRINTK=y +CONFIG_X86_FIND_SMP_CONFIG=y +CONFIG_X86_MPPARSE=y + +# +# Security options +# +# CONFIG_KEYS is not set +# CONFIG_SECURITY is not set + +# +# Cryptographic options +# +CONFIG_CRYPTO=y +CONFIG_CRYPTO_HMAC=y +# CONFIG_CRYPTO_NULL is not set +# CONFIG_CRYPTO_MD4 is not set +CONFIG_CRYPTO_MD5=y +CONFIG_CRYPTO_SHA1=m +CONFIG_CRYPTO_SHA256=m +CONFIG_CRYPTO_SHA512=m +# CONFIG_CRYPTO_WP512 is not set +# CONFIG_CRYPTO_TGR192 is not set +CONFIG_CRYPTO_DES=m +CONFIG_CRYPTO_BLOWFISH=m +CONFIG_CRYPTO_TWOFISH=m +# CONFIG_CRYPTO_SERPENT is not set +CONFIG_CRYPTO_AES=m +CONFIG_CRYPTO_AES_586=m +# CONFIG_CRYPTO_CAST5 is not set +# CONFIG_CRYPTO_CAST6 is not set +# CONFIG_CRYPTO_TEA is not set +CONFIG_CRYPTO_ARC4=m +# CONFIG_CRYPTO_KHAZAD is not set +# CONFIG_CRYPTO_ANUBIS is not set +CONFIG_CRYPTO_DEFLATE=m +CONFIG_CRYPTO_MICHAEL_MIC=m +# CONFIG_CRYPTO_CRC32C is not set +# CONFIG_CRYPTO_TEST is not set + +# +# Hardware crypto devices +# +CONFIG_CRYPTO_DEV_PADLOCK=m +CONFIG_CRYPTO_DEV_PADLOCK_AES=y + +# +# Library routines +# +CONFIG_CRC_CCITT=y +CONFIG_CRC16=y +CONFIG_CRC32=y +CONFIG_LIBCRC32C=m +CONFIG_ZLIB_INFLATE=y +CONFIG_ZLIB_DEFLATE=m +CONFIG_TEXTSEARCH=y +CONFIG_TEXTSEARCH_KMP=m +CONFIG_TEXTSEARCH_BM=m +CONFIG_TEXTSEARCH_FSM=m +CONFIG_GENERIC_HARDIRQS=y +CONFIG_GENERIC_IRQ_PROBE=y +CONFIG_GENERIC_PENDING_IRQ=y +CONFIG_X86_SMP=y +CONFIG_X86_HT=y +CONFIG_X86_BIOS_REBOOT=y +CONFIG_X86_TRAMPOLINE=y +CONFIG_KTIME_SCALAR=y Added: trunk/target/device/via/target_skeleton/boot/grub/grub.conf =================================================================== --- trunk/target/device/via/target_skeleton/boot/grub/grub.conf (rev 0) +++ trunk/target/device/via/target_skeleton/boot/grub/grub.conf 2006-08-16 15:57:28 UTC (rev 269) @@ -0,0 +1,34 @@ +default saved +timeout 3 +serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1 +terminal serial + +title AstLinux (Boot from IDE CF, USB KeyDisk) + root (hd0,0) + kernel /boot/bzImage root=/dev/hda1 astlinux=i586 astkd=/dev/sda1 ide=nodma console=ttyS0,19200n8 + savedefault + +title AstLinux (Boot from USB, IDE CF/HD KeyDisk) + root (hd0,0) + kernel /boot/bzImage root=/dev/sda1 astlinux=i586 astkd=/dev/hda1 ide=nodma rootdelay=10 console=ttyS0,19200n8 + savedefault + +title AstLinux (Boot from USB, Use third partition for KeyDisk) + root (hd0,0) + kernel /boot/bzImage root=/dev/sda1 astlinux=i586 astkd=/dev/sda3 ide=nodma rootdelay=10 console=ttyS0,19200n8 + savedefault + +title AstLinux (Boot from IDE CF, IDE CF/HD KeyDisk - secondary master) + root (hd0,0) + kernel /boot/bzImage root=/dev/hda1 astlinux=i586 astkd=/dev/hdc1 ide=nodma console=ttyS0,19200n8 + savedefault + +title AstLinux (Boot from IDE CF, Use third partition for KeyDisk) + root (hd0,0) + kernel /boot/bzImage root=/dev/hda1 astlinux=i586 astkd=/dev/hda3 ide=nodma console=ttyS0,19200n8 + savedefault + +title AstLinux (Boot from Secondary Master, Use third partition for KeyDisk) + root (hd0,0) + kernel /boot/bzImage root=/dev/hdc1 astlinux=i586 astkd=/dev/hdc3 ide=nodma console=ttyS0,19200n8 + savedefault Added: trunk/target/device/via/target_skeleton/etc/inittab =================================================================== --- trunk/target/device/via/target_skeleton/etc/inittab (rev 0) +++ trunk/target/device/via/target_skeleton/etc/inittab 2006-08-16 15:57:28 UTC (rev 269) @@ -0,0 +1,12 @@ +# +# /etc/inittab +# +# $Id: inittab 1681 2004-09-01 18:12:49Z $ +# + +console::sysinit:/etc/rc sysinit +console::respawn:/sbin/getty -L 19200 /dev/ttyS0 vt100 + +# Stuff to do before rebooting +::ctrlaltdel:/sbin/reboot +::shutdown:/etc/rc shutdown Property changes on: trunk/target/device/via/target_skeleton/etc/inittab ___________________________________________________________________ Name: svn:executable + * Added: trunk/target/device/via/target_skeleton/etc/rc.modules =================================================================== --- trunk/target/device/via/target_skeleton/etc/rc.modules (rev 0) +++ trunk/target/device/via/target_skeleton/etc/rc.modules 2006-08-16 15:57:28 UTC (rev 269) @@ -0,0 +1,22 @@ +# These modules get modprobe'd when the system starts up. +#rtc +#Comment out the modules you don't need, and change the order to +#move eth0 to eth1, etc. +#Ethernet support +#10/100 first, then Gigabit +#3c59x +#typhoon +#tulip +#eepro100 +#natsemi +#forcedeth +#8139cp +8139too +#via-rhine +#pcnet32 +#acenic +#e1000 +#ns83820 +#r8169 +#tg3 +padlock Added: trunk/target/device/via/uClibc.config =================================================================== --- trunk/target/device/via/uClibc.config (rev 0) +++ trunk/target/device/via/uClibc.config 2006-08-16 15:57:28 UTC (rev 269) @@ -0,0 +1,172 @@ +# +# Automatically generated make config: don't edit +# +# TARGET_alpha is not set +# TARGET_arm is not set +# TARGET_bfin is not set +# TARGET_cris is not set +# TARGET_e1 is not set +# TARGET_frv is not set +# TARGET_h8300 is not set +TARGET_i386=y +# TARGET_i960 is not set +# TARGET_m68k is not set +# TARGET_microblaze is not set +# TARGET_mips is not set +# TARGET_nios is not set +# TARGET_nios2 is not set +# TARGET_powerpc is not set +# TARGET_sh is not set +# TARGET_sh64 is not set +# TARGET_sparc is not set +# TARGET_v850 is not set +# TARGET_x86_64 is not set + +# +# Target Architecture Features and Options +# +HAVE_ELF=y +ARCH_SUPPORTS_LITTLE_ENDIAN=y +TARGET_ARCH="i386" +# CONFIG_GENERIC_386 is not set +# CONFIG_386 is not set +# CONFIG_486 is not set +# CONFIG_586 is not set +CONFIG_586MMX=y +# CONFIG_686 is not set +# CONFIG_PENTIUMII is not set +# CONFIG_PENTIUMIII is not set +# CONFIG_PENTIUM4 is not set +# CONFIG_K6 is not set +# CONFIG_K7 is not set +# CONFIG_ELAN is not set +# CONFIG_CRUSOE is not set +# CONFIG_WINCHIPC6 is not set +# CONFIG_WINCHIP2 is not set +# CONFIG_CYRIXIII is not set +# CONFIG_NEHEMIAH is not set +ARCH_LITTLE_ENDIAN=y +# ARCH_BIG_ENDIAN is not set +# ARCH_HAS_NO_MMU is not set +ARCH_HAS_MMU=y +UCLIBC_HAS_FLOATS=y +HAS_FPU=y +DO_C99_MATH=y +KERNEL_SOURCE="/home/kris/projects/astlinux-devel/toolchain_build_i586/linux" +C_SYMBOL_PREFIX="" +HAVE_DOT_CONFIG=y + +# +# General Library Settings +# +# HAVE_NO_PIC is not set +DOPIC=y +# HAVE_NO_SHARED is not set +HAVE_SHARED=y +# ARCH_HAS_NO_LDSO is not set +BUILD_UCLIBC_LDSO=y +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set +LDSO_LDD_SUPPORT=y +LDSO_CACHE_SUPPORT=y +# LDSO_PRELOAD_FILE_SUPPORT is not set +LDSO_BASE_FILENAME="ld.so" +# LDSO_RUNPATH is not set +# DL_FINI_CRT_COMPAT is not set +UCLIBC_CTOR_DTOR=y +# HAS_NO_THREADS is not set +UCLIBC_HAS_THREADS=y +PTHREADS_DEBUG_SUPPORT=y +UCLIBC_HAS_LFS=y +# UCLIBC_STATIC_LDCONFIG is not set +# MALLOC is not set +# MALLOC_SIMPLE is not set +MALLOC_STANDARD=y +MALLOC_GLIBC_COMPAT=y +UCLIBC_DYNAMIC_ATEXIT=y +HAS_SHADOW=y +# UNIX98PTY_ONLY is not set +ASSUME_DEVPTS=y +UCLIBC_HAS_TM_EXTENSIONS=y +UCLIBC_HAS_TZ_CACHING=y +UCLIBC_HAS_TZ_FILE=y +UCLIBC_HAS_TZ_FILE_READ_MANY=y +UCLIBC_TZ_FILE_PATH="/etc/TZ" + +# +# Networking Support +# +UCLIBC_HAS_IPV6=y +UCLIBC_HAS_RPC=y +UCLIBC_HAS_FULL_RPC=y + +# +# String and Stdio Support +# +UCLIBC_HAS_STRING_GENERIC_OPT=y +UCLIBC_HAS_STRING_ARCH_OPT=y +UCLIBC_HAS_CTYPE_TABLES=y +UCLIBC_HAS_CTYPE_SIGNED=y +# UCLIBC_HAS_CTYPE_UNSAFE is not set +UCLIBC_HAS_CTYPE_CHECKED=y +# UCLIBC_HAS_CTYPE_ENFORCED is not set +UCLIBC_HAS_WCHAR=y +# UCLIBC_HAS_LOCALE is not set +UCLIBC_HAS_HEXADECIMAL_FLOATS=y +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 +UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set +UCLIBC_HAS_STDIO_BUFSIZ_4096=y +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set +UCLIBC_HAS_STDIO_GETC_MACRO=y +UCLIBC_HAS_STDIO_PUTC_MACRO=y +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set +UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y +UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y +UCLIBC_HAS_PRINTF_M_SPEC=y +UCLIBC_HAS_ERRNO_MESSAGES=y +# UCLIBC_HAS_SYS_ERRLIST is not set +UCLIBC_HAS_SIGNUM_MESSAGES=y +# UCLIBC_HAS_SYS_SIGLIST is not set +UCLIBC_HAS_GNU_GETOPT=y + +# +# Big and Tall +# +UCLIBC_HAS_REGEX=y +# UCLIBC_HAS_WORDEXP is not set +UCLIBC_HAS_FTW=y +UCLIBC_HAS_GLOB=y + +# +# Library Installation Options +# +SHARED_LIB_LOADER_PREFIX="/lib" +RUNTIME_PREFIX="/" +DEVEL_PREFIX="/usr/" + +# +# uClibc security related options +# +# UCLIBC_SECURITY is not set + +# +# uClibc development/debugging options +# +CROSS_COMPILER_PREFIX="/home/kris/projects/astlinux-devel/build_i586/staging_dir/bin/i586-linux-uclibc-" +# DODEBUG is not set +# DODEBUG_PT is not set +# DOASSERTS is not set +# SUPPORT_LD_DEBUG is not set +# SUPPORT_LD_DEBUG_EARLY is not set +WARNINGS="-Wall" +# UCLIBC_MJN3_ONLY is not set This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-16 14:52:11
|
Revision: 268 Author: krisk84 Date: 2006-08-16 07:52:08 -0700 (Wed, 16 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=268&view=rev Log Message: ----------- another default config update Modified Paths: -------------- trunk/astlinux.config Modified: trunk/astlinux.config =================================================================== --- trunk/astlinux.config 2006-08-16 14:51:23 UTC (rev 267) +++ trunk/astlinux.config 2006-08-16 14:52:08 UTC (rev 268) @@ -34,7 +34,7 @@ BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_GNU_BUILD_SUFFIX="pc-linux-gnu" -BR2_JLEVEL=10 +BR2_JLEVEL=2 # # Toolchain Options This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-16 14:51:27
|
Revision: 267 Author: krisk84 Date: 2006-08-16 07:51:23 -0700 (Wed, 16 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=267&view=rev Log Message: ----------- default config update Modified Paths: -------------- trunk/astlinux.config Modified: trunk/astlinux.config =================================================================== --- trunk/astlinux.config 2006-08-16 14:29:31 UTC (rev 266) +++ trunk/astlinux.config 2006-08-16 14:51:23 UTC (rev 267) @@ -307,6 +307,7 @@ BR2_PACKAGE_SOX=y BR2_PACKAGE_SOX_LIBMAD=y BR2_PACKAGE_STRACE=y +BR2_PACKAGE_STUNNEL=y BR2_PACKAGE_SYSFSUTILS=y # BR2_PACKAGE_SYSKLOGD is not set # BR2_PACKAGE_SYSVINIT is not set This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-16 14:29:38
|
Revision: 266 Author: krisk84 Date: 2006-08-16 07:29:31 -0700 (Wed, 16 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=266&view=rev Log Message: ----------- wanpipe in progress Modified Paths: -------------- trunk/package/wanpipe/wanpipe.mk Modified: trunk/package/wanpipe/wanpipe.mk =================================================================== --- trunk/package/wanpipe/wanpipe.mk 2006-08-16 06:57:23 UTC (rev 265) +++ trunk/package/wanpipe/wanpipe.mk 2006-08-16 14:29:31 UTC (rev 266) @@ -3,9 +3,9 @@ # wanpipe # ############################################################# -WANPIPE_VER:=beta5-pre5-2.3.4 +WANPIPE_VER:=beta7-2.3.4-kk WANPIPE_SOURCE:=wanpipe-$(WANPIPE_VER).tgz -WANPIPE_SITE:=ftp://ftp.sangoma.com/linux/custom/2.3.4/ +WANPIPE_SITE:= http://www.krisk.org/asterisk/ WANPIPE_DIR:=$(BUILD_DIR)/wanpipe WANPIPE_CAT:=zcat WANPIPE_BINARY:=utils/wancfg/wancfg @@ -16,25 +16,29 @@ $(DL_DIR)/$(WANPIPE_SOURCE): $(WGET) -P $(DL_DIR) $(WANPIPE_SITE)/$(WANPIPE_SOURCE) + # $(WGET) -P $(DL_DIR) $(WANPIPE_SITE)/hwec-utils-beta4-2.3.4.tgz $(WANPIPE_DIR)/.unpacked: $(DL_DIR)/$(WANPIPE_SOURCE) $(WANPIPE_CAT) $(DL_DIR)/$(WANPIPE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + # $(WANPIPE_CAT) $(DL_DIR)/hwec-utils-beta4-2.3.4.tgz | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(WANPIPE_DIR)/.unpacked $(WANPIPE_DIR)/.configured: $(WANPIPE_DIR)/.unpacked - toolchain/patch-kernel.sh $(WANPIPE_DIR) package/wanpipe/ wanpipe\*.patch + # toolchain/patch-kernel.sh $(WANPIPE_DIR) package/wanpipe/ wanpipe\*.patch touch $(WANPIPE_DIR)/.configured $(WANPIPE_DIR)/.built: $(WANPIPE_DIR)/.configured - CWD=$(shell pwd) - (cd $(WANPIPE_DIR) && CC=$(TARGET_CC) ./Setup drivers --arch=$(ARCH) --protocol=TDM --with-linux=$(BUILD_DIR)/linux \ - --zaptel-path=$(BUILD_DIR)/zaptel --builddir=$(TARGET_DIR) --usr-cc=$(TARGET_CC) --linux-vanilla --edac --silent --no-gcc-debug ; cd $(CWD)) + $(MAKE) MODULE_NAME=sdladrv OBJS="sdladrv_src.o" CC=$(CC) KDIR=$(BUILD_DIR)/linux -C $(WANPIPE_DIR)/drivers + $(MAKE) MODULE_NAME=wanrouter OBJS="wanmain.o wanproc.o waniface.o" CC=$(CC) KDIR=$(BUILD_DIR)/linux -C $(WANPIPE_DIR)/drivers + $(MAKE) MODULE_NAME=af_wanpipe OBJS="af_wanpipe_src.o af_wanpipe_datascope.o" CC=$(CC) KDIR=$(BUILD_DIR)/linux EXTRA_CFLAGS=$(WANPIPE_CFLAGS) + $(MAKE) MODULE_NAME=wanpipe_lip OBJS="wanpipe_lip_iface.o wanpipe_lip_bh.o wanpipe_lip_prot.o wanpipe_lip_netdev.o wanpipe_lip_sub.o wanpipe_lip_tty.o wanpipe_abstr.o wanpipe_linux_iface.o" CC=$(TARGET_CC) KDIR=$(BUILD_DIR)/linux EXTRA_CFLAGS=$(WANPIPE_CFLAGS) -C $(WANPIPE_DIR)/drivers + $(MAKE) MODULE_NAME=wanpipe OBJS="sdla_tdmv.o sdla_remora_tdmv.o sdla_xilinx.o sdla_aft_te1.o aft_a104.o sdla_remora.o aft_analog.o sdla_56k.o sdla_te1.o sdla_8te1.o sdla_te3.o sdla_ft1.o wanpipe_utils.o wanpipe_abstr.o wanpipe_linux_iface.o sdlamain.o wanpipe_tdm_api.o wanpipe_codec.o wanpipe_codec_law.o" CC=$(TARGET_CC) KDIR=$(BUILD_DIR)/linux EXTRA_CFLAGS=$(WANPIPE_CFLAGS) -C $(WANPIPE_DIR)/drivers + $(MAKE) -C $(WANPIPE_DIR)/util/wan_aftup CC=$(TARGET_CC) SYSINC=$(BUILD_DIR)/linux/include + $(MAKE) -C $(WANPIPE_DIR)/util/wancfg CC=$(TARGET_CC) SYSINC=$(BUILD_DIR)/linux/include ZAPINC=$(BUILD_DIR)/zaptel + $(MAKE) -C $(WANPIPE_DIR)/util/wancfg SYSINC=$(BUILD_DIR)/linux/include ZAPINC=$(BUILD_DIR)/zaptel WAN_VIRTUAL=$(TARGET_DIR) install touch $(WANPIPE_DIR)/.built $(WANPIPE_DIR)/$(WANPIPE_BINARY): $(WANPIPE_DIR)/.built - $(MAKE) -C $(WANPIPE_DIR)/util/wan_aftup CC=$(TARGET_CC) SYSINC=$(BUILD_DIR)/linux/include - $(MAKE) -C $(WANPIPE_DIR)/util/wancfg CC=$(TARGET_CC) SYSINC=$(BUILD_DIR)/linux/include ZAPINC=$(BUILD_DIR)/zaptel - $(MAKE) -C $(WANPIPE_DIR)/util/wancfg SYSINC=$(BUILD_DIR)/linux/include ZAPINC=$(BUILD_DIR)/zaptel WAN_VIRTUAL=$(TARGET_DIR) install install -D -m 0755 $(WANPIPE_DIR)/util/wan_aftup/wan_aftup $(TARGET_DIR)/usr/sbin/wan_aftup # rm -rf $(TARGET_DIR) $(STRIP) $(TARGET_DIR)/$(WANPIPE_TARGET_BINARY) @@ -44,10 +48,8 @@ wanpipe: uclibc linux zaptel-unpack $(WANPIPE_DIR)/$(WANPIPE_BINARY) #zaptel wanpipe-clean: - rm -f $(TARGET_DIR)/$(WANPIPE_TARGET_BINARY) - -$(MAKE) -C $(WANPIPE_DIR) clean - rm -Rf $(WANPIPE_DIR) + wanpipe-dirclean: rm -rf $(WANPIPE_DIR) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dha...@us...> - 2006-08-16 06:57:27
|
Revision: 265 Author: dhartman Date: 2006-08-15 23:57:23 -0700 (Tue, 15 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=265&view=rev Log Message: ----------- add easy-rsa scripts to generate openvpn keys to stat Modified Paths: -------------- trunk/package/openvpn/openvpn.mk Added Paths: ----------- trunk/package/openvpn/easy-rsa.tar.gz Added: trunk/package/openvpn/easy-rsa.tar.gz =================================================================== (Binary files differ) Property changes on: trunk/package/openvpn/easy-rsa.tar.gz ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/package/openvpn/openvpn.mk =================================================================== --- trunk/package/openvpn/openvpn.mk 2006-08-15 23:39:25 UTC (rev 264) +++ trunk/package/openvpn/openvpn.mk 2006-08-16 06:57:23 UTC (rev 265) @@ -59,10 +59,11 @@ $(TARGET_DIR)/$(OPENVPN_TARGET_BINARY): $(OPENVPN_DIR)/$(OPENVPN_BINARY) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(OPENVPN_DIR) install -# mkdir -p $(TARGET_DIR)/etc/openvpn rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \ $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc $(INSTALL) -D -m 0755 package/openvpn/openvpn.init $(TARGET_DIR)/etc/init.d/openvpn + mkdir -p $(TARGET_DIR)/stat/etc/openvpn + tar -C $(TARGET_DIR)/stat/etc/openvpn -xzf package/openvpn/easy-rsa.tar.gz openvpn: uclibc lzo openssl $(TARGET_DIR)/$(OPENVPN_TARGET_BINARY) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-15 23:39:32
|
Revision: 264 Author: krisk84 Date: 2006-08-15 16:39:25 -0700 (Tue, 15 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=264&view=rev Log Message: ----------- via vt1211 (itx) sensor support Modified Paths: -------------- trunk/target/device/geni586/linux-geni586-wlan-2.6.16.12.config Added Paths: ----------- trunk/package/linux/linux-vt1211.patch Added: trunk/package/linux/linux-vt1211.patch =================================================================== --- trunk/package/linux/linux-vt1211.patch (rev 0) +++ trunk/package/linux/linux-vt1211.patch 2006-08-15 23:39:25 UTC (rev 264) @@ -0,0 +1,1072 @@ +diff -urN linux-2.6.16.12.orig/drivers/hwmon/Kconfig linux-2.6.16.12/drivers/hwmon/Kconfig +--- linux-2.6.16.12.orig/drivers/hwmon/Kconfig 2006-05-01 15:14:26.000000000 -0400 ++++ linux-2.6.16.12/drivers/hwmon/Kconfig 2006-08-15 19:30:53.000000000 -0400 +@@ -360,6 +360,19 @@ + This driver can also be built as a module. If so, the module + will be called via686a. + ++config SENSORS_VT1211 ++ tristate "VT1211" ++ depends on HWMON && I2C && EXPERIMENTAL ++ select I2C_ISA ++ select HWMON_VID ++ help ++ If you say yes here you get access to all the sensors ++ accessible via the VT1211 HW monitoring chip (temperature, fan speed, ++ voltage etc.). This chip is used on many VIA Mini-ITX boards. ++ ++ This driver can also be built as a module. If so, the module ++ will be called vt1211. ++ + config SENSORS_VT8231 + tristate "VT8231" + depends on HWMON && I2C && PCI && EXPERIMENTAL +diff -urN linux-2.6.16.12.orig/drivers/hwmon/Makefile linux-2.6.16.12/drivers/hwmon/Makefile +--- linux-2.6.16.12.orig/drivers/hwmon/Makefile 2006-05-01 15:14:26.000000000 -0400 ++++ linux-2.6.16.12/drivers/hwmon/Makefile 2006-08-15 19:31:19.000000000 -0400 +@@ -41,6 +41,7 @@ + obj-$(CONFIG_SENSORS_SMSC47B397)+= smsc47b397.o + obj-$(CONFIG_SENSORS_SMSC47M1) += smsc47m1.o + obj-$(CONFIG_SENSORS_VIA686A) += via686a.o ++obj-$(CONFIG_SENSORS_VT1211) += vt1211.o + obj-$(CONFIG_SENSORS_VT8231) += vt8231.o + obj-$(CONFIG_SENSORS_W83627EHF) += w83627ehf.o + obj-$(CONFIG_SENSORS_W83L785TS) += w83l785ts.o +diff -urN linux-2.6.16.12.orig/drivers/hwmon/vt1211.c linux-2.6.16.12/drivers/hwmon/vt1211.c +--- linux-2.6.16.12.orig/drivers/hwmon/vt1211.c 1969-12-31 19:00:00.000000000 -0500 ++++ linux-2.6.16.12/drivers/hwmon/vt1211.c 2006-04-27 13:25:19.000000000 -0400 +@@ -0,0 +1,1034 @@ ++/* ++ vt1211.c - Part of lm_sensors, Linux kernel modules ++ for hardware monitoring ++ ++ Copyright (c) 2002 Mark D. Studebaker <mds...@ya...> ++ ++ This program is free software; you can redistribute it and/or modify ++ it under the terms of the GNU General Public License as published by ++ the Free Software Foundation; either version 2 of the License, or ++ (at your option) any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU General Public License for more details. ++ ++ You should have received a copy of the GNU General Public License ++ along with this program; if not, write to the Free Software ++ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ++ ++ ++ ++ Adapted to Linux 2.6 kernel by Lars Ekman <emi...@ya...> ++ ++ Updates (latest first): ++ ++ Wed Apr 26 18:29:55 CEST 2006 (Przemyslaw Bruski <pbruskispam at op.pl>) ++ Update for 2.6.16 ++ - owner and name fields are now in inner struct ++ - I2C_DRIVERID_VT1211 was no longer definde ++ Mon Jan 16 15:00 PST 2006 (Eugene Weiss <ew...@ba...>) ++ Update for 2.6.15 ++ - Remove owner and name fields from i2c_driver structure. ++ - Remove flags field from 12c_driver structure. ++ - Change obsolete MODULE_PARM to module_param. ++ Sun Sep 25 08:55:00 CEST 2005 - ++ Update for 2.6.14-rc1. New i2c handling. ++ Sun Sep 4 08:18:59 CEST 2005 - ++ Update for 2.6.13; new device_attribute added in sys-file init. ++ Sat Mar 19 11:23:36 CET 2005 - ++ Preparations for official release; ++ - Remove all the #ifdef stuff (ALL_SENSORS and no convertion ++ is now default). ++ - Remove normal_xxx_range defines which cause compile warnings. ++ - Remove uch_config initialization in vt1211_init_client ++ (trust the BIOS initialization instead, or use setting in ++ sensors.conf) ++ Tue Oct 5 17:17:01 CEST 2004 - ++ Corrected faulty return value in "show_temp_hyst()". ++ Sun Sep 26 09:14:36 CEST 2004 - ++ Register conversion optional (disabled by default) ++ ++*/ ++ ++/* Supports VIA VT1211 Super I/O sensors via ISA (LPC) accesses only. */ ++ ++#include <linux/module.h> ++#include <linux/init.h> ++#include <linux/slab.h> ++#include <linux/moduleparam.h> ++#include <linux/i2c.h> ++#include <linux/i2c-isa.h> ++#include <linux/hwmon.h> ++#include <linux/hwmon-vid.h> ++#include <linux/err.h> ++#include <asm/io.h> ++ ++/* ++ Even if the register values are not converted to uasable units in ++ the driver, the values should still be multiplied with some ++ factor. This factor seems to be 10 for 2.4 versions and 1000 now for ++ 2.6. The multiplier for "in" values (voltages) was commented out in ++ the 2.4 version, and I don't know the correct setting for 2.6 yet. ++ Since there is still some confusion around this I made ++ easy-to-change macros for the factors. ++ */ ++#define TEMP3_MULTIPLIER 1000 ++#define TEMP_MULTIPLIER 1000 ++#define IN_MULTIPLIER 10 /* Or what? */ ++ ++ ++static int force_addr = 0; ++module_param(force_addr, int, 0644); ++MODULE_PARM_DESC(force_addr, ++ "Initialize the base address of the sensors"); ++ ++static unsigned short normal_i2c[] = { I2C_CLIENT_END }; ++static int isa_address = 0; ++ ++I2C_CLIENT_INSMOD_1(vt1211); ++ ++/* modified from kernel/include/traps.c */ ++#define REG 0x2e /* The register to read/write */ ++#define DEV 0x07 /* Register: Logical device select */ ++#define VAL 0x2f /* The value to read/write */ ++#define PME 0x0b /* The device with the hardware monitor */ ++#define DEVID 0x20 /* Register: Device ID */ ++ ++static inline void ++superio_outb(int reg, int val) ++{ ++ outb(reg, REG); ++ outb(val, VAL); ++} ++ ++static inline int ++superio_inb(int reg) ++{ ++ outb(reg, REG); ++ return inb(VAL); ++} ++ ++static inline void ++superio_select(void) ++{ ++ outb(DEV, REG); ++ outb(PME, VAL); ++} ++ ++static inline void ++superio_enter(void) ++{ ++ outb(0x87, REG); ++ outb(0x87, REG); ++} ++ ++static inline void ++superio_exit(void) ++{ ++ outb(0xAA, REG); ++} ++ ++ ++#define VT1211_DEVID 0x3c ++#define VT1211_ACT_REG 0x30 ++#define VT1211_BASE_REG 0x60 ++#define VT1211_EXTENT 0x80 ++ ++/* pwm numbered 1-2 */ ++#define VT1211_REG_PWM(nr) (0x5f + (nr)) ++#define VT1211_REG_PWM_CTL 0x51 ++ ++/* The VT1211 registers */ ++/* We define the sensors as follows. Somewhat convoluted to minimize ++ changes from via686a. ++ Sensor Voltage Mode Temp Mode ++ -------- ------------ --------- ++ Reading 1 temp3 ++ Reading 3 temp1 not in vt1211 ++ UCH1/Reading2 in0 temp2 ++ UCH2 in1 temp4 ++ UCH3 in2 temp5 ++ UCH4 in3 temp6 ++ UCH5 in4 temp7 ++ 3.3V in5 ++ -12V in6 not in vt1211 ++*/ ++ ++/* ins numbered 0-6 */ ++#define VT1211_REG_IN_MAX(nr) ((nr)==0 ? 0x3d : 0x29 + ((nr) * 2)) ++#define VT1211_REG_IN_MIN(nr) ((nr)==0 ? 0x3e : 0x2a + ((nr) * 2)) ++#define VT1211_REG_IN(nr) (0x21 + (nr)) ++ ++/* fans numbered 1-2 */ ++#define VT1211_REG_FAN_MIN(nr) (0x3a + (nr)) ++#define VT1211_REG_FAN(nr) (0x28 + (nr)) ++ ++static const u8 regtemp[] = { 0x20, 0x21, 0x1f, 0x22, 0x23, 0x24, 0x25 }; ++static const u8 regover[] = { 0x39, 0x3d, 0x1d, 0x2b, 0x2d, 0x2f, 0x31 }; ++static const u8 reghyst[] = { 0x3a, 0x3e, 0x1e, 0x2c, 0x2e, 0x30, 0x32 }; ++ ++/* temps numbered 1-7 */ ++#define VT1211_REG_TEMP(nr) (regtemp[(nr) - 1]) ++#define VT1211_REG_TEMP_OVER(nr) (regover[(nr) - 1]) ++#define VT1211_REG_TEMP_HYST(nr) (reghyst[(nr) - 1]) ++#define VT1211_REG_TEMP_LOW3 0x4b /* bits 7-6 */ ++#define VT1211_REG_TEMP_LOW2 0x49 /* bits 5-4 */ ++#define VT1211_REG_TEMP_LOW47 0x4d ++ ++#define VT1211_REG_CONFIG 0x40 ++#define VT1211_REG_ALARM1 0x41 ++#define VT1211_REG_ALARM2 0x42 ++#define VT1211_REG_VID 0x45 ++#define VT1211_REG_FANDIV 0x47 ++#define VT1211_REG_UCH_CONFIG 0x4a ++#define VT1211_REG_TEMP1_CONFIG 0x4b ++#define VT1211_REG_TEMP2_CONFIG 0x4c ++ ++/* temps 1-7; voltages 0-6 */ ++#define ISTEMP(i, ch_config) ((i) == 1 ? 1 : \ ++ (i) == 3 ? 1 : \ ++ (i) == 2 ? ((ch_config) >> 2) & 0x01 : \ ++ ((ch_config) >> ((i)-1)) & 0x01) ++#define ISVOLT(i, ch_config) ((i) > 4 ? 1 : !(((ch_config) >> ((i)+2)) & 0x01)) ++ ++#define DIV_FROM_REG(val) (1 << (val)) ++#define DIV_TO_REG(val) ((val)==8?3:(val)==4?2:(val)==1?0:1) ++#define PWM_FROM_REG(val) (val) ++#define PWM_TO_REG(val) SENSORS_LIMIT((val), 0, 255) ++ ++#define TEMP3_FROM_REG(val) ((val)*TEMP3_MULTIPLIER) ++#define TEMP3_FROM_REG10(val) (((val)*TEMP3_MULTIPLIER)/4) ++#define TEMP3_TO_REG(val) (SENSORS_LIMIT(((val)<0? \ ++ (((val)-(TEMP3_MULTIPLIER/2))/TEMP3_MULTIPLIER):\ ++ ((val)+(TEMP3_MULTIPLIER/2))/TEMP3_MULTIPLIER),0,255)) ++#define TEMP_FROM_REG(val) ((val)*TEMP_MULTIPLIER) ++#define TEMP_FROM_REG10(val) (((val)*TEMP_MULTIPLIER)/4) ++#define TEMP_TO_REG(val) (SENSORS_LIMIT(((val)<0? \ ++ (((val)-(TEMP_MULTIPLIER/2))/TEMP_MULTIPLIER):\ ++ ((val)+(TEMP_MULTIPLIER/2))/TEMP_MULTIPLIER),0,255)) ++ ++ ++/********* FAN RPM CONVERT ********/ ++/* But this chip saturates back at 0, not at 255 like all the other chips. ++ So, 0 means 0 RPM */ ++static inline u8 FAN_TO_REG(long rpm, int div) ++{ ++ if (rpm == 0) ++ return 0; ++ rpm = SENSORS_LIMIT(rpm, 1, 1000000); ++ return SENSORS_LIMIT((1310720 + rpm * div / 2) / (rpm * div), 1, 255); ++} ++ ++#define MIN_TO_REG(a,b) FAN_TO_REG(a,b) ++#define FAN_FROM_REG(val,div) ((val)==0?0:(val)==255?0:1310720/((val)*(div))) ++ ++ ++ ++struct vt1211_data { ++ struct i2c_client client; ++ struct class_device *class_dev; ++ struct semaphore lock; ++ enum chips type; ++ ++ struct semaphore update_lock; ++ char valid; /* !=0 if following fields are valid */ ++ unsigned long last_updated; /* In jiffies */ ++ ++ u8 in[7]; /* Register value */ ++ u8 in_max[7]; /* Register value */ ++ u8 in_min[7]; /* Register value */ ++ u16 temp[7]; /* Register value 10 bit */ ++ u8 temp_over[7]; /* Register value */ ++ u8 temp_hyst[7]; /* Register value */ ++ u8 fan[2]; /* Register value */ ++ u8 fan_min[2]; /* Register value */ ++ u8 fan_div[2]; /* Register encoding, shifted right */ ++ u16 alarms; /* Register encoding */ ++ u8 pwm[2]; /* Register value */ ++ u8 pwm_ctl; /* Register value */ ++ u8 vid; /* Register encoding */ ++ u8 vrm; ++ u8 uch_config; ++}; ++ ++static int vt1211_attach_adapter(struct i2c_adapter *adapter); ++static int vt1211_isa_attach_adapter(struct i2c_adapter *adapter); ++static int vt1211_detach_client(struct i2c_client *client); ++static struct vt1211_data *vt1211_update_device(struct device *dev); ++ ++#ifndef I2C_DRIVERID_VT1211 ++#define I2C_DRIVERID_VT1211 1032 ++#endif ++ ++static struct i2c_driver vt1211_driver = { ++ .driver = { ++ .owner = THIS_MODULE, ++ .name = "vt1211", ++ }, ++ .id = I2C_DRIVERID_VT1211, ++ .attach_adapter = vt1211_attach_adapter, ++ .detach_client = vt1211_detach_client, ++}; ++ ++static struct i2c_driver vt1211_isa_driver = { ++ .driver = { ++ .owner = THIS_MODULE, ++ .name = "vt1211-isa", ++ }, ++ .attach_adapter = vt1211_isa_attach_adapter, ++ .detach_client = vt1211_detach_client, ++}; ++ ++static inline int vt_rdval(struct i2c_client *client, u8 reg) ++{ ++ return (inb_p(client->addr + reg)); ++} ++ ++static inline void vt1211_write_value( ++ struct i2c_client *client, u8 reg, u8 value) ++{ ++ outb_p(value, client->addr + reg); ++} ++ ++static void vt1211_init_client(struct i2c_client *client) ++{ ++ struct vt1211_data *data = i2c_get_clientdata(client); ++ ++ data->vrm = vid_which_vrm(); ++ /* set "default" interrupt mode for alarms, which isn't the default */ ++ vt1211_write_value(client, VT1211_REG_TEMP1_CONFIG, 0); ++ vt1211_write_value(client, VT1211_REG_TEMP2_CONFIG, 0); ++} ++ ++#define IN_FROM_REG(val,n) ((val)*IN_MULTIPLIER) ++#define IN_TO_REG(val,n) (SENSORS_LIMIT( \ ++ (((val)+(IN_MULTIPLIER/2))/IN_MULTIPLIER),0,255)) ++ ++/* ---------------------------------------------------------------------- ++ Temerature file definitions; ++*/ ++ ++static ssize_t show_temp(struct device *dev, char *buf, int nr) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ if (nr == 2) { ++ return sprintf(buf, "%d\n", TEMP3_FROM_REG10(data->temp[nr])); ++ } ++ return sprintf(buf, "%d\n", TEMP_FROM_REG10(data->temp[nr])); ++} ++static ssize_t show_temp_over(struct device *dev, char *buf, int nr) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ if (nr == 2) { ++ return sprintf(buf, "%d\n", ++ TEMP3_FROM_REG(data->temp_over[nr])); ++ } ++ return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_over[nr])); ++} ++ ++static ssize_t set_temp_over( ++ struct device *dev, const char *buf, size_t count, int nr) ++{ ++ struct i2c_client *client = to_i2c_client(dev); ++ struct vt1211_data *data = i2c_get_clientdata(client); ++ long val = simple_strtol(buf, NULL, 10); ++ if (nr == 2) { ++ data->temp_over[nr] = TEMP3_TO_REG(val); ++ } else { ++ data->temp_over[nr] = TEMP_TO_REG(val); ++ } ++ vt1211_write_value(client, ++ VT1211_REG_TEMP_OVER(nr + 1), ++ data->temp_over[nr]); ++ return count; ++} ++ ++static ssize_t show_temp_hyst(struct device *dev, char *buf, int nr) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ if (nr == 2) { ++ return sprintf(buf, "%d\n", ++ TEMP3_FROM_REG(data->temp_hyst[nr])); ++ } ++ return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_hyst[nr])); ++} ++ ++static ssize_t set_temp_hyst( ++ struct device *dev, const char *buf, size_t count, int nr) ++{ ++ struct i2c_client *client = to_i2c_client(dev); ++ struct vt1211_data *data = i2c_get_clientdata(client); ++ long val = simple_strtol(buf, NULL, 10); ++ if (nr == 2) { ++ data->temp_hyst[nr] = TEMP3_TO_REG(val); ++ } else { ++ data->temp_hyst[nr] = TEMP_TO_REG(val); ++ } ++ vt1211_write_value(client, ++ VT1211_REG_TEMP_HYST(nr + 1), ++ data->temp_hyst[nr]); ++ return count; ++} ++ ++#define show_temp_offset(offset) \ ++static ssize_t show_temp_##offset (struct device *dev, struct device_attribute *attr, char *buf) \ ++{ \ ++ return show_temp(dev, buf, 0x##offset -1); \ ++} \ ++static ssize_t show_temp_over_##offset (struct device *dev, struct device_attribute *attr, char *buf)\ ++{ \ ++ return show_temp_over(dev, buf, 0x##offset -1); \ ++} \ ++static ssize_t set_temp_over_##offset ( \ ++ struct device *dev, struct device_attribute *attr, const char *buf, size_t count) \ ++{ \ ++ return set_temp_over(dev, buf, count, 0x##offset - 1); \ ++} \ ++static ssize_t show_temp_hyst_##offset (struct device *dev, struct device_attribute *attr, char *buf) \ ++{ \ ++ return show_temp_hyst(dev, buf, 0x##offset -1); \ ++} \ ++static ssize_t set_temp_hyst_##offset ( \ ++ struct device *dev, struct device_attribute *attr, const char *buf, size_t count) \ ++{ \ ++ return set_temp_hyst(dev, buf, count, 0x##offset - 1); \ ++} \ ++static DEVICE_ATTR(temp##offset##_input, S_IRUGO, show_temp_##offset, NULL); \ ++static DEVICE_ATTR(temp##offset##_max, S_IRUGO | S_IWUSR, \ ++ show_temp_over_##offset, set_temp_over_##offset); \ ++static DEVICE_ATTR(temp##offset##_max_hyst, S_IRUGO | S_IWUSR, \ ++ show_temp_hyst_##offset, set_temp_hyst_##offset) ++ ++ ++show_temp_offset(1); ++show_temp_offset(2); ++show_temp_offset(3); ++show_temp_offset(4); ++show_temp_offset(5); ++show_temp_offset(6); ++show_temp_offset(7); ++ ++/* ---------------------------------------------------------------------- ++ uch_config; ++ */ ++ ++static ssize_t show_uch_config(struct device *dev, struct device_attribute *attr, char *buf) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ return sprintf(buf, "%d\n", data->uch_config & 0x7c); ++} ++ ++static ssize_t set_uch_config( ++ struct device *dev, struct device_attribute *attr, const char *buf, size_t count) ++{ ++ struct i2c_client *client = to_i2c_client(dev); ++ struct vt1211_data *data = vt1211_update_device(dev); ++ long val = simple_strtol(buf, NULL, 10); ++ data->uch_config = (data->uch_config & 0x83)|(val & 0x7c); ++ vt1211_write_value(client, VT1211_REG_UCH_CONFIG, data->uch_config); ++ return count; ++} ++ ++static DEVICE_ATTR(uch_config, S_IRUGO | S_IWUSR, ++ show_uch_config, set_uch_config); ++ ++/* ---------------------------------------------------------------------- ++ Fan definitions; ++ */ ++ ++static ssize_t show_fan(struct device *dev, char *buf, int nr) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ return sprintf(buf, "%d\n", ++ FAN_FROM_REG(data->fan[nr], ++ DIV_FROM_REG(data->fan_div[nr]))); ++} ++static ssize_t show_fan_min(struct device *dev, char *buf, int nr) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ return sprintf(buf, "%d\n", ++ FAN_FROM_REG(data->fan_min[nr], ++ DIV_FROM_REG(data->fan_div[nr]))); ++} ++static ssize_t set_fan_min( ++ struct device *dev, const char *buf, size_t count, int nr) ++{ ++ struct i2c_client *client = to_i2c_client(dev); ++ struct vt1211_data *data = i2c_get_clientdata(client); ++ long val = simple_strtol(buf, NULL, 10); ++ data->fan_min[nr] = MIN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); ++ vt1211_write_value(client, VT1211_REG_FAN_MIN(nr+1), ++ data->fan_min[nr]); ++ return count; ++} ++static ssize_t show_fan_div(struct device *dev, char *buf, int nr) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[nr])); ++} ++static ssize_t set_fan_div( ++ struct device *dev, const char *buf, size_t count, int nr) ++{ ++ struct i2c_client *client = to_i2c_client(dev); ++ struct vt1211_data *data = i2c_get_clientdata(client); ++ long val = simple_strtol(buf, NULL, 10); ++ int old = vt_rdval(client, VT1211_REG_FANDIV); ++ if (nr == 0) { ++ data->fan_div[0] = DIV_TO_REG(val); ++ old = (old & 0xcf) | (data->fan_div[0] << 4); ++ } else { ++ data->fan_div[1] = DIV_TO_REG(val); ++ old = (old & 0x3f) | (data->fan_div[1] << 6); ++ } ++ vt1211_write_value(client, VT1211_REG_FANDIV, old); ++ return count; ++} ++static ssize_t show_fan_pwm(struct device *dev, char *buf, int nr) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm[nr])); ++} ++static ssize_t set_fan_pwm( ++ struct device *dev, const char *buf, size_t count, int nr) ++{ ++ struct i2c_client *client = to_i2c_client(dev); ++ struct vt1211_data *data = i2c_get_clientdata(client); ++ long val = simple_strtol(buf, NULL, 10); ++ data->pwm[nr] = PWM_TO_REG(val); ++ vt1211_write_value(client, VT1211_REG_PWM(nr+1), data->pwm[nr]); ++ return count; ++} ++static ssize_t show_fan_pwm_ctl(struct device *dev, char *buf, int nr) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ return sprintf(buf, "%d\n",(data->pwm_ctl >> (3 + (4 * nr))) & 1); ++} ++static ssize_t set_fan_pwm_ctl( ++ struct device *dev, const char *buf, size_t count, int nr) ++{ ++ struct i2c_client *client = to_i2c_client(dev); ++ struct vt1211_data *data = i2c_get_clientdata(client); ++ long val = simple_strtol(buf, NULL, 10); ++ if (val) { ++ data->pwm_ctl |= (0x08 << (4 * nr)); ++ vt1211_write_value(client, VT1211_REG_PWM_CTL, data->pwm_ctl); ++ } else { ++ data->pwm_ctl &= ~ (0x08 << (4 * nr)); ++ vt1211_write_value(client, VT1211_REG_PWM_CTL, data->pwm_ctl); ++ } ++ return count; ++} ++ ++#define show_fan_offset(offset) \ ++static ssize_t show_fan_##offset (struct device *dev, struct device_attribute *attr, char *buf) \ ++{ \ ++ return show_fan(dev, buf, 0x##offset - 1); \ ++} \ ++static ssize_t show_fan_min_##offset (struct device *dev, struct device_attribute *attr, char *buf) \ ++{ \ ++ return show_fan_min(dev, buf, 0x##offset - 1); \ ++} \ ++static ssize_t set_fan_min_##offset ( \ ++ struct device *dev, struct device_attribute *attr, const char *buf, size_t count) \ ++{ \ ++ return set_fan_min(dev, buf, count, 0x##offset - 1); \ ++} \ ++static ssize_t show_fan_div_##offset (struct device *dev, struct device_attribute *attr, char *buf) \ ++{ \ ++ return show_fan_div(dev, buf, 0x##offset - 1); \ ++} \ ++static ssize_t set_fan_div_##offset ( \ ++ struct device *dev, struct device_attribute *attr, const char *buf, size_t count) \ ++{ \ ++ return set_fan_div(dev, buf, count, 0x##offset - 1); \ ++} \ ++static ssize_t show_fan_pwm_##offset (struct device *dev, struct device_attribute *attr, char *buf) \ ++{ \ ++ return show_fan_pwm(dev, buf, 0x##offset - 1); \ ++} \ ++static ssize_t set_fan_pwm_##offset ( \ ++ struct device *dev, struct device_attribute *attr, const char *buf, size_t count) \ ++{ \ ++ return set_fan_pwm(dev, buf, count, 0x##offset - 1); \ ++} \ ++static ssize_t show_fan_pwm_ctl_##offset (struct device *dev, struct device_attribute *attr, char *buf)\ ++{ \ ++ return show_fan_pwm_ctl(dev, buf, 0x##offset - 1); \ ++} \ ++static ssize_t set_fan_pwm_ctl_##offset ( \ ++ struct device *dev, struct device_attribute *attr, const char *buf, size_t count) \ ++{ \ ++ return set_fan_pwm_ctl(dev, buf, count, 0x##offset - 1); \ ++} \ ++static DEVICE_ATTR(fan##offset##_input, S_IRUGO, show_fan_##offset, NULL); \ ++static DEVICE_ATTR(fan##offset##_min, S_IRUGO | S_IWUSR, \ ++ show_fan_min_##offset, set_fan_min_##offset); \ ++static DEVICE_ATTR(fan##offset##_div, S_IRUGO | S_IWUSR, \ ++ show_fan_div_##offset, set_fan_div_##offset); \ ++static DEVICE_ATTR(fan##offset##_pwm, S_IRUGO | S_IWUSR, \ ++ show_fan_pwm_##offset, set_fan_pwm_##offset); \ ++static DEVICE_ATTR(fan##offset##_pwm_enable, S_IRUGO | S_IWUSR, \ ++ show_fan_pwm_ctl_##offset, set_fan_pwm_ctl_##offset); ++ ++show_fan_offset(1); ++show_fan_offset(2); ++ ++/* ---------------------------------------------------------------------- ++ Voltage (in) file definitions; ++*/ ++ ++static ssize_t show_in(struct device *dev, char *buf, int nr) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ return sprintf(buf, "%d\n", IN_FROM_REG(data->in[nr], nr)); ++} ++static ssize_t show_in_min(struct device *dev, char *buf, int nr) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ return sprintf(buf, "%d\n", IN_FROM_REG(data->in_min[nr], nr)); ++} ++static ssize_t set_in_min( ++ struct device *dev, const char *buf, size_t count, int nr) ++{ ++ struct i2c_client *client = to_i2c_client(dev); ++ struct vt1211_data *data = i2c_get_clientdata(client); ++ long val = simple_strtol(buf, NULL, 10); ++ data->in_min[nr] = IN_TO_REG(val, nr); ++ vt1211_write_value(client, VT1211_REG_IN_MIN(nr), data->in_min[nr]); ++ return count; ++} ++static ssize_t show_in_max(struct device *dev, char *buf, int nr) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ return sprintf(buf, "%d\n", IN_FROM_REG(data->in_max[nr], nr)); ++} ++static ssize_t set_in_max( ++ struct device *dev, const char *buf, size_t count, int nr) ++{ ++ struct i2c_client *client = to_i2c_client(dev); ++ struct vt1211_data *data = i2c_get_clientdata(client); ++ long val = simple_strtol(buf, NULL, 10); ++ data->in_max[nr] = IN_TO_REG(val, nr); ++ vt1211_write_value(client, VT1211_REG_IN_MAX(nr), data->in_max[nr]); ++ return count; ++} ++ ++#define show_in_offset(offset) \ ++static ssize_t show_in_##offset (struct device *dev, struct device_attribute *attr, char *buf) \ ++{ \ ++ return show_in(dev, buf, 0x##offset); \ ++} \ ++static ssize_t show_in_min_##offset (struct device *dev, struct device_attribute *attr, char *buf) \ ++{ \ ++ return show_in_min(dev, buf, 0x##offset); \ ++} \ ++static ssize_t set_in_min_##offset ( \ ++ struct device *dev, struct device_attribute *attr, const char *buf, size_t count) \ ++{ \ ++ return set_in_min(dev, buf, count, 0x##offset); \ ++} \ ++static ssize_t show_in_max_##offset (struct device *dev, struct device_attribute *attr, char *buf) \ ++{ \ ++ return show_in_max(dev, buf, 0x##offset); \ ++} \ ++static ssize_t set_in_max_##offset ( \ ++ struct device *dev, struct device_attribute *attr, const char *buf, size_t count) \ ++{ \ ++ return set_in_max(dev, buf, count, 0x##offset); \ ++} \ ++static DEVICE_ATTR(in##offset##_input, S_IRUGO, show_in_##offset, NULL); \ ++static DEVICE_ATTR(in##offset##_min, S_IRUGO | S_IWUSR, \ ++ show_in_min_##offset, set_in_min_##offset); \ ++static DEVICE_ATTR(in##offset##_max, S_IRUGO | S_IWUSR, \ ++ show_in_max_##offset, set_in_max_##offset); \ ++ ++show_in_offset(0); ++show_in_offset(1); ++show_in_offset(2); ++show_in_offset(3); ++show_in_offset(4); ++show_in_offset(5); ++show_in_offset(6); ++ ++static ssize_t show_vid(struct device *dev, struct device_attribute *attr, char *buf) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ return sprintf(buf, "%d\n", vid_from_reg(data->vid, data->vrm)); ++} ++static DEVICE_ATTR(in0_ref, S_IRUGO, show_vid, NULL); ++ ++static ssize_t show_vrm(struct device *dev, struct device_attribute *attr, char *buf) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ return sprintf(buf, "%d\n", data->vrm); ++} ++static ssize_t set_vrm( ++ struct device *dev, struct device_attribute *attr, const char *buf, size_t count) ++{ ++ struct i2c_client *client = to_i2c_client(dev); ++ struct vt1211_data *data = i2c_get_clientdata(client); ++ long val = simple_strtol(buf, NULL, 10); ++ data->vrm = val; ++ return count; ++} ++static DEVICE_ATTR(vrm, S_IRUGO | S_IWUSR, show_vrm, set_vrm); ++ ++/* ---------------------------------------------------------------------- ++ alarm file definitions; ++*/ ++ ++static ssize_t show_alarms(struct device *dev, struct device_attribute *attr, char *buf) ++{ ++ struct vt1211_data *data = vt1211_update_device(dev); ++ return sprintf(buf, "%d\n", data->alarms); ++} ++static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL); ++ ++ ++/* ++ END of file definitions ++ ---------------------------------------------------------------------- */ ++ ++/* ++ (vt1211_update_device is almost unchanged since 2.4.x) ++ */ ++static struct vt1211_data *vt1211_update_device(struct device *dev) ++{ ++ struct i2c_client *client = to_i2c_client(dev); ++ struct vt1211_data *data = i2c_get_clientdata(client); ++ ++ down(&data->update_lock); ++ ++ if ((jiffies - data->last_updated > HZ + HZ / 2) || ++ (jiffies < data->last_updated) || !data->valid) { ++ ++ int i, j; ++ ++ dev_dbg(&client->dev, "Starting vt1211 update\n"); ++ ++ for (i = 0; i <= 5; i++) { ++ if(ISVOLT(i, data->uch_config)) { ++ data->in[i] =vt_rdval(client,VT1211_REG_IN(i)); ++ data->in_min[i] = vt_rdval(client, ++ VT1211_REG_IN_MIN(i)); ++ data->in_max[i] = vt_rdval(client, ++ VT1211_REG_IN_MAX(i)); ++ } else { ++ data->in[i] = 0; ++ data->in_min[i] = 0; ++ data->in_max[i] = 0; ++ } ++ } ++ for (i = 1; i <= 2; i++) { ++ data->fan[i - 1] = vt_rdval(client, VT1211_REG_FAN(i)); ++ data->fan_min[i - 1] = vt_rdval(client, ++ VT1211_REG_FAN_MIN(i)); ++ } ++ for (i = 2; i <= 7; i++) { ++ if(ISTEMP(i, data->uch_config)) { ++ data->temp[i - 1] = vt_rdval(client, ++ VT1211_REG_TEMP(i)) << 2; ++ switch(i) { ++ case 1: ++ /* ? */ ++ j = 0; ++ break; ++ case 2: ++ j = (vt_rdval(client, ++ VT1211_REG_TEMP_LOW2) & ++ 0x30) >> 4; ++ break; ++ case 3: ++ j = (vt_rdval(client, ++ VT1211_REG_TEMP_LOW3) & ++ 0xc0) >> 6; ++ break; ++ case 4: ++ case 5: ++ case 6: ++ case 7: ++ default: ++ j = (vt_rdval(client, ++ VT1211_REG_TEMP_LOW47) >> ++ ((i-4)*2)) & 0x03; ++ break; ++ ++ } ++ data->temp[i - 1] |= j; ++ data->temp_over[i - 1] = vt_rdval(client, ++ VT1211_REG_TEMP_OVER(i)); ++ data->temp_hyst[i - 1] = vt_rdval(client, ++ VT1211_REG_TEMP_HYST(i)); ++ } else { ++ data->temp[i - 1] = 0; ++ data->temp_over[i - 1] = 0; ++ data->temp_hyst[i - 1] = 0; ++ } ++ } ++ ++ for (i = 1; i <= 2; i++) { ++ data->fan[i - 1] = vt_rdval(client, VT1211_REG_FAN(i)); ++ data->fan_min[i - 1] = vt_rdval(client, ++ VT1211_REG_FAN_MIN(i)); ++ data->pwm[i - 1] = vt_rdval(client, VT1211_REG_PWM(i)); ++ } ++ ++ data->pwm_ctl = vt_rdval(client, VT1211_REG_PWM_CTL); ++ i = vt_rdval(client, VT1211_REG_FANDIV); ++ data->fan_div[0] = (i >> 4) & 0x03; ++ data->fan_div[1] = i >> 6; ++ data->alarms = vt_rdval(client, VT1211_REG_ALARM1) | ++ (vt_rdval(client, VT1211_REG_ALARM2) << 8); ++ data->vid= vt_rdval(client, VT1211_REG_VID) & 0x1f; ++ ++ data->last_updated = jiffies; ++ data->valid = 1; ++ } ++ ++ up(&data->update_lock); ++ ++ return data; ++} ++ ++/* This function is called by i2c_probe */ ++int vt1211_detect(struct i2c_adapter *adapter, int address, int kind) ++{ ++ struct i2c_client *new_client = 0; ++ struct vt1211_data *data; ++ int err = 0; ++ u8 val; ++ ++ if (!i2c_is_isa_adapter(adapter)) { ++ return 0; ++ } ++ ++ if(force_addr) { ++ printk("vt1211.o: forcing ISA address 0x%04X\n", address); ++ address = force_addr & ~(VT1211_EXTENT - 1); ++ superio_enter(); ++ superio_select(); ++ superio_outb(VT1211_BASE_REG, address >> 8); ++ superio_outb(VT1211_BASE_REG+1, address & 0xff); ++ superio_exit(); ++ } ++ ++ superio_enter(); ++ superio_select(); ++ if((val = 0x01 & superio_inb(VT1211_ACT_REG)) == 0) ++ superio_outb(VT1211_ACT_REG, 1); ++ superio_exit(); ++ ++ if (!request_region(address, VT1211_EXTENT, vt1211_isa_driver.driver.name)) { ++ return -EBUSY; ++ } ++ ++ /* OK. For now, we presume we have a valid client. We now ++ create the client structure, even though we cannot fill it ++ completely yet. ++ */ ++ ++ if (!(data = kmalloc(sizeof(struct vt1211_data), GFP_KERNEL))) { ++ err = -ENOMEM; ++ goto ERROR1; ++ } ++ memset(data, 0, sizeof(struct vt1211_data)); ++ new_client = &data->client; ++ ++ init_MUTEX(&data->lock); ++ i2c_set_clientdata(new_client, data); ++ new_client->addr = address; ++ new_client->adapter = adapter; ++ new_client->driver = &vt1211_isa_driver; ++ ++ /* Fill in the remaining client fields and put into the global list */ ++ strlcpy(new_client->name, "vt1211", I2C_NAME_SIZE); ++ data->type = vt1211; ++ ++ data->valid = 0; ++ init_MUTEX(&data->update_lock); ++ ++ /* Tell the I2C layer a new client has arrived */ ++ if ((err = i2c_attach_client(new_client))) ++ goto ERROR1; ++ ++ vt1211_init_client(new_client); ++ ++ data->class_dev = hwmon_device_register(&new_client->dev); ++ if (IS_ERR(data->class_dev)) { ++ err = PTR_ERR(data->class_dev); ++ goto ERROR2; ++ } ++ ++ ++ device_create_file(&new_client->dev, &dev_attr_uch_config); ++ ++ device_create_file(&new_client->dev, &dev_attr_temp1_input); ++ device_create_file(&new_client->dev, &dev_attr_temp1_max); ++ device_create_file(&new_client->dev, &dev_attr_temp1_max_hyst); ++ device_create_file(&new_client->dev, &dev_attr_temp2_input); ++ device_create_file(&new_client->dev, &dev_attr_temp2_max); ++ device_create_file(&new_client->dev, &dev_attr_temp2_max_hyst); ++ device_create_file(&new_client->dev, &dev_attr_temp3_input); ++ device_create_file(&new_client->dev, &dev_attr_temp3_max); ++ device_create_file(&new_client->dev, &dev_attr_temp3_max_hyst); ++ device_create_file(&new_client->dev, &dev_attr_temp4_input); ++ device_create_file(&new_client->dev, &dev_attr_temp4_max); ++ device_create_file(&new_client->dev, &dev_attr_temp4_max_hyst); ++ device_create_file(&new_client->dev, &dev_attr_temp5_input); ++ device_create_file(&new_client->dev, &dev_attr_temp5_max); ++ device_create_file(&new_client->dev, &dev_attr_temp5_max_hyst); ++ device_create_file(&new_client->dev, &dev_attr_temp6_input); ++ device_create_file(&new_client->dev, &dev_attr_temp6_max); ++ device_create_file(&new_client->dev, &dev_attr_temp6_max_hyst); ++ device_create_file(&new_client->dev, &dev_attr_temp7_input); ++ device_create_file(&new_client->dev, &dev_attr_temp7_max); ++ device_create_file(&new_client->dev, &dev_attr_temp7_max_hyst); ++ ++ device_create_file(&new_client->dev, &dev_attr_fan1_input); ++ device_create_file(&new_client->dev, &dev_attr_fan2_input); ++ device_create_file(&new_client->dev, &dev_attr_fan1_div); ++ device_create_file(&new_client->dev, &dev_attr_fan2_div); ++ device_create_file(&new_client->dev, &dev_attr_fan1_min); ++ device_create_file(&new_client->dev, &dev_attr_fan2_min); ++ device_create_file(&new_client->dev, &dev_attr_fan1_pwm); ++ device_create_file(&new_client->dev, &dev_attr_fan2_pwm); ++ device_create_file(&new_client->dev, &dev_attr_fan1_pwm_enable); ++ device_create_file(&new_client->dev, &dev_attr_fan2_pwm_enable); ++ ++ device_create_file(&new_client->dev, &dev_attr_in0_ref); ++ device_create_file(&new_client->dev, &dev_attr_alarms); ++ device_create_file(&new_client->dev, &dev_attr_vrm); ++ device_create_file(&new_client->dev, &dev_attr_in0_input); ++ device_create_file(&new_client->dev, &dev_attr_in0_min); ++ device_create_file(&new_client->dev, &dev_attr_in0_max); ++ device_create_file(&new_client->dev, &dev_attr_in1_input); ++ device_create_file(&new_client->dev, &dev_attr_in1_min); ++ device_create_file(&new_client->dev, &dev_attr_in1_max); ++ device_create_file(&new_client->dev, &dev_attr_in2_input); ++ device_create_file(&new_client->dev, &dev_attr_in2_min); ++ device_create_file(&new_client->dev, &dev_attr_in2_max); ++ device_create_file(&new_client->dev, &dev_attr_in3_input); ++ device_create_file(&new_client->dev, &dev_attr_in3_min); ++ device_create_file(&new_client->dev, &dev_attr_in3_max); ++ device_create_file(&new_client->dev, &dev_attr_in4_input); ++ device_create_file(&new_client->dev, &dev_attr_in4_min); ++ device_create_file(&new_client->dev, &dev_attr_in4_max); ++ device_create_file(&new_client->dev, &dev_attr_in5_input); ++ device_create_file(&new_client->dev, &dev_attr_in5_min); ++ device_create_file(&new_client->dev, &dev_attr_in5_max); ++ device_create_file(&new_client->dev, &dev_attr_in6_input); ++ device_create_file(&new_client->dev, &dev_attr_in6_min); ++ device_create_file(&new_client->dev, &dev_attr_in6_max); ++ return 0; ++ ++ ERROR2: ++ i2c_detach_client(new_client); ++ ERROR1: ++ kfree(new_client); ++ release_region(address, VT1211_EXTENT); ++ return err; ++} ++ ++ ++static int vt1211_attach_adapter(struct i2c_adapter *adapter) ++{ ++ if (!(adapter->class & I2C_CLASS_HWMON)) ++ return 0; ++ return i2c_probe(adapter, &addr_data, vt1211_detect); ++} ++ ++static int vt1211_isa_attach_adapter(struct i2c_adapter *adapter) ++{ ++ return vt1211_detect(adapter, isa_address, -1); ++} ++ ++ ++static int vt1211_detach_client(struct i2c_client *client) ++{ ++ struct vt1211_data *data = i2c_get_clientdata(client); ++ int err; ++ ++ /* release ISA region first */ ++ release_region(client->addr, VT1211_EXTENT); ++ ++ hwmon_device_unregister(data->class_dev); ++ ++ /* now it's safe to scrap the rest */ ++ if ((err = i2c_detach_client(client))) { ++ return err; ++ } ++ ++ kfree(data); ++ return 0; ++} ++ ++static int vt1211_find(int *address) ++{ ++ u16 val; ++ ++ superio_enter(); ++ val= superio_inb(DEVID); ++ if(VT1211_DEVID != val) { ++ superio_exit(); ++ return -ENODEV; ++ } ++ ++ superio_select(); ++ val = (superio_inb(VT1211_BASE_REG) << 8) | ++ superio_inb(VT1211_BASE_REG + 1); ++ *address = val & ~(VT1211_EXTENT - 1); ++ if (*address == 0 && force_addr == 0) { ++ printk("vt1211: base address not set-use force_addr=0xaddr\n"); ++ superio_exit(); ++ return -ENODEV; ++ } ++ if (force_addr) ++ *address = force_addr; /* so detect will get called */ ++ ++ superio_exit(); ++ return 0; ++} ++ ++ ++ ++ ++ ++static int __init sm_vt1211_init(void) ++{ ++ int res; ++ ++ /*printk("vt1211 for 2.6: (%s %s) loaded ...\n", __DATE__, __TIME__); ++ */ ++ if (vt1211_find(&isa_address)) { ++ printk("vt1211: not detected, module not inserted.\n"); ++ return -ENODEV; ++ } ++ ++ res = i2c_add_driver(&vt1211_driver); ++ if (res) return res; ++ ++ res = i2c_isa_add_driver(&vt1211_isa_driver); ++ if (res) { ++ i2c_isa_del_driver(&vt1211_driver); ++ return res; ++ } ++ return 0; ++} ++ ++static void __exit sm_vt1211_exit(void) ++{ ++ i2c_isa_del_driver(&vt1211_isa_driver); ++ i2c_del_driver(&vt1211_driver); ++} ++ ++ ++ ++MODULE_AUTHOR("Mark D. Studebaker <mds...@ya...>, " ++ "Updated to 2.6 by Lars Ekman <emi...@ya...>"); ++MODULE_DESCRIPTION("VT1211 sensors"); ++MODULE_LICENSE("GPL"); ++ ++module_init(sm_vt1211_init); ++module_exit(sm_vt1211_exit); Modified: trunk/target/device/geni586/linux-geni586-wlan-2.6.16.12.config =================================================================== --- trunk/target/device/geni586/linux-geni586-wlan-2.6.16.12.config 2006-08-15 21:36:31 UTC (rev 263) +++ trunk/target/device/geni586/linux-geni586-wlan-2.6.16.12.config 2006-08-15 23:39:25 UTC (rev 264) @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Linux kernel version: 2.6.16.12 -# Mon May 15 11:50:17 2006 +# Tue Aug 15 19:36:25 2006 # CONFIG_X86_32=y CONFIG_SEMAPHORE_SLEEPERS=y @@ -216,7 +216,7 @@ CONFIG_ACPI=y # CONFIG_ACPI_AC is not set # CONFIG_ACPI_BATTERY is not set -CONFIG_ACPI_BUTTON=yes +CONFIG_ACPI_BUTTON=y # CONFIG_ACPI_VIDEO is not set # CONFIG_ACPI_HOTKEY is not set # CONFIG_ACPI_FAN is not set @@ -1188,9 +1188,60 @@ # # I2C support # -# CONFIG_I2C is not set +CONFIG_I2C=m +# CONFIG_I2C_CHARDEV is not set # +# I2C Algorithms +# +# CONFIG_I2C_ALGOBIT is not set +# CONFIG_I2C_ALGOPCF is not set +# CONFIG_I2C_ALGOPCA is not set + +# +# I2C Hardware Bus support +# +# CONFIG_I2C_ALI1535 is not set +# CONFIG_I2C_ALI1563 is not set +# CONFIG_I2C_ALI15X3 is not set +# CONFIG_I2C_AMD756 is not set +# CONFIG_I2C_AMD8111 is not set +# CONFIG_I2C_I801 is not set +# CONFIG_I2C_I810 is not set +# CONFIG_I2C_PIIX4 is not set +CONFIG_I2C_ISA=m +# CONFIG_I2C_NFORCE2 is not set +# CONFIG_I2C_PARPORT_LIGHT is not set +# CONFIG_I2C_PROSAVAGE is not set +# CONFIG_I2C_SAVAGE4 is not set +# CONFIG_SCx200_ACB is not set +# CONFIG_I2C_SIS5595 is not set +# CONFIG_I2C_SIS630 is not set +# CONFIG_I2C_SIS96X is not set +# CONFIG_I2C_STUB is not set +# CONFIG_I2C_VIA is not set +# CONFIG_I2C_VIAPRO is not set +# CONFIG_I2C_VOODOO3 is not set +# CONFIG_I2C_PCA_ISA is not set + +# +# Miscellaneous I2C Chip support +# +# CONFIG_SENSORS_DS1337 is not set +# CONFIG_SENSORS_DS1374 is not set +# CONFIG_SENSORS_EEPROM is not set +# CONFIG_SENSORS_PCF8574 is not set +# CONFIG_SENSORS_PCA9539 is not set +# CONFIG_SENSORS_PCF8591 is not set +# CONFIG_SENSORS_RTC8564 is not set +# CONFIG_SENSORS_MAX6875 is not set +# CONFIG_RTC_X1205_I2C is not set +# CONFIG_I2C_DEBUG_CORE is not set +# CONFIG_I2C_DEBUG_ALGO is not set +# CONFIG_I2C_DEBUG_BUS is not set +# CONFIG_I2C_DEBUG_CHIP is not set + +# # SPI support # # CONFIG_SPI is not set @@ -1204,8 +1255,47 @@ # # Hardware Monitoring support # -# CONFIG_HWMON is not set -# CONFIG_HWMON_VID is not set +CONFIG_HWMON=m +CONFIG_HWMON_VID=m +# CONFIG_SENSORS_ADM1021 is not set +# CONFIG_SENSORS_ADM1025 is not set +# CONFIG_SENSORS_ADM1026 is not set +# CONFIG_SENSORS_ADM1031 is not set +# CONFIG_SENSORS_ADM9240 is not set +# CONFIG_SENSORS_ASB100 is not set +# CONFIG_SENSORS_ATXP1 is not set +# CONFIG_SENSORS_DS1621 is not set +# CONFIG_SENSORS_F71805F is not set +# CONFIG_SENSORS_FSCHER is not set +# CONFIG_SENSORS_FSCPOS is not set +# CONFIG_SENSORS_GL518SM is not set +# CONFIG_SENSORS_GL520SM is not set +# CONFIG_SENSORS_IT87 is not set +# CONFIG_SENSORS_LM63 is not set +# CONFIG_SENSORS_LM75 is not set +# CONFIG_SENSORS_LM77 is not set +# CONFIG_SENSORS_LM78 is not set +# CONFIG_SENSORS_LM80 is not set +# CONFIG_SENSORS_LM83 is not set +# CONFIG_SENSORS_LM85 is not set +# CONFIG_SENSORS_LM87 is not set +# CONFIG_SENSORS_LM90 is not set +# CONFIG_SENSORS_LM92 is not set +# CONFIG_SENSORS_MAX1619 is not set +# CONFIG_SENSORS_PC87360 is not set +# CONFIG_SENSORS_SIS5595 is not set +# CONFIG_SENSORS_SMSC47M1 is not set +# CONFIG_SENSORS_SMSC47B397 is not set +# CONFIG_SENSORS_VIA686A is not set +CONFIG_SENSORS_VT1211=m +# CONFIG_SENSORS_VT8231 is not set +# CONFIG_SENSORS_W83781D is not set +# CONFIG_SENSORS_W83792D is not set +# CONFIG_SENSORS_W83L785TS is not set +# CONFIG_SENSORS_W83627HF is not set +# CONFIG_SENSORS_W83627EHF is not set +# CONFIG_SENSORS_HDAPS is not set +# CONFIG_HWMON_DEBUG_CHIP is not set # # Misc devices This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dha...@us...> - 2006-08-15 21:36:52
|
Revision: 263 Author: dhartman Date: 2006-08-15 14:36:31 -0700 (Tue, 15 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=263&view=rev Log Message: ----------- version update on openvpn Modified Paths: -------------- trunk/package/openvpn/openvpn.mk Modified: trunk/package/openvpn/openvpn.mk =================================================================== --- trunk/package/openvpn/openvpn.mk 2006-08-15 20:41:39 UTC (rev 262) +++ trunk/package/openvpn/openvpn.mk 2006-08-15 21:36:31 UTC (rev 263) @@ -6,9 +6,9 @@ # to enable that within busybox # ############################################################# -OPENVPN_SOURCE:=openvpn-2.0.5.tar.gz +OPENVPN_SOURCE:=openvpn-2.0.7.tar.gz OPENVPN_SITE:=http://openvpn.net/release/ -OPENVPN_DIR:=$(BUILD_DIR)/openvpn-2.0.5 +OPENVPN_DIR:=$(BUILD_DIR)/openvpn-2.0.7 OPENVPN_CAT:=zcat OPENVPN_BINARY:=openvpn OPENVPN_TARGET_BINARY:=usr/sbin/openvpn This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-15 20:41:42
|
Revision: 262 Author: krisk84 Date: 2006-08-15 13:41:39 -0700 (Tue, 15 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=262&view=rev Log Message: ----------- busybox version bump Modified Paths: -------------- trunk/package/busybox/busybox.mk Modified: trunk/package/busybox/busybox.mk =================================================================== --- trunk/package/busybox/busybox.mk 2006-08-15 20:01:37 UTC (rev 261) +++ trunk/package/busybox/busybox.mk 2006-08-15 20:41:39 UTC (rev 262) @@ -10,7 +10,7 @@ BUSYBOX_SOURCE:=busybox-snapshot.tar.bz2 BUSYBOX_SITE:=http://www.busybox.net/downloads/snapshots else -BUSYBOX_VER:=1.1.0 +BUSYBOX_VER:=1.1.3 BUSYBOX_DIR:=$(BUILD_DIR)/busybox-$(BUSYBOX_VER) BUSYBOX_SOURCE:=busybox-$(BUSYBOX_VER).tar.bz2 BUSYBOX_SITE:=http://www.busybox.net/downloads This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-15 20:01:46
|
Revision: 261 Author: krisk84 Date: 2006-08-15 13:01:37 -0700 (Tue, 15 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=261&view=rev Log Message: ----------- astshape init fix, remove support for opt Modified Paths: -------------- trunk/package/iproute2/astshape.init trunk/target/device/geni586/target_skeleton/boot/grub/grub.conf trunk/target/device/net4801/target_skeleton/boot/grub/grub.conf trunk/target/device/wrap/target_skeleton/boot/grub/grub.conf trunk/target/generic/target_skeleton/etc/rc Modified: trunk/package/iproute2/astshape.init =================================================================== --- trunk/package/iproute2/astshape.init 2006-08-15 19:52:10 UTC (rev 260) +++ trunk/package/iproute2/astshape.init 2006-08-15 20:01:37 UTC (rev 261) @@ -8,7 +8,7 @@ if [ "$EXTUP" -a "$EXTDOWN" ] then -if [ -x /usr/sbin/shape ] +if [ -x /usr/sbin/astshape ] then echo "Starting AstShape..." /usr/sbin/astshape Modified: trunk/target/device/geni586/target_skeleton/boot/grub/grub.conf =================================================================== --- trunk/target/device/geni586/target_skeleton/boot/grub/grub.conf 2006-08-15 19:52:10 UTC (rev 260) +++ trunk/target/device/geni586/target_skeleton/boot/grub/grub.conf 2006-08-15 20:01:37 UTC (rev 261) @@ -3,25 +3,25 @@ title AstLinux (Boot from IDE CF, USB KeyDisk) root (hd0,0) - kernel /boot/bzImage root=/dev/hda1 astlinux=i586 astkd=/dev/sda1 astopt=/dev/hda2 ide=nodma + kernel /boot/bzImage root=/dev/hda1 astlinux=i586 astkd=/dev/sda1 ide=nodma savedefault title AstLinux (Boot from USB, IDE CF/HD KeyDisk) root (hd0,0) - kernel /boot/bzImage root=/dev/sda1 astlinux=i586 astkd=/dev/hda1 astopt=/dev/sda2 ide=nodma rootdelay=10 + kernel /boot/bzImage root=/dev/sda1 astlinux=i586 astkd=/dev/hda1 ide=nodma rootdelay=10 savedefault title AstLinux (Boot from USB, Use third partition for KeyDisk) root (hd0,0) - kernel /boot/bzImage root=/dev/sda1 astlinux=i586 astkd=/dev/sda3 astopt=/dev/sda2 ide=nodma rootdelay=10 + kernel /boot/bzImage root=/dev/sda1 astlinux=i586 astkd=/dev/sda3 ide=nodma rootdelay=10 savedefault title AstLinux (Boot from IDE CF, IDE CF/HD KeyDisk - secondary master) root (hd0,0) - kernel /boot/bzImage root=/dev/hda1 astlinux=i586 astkd=/dev/hdc1 astopt=/dev/hda2 ide=nodma + kernel /boot/bzImage root=/dev/hda1 astlinux=i586 astkd=/dev/hdc1 ide=nodma savedefault title AstLinux (Boot from IDE CF, Use third partition for KeyDisk) root (hd0,0) - kernel /boot/bzImage root=/dev/hda1 astlinux=i586 astkd=/dev/hda3 astopt=/dev/hda2 ide=nodma + kernel /boot/bzImage root=/dev/hda1 astlinux=i586 astkd=/dev/hda3 ide=nodma savedefault Modified: trunk/target/device/net4801/target_skeleton/boot/grub/grub.conf =================================================================== --- trunk/target/device/net4801/target_skeleton/boot/grub/grub.conf 2006-08-15 19:52:10 UTC (rev 260) +++ trunk/target/device/net4801/target_skeleton/boot/grub/grub.conf 2006-08-15 20:01:37 UTC (rev 261) @@ -5,10 +5,10 @@ title AstLinux (Boot from CF - Use USB KeyDisk) root (hd0,0) - kernel /boot/bzImage root=/dev/hda1 console=ttyS0,19200n8 astlinux=net4801 astkd=/dev/sda1 astopt=/dev/hda2 ide=nodma + kernel /boot/bzImage root=/dev/hda1 console=ttyS0,19200n8 astlinux=net4801 astkd=/dev/sda1 ide=nodma savedefault title AstLinux (Boot from CF - Use third partition for KeyDisk) root (hd0,0) - kernel /boot/bzImage root=/dev/hda1 console=ttyS0,19200n8 astlinux=net4801 astkd=/dev/hda3 astopt=/dev/hda2 ide=nodma + kernel /boot/bzImage root=/dev/hda1 console=ttyS0,19200n8 astlinux=net4801 astkd=/dev/hda3 ide=nodma savedefault Modified: trunk/target/device/wrap/target_skeleton/boot/grub/grub.conf =================================================================== --- trunk/target/device/wrap/target_skeleton/boot/grub/grub.conf 2006-08-15 19:52:10 UTC (rev 260) +++ trunk/target/device/wrap/target_skeleton/boot/grub/grub.conf 2006-08-15 20:01:37 UTC (rev 261) @@ -5,10 +5,10 @@ title AstLinux (Boot from CF - Use USB KeyDisk) root (hd0,0) - kernel /boot/bzImage root=/dev/hda1 console=ttyS0,38400n8 astlinux=net4801 astkd=/dev/sda1 astopt=/dev/hda2 ide=nodma reboot=bios + kernel /boot/bzImage root=/dev/hda1 console=ttyS0,38400n8 astlinux=net4801 astkd=/dev/sda1 ide=nodma reboot=bios savedefault title AstLinux (Boot from CF - Use third partition for KeyDisk) root (hd0,0) - kernel /boot/bzImage root=/dev/hda1 console=ttyS0,38400n8 astlinux=net4801 astkd=/dev/hda3 astopt=/dev/hda2 ide=nodma reboot=bios + kernel /boot/bzImage root=/dev/hda1 console=ttyS0,38400n8 astlinux=net4801 astkd=/dev/hda3 ide=nodma reboot=bios savedefault Modified: trunk/target/generic/target_skeleton/etc/rc =================================================================== --- trunk/target/generic/target_skeleton/etc/rc 2006-08-15 19:52:10 UTC (rev 260) +++ trunk/target/generic/target_skeleton/etc/rc 2006-08-15 20:01:37 UTC (rev 261) @@ -200,13 +200,8 @@ if [ $OPTDEV ] then -echo "$OPTDEV /mnt/opt ext2 ro,noauto 0 0" >> /tmp/etc/fstab -export PATH=$PATH:/mnt/opt/sbin:/mnt/opt/bin -if `mount /mnt/opt > /dev/null 2> /dev/null` -then -echo "$OPTDEV mounted" +echo "ASTOPT IS NO LONGER SUPPORTED - $OPTDEV WILL NOT BE MOUNTED" fi -fi if [ "$KDDEV" ] then This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-15 19:52:16
|
Revision: 260 Author: krisk84 Date: 2006-08-15 12:52:10 -0700 (Tue, 15 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=260&view=rev Log Message: ----------- another openvpn fix Modified Paths: -------------- trunk/package/openvpn/openvpn.init Modified: trunk/package/openvpn/openvpn.init =================================================================== --- trunk/package/openvpn/openvpn.init 2006-08-15 17:32:14 UTC (rev 259) +++ trunk/package/openvpn/openvpn.init 2006-08-15 19:52:10 UTC (rev 260) @@ -61,8 +61,11 @@ } stop () { +if [ -f /tmp/etc/openvpn.conf ] +then echo "Stopping OpenVPN" killall openvpn +fi } case $1 in This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-15 17:32:18
|
Revision: 259 Author: krisk84 Date: 2006-08-15 10:32:14 -0700 (Tue, 15 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=259&view=rev Log Message: ----------- add stunnel config values Modified Paths: -------------- trunk/target/generic/target_skeleton/stat/etc/rc.conf Modified: trunk/target/generic/target_skeleton/stat/etc/rc.conf =================================================================== --- trunk/target/generic/target_skeleton/stat/etc/rc.conf 2006-08-15 17:21:55 UTC (rev 258) +++ trunk/target/generic/target_skeleton/stat/etc/rc.conf 2006-08-15 17:32:14 UTC (rev 259) @@ -431,6 +431,23 @@ #OVPN_PUSH2="" #OVPN_PUSH3="" +##Stunnel support. If your AstLinux build has been built with +##Stunnel, you can setup local stunnel connections here like so: +## "astlinux listening port:remote server:remote port" +##Seperate multiple tunnels with spaces +##Don't forget to open the external port with EXTOPEN! +#STUNNELSERVS="8443:192.168.111.11:80 993:mailserver:143" + +##Custom stunnel cert. By default we use the same cert as +##mini_httpd. +#STUNNELCERT="/mnt/kd/stunnel.pem" + +##Stunnel user/group id. By default we will run stunnel as nobody +##this is fine unless you need to run as some other user because +##you need to bind to a port > 1023, etc. You will also need to +##have a group by the same name. +#STUNNELUSER="nobody" + ###Vendor Tweaks ##ISSUE is what is presented on running gettys (console) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-15 17:22:09
|
Revision: 258 Author: krisk84 Date: 2006-08-15 10:21:55 -0700 (Tue, 15 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=258&view=rev Log Message: ----------- stunnel init script and init reorder fixes Modified Paths: -------------- trunk/package/stunnel/stunnel.mk Added Paths: ----------- trunk/package/stunnel/stunnel.init trunk/target/generic/target_skeleton/etc/runlevels/default/K25stunnel trunk/target/generic/target_skeleton/etc/runlevels/default/K90network trunk/target/generic/target_skeleton/etc/runlevels/default/K91iptables trunk/target/generic/target_skeleton/etc/runlevels/default/K92wifi trunk/target/generic/target_skeleton/etc/runlevels/default/K93zaptel trunk/target/generic/target_skeleton/etc/runlevels/default/K99errorled Removed Paths: ------------- trunk/target/generic/target_skeleton/etc/runlevels/default/K01zaptel trunk/target/generic/target_skeleton/etc/runlevels/default/K02wifi trunk/target/generic/target_skeleton/etc/runlevels/default/K25iptables trunk/target/generic/target_skeleton/etc/runlevels/default/K30network trunk/target/generic/target_skeleton/etc/runlevels/default/K35errorled Added: trunk/package/stunnel/stunnel.init =================================================================== --- trunk/package/stunnel/stunnel.init (rev 0) +++ trunk/package/stunnel/stunnel.init 2006-08-15 17:21:55 UTC (rev 258) @@ -0,0 +1,94 @@ +#!/bin/sh + +. /etc/rc.conf + +init () { +if [ "$STUNNELSERVS" ] +then + +mkdir /var/run/stunnel + +if [ "$STUNNELUSER" ] +then +SUSER="$STUNNELUSER" +else +SUSER=nobody +fi + +SCERT="/etc/ssl/mini_httpd.pem" + +if [ "$HTTPSCERT" ] +then +SCERT="$HTTPSCERT" +fi + +if [ "$STUNNELCERT" ] +then +SCERT="$STUNNELCERT" +fi + +echo "cert = $SCERT + +socket = l:TCP_NODELAY=1 +socket = r:TCP_NODELAY=1 + +setgid = $SUSER +setuid = $SUSER" > /tmp/etc/stunnel.conf + +for i in $STUNNELSERVS +do +LISTEN=`echo $i | cut -d: -f1` +HOST=`echo $i | cut -d: -f2` +SERVICE=`echo $i | cut -d: -f3` + +echo "[$HOST-$SERVICE] +accept = $LISTEN +connect = $HOST:$SERVICE +" >> /tmp/etc/stunnel.conf +done + +fi +} + +start () { +if [ -r /etc/stunnel.conf ] +then +echo "Starting stunnel..." +stunnel /etc/stunnel.conf +fi +} + +stop () { +if [ -r /var/run/stunnel/stunnel.pid ] +then +echo "Stopping stunnel..." +kill `cat /var/run/stunnel/stunnel.pid` > /dev/null 2> /dev/null +fi +} + +case $1 in + +start) +start +;; + +stop) +stop +;; + +init) +init +start +;; + +restart) +stop +sleep 2 +start +;; + +*) +echo "Usage: start|stop|restart" +;; + +esac Property changes on: trunk/package/stunnel/stunnel.init ___________________________________________________________________ Name: svn:executable + * Modified: trunk/package/stunnel/stunnel.mk =================================================================== --- trunk/package/stunnel/stunnel.mk 2006-08-15 15:22:21 UTC (rev 257) +++ trunk/package/stunnel/stunnel.mk 2006-08-15 17:21:55 UTC (rev 258) @@ -50,14 +50,18 @@ $(MAKE) CC=$(TARGET_CC) -C $(STUNNEL_DIR) $(TARGET_DIR)/usr/sbin/stunnel: $(STUNNEL_DIR)/src/stunnel - install -m 0755 -c $(STUNNEL_DIR)/src/stunnel $(TARGET_DIR)/usr/sbin/stunnel + ln -s /tmp/etc/stunnel.conf $(TARGET_DIR)/etc/stunnel.conf + install -D -m 0755 package/stunnel/stunnel.init $(TARGET_DIR)/etc/init.d/stunnel + install -D -m 0755 -c $(STUNNEL_DIR)/src/stunnel $(TARGET_DIR)/usr/sbin/stunnel $(STRIP) $(TARGET_DIR)/usr/bin/stunnel > /dev/null 2>&1 stunnel: uclibc $(TARGET_DIR)/usr/sbin/stunnel stunnel-clean: + $(MAKE) -C $(STUNNEL_DIR) clean rm $(TARGET_DIR)/usr/sbin/stunnel - $(MAKE) -C $(STUNNEL_DIR) clean + rm $(TARGET_DIR)/etc/init.d/stunnel + rm $(TARGET_DIR)/etc/stunnel.conf stunnel-dirclean: rm -rf $(STUNNEL_DIR) Deleted: trunk/target/generic/target_skeleton/etc/runlevels/default/K01zaptel =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/K01zaptel 2006-08-15 15:22:21 UTC (rev 257) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/K01zaptel 2006-08-15 17:21:55 UTC (rev 258) @@ -1 +0,0 @@ -link ../../init.d/zaptel \ No newline at end of file Deleted: trunk/target/generic/target_skeleton/etc/runlevels/default/K02wifi =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/K02wifi 2006-08-15 15:22:21 UTC (rev 257) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/K02wifi 2006-08-15 17:21:55 UTC (rev 258) @@ -1 +0,0 @@ -link ../../init.d/wifi \ No newline at end of file Deleted: trunk/target/generic/target_skeleton/etc/runlevels/default/K25iptables =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/K25iptables 2006-08-15 15:22:21 UTC (rev 257) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/K25iptables 2006-08-15 17:21:55 UTC (rev 258) @@ -1 +0,0 @@ -link ../../init.d/iptables \ No newline at end of file Added: trunk/target/generic/target_skeleton/etc/runlevels/default/K25stunnel =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/K25stunnel (rev 0) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/K25stunnel 2006-08-15 17:21:55 UTC (rev 258) @@ -0,0 +1 @@ +link ../init.d/stunnel \ No newline at end of file Property changes on: trunk/target/generic/target_skeleton/etc/runlevels/default/K25stunnel ___________________________________________________________________ Name: svn:special + * Deleted: trunk/target/generic/target_skeleton/etc/runlevels/default/K30network =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/K30network 2006-08-15 15:22:21 UTC (rev 257) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/K30network 2006-08-15 17:21:55 UTC (rev 258) @@ -1 +0,0 @@ -link ../../init.d/network \ No newline at end of file Deleted: trunk/target/generic/target_skeleton/etc/runlevels/default/K35errorled =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/K35errorled 2006-08-15 15:22:21 UTC (rev 257) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/K35errorled 2006-08-15 17:21:55 UTC (rev 258) @@ -1 +0,0 @@ -link ../../init.d/errorled \ No newline at end of file Copied: trunk/target/generic/target_skeleton/etc/runlevels/default/K90network (from rev 256, trunk/target/generic/target_skeleton/etc/runlevels/default/K30network) =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/K90network (rev 0) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/K90network 2006-08-15 17:21:55 UTC (rev 258) @@ -0,0 +1 @@ +link ../../init.d/network \ No newline at end of file Copied: trunk/target/generic/target_skeleton/etc/runlevels/default/K91iptables (from rev 256, trunk/target/generic/target_skeleton/etc/runlevels/default/K25iptables) =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/K91iptables (rev 0) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/K91iptables 2006-08-15 17:21:55 UTC (rev 258) @@ -0,0 +1 @@ +link ../../init.d/iptables \ No newline at end of file Copied: trunk/target/generic/target_skeleton/etc/runlevels/default/K92wifi (from rev 256, trunk/target/generic/target_skeleton/etc/runlevels/default/K02wifi) =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/K92wifi (rev 0) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/K92wifi 2006-08-15 17:21:55 UTC (rev 258) @@ -0,0 +1 @@ +link ../../init.d/wifi \ No newline at end of file Copied: trunk/target/generic/target_skeleton/etc/runlevels/default/K93zaptel (from rev 256, trunk/target/generic/target_skeleton/etc/runlevels/default/K01zaptel) =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/K93zaptel (rev 0) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/K93zaptel 2006-08-15 17:21:55 UTC (rev 258) @@ -0,0 +1 @@ +link ../../init.d/zaptel \ No newline at end of file Copied: trunk/target/generic/target_skeleton/etc/runlevels/default/K99errorled (from rev 256, trunk/target/generic/target_skeleton/etc/runlevels/default/K35errorled) =================================================================== --- trunk/target/generic/target_skeleton/etc/runlevels/default/K99errorled (rev 0) +++ trunk/target/generic/target_skeleton/etc/runlevels/default/K99errorled 2006-08-15 17:21:55 UTC (rev 258) @@ -0,0 +1 @@ +link ../../init.d/errorled \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kr...@us...> - 2006-08-15 15:22:29
|
Revision: 257 Author: krisk84 Date: 2006-08-15 08:22:21 -0700 (Tue, 15 Aug 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=257&view=rev Log Message: ----------- initial stunnel support Modified Paths: -------------- trunk/package/Config.in Added Paths: ----------- trunk/package/stunnel/ trunk/package/stunnel/Config.in trunk/package/stunnel/stunnel.mk Modified: trunk/package/Config.in =================================================================== --- trunk/package/Config.in 2006-08-15 01:45:38 UTC (rev 256) +++ trunk/package/Config.in 2006-08-15 15:22:21 UTC (rev 257) @@ -146,6 +146,7 @@ source "package/socat/Config.in" source "package/sox/Config.in" source "package/strace/Config.in" +source "package/stunnel/Config.in" source "package/sysfsutils/Config.in" source "package/sysklogd/Config.in" source "package/sysvinit/Config.in" Added: trunk/package/stunnel/Config.in =================================================================== --- trunk/package/stunnel/Config.in (rev 0) +++ trunk/package/stunnel/Config.in 2006-08-15 15:22:21 UTC (rev 257) @@ -0,0 +1,8 @@ +config BR2_PACKAGE_STUNNEL + bool "stunnel" + default n + help + Stunnel is a program that allows you to encrypt + arbitrary TCP connections inside SSL + + http://www.stunnel.org Added: trunk/package/stunnel/stunnel.mk =================================================================== --- trunk/package/stunnel/stunnel.mk (rev 0) +++ trunk/package/stunnel/stunnel.mk 2006-08-15 15:22:21 UTC (rev 257) @@ -0,0 +1,73 @@ +############################################################# +# +# stunnel +# +############################################################# +STUNNEL_VER:=4.15 +STUNNEL_SOURCE:=stunnel-$(STUNNEL_VER).tar.gz +STUNNEL_SITE:=http://www.stunnel.org/download/stunnel/src +STUNNEL_CAT:=zcat +STUNNEL_DIR:=$(BUILD_DIR)/stunnel-$(STUNNEL_VER) + + +$(DL_DIR)/$(STUNNEL_SOURCE): + $(WGET) -P $(DL_DIR) $(STUNNEL_SITE)/$(STUNNEL_SOURCE) + +stunnel-source: $(DL_DIR)/$(STUNNEL_SOURCE) + +$(STUNNEL_DIR)/.unpacked: $(DL_DIR)/$(STUNNEL_SOURCE) + $(STUNNEL_CAT) $(DL_DIR)/$(STUNNEL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + toolchain/patch-kernel.sh $(STUNNEL_DIR) package/stunnel stunnel\*.patch + touch $(STUNNEL_DIR)/.unpacked + +$(STUNNEL_DIR)/.configured: $(STUNNEL_DIR)/.unpacked + (cd $(STUNNEL_DIR); rm -rf config.cache; \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + ac_cv_file___dev_ptmx_=yes \ + ac_cv_file___dev_ptc_=no \ + ac_cv_file___dev_urandom_=yes \ + ./configure \ + --target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --build=$(GNU_HOST_NAME) \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --libexecdir=/lib \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --with-ssl=$(STAGING_DIR) \ + --disable-libwrap \ + ); + touch $(STUNNEL_DIR)/.configured + +$(STUNNEL_DIR)/src/stunnel: $(STUNNEL_DIR)/.configured + $(MAKE) CC=$(TARGET_CC) -C $(STUNNEL_DIR) + +$(TARGET_DIR)/usr/sbin/stunnel: $(STUNNEL_DIR)/src/stunnel + install -m 0755 -c $(STUNNEL_DIR)/src/stunnel $(TARGET_DIR)/usr/sbin/stunnel + $(STRIP) $(TARGET_DIR)/usr/bin/stunnel > /dev/null 2>&1 + +stunnel: uclibc $(TARGET_DIR)/usr/sbin/stunnel + +stunnel-clean: + rm $(TARGET_DIR)/usr/sbin/stunnel + $(MAKE) -C $(STUNNEL_DIR) clean + +stunnel-dirclean: + rm -rf $(STUNNEL_DIR) + + +############################################################# +# +# Toplevel Makefile options +# +############################################################# +ifeq ($(strip $(BR2_PACKAGE_STUNNEL)),y) +TARGETS+=stunnel +endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |