summaryrefslogtreecommitdiffstats
path: root/sys/conf/files
Commit message (Collapse)AuthorAgeFilesLines
* New vx driver for:guido1996-11-041-1/+2
| | | | | | | | | | | | | | | | | | | | 3COM 3C590 Etherlink III PCI, 3COM 3C595 Fast Etherlink PCI, 3COM 3C592 Etherlink III EISA, 3COM 3C590 Fast Etherlink EISA, 3COM 3C900 Etherlink XL PCI and 3COM 3C905 Fast Etherlink XL PCI. This driver is based on OpenBSD's driver. I modified it to run under FreeBSd and made it actually work usefully. Afterwards, nao@tom-yam.or.jp (HAMADA Naoki) added EISA support as well as early support for 3C900 Etherlink XL PCI and 3C905 Fast Etherlink XL PCI. He also split up the driver in a bus independant and bus dependant parts. Especially the 3c59X support should be pretty stable now. Submitted by: partly nao@tom-yam.or.jp (HAMADA Naoki) Obtained from:partly OpenBSD
* Add support for the SDL RISCom N2pci cards. Bring in the enhancementsjhay1996-10-291-0/+1
| | | | made to the Arnet driver.
* Removing old isdn stuff.phk1996-10-201-5/+0
|
* Changes to add support for the PCI version of the Cyclades Cyclom-Ydg1996-10-131-0/+1
| | | | serial adapter, and support for multiple Cyclom controllers.
* Fixed two small leftovers form PHK's mega devconf removal commit..sos1996-09-071-1/+0
|
* Sorted and fixed tabs.bde1996-08-281-37/+37
| | | | | | | | | | | The only excuse this had for becoming misordered was that some drivers were sorted on the driver name field, but the ffs versus mfs ordering shows that this is not a consistent order. The only case that I know of where simple sorting is wrong is for files that must be compiled without profiling if profiling is configured and normally otherwise. Then the line with `profiling-routine' must appear first to get the file compiled with ${PROFILE_C}.
* having checked in the file I probably should check in the entry forjulian1996-08-201-0/+1
| | | | kern_shutdown.c if I want anyone to be able to compile a kernel
* Add better support for retrieving management information from networkwollman1996-07-301-0/+1
| | | | | | | | | | | | | interfaces. This creates two new tables in the net.link.generic branch of the MIB; one contains (essentially) `ifdata' structures, and the other contains a blob provided by the interface (and presumably used to implement link-layer-specific MIB variables). A number of things have been moved around in the `ifnet' and `ifdata' structures, so NEW VERSIONS OF ifconfig(8) AND routed(8) ARE REQUIRED. (A simple recompile is all that's necessary.) I have a sample program which uses this interface for those interested in making use of it.
* FINALLY: PCI support for the Lance Ethernet driver.se1996-07-181-0/+1
| | | | | | | | | | | | | | | | | | This code applies to several systems with integrated Ethernet chip, for example from HP or Compaq. It should also support PCI Ethernet cards based on the AMD PCI Lance chip. This code has been reviewed (visually) by Paul Richards and tested (using an ISA Lance board) by Joerg Wunsch. Since the parameters to nearly each and every single function had to be changed (generally from unit number to lnc_soft*), there is some potential for buglets having crept in ... BEWARE: If you had lnc0 configured to have the ISA probe find your PCI Lance, then it should now be found by the PCI probe, and should be automatically configured as pci1 (!!! note the "1"). Reviewed by: paul, joerg
* Adding changes to ipfw and the kernel to support ip packet diversion..julian1996-07-101-0/+1
| | | | | | This stuff should not be too destructive if the IPDIVERT is not compiled in.. be aware that this changes the size of the ip_fw struct so ipfw needs to be recompiled to use it.. more changes coming to clean this up.
* Add the file procfs_type.c to procfs.dyson1996-06-181-0/+1
|
* Add a feature to procfs to allow display of the process address mapdyson1996-06-171-0/+1
| | | | | | | with multiple entries as follows: start address, end address, resident pages in range, private pages in range, RW/RO, COW or not, (vnode/device/swap/default).
* This is the `netkey' kernel key-management service (the PF_KEY analoguewollman1996-06-141-0/+1
| | | | | | | | | | | to PF_ROUTE) from NRL's IPv6 distribution, heavily modified by me for better source layout, formatting, and textual conventions. I am told that this code is no longer under active development, but it's a useful hack for those interested in doing work on network security, key management, etc. This code has only been tested twice, so it should be considered highly experimental. Obtained from: ftp.ripe.net
* Obtained from: netatalk distribution netatalk@itd.umich.edujulian1996-05-241-0/+7
| | | | | | | Kernel Appletalk protocol support both CAP and netatalk can make use of this.. still needs some owrk but it seemd the right tiime to commit it so other can experiment.
* Add support for NE2000 compatible PCI Ethernet cards. The PCI probese1996-05-181-0/+1
| | | | | | | | | | | | | | is enabled by having an "device ed0 at isa? [...]" config line. The first PCI card will get a unit number one higher than the highest defined for any ISA card of the ED type, e.g. if ed0 and ed1 are configured, then the PCI cards will be ed2, ed3, ... BEWARE: If you have configured your kernel as ed0 with the port address as assigned by the PCI BIOS, then your card will be found by both the PCI and ISA probes, and bad things may happen. Make sure to restore the original port address form the GENERIC kernel for the ed0 device! Reviewed by: davidg
* Bring in ccd support.asami1996-05-031-0/+1
| | | | ccd is a pseudo device.
* Move the "mib" variables out to their own file.phk1996-04-071-0/+1
|
* Remove all traces of KADB.phk1996-03-231-13/+0
| | | | | | add sysctl "debug.debugger_on_panic=1" if DDB or KGDB is in kernel. Requested by: davidg
* First attempt at FreeBSD & Linux ELF support.sos1996-03-101-0/+1
| | | | | | | | | | | | | | | | | Compile and link a new kernel, that will give native ELF support, and provide the hooks for other ELF interpreters as well. To make native ELF binaries use John Polstras elf-kit-1.0.1.. For the time being also use his ld-elf.so.1 and put it in /usr/libexec. The Linux emulator has been enhanced to also run ELF binaries, it is however in its very first incarnation. Just get some Linux ELF libs (Slackware-3.0) and put them in the prober place (/compat/linux/...). I've ben able to run all the Slackware-3.0 binaries I've tried so far. (No it won't run quake yet :)
* Mega-commit for Linux emulator update.. This has been stress tested underpeter1996-03-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | netscape-2.0 for Linux running all the Java stuff. The scrollbars are now working, at least on my machine. (whew! :-) I'm uncomfortable with the size of this commit, but it's too inter-dependant to easily seperate out. The main changes: COMPAT_LINUX is *GONE*. Most of the code has been moved out of the i386 machine dependent section into the linux emulator itself. The int 0x80 syscall code was almost identical to the lcall 7,0 code and a minor tweak allows them to both be used with the same C code. All kernels can now just modload the lkm and it'll DTRT without having to rebuild the kernel first. Like IBCS2, you can statically compile it in with "options LINUX". A pile of new syscalls implemented, including getdents(), llseek(), readv(), writev(), msync(), personality(). The Linux-ELF libraries want to use some of these. linux_select() now obeys Linux semantics, ie: returns the time remaining of the timeout value rather than leaving it the original value. Quite a few bugs removed, including incorrect arguments being used in syscalls.. eg: mixups between passing the sigset as an int, vs passing it as a pointer and doing a copyin(), missing return values, unhandled cases, SIOC* ioctls, etc. The build for the code has changed. i386/conf/files now knows how to build linux_genassym and generate linux_assym.h on the fly. Supporting changes elsewhere in the kernel: The user-mode signal trampoline has moved from the U area to immediately below the top of the stack (below PS_STRINGS). This allows the different binary emulations to have their own signal trampoline code (which gets rid of the hardwired syscall 103 (sigreturn on BSD, syslog on Linux)) and so that the emulator can provide the exact "struct sigcontext *" argument to the program's signal handlers. The sigstack's "ss_flags" now uses SS_DISABLE and SS_ONSTACK flags, which have the same values as the re-used SA_DISABLE and SA_ONSTACK which are intended for sigaction only. This enables the support of a SA_RESETHAND flag to sigaction to implement the gross SYSV and Linux SA_ONESHOT signal semantics where the signal handler is reset when it's triggered. makesyscalls.sh no longer appends the struct sysentvec on the end of the generated init_sysent.c code. It's a lot saner to have it in a seperate file rather than trying to update the structure inside the awk script. :-) At exec time, the dozen bytes or so of signal trampoline code are copied to the top of the user's stack, rather than obtaining the trampoline code the old way by getting a clone of the parent's user area. This allows Linux and native binaries to freely exec each other without getting trampolines mixed up.
* Big sweep over the IPFIREWALL and IPACCT code.phk1996-02-231-2/+0
| | | | | | | | | | | | | | Close the ip-fragment hole. Waste less memory. Rewrite to contemporary more readable style. Kill separate IPACCT facility, use "accept" rules in IPFIREWALL. Filter incoming >and< outgoing packets. Replace "policy" by sticky "deny all" rule. Rules have numbers used for ordering and deletion. Remove "rerorder" code entirely. Count packet & bytecount matches for rules. Code in -current & -stable is now the same.
* Kill XNS.wollman1996-02-131-10/+10
| | | | | While we're at it, fix socreate() to take a process argument. (This was supposed to get committed days ago...)
* Comment out netccitt, netimp, and netiso entries, since wewollman1996-02-071-72/+72
| | | | | | no longer ship this code. Submitted by: davidg
* Added sys_pipe into files.dyson1996-01-281-0/+1
|
* procfs_{mem|regs|fpregs}.c are now completely shared with ptrace(),peter1996-01-241-3/+3
| | | | and are no longer optional. This cuts down some code duplication.
* Removed last vestige of JREMOD.bde1996-01-211-1/+0
|
* sysv_ipc.c now "standard" as it contains #if defined(...) blockspeter1996-01-081-3/+1
| | | | | | of code that handle the various permutations of SYSV options. sysv_shm.c etc (the implementations) are still optional, this is just a file of stubs and an optional utility function.
* Add pci/bt9xx.c - the new PCI probe module of the Buslogic SCSI driver.gibbs1995-12-121-0/+1
|
* Pass 3 of the great devsw changesjulian1995-12-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | most devsw referenced functions are now static, as they are in the same file as their devsw structure. I've also added DEVFS support for nearly every device in the system, however many of the devices have 'incorrect' names under DEVFS because I couldn't quickly work out the correct naming conventions. (but devfs won't be coming on line for a month or so anyhow so that doesn't matter) If you "OWN" a device which would normally have an entry in /dev then search for the devfs_add_devsw() entries and munge to make them right.. check out similar devices to see what I might have done in them in you can't see what's going on.. for a laugh compare conf.c conf.h defore and after... :) I have not doen DEVFS entries for any DISKSLICE devices yet as that will be a much more complicated job.. (pass 5 :) pass 4 will be to make the devsw tables of type (cdevsw * ) rather than (cdevsw) seems to work here.. complaints to the usual places.. :)
* Device driver for Intel Pro/100 PCI Fast Ethernet controller.dg1995-11-281-0/+1
|
* Changes to existing files for ext2fs support. The UFS mods need reworkdyson1995-11-051-0/+10
| | | | | in the future as they are a bit crufty -- but at least the stuff is in the tree now.
* Update the file list for the new ppp files..peter1995-10-311-1/+3
|
* Reviewed by: not yetjulian1995-10-311-0/+1
| | | | | | | | Submitted by: fgray@rice.edu this driver hasn't been checked but as a separate module, bringing it in won't break anything else and it't the best way of testing it...... julian
* Reviewed by: julian and jhay@mikom.csir.co.zajulian1995-10-261-0/+12
| | | | | | | | | | | | | | | | | | | | | Submitted by: Mike Mitchell, supervisor@alb.asctmd.com This is a bulk mport of Mike's IPX/SPX protocol stacks and all the related gunf that goes with it.. it is not guaranteed to work 100% correctly at this time but as we had several people trying to work on it I figured it would be better to get it checked in so they could all get teh same thing to work on.. Mikes been using it for a year or so but on 2.0 more changes and stuff will be merged in from other developers now that this is in. Mike Mitchell, Network Engineer AMTECH Systems Corporation, Technology and Manufacturing 8600 Jefferson Street, Albuquerque, New Mexico 87113 (505) 856-8000 supervisor@alb.asctmd.com
* add the file kern_conf.c so it con be compiled in when neededjulian1995-10-041-0/+1
| | | | for testing.. (for cdevsw_add and bdevsw_add)
* replaced 2 devfs files with one that replaces themjulian1995-09-061-2/+1
|
* First part of importing the Japanese `od' driver.joerg1995-08-191-0/+1
| | | | | | | | | | | | | | | | | | Claim the major numbers (before sombedoy else jumps in again and claims the slots for his foocd driver :-), install all the hooks that are required. While i've been at this, i've cleaned up some of the routines at the end of i386/conf.c; all the importers of the latest CDROM drivers forgot to fill in the appropriate information. The `ata' driver (vapourware?) does only occupy a slot in the bdevsw[] array, btw. The actual import of the code does require a minor change in the SCSI subsystem, and i want to have this reviewed by Peter first, so it will be deferred for some days. The driver is already working for me though. Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama)
* Reserve space for Jim Lowe's impending Matrox Meteor card driver.jkh1995-07-311-0/+1
| | | | Submitted by: james
* Reviewed by: phkphk1995-07-161-0/+2
| | | | | | | | | Submitted by: Andrew McRae <andrew@mega.com.au> Some initial commits from the pcmcia stuff, to make life easier for the testers. We will use the name "pccard" since that is really the buzzword at present.
* NOTE: libkvm, w, ps, 'top', and any other utility which depends on structdg1995-07-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | proc or any VM system structure will have to be rebuilt!!! Much needed overhaul of the VM system. Included in this first round of changes: 1) Improved pager interfaces: init, alloc, dealloc, getpages, putpages, haspage, and sync operations are supported. The haspage interface now provides information about clusterability. All pager routines now take struct vm_object's instead of "pagers". 2) Improved data structures. In the previous paradigm, there is constant confusion caused by pagers being both a data structure ("allocate a pager") and a collection of routines. The idea of a pager structure has escentially been eliminated. Objects now have types, and this type is used to index the appropriate pager. In most cases, items in the pager structure were duplicated in the object data structure and thus were unnecessary. In the few cases that remained, a un_pager structure union was created in the object to contain these items. 3) Because of the cleanup of #1 & #2, a lot of unnecessary layering can now be removed. For instance, vm_object_enter(), vm_object_lookup(), vm_object_remove(), and the associated object hash list were some of the things that were removed. 4) simple_lock's removed. Discussion with several people reveals that the SMP locking primitives used in the VM system aren't likely the mechanism that we'll be adopting. Even if it were, the locking that was in the code was very inadequate and would have to be mostly re-done anyway. The locking in a uni-processor kernel was a no-op but went a long way toward making the code difficult to read and debug. 5) Places that attempted to kludge-up the fact that we don't have kernel thread support have been fixed to reflect the reality that we are really dealing with processes, not threads. The VM system didn't have complete thread support, so the comments and mis-named routines were just wrong. We now use tsleep and wakeup directly in the lock routines, for instance. 6) Where appropriate, the pagers have been improved, especially in the pager_alloc routines. Most of the pager_allocs have been rewritten and are now faster and easier to maintain. 7) The pagedaemon pageout clustering algorithm has been rewritten and now tries harder to output an even number of pages before and after the requested page. This is sort of the reverse of the ideal pagein algorithm and should provide better overall performance. 8) Unnecessary (incorrect) casts to caddr_t in calls to tsleep & wakeup have been removed. Some other unnecessary casts have also been removed. 9) Some almost useless debugging code removed. 10) Terminology of shadow objects vs. backing objects straightened out. The fact that the vm_object data structure escentially had this backwards really confused things. The use of "shadow" and "backing object" throughout the code is now internally consistent and correct in the Mach terminology. 11) Several minor bug fixes, including one in the vm daemon that caused 0 RSS objects to not get purged as intended. 12) A "default pager" has now been created which cleans up the transition of objects to the "swap" type. The previous checks throughout the code for swp->pg_data != NULL were really ugly. This change also provides the rudiments for future backing of "anonymous" memory by something other than the swap pager (via the vnode pager, for example), and it allows the decision about which of these pagers to use to be made dynamically (although will need some additional decision code to do this, of course). 13) (dyson) MAP_COPY has been deprecated and the corresponding "copy object" code has been removed. MAP_COPY was undocumented and non- standard. It was furthermore broken in several ways which caused its behavior to degrade to MAP_PRIVATE. Binaries that use MAP_COPY will continue to work correctly, but via the slightly different semantics of MAP_PRIVATE. 14) (dyson) Sharing maps have been removed. It's marginal usefulness in a threads design can be worked around in other ways. Both #12 and #13 were done to simplify the code and improve readability and maintain- ability. (As were most all of these changes) TODO: 1) Rewrite most of the vnode pager to use VOP_GETPAGES/PUTPAGES. Doing this will reduce the vnode pager to a mere fraction of its current size. 2) Rewrite vm_fault and the swap/vnode pagers to use the clustering information provided by the new haspage pager interface. This will substantially reduce the overhead by eliminating a large number of VOP_BMAP() calls. The VOP_BMAP() filesystem interface should be improved to provide both a "behind" and "ahead" indication of contiguousness. 3) Implement the extended features of pager_haspage in swap_pager_haspage(). It currently just says 0 pages ahead/behind. 4) Re-implement the swap device (swstrategy) in a more elegant way, perhaps via a much more general mechanism that could also be used for disk striping of regular filesystems. 5) Do something to improve the architecture of vm_object_collapse(). The fact that it makes calls into the swap pager and knows too much about how the swap pager operates really bothers me. It also doesn't allow for collapsing of non-swap pager objects ("unnamed" objects backed by other pagers).
* Reviewed by: no-one yet, but non-intrusivejulian1995-04-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: julian@tfs.com Obtained from: written from scratch slight changes to make space for devfs.. (also conditional test code in i386/isa/fd.c) why casn't cvs picked up these changes and shown them here? is this going to be a NULL commit? who knows? (it scanned all the dirs) =================================================================== RCS file: /home/ncvs/src/sys/sys/malloc.h,v retrieving revision 1.7 diff -r1.7 malloc.h 113a114,117 > #define M_DEVFSMNT 62 /* DEVFS mount structure */ > #define M_DEVFSBACK 63 /* DEVFS Back node */ > #define M_DEVFSFRONT 64 /* DEVFS Front node */ > #define M_DEVFSNODE 65 /* DEVFS node */ 184c188,192 < NULL, NULL, NULL, NULL, NULL, \ --- > "DEVFS mount", /* 62 M_DEVFSMNT */ \ > "DEVFS back", /* 63 M_DEVFSBACK */ \ > "DEVFS front", /* 64 M_DEVFSFRONT */ \ > "DEVFS node", /* 65 M_DEVFSNODE */ \ > NULL, \ Index: sys/mount.h =================================================================== RCS file: /home/ncvs/src/sys/sys/mount.h,v retrieving revision 1.16 diff -r1.16 mount.h 100c100,101 < #define MOUNT_MAXTYPE 15 --- > #define MOUNT_DEVFS 16 /* existing device Filesystem */ > #define MOUNT_MAXTYPE 16 118a120 > "devfs", /* 15 MOUNT_DEVFS */ \ Index: sys/vnode.h =================================================================== RCS file: /home/ncvs/src/sys/sys/vnode.h,v retrieving revision 1.19 diff -r1.19 vnode.h 61c61 < VT_UNION, VT_MSDOSFS --- > VT_UNION, VT_MSDOSFS, VT_DEVFS
* Add scsi targetdufault1995-04-141-0/+1
|
* Add scsi/scsi_sense.cdufault1995-03-151-0/+1
|
* Added support for generic FDDI and the DEC DEFEA and DEFPA FDDI adapters.dg1995-03-141-0/+5
| | | | Submitted by: Matt Thomas
* Add processor type and worm driversdufault1995-03-041-0/+2
|
* 1. "uk" driver now optional on scbusdufault1995-03-011-1/+2
| | | | 2. Added base scsi driver file scsi_driver.c
* Make diskslice files standard and remove option DISKSLICE. ufs_disksubr.cbde1995-02-231-2/+2
| | | | | needed a diskslice function yesterday and all disk drivers will need it. The diskslice initialization routine should be configurable (but isn't).
* Removed vm_user.c.dg1995-02-211-1/+0
|
* remove gnu/scsi/nic5000.c - it's deprecated.jkh1995-02-191-1/+0
|
* Add the ISDN entries.jkh1995-02-141-0/+6
|
OpenPOWER on IntegriCloud