envfs-commits Mailing List for /env file system
Status: Pre-Alpha
Brought to you by:
lethal
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(28) |
Oct
(7) |
Nov
|
Dec
|
---|
From: Paul M. <le...@us...> - 2001-10-13 03:06:49
|
Update of /cvsroot/envfs/envfs In directory usw-pr-cvs1:/tmp/cvs-serv5400 Modified Files: ChangeLog.envfs Added Files: AGAINST-2.4.12 Removed Files: AGAINST-2.4.11 Log Message: Sync with 2.4.12 --- NEW FILE: AGAINST-2.4.12 --- Index: ChangeLog.envfs =================================================================== RCS file: /cvsroot/envfs/envfs/ChangeLog.envfs,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ChangeLog.envfs 2001/10/10 19:14:45 1.6 +++ ChangeLog.envfs 2001/10/13 03:06:46 1.7 @@ -1,3 +1,9 @@ +2001-10-12 Paul Mundt <le...@ch...> + + * AGAINST-2.4.12: New file. + + Sync with 2.4.12. + 2001-10-09 Paul Mundt <le...@ch...> * AGAINST-2.4.11: New file. @@ -5,7 +11,7 @@ * fs/Makefile: Add jffs2. * fs/Config.in: Add jffs2. - Sync with 2.4.11 + Sync with 2.4.11. * AGAINST-2.4.10: New file. * Documentation/Configure.help: Documentation updates. --- AGAINST-2.4.11 DELETED --- |
From: Paul M. <le...@us...> - 2001-10-10 19:14:49
|
Update of /cvsroot/envfs/envfs In directory usw-pr-cvs1:/tmp/cvs-serv21567 Modified Files: ChangeLog.envfs Added Files: AGAINST-2.4.11 Removed Files: AGAINST-2.4.10 Log Message: Sync with 2.4.11 --- NEW FILE: AGAINST-2.4.11 --- Index: ChangeLog.envfs =================================================================== RCS file: /cvsroot/envfs/envfs/ChangeLog.envfs,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ChangeLog.envfs 2001/10/10 19:06:24 1.5 +++ ChangeLog.envfs 2001/10/10 19:14:45 1.6 @@ -1,6 +1,13 @@ 2001-10-09 Paul Mundt <le...@ch...> - * AGAINST-2.4.10 New file. + * AGAINST-2.4.11: New file. + * Documentation/Configure.help: More documentation updates. + * fs/Makefile: Add jffs2. + * fs/Config.in: Add jffs2. + + Sync with 2.4.11 + + * AGAINST-2.4.10: New file. * Documentation/Configure.help: Documentation updates. * fs/Makefile: Cosmetic cleanup. --- AGAINST-2.4.10 DELETED --- |
From: Paul M. <le...@us...> - 2001-10-10 19:14:49
|
Update of /cvsroot/envfs/envfs/fs In directory usw-pr-cvs1:/tmp/cvs-serv21567/fs Modified Files: Config.in Makefile Log Message: Sync with 2.4.11 Index: Config.in =================================================================== RCS file: /cvsroot/envfs/envfs/fs/Config.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Config.in 2001/09/19 03:21:42 1.3 +++ Config.in 2001/10/10 19:14:45 1.4 @@ -26,9 +26,14 @@ dep_tristate ' UMSDOS: Unix-like file system on top of standard MSDOS fs' CONFIG_UMSDOS_FS $CONFIG_MSDOS_FS dep_tristate ' VFAT (Windows-95) fs support' CONFIG_VFAT_FS $CONFIG_FAT_FS dep_tristate 'EFS file system support (read only) (EXPERIMENTAL)' CONFIG_EFS_FS $CONFIG_EXPERIMENTAL -dep_tristate 'Journalling Flash File System (JFFS) support (EXPERIMENTAL)' CONFIG_JFFS_FS $CONFIG_EXPERIMENTAL $CONFIG_MTD +dep_tristate 'Journalling Flash File System (JFFS) support' CONFIG_JFFS_FS $CONFIG_MTD if [ "$CONFIG_JFFS_FS" = "y" -o "$CONFIG_JFFS_FS" = "m" ] ; then int 'JFFS debugging verbosity (0 = quiet, 3 = noisy)' CONFIG_JFFS_FS_VERBOSE 0 + bool 'JFFS stats available in /proc filesystem' CONFIG_JFFS_PROC_FS +fi +dep_tristate 'Journalling Flash File System v2 (JFFS2) support (EXPERIMENTAL)' CONFIG_JFFS2_FS $CONFIG_EXPERIMENTAL $CONFIG_MTD +if [ "$CONFIG_JFFS2_FS" != "n" ] ; then + int 'JFFS2 debugging verbosity (0 = quiet, 3 = noisy)' CONFIG_JFFS2_FS_DEBUG 0 fi tristate 'Compressed ROM file system support' CONFIG_CRAMFS bool 'Virtual memory file system support (former shm fs)' CONFIG_TMPFS Index: Makefile =================================================================== RCS file: /cvsroot/envfs/envfs/fs/Makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Makefile 2001/10/10 19:06:24 1.5 +++ Makefile 2001/10/10 19:14:45 1.6 @@ -14,7 +14,7 @@ super.o block_dev.o char_dev.o stat.o exec.o pipe.o namei.o \ fcntl.o ioctl.o readdir.o select.o fifo.o locks.o \ dcache.o inode.o attr.o bad_inode.o file.o iobuf.o dnotify.o \ - filesystems.o + filesystems.o namespace.o ifeq ($(CONFIG_QUOTA),y) obj-y += dquot.o @@ -52,6 +52,7 @@ subdir-$(CONFIG_UFS_FS) += ufs subdir-$(CONFIG_EFS_FS) += efs subdir-$(CONFIG_JFFS_FS) += jffs +subdir-$(CONFIG_JFFS2_FS) += jffs2 subdir-$(CONFIG_AFFS_FS) += affs subdir-$(CONFIG_ROMFS_FS) += romfs subdir-$(CONFIG_QNX4FS_FS) += qnx4 |
From: Paul M. <le...@us...> - 2001-10-10 19:14:48
|
Update of /cvsroot/envfs/envfs/Documentation In directory usw-pr-cvs1:/tmp/cvs-serv21567/Documentation Modified Files: Configure.help Log Message: Sync with 2.4.11 Index: Configure.help =================================================================== RCS file: /cvsroot/envfs/envfs/Documentation/Configure.help,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Configure.help 2001/10/10 19:06:24 1.2 +++ Configure.help 2001/10/10 19:14:45 1.3 @@ -120,18 +120,39 @@ If you don't know what to do here, say N. -APIC and IO-APIC Support on Uniprocessors +Multiquad support for NUMA systems +CONFIG_MULTIQUAD + This option is used for getting Linux to run on a (IBM/Sequent) NUMA + multiquad box. This changes the way that processors are bootstrapped, + and uses Clustered Logical APIC addressing mode instead of Flat Logical. + You will need a new lynxer.elf file to flash your firmware with - send + email to Mar...@us... + +IO-APIC Support on Uniprocessors CONFIG_X86_UP_IOAPIC - APIC (Advanced Programmable Interrupt Controller) is a scheme for - delivering hardware interrupt requests to the CPU. It is commonly - used on systems with several CPU's. If you have a single-CPU system - which uses APIC, you can say Y here to use it. If you say Y here - even though your machine doesn't have APIC, then the kernel will - still run with no slowdown at all. + An IO-APIC (I/O Advanced Programmable Interrupt Controller) is an + SMP-capable replacement for PC-style interrupt controllers. Most + SMP systems and a small number of uniprocessor systems have one. + If you have a single-CPU system with an IO-APIC, you can say Y here + to use it. If you say Y here even though your machine doesn't have + an IO-APIC, then the kernel will still run with no slowdown at all. - If you have system with several CPU's, you do not need to say Y - here: APIC will be used automatically. + If you have a system with several CPUs, you do not need to say Y + here: the IO-APIC will be used automatically. +Local APIC Support on Uniprocessors +CONFIG_X86_UP_APIC + A local APIC (Advanced Programmable Interrupt Controller) is an + integrated interrupt controller in the CPU. If you have a single-CPU + system which has a processor with a local APIC, you can say Y here to + enable and use it. If you say Y here even though your machine doesn't + have a local APIC, then the kernel will still run with no slowdown at + all. The local APIC supports CPU-generated self-interrupts (timer, + performance counters), and the NMI watchdog which detects hard lockups. + + If you have a system with several CPUs, you do not need to say Y + here: the local APIC will be used automatically. + Kernel math emulation CONFIG_MATH_EMULATION Linux can emulate a math coprocessor (used for floating point @@ -1143,6 +1164,29 @@ devices (hard disks, CD-ROM drives, etc.) that are connected to the builtin IDE interface. +MPC8xx IDE support +CONFIG_BLK_DEV_MPC8xx_IDE + This option provides support for IDE on Motorola MPC8xx Systems. + Please see 'Type of MPC8xx IDE interface' for details. + + If unsure, say N. + +Type of MPC8xx IDE interface +CONFIG_IDE_8xx_PCCARD + Select how the IDE devices are connected to the MPC8xx system: + + 8xx_PCCARD uses the 8xx internal PCMCIA interface in combination + with a PC Card (e.g. ARGOSY portable Hard Disk Adapter), + ATA PC Card HDDs or ATA PC Flash Cards (example: TQM8xxL + systems) + + 8xx_DIRECT is used for directly connected IDE devices using the 8xx + internal PCMCIA interface (example: IVMS8 systems) + + EXT_DIRECT is used for IDE devices directly connected to the 8xx + bus using some glue logic, but _not_ the 8xx internal + PCMCIA interface (example: IDIF860 systems) + ICS IDE interface support CONFIG_BLK_DEV_IDE_ICSIDE On Acorn systems, say Y here if you wish to use the ICS IDE @@ -2554,10 +2598,10 @@ module, say M here and read Documentation/modules.txt. The module will be called agpgart.o. -Intel 440LX/BX/GX/815/840/850 support +Intel 440LX/BX/GX/815/830M/840/850 support CONFIG_AGP_INTEL This option gives you AGP support for the GLX component of the - XFree86 4.x on Intel 440LX/BX/GX, 815, 840 and 850 chipsets. + XFree86 4.x on Intel 440LX/BX/GX, 815, 830M, 840 and 850 chipsets. For the moment, you should probably say N, unless you want to test the GLX component for XFree86 3.3.6, which can be downloaded from @@ -2565,9 +2609,9 @@ Intel I810/I810 DC100/I810e support CONFIG_AGP_I810 - This option gives you AGP support for the Xserver on the Intel 810 - and 815 chipset boards for their on-board integrated graphics. This - is required to do any useful video modes with these boards. + This option gives you AGP support for the Xserver on the Intel 810, + 830M and 815 chipset boards for their on-board integrated graphics. + This is required to do any useful video modes with these boards. VIA chipset support CONFIG_AGP_VIA @@ -7593,6 +7637,53 @@ location). You also want to check out the PCMCIA-HOWTO, available from http://www.linuxdoc.org/docs.html#howto . +Hermes chipset 802.11b support (Orinoco/Prism2/Symbol cards) +CONFIG_HERMES + A driver for 802.11b wireless cards based based on the "Hermes" or + Intersil HFA384x (Prism 2) MAC controller. This includes the vast + majority of the PCMCIA 802.11b cards (which are nearly all rebadges) + - except for the Cisco/Aironet cards. Cards supported include the + Apple Airport (not a PCMCIA card), WavelanIEEE/Orinoco, + Cabletron/EnteraSys Roamabout, ELSA AirLancer, MELCO Buffalo, Avaya, + IBM High Rate Wireless, Farralon Syyline, Samsung MagicLAN, Netgear + MA401, LinkSys WPC-11, D-Link DWL-650, 3Com AirConnect, Intel + PRO/Wireless, and Symbol Spectrum24 High Rate amongst others. + + This option includes the guts of the driver, but in order to + actually use a card you will also need to enable support for PCMCIA + Hermes cards, PLX9052 based PCI adaptors or the Apple Airport below. + + You will also very likely also need the Wireless Tools in order to + configure your card and that /etc/pcmcia/wireless.opts works : + http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html + +Apple Airport support (built-in) +CONFIG_APPLE_AIRPORT + Enable support for the Apple Airport card (which is essentially a + Lucent Orinoco card with a non-standard interface) built into some + newer Apple Macintosh machines. + +Hermes 802.11b in PLX9052 based PCI adaptor support +CONFIG_PLX_HERMES + Enable support for PCMCIA cards supported by the "Hermes" (aka + orinoco_cs) driver when used in PLX9052 based PCI adaptors. These + adaptors are not a full PCMCIA controller but act as a more limited + PCI <-> PCMCIA bridge. Several vendors sell such adaptors so that + 802.11b PCMCIA cards can be used in desktop machines. The Netgear + MA301 is such an adaptor. + + Support for these adaptors is so far still incomplete and buggy. + You have been warned. + +Hermes PCMCIA card support +CONFIG_PCMCIA_HERMES + Enable support for PCMCIA 802.11b cards using the Hermes or Intersil + HFA384x (Prism 2) chipset. To use your PC-cards, you will need + supporting software from David Hinds' pcmcia-cs package (see the + file Documentation/Changes for location). You also want to check out + the PCMCIA-HOWTO, available from + http://www.linuxdoc.org/docs.html#howto . + Hermes support (Orinoco/WavelanIEEE/PrismII/Symbol 802.11b cards) CONFIG_PCMCIA_HERMES A driver for "Hermes" chipset based PCMCIA wireless adaptors, such @@ -15728,24 +15819,17 @@ Creative EMU10K1 based PCI sound cards CONFIG_SOUND_EMU10K1 Say Y or M if you have a PCI sound card using the EMU10K1 chipset, - such as the Creative SBLive!, SB PCI512 or Emu-APS. - - For more information about the degree of support for the different - card models please check: + such as the various Creative SBLive!, SB PCI512 or Emu-APS. - http://opensource.creative.com + For more information on this driver and the degree of support for the + different card models please check <http://opensource.creative.com>. It is now possible to load dsp microcode patches into the EMU10K1 chip. These patches are used to implement real time sound processing - effects which include for example: signal routing, bass/treble control, - AC3 passthrough, ... - Userspace tools to create new patches and load/unload them can be found - at the above link. You need to get the source snapshot and then type: - - % make tools - % make install-tools - - in the top directory. + effects which include for example: signal routing, bass/treble + control, AC3 passthrough, ... + Userspace tools to create new patches and load/unload them can be + found at <http://opensource.creative.com/dist.html>. Creative EMU10K1 MIDI CONFIG_MIDI_EMU10K1 @@ -18501,6 +18585,16 @@ and Sony PCG-505TX. If you want to compile it as a module, say M here and read Documentation/modules.txt. The module will be called smc-ircc.o. + +VLSI 82C147 PCI-IrDA Controller Driver +CONFIG_VLSI_FIR + Say Y here if you want to build support for the VLSI 82C147 + PCI-IrDA Controller. This controller is used by the HP OmniBook 800 + and 5500 notebooks. The driver provides support for SIR, MIR and + FIR (4Mbps) speeds. + + If you want to compile it as a module, say M here and read + <file:Documentation/modules.txt>. The module will be called vlsi_ir.o. Serial dongle support CONFIG_DONGLE |
From: Paul M. <le...@us...> - 2001-10-10 19:06:27
|
Update of /cvsroot/envfs/envfs/Documentation In directory usw-pr-cvs1:/tmp/cvs-serv18516/Documentation Modified Files: Configure.help Log Message: Synced with 2.4.10 Index: Configure.help =================================================================== RCS file: /cvsroot/envfs/envfs/Documentation/Configure.help,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Configure.help 2001/09/19 03:46:29 1.1 +++ Configure.help 2001/10/10 19:06:24 1.2 @@ -1746,6 +1746,36 @@ similar) CPU, R4xx0 might be a safe bet. If the resulting Kernel does not work try to recompile with R3000. +CPU type +CONFIG_CPU_VR41XX + The options selects support for the NEC VR41xx series of processors. + Only choose this option if you have one of these processors as a + kernel built with this option will not run on any other type of + processor or vice versa. + +CPU feature configuration +CONFIG_CPU_ADVANCED + Saying yes here allows you to select support for various features your + CPU may or may not have. Most people should say N here. + +ll and sc instructions +CONFIG_CPU_HAS_LLSC + Say Y here if your CPU has the ll and sc instructions. Say Y here for + better performance, N if you don't know. You must say Y here for + multiprocessor machines. + +lld and scd instructions +CONFIG_CPU_HAS_LLDSCD + Say Y here if your CPU has the lld and scd instructions, the 64-bit + equivalents of ll and sc. Say Y here for better performance, N if + you don't know. You must say Y here for multiprocessor machines. + +Support for writebuffer flushing +CONFIG_CPU_HAS_WB + Say N here for slightly better performance. You must say Y here for + machines which require flushing of write buffers in software. Saying + Y is the safe option; N may result in kernel malfunction and crashes. + Support for large 64-bit configurations CONFIG_MIPS_INSANE_LARGE MIPS R10000 does support a 44 bit / 16TB address space as opposed to @@ -2548,10 +2578,10 @@ the GLX component for XFree86 3.3.6, which can be downloaded from http://utah-glx.sourceforge.net/ . -AMD Irongate support +AMD Irongate, 761, and 762 support CONFIG_AGP_AMD This option gives you AGP support for the GLX component of the - XFree86 4.x on AMD Irongate chipset. + XFree86 4.x on AMD Irongate, 761, and 762 chipsets. For the moment, you should probably say N, unless you want to test the GLX component for XFree86 3.3.6, which can be downloaded from @@ -8779,13 +8809,13 @@ say M here and read Documentation/modules.txt. This is recommended. The module will be called sis900.o. -Packet Engines Yellowfin Gigabit-NIC support +Packet Engines Yellowfin Gigabit-NIC / Symbios 53c885 support CONFIG_YELLOWFIN Say Y here if you have a Packet Engines G-NIC PCI Gigabit Ethernet - adapter. This adapter is used by the Beowulf Linux cluster project. - See http://cesdis.gsfc.nasa.gov/linux/drivers/yellowfin.html for - more information about this driver in particular and Beowulf in - general. + adapter or the SYM53C885 Ethernet controller. The Gigabit adapter is + used by the Beowulf Linux cluster project. See + http://cesdis.gsfc.nasa.gov/linux/drivers/yellowfin.html for more + information about this driver in particular and Beowulf in general. If you want to compile this driver as a module ( = code which can be inserted in and removed from the running kernel whenever you want), @@ -11220,6 +11250,17 @@ The module will be called keyspan_pda.o. If you want to compile it as a module, say M here and read Documentation/modules.txt. +USB Xircom / Entregra Single Port Serial Driver +CONFIG_USB_SERIAL_XIRCOM + Say Y here if you want to use a Xircom or Entregra single port USB to + serial converter device. This driver makes use of firmware + developed from scratch by Brian Warner. + + This code is also available as a module ( = code which can be + inserted in and removed from the running kernel whenever you want). + The module will be called keyspan_pda.o. If you want to compile it + as a module, say M here and read <file:Documentation/modules.txt>. + USB Keyspan USA-xxx Serial Driver CONFIG_USB_SERIAL_KEYSPAN Say Y here if you want to use Keyspan USB to serial converter @@ -11478,6 +11519,45 @@ The module will be called pegasus.o. If you want to compile it as a module, say M here and read Documentation/modules.txt. +CONFIG_USB_KAWETH + Say Y here if you want to use one of the following 10Mbps only + USB Ethernet adapters based on the KLSI KL5KUSB101B chipset: + 3Com 3C19250 + ADS USB-10BT + ATEN USB Ethernet + ASANTE USB To Ethernet Adapter + AOX Endpoints USB Ethernet + Correga K.K. + D-Link DSB-650C and DU-E10 + Entrega / Portgear E45 + I-O DATA USB-ET/T + Jaton USB Ethernet Device Adapter + Kingston Technology USB Ethernet Adapter + Linksys USB10T + Mobility USB-Ethernet Adapter + NetGear EA-101 + Peracom Enet and Enet2 + Portsmith Express Ethernet Adapter + Shark Pocket Adapter + SMC 2202USB + Sony Vaio port extender + + This driver is likely to work with most 10Mbps only USB Ethernet + adapters, including some "no brand" devices. It does NOT work on + SmartBridges smartNIC or on Belkin F5U111 devices - you should use + the CATC NetMate driver for those. If you are not sure which one + you need, select both, and the correct one should be selected for + you. + + This driver makes the adapter appear as a normal Ethernet interface, + typically on eth0, if it is the only ethernet device, or perhaps on + eth1, if you have a PCI or ISA ethernet card installed. + + This code is also available as a module ( = code which can be + inserted in and removed from the running kernel whenever you want). + The module will be called kaweth.o. If you want to compile it as a + module, say M here and read <file:Documentation/modules.txt>. + USB CATC NetMate-based Ethernet device support CONFIG_USB_CATC Say Y if you want to use one of the following 10Mbps USB Ethernet @@ -11492,6 +11572,29 @@ The module will be called catc.o. If you want to compile it as a module, say M here and read <file:Documentation/modules.txt>. +USB Communication Class Ethernet driver +CONFIG_USB_CDCETHER + This driver supports devices conforming to the Communication Device + Class Ethernet Control Model. This is used in some cable modems. + For more details on the specification, get the Communication Device + Class specification from <http://www.usb.org>. + + This driver should work with the following devices: + * Ericsson PipeRider (all variants) + * Motorola (DM100 and SB4100) + * Broadcom Cable Modem (reference design) + * Toshiba PCX1100U and possibly other cable modems + + The device creates a network device (ethX, where X depends on what + other networking devices you have in use), as for a normal PCI + or ISA based ethernet network card. + + This code is also available as a module ( = code which can be + inserted in and removed from the running kernel whenever you want). + The module will be called CDCEther.o. If you want to compile it as + a module, say M here and read <file:Documentation/modules.txt>. + + USB Kodak DC-2xx Camera support CONFIG_USB_DC2XX Say Y here if you want to connect this type of still camera to @@ -11532,6 +11635,20 @@ Say Y here in order to have the USB Mass Storage code generate verbose debugging messages. +ISD-200 USB/ATA driver +CONFIG_USB_STORAGE_ISD200 + Say Y here if you want to use USB Mass Store devices based + on the In-Systems Design ISD-200 USB/ATA bridge. + + Some of the products that use this chip are: + + - Archos Jukebox 6000 + - ISD SmartCable for Storage + - Taiwan Skymaster CD530U/DEL-0241 IDE bridge + - Sony CRX10U CD-R/RW drive + - CyQ've CQ8060A CDRW drive + - Planex eXtreme Drive RX-25HU USB-IDE cable (not model RX-25U) + USS720 parport driver CONFIG_USB_USS720 This driver is for USB parallel port adapters that use the Lucent @@ -11604,18 +11721,22 @@ The module will be called dabusb.o. If you want to compile it as a module, say M here and read Documentation/modules.txt. -PLUSB driver -CONFIG_USB_PLUSB - A driver for the Prolific PL-2302 USB-to-USB network device. This - 'USB cable' connects two hosts via a point-to-point network with - bandwidth of 5 Mbit/s. Configure this driver after connecting the - USB cable via ifconfig plusb0 10.0.0.1 pointopoint 10.0.0.2 (and - vice versa on the other host). +Host-to-Host USB networking +CONFIG_USB_USBNET + This driver supports network links over USB with USB "Network" + or "data transfer" cables, often used to network laptops to PCs. + Such cables have chips from suppliers such as NetChip and Prolific. + Intelligent USB devices could also use this approach to provide + Internet access, using standard USB cabling. - This code is also available as a module ( = code which can be + These links will have names like "usb0", "usb1", etc. They act + like two-node Ethernets, so you can use 802.1d Ethernet Bridging + (CONFIG_BRIDGE) to simplify your network routing. + + This code is also available as a kernel module (code which can be inserted in and removed from the running kernel whenever you want). - The module will be called plusb.o. If you want to compile it as a - module, say M here and read Documentation/modules.txt. + The module will be called usbnet.o. If you want to compile it as a + module, say M here and read <file:Documentation/modules.txt>. USB Diamond Rio500 support CONFIG_USB_RIO500 @@ -15774,6 +15895,14 @@ better 32 MB RAM to avoid excessive linking time. This is only useful for kernel hackers. If unsure, say N. +Run uncached +CONFIG_MIPS_UNCACHED + If you say Y here there kernel will disable all CPU caches. This will + reduce the system's performance dramatically but can help finding + otherwise hard to track bugs. It can also useful if you're doing + hardware debugging with a logic analyzer and need to see all traffic + on the bus. + Magic System Request Key support CONFIG_MAGIC_SYSRQ If you say Y here, you will have some control over the system even @@ -16980,10 +17109,10 @@ Motorola MPC8260 CPM support CONFIG_8260 - The MPC8260 CPM (Communications Processor Module) is a typically - embedded CPU made by Motorola. Selecting this option means that - you wish to build a kernel for a machine with specifically an 8260 - for a CPU. + The MPC8260 CPM (Communications Processor Module) is a typical + embedded CPU made by Motorola. Selecting this option means that you + wish to build a kernel for a machine with specifically an 8260 for + a CPU. If in doubt, say N. @@ -17003,12 +17132,191 @@ CONFIG_ALL_PPC Linux currently supports several different kinds of PowerPC-based machines: Apple Power Macintoshes and clones (such as the Motorola - Starmax series), PReP (PowerPC Reference Platform) machines such as - the Motorola PowerStack, CHRP (Common Hardware Reference Platform), - the embedded MBX boards from Motorola and many others. Currently, - the default option is to build a kernel which works on the first - three. Support for other machines is currently incomplete. + Starmax series), PReP (PowerPC Reference Platform) machines (such + as the Motorola PowerStacks, Motorola cPCI/VME embedded systems, + and some IBM RS/6000 systems), CHRP (Common Hardware Reference + Platform), and several embedded PowerPC systems containing 4xx, 6xx, + 7xx, 8xx, 74xx, and 82xx processors. Currently, the default option + is to build a kernel which works on the first three. +Embedded 8xx Board Type +CONFIG_RPXLITE + RPX-Lite: + Embedded Planet RPX Lite + + RPX-Classic: + Embedded Planet RPX Classic Low-fat. + + BSE-IP: + Bright Star Engineering ip-Engine. + + TQM823L: + TQM850L: + TQM855L: + TQM860L: + MPC8xx based family of mini modules, half credit card size, + up to 64 MB of RAM, 8 MB Flash, (Fast) Ethernet, 2 x serial ports, + 2 x CAN bus interface, ... + Manufacturer: TQ Components, www.tq-group.de + Date of Release: October (?) 1999 + End of Life: not yet :-) + URL: + - module: http://www.denx.de/PDF/TQM8xxLHWM201.pdf + - starter kit: http://www.denx.de/PDF/STK8xxLHWM201.pdf + - images: http://www.denx.de/embedded-ppc-en.html + + FPS850L: + FingerPrint Sensor System (based on TQM850L) + Manufacturer: IKENDI AG, http://www.ikendi.com/ + Date of Release: November 1999 + End of life: end 2000 ? + URL: see TQM850L + + SPD823TS: + MPC823 based board used in the "Tele Server" product + Manufacturer: Speech Design, http://www.speech-design.de/ + Date of Release: Mid 2000 (?) + End of life: - + URL: http://www.speech-design.de/ + select "English", then "Teleteam Solutions", then "TeleServer" + + IVMS8: + MPC860 based board used in the "Integrated Voice Mail System", + Small Version (8 voice channels) + Manufacturer: Speech Design, http://www.speech-design.de/ + Date of Release: December 2000 (?) + End of life: - + URL: http://www.speech-design.de/ + + IVML24: + MPC860 based board used in the "Integrated Voice Mail System", + Large Version (24 voice channels) + Manufacturer: Speech Design, http://www.speech-design.de/ + Date of Release: March 2001 (?) + End of life: - + URL: http://www.speech-design.de/ + + SM850: + Service Module (based on TQM850L) + Manufacturer: Dependable Computer Systems, http://www.decomsys.com/ + Date of Release: end 2000 (?) + End of life: mid 2001 (?) + URL: http://www.tz-mikroelektronik.de/ServiceModule/index.html + + HERMES: + Hermes-Pro ISDN/LAN router with integrated 8 x hub + Manufacturer: Multidata Gesellschaft für Datentechnik und Informatik + http://www.multidata.de/ + Date of Release: 2000 (?) + End of life: - + URL: http://www.multidata.de/english/products/hpro.htm + + IP860: + VMEBus IP (Industry Pack) carrier board with MPC860 + Manufacturer: MicroSys GmbH, http://www.microsys.de/ + Date of Release: ? + End of life: - + URL: http://www.microsys.de/html/ip860.html + + PCU_E: + PCU = Peripheral Controller Unit, Extended + Manufacturer: Siemens AG, ICN (Information and Communication Networks) + http://www.siemens.de/page/1,3771,224315-1-999_2_226207-0,00.html + Date of Release: April 2001 + End of life: August 2001 + URL: n. a. + +Embedded 82xx Board Type +CONFIG_EST8260 + EST8260: Wind River System, Inc. EST SBC8260 + + TQM8260: + MPC8260 based module, little larger than credit card, + up to 128 MB global + 64 MB local RAM, 32 MB Flash, + 32 kB EEPROM, 256 kB L@ Cache, 10baseT + 100baseT Ethernet, + 2 x serial ports, ... + Manufacturer: TQ Components, www.tq-group.de + Date of Release: June 2001 + End of Life: not yet :-) + URL: http://www.denx.de/PDF/TQM82xx_SPEC_Rev005.pdf + + PM826: + Modular system with MPC8260 CPU + Manufacturer: MicroSys GmbH, http://www.microsys.de/ + Date of Release: mid 2001 + End of life: - + URL: http://www.microsys.de/html/pm826.html + + CU824: + VMEBus Board with PCI extension with MPC8240 CPU + Manufacturer: MicroSys GmbH, http://www.microsys.de/ + Date of Release: early 2001 (?) + End of life: - + URL: http://www.microsys.de/html/cu824.html + +AltiVec Kernel Support +CONFIG_ALTIVEC + This option enables kernel support for the Altivec extensions to the + PowerPC processor. The kernel currently supports saving and restoring + altivec registers, and turning on the 'altivec enable' bit so user + processes can execute altivec instructions. + + This option is only usefully if you have a processor that supports + altivec (G4, otherwise known as 74xx series), but does not have + any affect on a non-altivec cpu (it does, however add code to the + kernel). + + If in doubt, say Y here. + +Thermal Management Support +CONFIG_TAU + G3 and G4 processors have an on-chip temperature sensor called the + 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die + temperature within 2-4 degrees celcius. This option shows the current + on-die temperature in /proc/cpuinfo if the cpu supports it. + + Unfortunately, on some chip revisions, this sensor is very inaccurate + and in some cases, does not work at all, so don't assume the cpu + temp is actually what /proc/cpuinfo says it is. + +Interrupt driven TAU driver +CONFIG_TAU_INT + The TAU supports an interrupt driven mode which causes an interrupt + whenever the temperature goes out of range. This is the fastest way + to get notified the temp has exceeded a range. With this option off, + a timer is used to re-check the temperature periodically. + + However, on some cpus it appears that the TAU interrupt hardware + is buggy and can cause a situation which would lead unexplained hard + lockups. + + Unless you are extending the TAU driver, or enjoy kernel/hardware + debugging, leave this option off. + +Average high and low temp +CONFIG_TAU_AVERAGE + The TAU hardware can compare the temperature to an upper and lower bound. + The default behavior is to show both the upper and lower bound in + /proc/cpuinfo. If the range is large, the temperature is either changing + a lot, or the TAU hardware is broken (likely on some G4's). If the range + is small (around 4 degrees), the temperature is relatively stable. + +Support for CUDA based PowerMacs +CONFIG_ADB_CUDA + This provides support for CUDA based Power Macintosh systems. This + includes most OldWorld PowerMacs, the first generation iMacs, the + Blue&White G3 and the Yikes G4 (PCI Graphics). All later models + should use CONFIG_ADB_PMU instead. + + If unsure say Y. + +Support for PMU based PowerMacs +CONFIG_ADB_PMU + This provides support for PMU based Power Macintosh systems. This + includes all PowerBooks and all AGP-based machines. + + If unsure say Y. + Power management support for PowerBooks CONFIG_PMAC_PBOOK This provides support for putting a PowerBook to sleep; it also @@ -17025,13 +17333,6 @@ have it autoloaded. The act of removing the module shuts down the sound hardware for more power savings. -Mac-on-Linux support -CONFIG_MOL - This option enables low-level support for Mac-on-Linux. - MOL lets you run MacOS and Linux simultaneously. Please - visit <http://www.maconlinux.org> for more information. - If unsure, say Y. - ADB raw keycode support CONFIG_MAC_ADBKEYCODES This provides support for sending raw ADB keycodes to console @@ -17168,16 +17469,6 @@ and iBook computers. This driver is also available as a module called gmac.o ( = code - which can be inserted in and removed from the running kernel - whenever you want). If you want to compile it as a module, say M - here and read Documentation/modules.txt. - -Symbios 53c885 (Synergy ethernet) support -CONFIG_NCR885E - This is and Ethernet driver for the dual-function NCR 53C885 - SCSI/Ethernet controller. - - This driver is also available as a module called ncr885e.o ( = code which can be inserted in and removed from the running kernel whenever you want). If you want to compile it as a module, say M here and read Documentation/modules.txt. |
From: Paul M. <le...@us...> - 2001-10-10 19:06:27
|
Update of /cvsroot/envfs/envfs/fs In directory usw-pr-cvs1:/tmp/cvs-serv18516/fs Modified Files: Makefile Log Message: Synced with 2.4.10 Index: Makefile =================================================================== RCS file: /cvsroot/envfs/envfs/fs/Makefile,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Makefile 2001/09/19 03:30:26 1.4 +++ Makefile 2001/10/10 19:06:24 1.5 @@ -32,6 +32,7 @@ subdir-$(CONFIG_CODA_FS) += coda subdir-$(CONFIG_MINIX_FS) += minix subdir-$(CONFIG_FAT_FS) += fat +subdir-$(CONFIG_UMSDOS_FS) += umsdos subdir-$(CONFIG_MSDOS_FS) += msdos subdir-$(CONFIG_VFAT_FS) += vfat subdir-$(CONFIG_BFS_FS) += bfs @@ -43,7 +44,6 @@ subdir-$(CONFIG_NFSD) += nfsd subdir-$(CONFIG_LOCKD) += lockd subdir-$(CONFIG_NLS) += nls -subdir-$(CONFIG_UMSDOS_FS) += umsdos subdir-$(CONFIG_SYSV_FS) += sysv subdir-$(CONFIG_SMB_FS) += smbfs subdir-$(CONFIG_NCP_FS) += ncpfs |
From: Paul M. <le...@us...> - 2001-10-10 19:06:27
|
Update of /cvsroot/envfs/envfs In directory usw-pr-cvs1:/tmp/cvs-serv18516 Modified Files: ChangeLog.envfs Added Files: AGAINST-2.4.10 Removed Files: AGAINST-2.4.9 Log Message: Synced with 2.4.10 --- NEW FILE: AGAINST-2.4.10 --- Index: ChangeLog.envfs =================================================================== RCS file: /cvsroot/envfs/envfs/ChangeLog.envfs,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ChangeLog.envfs 2001/09/19 03:46:29 1.4 +++ ChangeLog.envfs 2001/10/10 19:06:24 1.5 @@ -1,3 +1,11 @@ +2001-10-09 Paul Mundt <le...@ch...> + + * AGAINST-2.4.10 New file. + * Documentation/Configure.help: Documentation updates. + * fs/Makefile: Cosmetic cleanup. + + Sync with 2.4.10. + 2001-09-18 Paul Mundt <le...@ch...> * Documentation/Configure.help: New file. --- AGAINST-2.4.9 DELETED --- |
From: Paul M. <le...@us...> - 2001-09-23 04:29:02
|
Update of /cvsroot/envfs/envfs/fs/envfs In directory usw-pr-cvs1:/tmp/cvs-serv21471 Modified Files: super.c Log Message: Oops.. get rid of envfs_dump_vars() on statfs. Index: super.c =================================================================== RCS file: /cvsroot/envfs/envfs/fs/envfs/super.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- super.c 2001/09/23 04:28:10 1.3 +++ super.c 2001/09/23 04:28:59 1.4 @@ -18,12 +18,9 @@ spinlock_t envfs_lock = SPIN_LOCK_UNLOCKED; struct list_head *envfs_dentry_list; -extern int envfs_dump_vars(void); - static int envfs_statfs(struct super_block *sb, struct statfs *buf) { envfs_debug("entering\n"); - envfs_dump_vars(); buf->f_type = ENVFS_SUPER_MAGIC; buf->f_bsize = PAGE_CACHE_SIZE; buf->f_namelen = NAME_MAX; |
From: Paul M. <le...@us...> - 2001-09-23 04:28:13
|
Update of /cvsroot/envfs/envfs/fs/envfs In directory usw-pr-cvs1:/tmp/cvs-serv21374/fs/envfs Modified Files: dir.c file.c inode.c super.c Log Message: Changes and stuff. Index: dir.c =================================================================== RCS file: /cvsroot/envfs/envfs/fs/envfs/dir.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- dir.c 2001/09/19 03:01:45 1.1 +++ dir.c 2001/09/23 04:28:10 1.2 @@ -12,6 +12,8 @@ static struct dentry *envfs_lookup(struct inode *dir, struct dentry *dentry) { + char *tmp; + envfs_debug("entering\n"); if (!dentry) @@ -19,11 +21,15 @@ if (!dentry->d_name.name) goto out; - envfs_debug("dir->i_ino == %d\n", dir->i_ino); + tmp = envfs_getenv(dentry->d_name.name); + + envfs_debug("dir->i_ino == %ld\n", dir->i_ino); envfs_debug("dentry->d_name.name == %s\n", dentry->d_name.name); dentry->d_inode = envfs_get_inode(dir->i_sb, + strlen(tmp), 0644 | S_IFREG, dir->i_dev); + kfree(tmp); out: envfs_debug("leaving\n"); return NULL; @@ -32,16 +38,16 @@ static int envfs_mknod(struct inode *dir, struct dentry *dentry, int mode, int dev) { - struct inode *inode = envfs_get_inode(dir->i_sb, mode, dev); + struct inode *inode = envfs_get_inode(dir->i_sb, 0, mode, dev); envfs_debug("entering\n"); if (!inode) return -ENOSPC; dentry->d_inode = inode; - envfs_debug("inode == %d\n", dentry->d_inode->i_ino); - dentry->d_inode = inode; + envfs_debug("inode == %ld\n", dentry->d_inode->i_ino); + dget(dentry); envfs_debug("leaving\n"); @@ -51,7 +57,7 @@ static int envfs_create(struct inode *dir, struct dentry *dentry, int mode) { envfs_debug("entering\n"); - envfs_debug("dir->i_ino == %d\n", dir->i_ino); + envfs_debug("dir->i_ino == %ld\n", dir->i_ino); envfs_debug("leaving\n"); return envfs_mknod(dir, dentry, mode | S_IFREG, 0); } @@ -103,7 +109,7 @@ envfs_debug("entering\n"); - envfs_debug("filp->f_pos == %d\n", filp->f_pos); + envfs_debug("filp->f_pos == %ld\n", filp->f_pos); if (!dentry) goto out; @@ -140,6 +146,7 @@ struct file_operations envfs_dops = { read: generic_read_dir, readdir: envfs_readdir, + ioctl: envfs_ioctl, }; struct inode_operations envfs_diops = { Index: file.c =================================================================== RCS file: /cvsroot/envfs/envfs/fs/envfs/file.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- file.c 2001/09/19 03:26:16 1.4 +++ file.c 2001/09/23 04:28:10 1.5 @@ -12,11 +12,140 @@ #include <linux/envfs_fs.h> #include <asm/uaccess.h> +/* + * Dump the envp + */ +int envfs_dump_vars(void) +{ + int res, len, pos; + char *buf; + + envfs_debug("entering\n"); + + len = current->mm->env_end - current->mm->env_start; + buf = kmalloc(len, GFP_KERNEL); + + if (!buf) { + printk(KERN_ERR "Can't allocate memory for envp\n"); + envfs_debug("leaving\n"); + return -ENOMEM; + } + + task_lock(current); + + if (!current->mm) { + printk(KERN_ERR "No current->mm ?!\n"); + task_unlock(current); + envfs_debug("leaving\n"); + return -EINVAL; + } + + atomic_inc(&(current->mm->mm_users)); + task_unlock(current); + + res = access_process_vm(current, current->mm->env_start, buf, len, 0); + + /* + * Each key:value pair ends with a '\0', which causes things like + * printk() to fail printing out the whole envp. Because of this, we + * translate each '\0' to '|' on everything but the end of the envp. + * + * The other option is calling access_process_vm() lots of times with + * the length of the key:value pair as the offset within the envp + * space, though this is slower than just doing translation and + * splitting up the string. + */ + for (pos = strlen(buf); pos != res; pos = strlen(buf)) + if (!buf[pos] || buf[pos] == '\0') + buf[pos] = '|'; + + buf[pos - 1] = '\0'; + + printk(KERN_INFO "envfs: envp: %s\n", buf); + envfs_debug("len: %d, pos: %d, res: %d, strlen(buf): %d\n", + len, pos, res, strlen(buf)); + + mmput(current->mm); + + kfree(buf); + + envfs_debug("leaving\n"); + + return 0; +} + +/** + * envfs_ll_purge - Purge dentry from list + * + * @dentry: envfs dentry to search for + * + * Searches through the envfs_dentry_list looking for an existing entry of + * @dentry (by key). If it's found, the inode and dentry are cleaned up so + * they can be reused later, and the entry is purged from the list. + */ +static int envfs_ll_purge(struct envfs_dentry *dentry) +{ + struct envfs_dentry *list_dentry; + struct list_head *list; + + envfs_debug("entering\n"); + + /* + * No use spinning an emtpy list + */ + if (list_empty(envfs_dentry_list)) { + envfs_debug("list is empty\n"); + goto out; + } + + /* + * Spin list looking for matching key + * + * FIXME: Should utilize the envfs dentry position here for faster + * lookups. Use hashes and have the position reference the hash + * location in the hash table maybe? + */ + list_for_each(list, envfs_dentry_list) { + list_dentry = list_entry(list, struct envfs_dentry, node); + + if (!list_dentry) + continue; + + /* + * Found it + */ + if (strcmp(list_dentry->key, dentry->key) == 0) { + /* + * Clean up after the dentry and inode + */ + if (list_dentry->f_dentry->d_inode) { + vfs_unlink(list_dentry->f_dentry->d_inode, + list_dentry->f_dentry); + envfs_delete_inode(list_dentry->f_dentry->d_inode); + dput(list_dentry->f_dentry); + } + + /* + * Clean up after the list entry + */ + list_del(&(list_dentry->node)); + kfree(list_dentry); + + break; + } + } + +out: + envfs_debug("leaving\n"); + + return 0; +} + char *envfs_getenv_vars(struct file *filp, void *dirent, filldir_t filldir) { + struct envfs_dentry *e_dentry; unsigned long currkey; - struct dentry *dentry; - char *buf, *opt; + char *buf; int i = 0; envfs_debug("entering\n"); @@ -25,6 +154,19 @@ current->mm->env_start, GFP_KERNEL); + if (!buf) { + printk(KERN_ERR "Can't allocate memory\n"); + goto out_nomem; + } + + e_dentry = kmalloc(sizeof(struct envfs_dentry *), GFP_KERNEL); + + if (!e_dentry) { + printk(KERN_ERR "Can't allocate memory\n"); + kfree(buf); + goto out_nomem; + } + for (currkey = current->mm->env_start; currkey < current->mm->env_end; currkey++) { @@ -34,24 +176,43 @@ i++; } + /* Seek to current position */ for (i = 0; i < filp->f_pos - 2; i++) { strsep(&buf, "|"); } - opt = strsep(&buf, "="); + /* + * Setup the envfs dentry list entry + */ + INIT_LIST_HEAD(&e_dentry->node); + e_dentry->key = strsep(&buf, "="); + //e_dentry->val = strsep(&buf, "="); + e_dentry->pos = filp->f_pos - 2; - if (!*opt) + if (!*(e_dentry->key)) goto out; - if (envfs_create_by_name(opt, 0755 | S_IFREG, NULL, &dentry) == -EINVAL) + //if (!*(e_dentry->val)) + // goto out; + + envfs_ll_purge(e_dentry); + + if (envfs_create_by_name(e_dentry->key, 0755 | S_IFREG, NULL, + &(e_dentry->f_dentry)) == -EINVAL) goto out; - if (filldir(dirent, dentry->d_name.name, dentry->d_name.len, - filp->f_pos, dentry->d_inode->i_ino, DT_UNKNOWN) < 0) + if (filldir(dirent, e_dentry->f_dentry->d_name.name, + e_dentry->f_dentry->d_name.len, filp->f_pos, + e_dentry->f_dentry->d_inode->i_ino, DT_UNKNOWN) < 0) goto out; + /* + * Add it to the list + */ + list_add(&e_dentry->node, envfs_dentry_list); filp->f_pos++; out: kfree(buf); +out_nomem: envfs_debug("leaving\n"); return NULL; } @@ -142,8 +303,29 @@ return count; } +int envfs_ioctl(struct inode *inode, struct file *filp, + unsigned int cmd, unsigned int arg) +{ + envfs_debug("entering\n"); + + envfs_debug("cmd: %d\n", cmd); + + switch (cmd) { + case 0x9cfe123: + envfs_dump_vars(); + break; + default: + envfs_debug("leaving: no cmd\n"); + return -ENOTTY; + } + + envfs_debug("leaving\n"); + return 0; +} + struct file_operations envfs_fops = { read: envfs_read_file, + ioctl: envfs_ioctl, mmap: generic_file_mmap, llseek: generic_file_llseek, }; Index: inode.c =================================================================== RCS file: /cvsroot/envfs/envfs/fs/envfs/inode.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- inode.c 2001/09/19 03:01:45 1.1 +++ inode.c 2001/09/23 04:28:10 1.2 @@ -11,27 +11,56 @@ #include <linux/locks.h> #include <linux/envfs_fs.h> +void envfs_delete_inode(struct inode *inode) +{ + envfs_debug("entering\n"); + + lock_kernel(); + + envfs_debug("unlinking inode: %ld\n", inode->i_ino); + + if (inode->i_flags & S_IMMUTABLE) + inode->i_flags &= ~S_IMMUTABLE; + + inode->i_size = 0; + inode->i_blocks = 0; + inode->i_nlink--; + + clear_inode(inode); + + unlock_kernel(); + + envfs_debug("leaving\n"); +} + void envfs_read_inode(struct inode *inode) { + envfs_debug("entering\n"); inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME; + envfs_debug("leaving\n"); } -struct inode *envfs_get_inode(struct super_block *sb, int mode, int dev) +struct inode *envfs_get_inode(struct super_block *sb, loff_t inode_size, int mode, int dev) { struct inode *inode = new_inode(sb); envfs_debug("entering\n"); + if (!inode) return NULL; - + if (inode_size) + inode_size--; + inode->i_mode = mode; inode->i_uid = current->fsuid; inode->i_gid = current->fsgid; inode->i_blksize = PAGE_CACHE_SIZE; inode->i_blocks = 0; inode->i_rdev = NODEV; + inode->i_size = inode_size; + inode->i_mapping->a_ops = &envfs_aops; - inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; + envfs_read_inode(inode); /* * FIXME: This is a hack to force everything into a read-only state. Index: super.c =================================================================== RCS file: /cvsroot/envfs/envfs/fs/envfs/super.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- super.c 2001/09/19 03:30:26 1.2 +++ super.c 2001/09/23 04:28:10 1.3 @@ -15,9 +15,15 @@ static struct vfsmount *envfs_mnt; +spinlock_t envfs_lock = SPIN_LOCK_UNLOCKED; +struct list_head *envfs_dentry_list; + +extern int envfs_dump_vars(void); + static int envfs_statfs(struct super_block *sb, struct statfs *buf) { envfs_debug("entering\n"); + envfs_dump_vars(); buf->f_type = ENVFS_SUPER_MAGIC; buf->f_bsize = PAGE_CACHE_SIZE; buf->f_namelen = NAME_MAX; @@ -48,6 +54,7 @@ statfs: envfs_statfs, put_inode: force_delete, read_inode: envfs_read_inode, + delete_inode: envfs_delete_inode, }; static struct super_block *envfs_read_super(struct super_block *sb, @@ -61,7 +68,7 @@ sb->s_magic = ENVFS_SUPER_MAGIC; sb->s_op = &envfs_sops; - root_inode = envfs_get_inode(sb, S_IFDIR | 0755, 0); + root_inode = envfs_get_inode(sb, 0, S_IFDIR | 0755, 0); if (!root_inode) return NULL; @@ -73,6 +80,16 @@ return NULL; } + envfs_dentry_list = kmalloc(sizeof(struct list_head *), GFP_KERNEL); + + if (!envfs_dentry_list) { + printk(KERN_ERR "Can't allocate memory for list\n"); + iput(root_inode); + return NULL; + } + + INIT_LIST_HEAD(envfs_dentry_list); + envfs_debug("leaving\n"); return sb; } @@ -105,7 +122,7 @@ MODULE_AUTHOR("Paul Mundt <le...@ch...>"); MODULE_DESCRIPTION("/env file system"); -MODULE_LICENSE("GPL"); +//MODULE_LICENSE("GPL"); module_init(init_envfs_fs); module_exit(exit_envfs_fs); |
From: Paul M. <le...@us...> - 2001-09-23 04:28:13
|
Update of /cvsroot/envfs/envfs/include/linux In directory usw-pr-cvs1:/tmp/cvs-serv21374/include/linux Modified Files: envfs_fs.h Log Message: Changes and stuff. Index: envfs_fs.h =================================================================== RCS file: /cvsroot/envfs/envfs/include/linux/envfs_fs.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- envfs_fs.h 2001/09/19 03:01:45 1.1 +++ envfs_fs.h 2001/09/23 04:28:11 1.2 @@ -15,22 +15,60 @@ #include <linux/fs.h> #include <linux/config.h> #include <linux/kernel.h> +#include <linux/list.h> +#include <linux/smp_lock.h> #define ENVFS_SUPER_MAGIC 0x9cfe #define ENVFS_MAX_ENVLEN (4 << 10) #ifdef CONFIG_ENVFS_FS_DEBUG - #define envfs_debug(x...) printk(KERN_DEBUG "envfs: " \ + #define envfs_debug(x...) printk(KERN_EMERG "envfs: " \ __FUNCTION__ "(): " ##x) #else - #define envfs_debug(x...) + #define envfs_debug(x...) do { } while (0) #endif +#define envfs_ll_seek(list, head, pos) \ +do { \ + unsigned int lpos = pos; \ + \ + while (lpos--) \ + list_for_each(list, head) \ + ; \ +} while (0) + +extern spinlock_t envfs_lock; +extern struct list_head *envfs_dentry_list; + +/* + * The envfs dentry is a basic structure for cached information on a + * variable within the envp. The envp follows the standard convention + * of: + * key1:value:key2:value:... + * + * where the envfs dentry corresponds to each individual key:value pair. + * + * In addition to this, the key:value pair's position within the envp is + * also cached for faster lookup times. + * + * The envp can't exceed ENVFS_MAX_ENVLEN in length. + */ +typedef struct envfs_dentry { + struct list_head node; + struct dentry *f_dentry; + unsigned char *key; + unsigned char *val; + unsigned int pos; + void *priv; +} envfs_dentry_t; + /* fs/envfs/inode.c */ extern struct address_space_operations envfs_aops; +extern void envfs_delete_inode(struct inode *inode); extern void envfs_read_inode(struct inode *inode); -extern struct inode *envfs_get_inode(struct super_block *sb, int mode, int dev); +extern struct inode *envfs_get_inode(struct super_block *sb, loff_t new_inode, int mode, int dev); +extern int envfs_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned int arg); /* fs/envfs/file.c */ extern struct file_operations envfs_fops; |
From: Paul M. <le...@us...> - 2001-09-19 03:46:32
|
Update of /cvsroot/envfs/envfs/Documentation In directory usw-pr-cvs1:/tmp/cvs-serv11996/Documentation Added Files: Configure.help Log Message: Added Documentation. --- NEW FILE: Configure.help --- # Maintained by Axel Boldt (ax...@un...) # # This version of the Linux kernel configuration help texts # corresponds to the kernel versions 2.4.x. # # Translations of this file available on the WWW: # # - Japanese, maintained by the JF Project (JF...@li...), at # http://www.linux.or.jp/JF/JFdocs/Configure.help/ # - Russian, by ka...@li..., at # http://nevod.perm.su/service/linux/doc/kernel/Configure.help # - French, by Pierre Tane (ta...@bi...), at # http://www.traduc.org/kernelfr # - Spanish, by Carlos Perelló Marín (fp...@eh...), at # http://visar.csustan.edu/~carlos/ # XXX: Site has moved, new location has no Configure.help trans. # - Italian, by Alessandro Rubini (ru...@li...), at # ftp://ftp-pavia1.linux.it/pub/linux/Configure.help # XXX: ftp-pavia1.linux.it: Non-existent host/domain [...18767 lines suppressed...] # LocalWords: CHDLC UPS's usbmouse wacom wmforce keybdev joydev fibre Trunking # LocalWords: Etherchannel IOC Moxa Intellio moxa SmartIO mxser Mixcom EFI ir # LocalWords: MIXCOMWD mixcomwd SENDCOMPLETE GMAC iBook gmac OAKNET oaknet PCG # LocalWords: diffserv irlan irtty toshoboe IrCC Lifebook idex AUTODMA FIP Cxx # LocalWords: Yenta Databook TCIC FMVJ fmvj NMCLAN LiveWire nmclan XIRC xirc # LocalWords: loadkeys setfont shm SuperIO soc SOCAL socal FCAL fc fcal COMX # LocalWords: MultiGate ITConsult comx CMX HiCOMX downloadable hw LoCOMX PROTO # LocalWords: locomx MixCOM mixcom proto MyriCOM MYRI Sbus myri sbus IBMLS hme # LocalWords: lanstreamer baseT HAPPYMEAL qfe sunhme SUNLANCE sunlance BigMAC # LocalWords: SUNBMAC sunbmac QuadEthernet SUNQE qe FastEthernet sunqe DSB PTI # LocalWords: DSBR dsbr procinfo QLOGICPTI qpti ptisp QLGC qlogicpti se LBA NF # LocalWords: OPENPROMFS OpenPROM openpromfs OBP OpenBoot flashable Multiboard # LocalWords: SPARCAUDIO SparcClassic Ultras DBRI Sparcbook sparcaudio SUNBPP # LocalWords: UltraDMA WDC CRC CONNTRACK IPTABLES iptables nfmark interface's # LocalWords: tdfxfb TNTx HGA hgafb VERBOSEDEBUG SunTrunking SunSoft XIRTULIP # LocalWords: ethercards PNIC Macronix MXIC ASIX xircom Mustek MDC gphoto mdc # LocalWords: CramFs Cramfs uid cramfs AVM's kernelcapi PCIV cdrdao Cdparanoia # LocalWords: DMX Domex dmx wellington ftdi sio Accton Billington Corega FEter # LocalWords: MELCO LUA PNA Linksys SNC chkdsk AWACS Webcam RAMFS Ramfs ramfs # LocalWords: ramfiles MAKEDEV pty WDTPCI APA apa |
From: Paul M. <le...@us...> - 2001-09-19 03:46:32
|
Update of /cvsroot/envfs/envfs/Documentation/filesystems In directory usw-pr-cvs1:/tmp/cvs-serv11996/Documentation/filesystems Added Files: 00-INDEX Log Message: Added Documentation. --- NEW FILE: 00-INDEX --- 00-INDEX - this file (info on some of the filesystems supported by linux). Locking - info on locking rules as they pertain to Linux VFS. adfs.txt - info and mount options for the Acorn Advanced Disc Filing System. affs.txt - info and mount options for the Amiga Fast File System. bfs.txt - info for the SCO UnixWare Boot Filesystem (BFS). coda.txt - description of the CODA filesystem. cramfs.txt - info on the cram filesystem for small storage (ROMs etc) devfs/ - directory containing devfs documentation. ext2.txt - info, mount options and specifications for the Ext2 filesystem. envfs.txt - info and mount options for the /env file system. fat_cvf.txt - info on the Compressed Volume Files extension to the FAT filesystem hpfs.txt - info and mount options for the OS/2 HPFS. isofs.txt - info and mount options for the ISO 9660 (CDROM) filesystem. ncpfs.txt - info on Novell Netware(tm) filesystem using NCP protocol. ntfs.txt - info and mount options for the NTFS filesystem (Windows NT). proc.txt - info on Linux's /proc filesystem. romfs.txt - Description of the ROMFS filesystem. smbfs.txt - info on using filesystems with the SMB protocol (Windows 3.11 and NT) sysv-fs.txt - info on the SystemV/V7/Xenix/Coherent filesystem. udf.txt - info and mount options for the UDF filesystem. ufs.txt - info on the ufs filesystem. umsdos.txt - info on the umsdos extensions to the msdos filesystem. vfat.txt - info on using the VFAT filesystem used in Windows NT and Windows 95 vfs.txt - Overview of the Virtual File System |
From: Paul M. <le...@us...> - 2001-09-19 03:46:31
|
Update of /cvsroot/envfs/envfs In directory usw-pr-cvs1:/tmp/cvs-serv11996 Modified Files: ChangeLog.envfs Log Message: Added Documentation. Index: ChangeLog.envfs =================================================================== RCS file: /cvsroot/envfs/envfs/ChangeLog.envfs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ChangeLog.envfs 2001/09/19 03:30:26 1.3 +++ ChangeLog.envfs 2001/09/19 03:46:29 1.4 @@ -1,5 +1,9 @@ 2001-09-18 Paul Mundt <le...@ch...> + * Documentation/Configure.help: New file. + * Documentation/filesystems/00-INDEX: New file. + * Documentation/filesystems/envfs.txt: New file. + * AGAINST-2.4.9: New file. * fs/envfs/super.c: Add MODULE_LICENSE() definition. * fs/Makefile: Add open.o to export-objs. |
From: Paul M. <le...@us...> - 2001-09-19 03:42:54
|
Update of /cvsroot/envfs/envfs/Documentation/filesystems In directory usw-pr-cvs1:/tmp/cvs-serv11427/filesystems Log Message: Directory /cvsroot/envfs/envfs/Documentation/filesystems added to the repository |
From: Paul M. <le...@us...> - 2001-09-19 03:37:28
|
Update of /cvsroot/envfs/envfs/Documentation In directory usw-pr-cvs1:/tmp/cvs-serv10585/Documentation Log Message: Directory /cvsroot/envfs/envfs/Documentation added to the repository |
From: Paul M. <le...@us...> - 2001-09-19 03:30:28
|
Update of /cvsroot/envfs/envfs/fs/envfs In directory usw-pr-cvs1:/tmp/cvs-serv9349/fs/envfs Modified Files: super.c Log Message: 2.4.9 merge. Index: super.c =================================================================== RCS file: /cvsroot/envfs/envfs/fs/envfs/super.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- super.c 2001/09/19 03:01:45 1.1 +++ super.c 2001/09/19 03:30:26 1.2 @@ -105,6 +105,7 @@ MODULE_AUTHOR("Paul Mundt <le...@ch...>"); MODULE_DESCRIPTION("/env file system"); +MODULE_LICENSE("GPL"); module_init(init_envfs_fs); module_exit(exit_envfs_fs); |
From: Paul M. <le...@us...> - 2001-09-19 03:30:28
|
Update of /cvsroot/envfs/envfs In directory usw-pr-cvs1:/tmp/cvs-serv9349 Modified Files: ChangeLog.envfs Added Files: AGAINST-2.4.9 Removed Files: AGAINST-2.4.8 Log Message: 2.4.9 merge. --- NEW FILE: AGAINST-2.4.9 --- Index: ChangeLog.envfs =================================================================== RCS file: /cvsroot/envfs/envfs/ChangeLog.envfs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ChangeLog.envfs 2001/09/19 03:26:16 1.2 +++ ChangeLog.envfs 2001/09/19 03:30:26 1.3 @@ -1,9 +1,17 @@ 2001-09-18 Paul Mundt <le...@ch...> + * AGAINST-2.4.9: New file. + * fs/envfs/super.c: Add MODULE_LICENSE() definition. + * fs/Makefile: Add open.o to export-objs. + + Sync with 2.4.9. + ENVFS_2_4_8: * AGAINST-2.4.8: New file. * fs/envfs/file.c: Add llseek entry to envfs_fops. + + Sync with 2.4.8. ENVFS_2_4_7: --- AGAINST-2.4.8 DELETED --- |
From: Paul M. <le...@us...> - 2001-09-19 03:30:28
|
Update of /cvsroot/envfs/envfs/fs In directory usw-pr-cvs1:/tmp/cvs-serv9349/fs Modified Files: Makefile Log Message: 2.4.9 merge. Index: Makefile =================================================================== RCS file: /cvsroot/envfs/envfs/fs/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile 2001/09/19 03:21:42 1.3 +++ Makefile 2001/09/19 03:30:26 1.4 @@ -7,7 +7,7 @@ O_TARGET := fs.o -export-objs := filesystems.o dcache.o +export-objs := filesystems.o open.o dcache.o mod-subdirs := nls obj-y := open.o read_write.o devices.o file_table.o buffer.o \ |
From: Paul M. <le...@us...> - 2001-09-19 03:26:20
|
Update of /cvsroot/envfs/envfs In directory usw-pr-cvs1:/tmp/cvs-serv8793 Modified Files: ChangeLog.envfs Added Files: AGAINST-2.4.8 Removed Files: AGAINST-2.4.7 Log Message: 2.4.8 merge. Index: ChangeLog.envfs =================================================================== RCS file: /cvsroot/envfs/envfs/ChangeLog.envfs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ChangeLog.envfs 2001/09/19 03:21:42 1.1 +++ ChangeLog.envfs 2001/09/19 03:26:16 1.2 @@ -1,5 +1,13 @@ 2001-09-18 Paul Mundt <le...@ch...> +ENVFS_2_4_8: + + * AGAINST-2.4.8: New file. + * fs/envfs/file.c: Add llseek entry to envfs_fops. + +ENVFS_2_4_7: + + * AGAINST-2.4.7: New file. * ChangeLog.envfs: New file. * fs/Config.in: New file. * fs/Makefile: New file. --- AGAINST-2.4.7 DELETED --- |
From: Paul M. <le...@us...> - 2001-09-19 03:26:20
|
Update of /cvsroot/envfs/envfs/fs/envfs In directory usw-pr-cvs1:/tmp/cvs-serv8793/fs/envfs Modified Files: file.c Log Message: 2.4.8 merge. Index: file.c =================================================================== RCS file: /cvsroot/envfs/envfs/fs/envfs/file.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- file.c 2001/09/19 03:21:42 1.3 +++ file.c 2001/09/19 03:26:16 1.4 @@ -145,5 +145,6 @@ struct file_operations envfs_fops = { read: envfs_read_file, mmap: generic_file_mmap, + llseek: generic_file_llseek, }; |
From: Paul M. <le...@us...> - 2001-09-19 03:21:45
|
Update of /cvsroot/envfs/envfs/fs In directory usw-pr-cvs1:/tmp/cvs-serv7960/fs Added Files: Config.in Makefile Log Message: Initial import (well, initial _proper_ import). |
From: Paul M. <le...@us...> - 2001-09-19 03:21:44
|
Update of /cvsroot/envfs/envfs/fs/envfs In directory usw-pr-cvs1:/tmp/cvs-serv7960/fs/envfs Modified Files: file.c Log Message: Initial import (well, initial _proper_ import). Index: file.c =================================================================== RCS file: /cvsroot/envfs/envfs/fs/envfs/file.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- file.c 2001/09/19 03:07:37 1.2 +++ file.c 2001/09/19 03:21:42 1.3 @@ -145,6 +145,5 @@ struct file_operations envfs_fops = { read: envfs_read_file, mmap: generic_file_mmap, - llseek: generic_file_llseek, }; |
From: Paul M. <le...@us...> - 2001-09-19 03:21:44
|
Update of /cvsroot/envfs/envfs In directory usw-pr-cvs1:/tmp/cvs-serv7960 Added Files: AGAINST-2.4.7 ChangeLog.envfs Log Message: Initial import (well, initial _proper_ import). --- NEW FILE: ChangeLog.envfs --- 2001-09-18 Paul Mundt <le...@ch...> * ChangeLog.envfs: New file. * fs/Config.in: New file. * fs/Makefile: New file. * fs/envfs/*: New files. * include/linux/envfs_fs.h: New file. Initial import of envfs sources against 2.4.7. |
From: Paul M. <le...@us...> - 2001-09-19 03:17:04
|
Update of /cvsroot/envfs/envfs/fs In directory usw-pr-cvs1:/tmp/cvs-serv7208/fs Removed Files: Config.in Makefile Log Message: Nuke non-stock files (these were from the wrong tree). --- Config.in DELETED --- --- Makefile DELETED --- |
From: Paul M. <le...@us...> - 2001-09-19 03:17:04
|
Update of /cvsroot/envfs/envfs In directory usw-pr-cvs1:/tmp/cvs-serv7208 Removed Files: AGAINST-2.4.8 Log Message: Nuke non-stock files (these were from the wrong tree). --- AGAINST-2.4.8 DELETED --- |