summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
...
* autoconf.c:gibbs1997-09-217-27/+99
| | | | | | | | | | | | | Add cpu_rootconf and cpu_dumpconf so that configuring these two devices can be better controlled by the MI configuration code. machdep.c: MD initialization code for the new callout interface. trap.c: Add support for printing out whether cam interrupts are masked during a panic.
* Add shared EISA interrupt support.gibbs1997-09-2113-204/+293
| | | | Clean up the match routines so that they return const char *
* Move the rules for aicasm to the MI conf file.gibbs1997-09-214-64/+42
|
* Convert to the new callout interface.gibbs1997-09-212-6/+14
|
* Convert to the new callout interface.gibbs1997-09-212-5/+15
| | | | Guard against scheduling more than one callout.
* Move the rules for aicasm to the MI conf file.gibbs1997-09-211-0/+16
| | | | | Add kern/subr_autoconf.c as a standard file as it contains the bulk of the code for performing interrupt driven configuration.
* Implement the parts needed for VM86 under SMP.peter1997-09-2116-66/+193
|
* Fix some style(9) and formatting problems. tabsize 4 formatting doesn'tpeter1997-09-212-104/+122
| | | | | | look too great with 'more' etc. Approved by: dyson (with a minor grumble :-)
* Add support for more than 1 page of idle process stack on SMP systems.dyson1997-09-2112-167/+283
|
* Re-institute a bugfix in allocation of anonymous buffer memory.dyson1997-09-211-7/+36
|
* Change the M_NAMEI allocations to use the zone allocator. This changedyson1997-09-2136-295/+427
| | | | | | | | plus the previous changes to use the zone allocator decrease the useage of malloc by half. The Zone allocator will be upgradeable to be able to use per CPU-pools, and has more intelligent usage of SPLs. Additionally, it has reasonable stats gathering capabilities, while making most calls inline.
* Recognize the CS4326 on the Intel PR440FX motherboard. (It works just likepeter1997-09-213-33/+72
| | | | | | the normal CS4326 except that it's had it's ID's tweaked for some reason) Also mark the device as alive in the attach routine so that the pnp system doesn't think the attach failed.
* Fix a comment-within-a-commentpeter1997-09-215-5/+5
|
* Accept FIOASYNC (like the old sound driver) since it's generated bypeter1997-09-211-2/+2
| | | | kern_descrip.c when the user does an fcntl(.., F_SETFL, ...).
* We were (I think) missing a vrele() on the vnode for the object loadedpeter1997-09-211-6/+5
| | | | via PT_INTERP (usually /usr/libexec/ld-elf.so.1).
* For AMD chips, pick up the long description from the chip ifphk1997-09-202-2/+142
| | | | | | | possible. (This is not really a typographical improvement in the case of the K6 it seems, but AMD appearantly want it too look that way). Also if bootverbose, dump some more info about the chip.
* Addition of support of the slightly rogue Promise IDE interface(Dyson), supportdyson1997-09-208-654/+1205
| | | | | | | | | | | of multiple PCI IDE controllers(Dyson), and some updates and cleanups from John Hood, who originally made our IDE DMA stuff work :-). I have run tests with 7 IDE drives connected to my system, all in DMA mode, with no errors. Modulo any bugs, this stuff makes IDE look really good (within it's limitations.) Submitted by: John Hood <cgull@smoke.marlboro.vt.us>
* Adjust the #ifdef KERNEL so that pnp_cinfo is available for sbin/dset.cpeter1997-09-201-5/+5
| | | | | Other ways around this might be to #define KERNEL in dset.c for the "i386/isa/pnp.h" include.
* Synchronize with sys/i386/isa/isa.c revision 1.104.kato1997-09-201-4/+15
|
* Synchronize with sys/i386/conf/options.i386 and sys/i386/isa/sio.ckato1997-09-204-28/+248
| | | | revisions 1.60 and 1.182, respectively.
* ``oops''. I cut/pasted the original free()'s based on mark's suggestionpeter1997-09-202-8/+8
| | | | | | | | rather than extracting the diff from Mark's patch, but it turns out that I was freeing one allocation twice due to a previous cut/paste braino. My botch, not Mark's. Pointed out by: Mark Valentine <mv@pobox.com>
* teach sio how to attach to isa PnP cards. This is mainly for use withjmg1997-09-198-44/+388
| | | | | | | | | | | | | | | | internal modems. Currently detects a USR modem, and a couple Supra modems... vendor id's for sio capabile cards welcomed... document new option EXTRA_SIO that will increase sio's internal data structures to support X more serial ports... these are used by the PnP part of sio for attaching... If you don't have it specified, it will default to 2... This is defaulted to 0 if you don't have PnP compiled into your kernel... also document that if you set the PnP flags (pnp x flags y) to 0x1 that the modem will be refused to be recognized by the sio driver... this is for people that want the traditional isa driver to probe and attach the modem... (for keeping legacy sio numbering)
* teach pnp to keep isa_device structs around, and teach isa.c how to scanjmg1997-09-194-48/+122
| | | | | | | | | | | | | these structs for conflics... it still exist that two PnP cards can colide, but this is up to the user to make sure it doesn't happen... other modifications to pnp.c to format output properly, and hide more output behind bootverbose flag... fix some bugons in pnp.h that would of made it difficult for inclusion in external programs (for import of pnpinfo)
* [Regarding the previous patch] This is completely wrong.phk1997-09-191-3/+5
| | | | | | | | | | | | | 1. ffs_alloc() actually allowed writing one block less one frag (normally 7 frags or 7/8 blocks) beyond the limit. 2. freebufspace() gives the free space in frags, but `size' is in bytes, so the change results in approximately `size' fragments too many being reserved. 3. ffs_realloccg() has the same bug but wasn't changed. PR: 3398 Submitted by: bde Eyeballed by: phk
* Synchronize with sys/i386/i386/userconfig.c revision 1.93.kato1997-09-191-6/+6
|
* Executing binaries on a nullfs (or nullfs-based) filesystem results inphk1997-09-184-10/+14
| | | | | | | a trap. PR: 3104 Reviewed by: phk Submitted by: Dan Walters hannibal@cyberstation.net
* Ffs_alloc allow users to write one block beyond the limit.phk1997-09-181-2/+2
| | | | | | PR: 3398 Reviewed by: phk Submitted by: Wolfram Schneider <wosch@apfel.de>
* Missed a place where the extra descriptor buffers would need to bepeter1997-09-182-2/+6
| | | | | | freed. Submitted by: Mark Valentine <mark@linus.demon.co.uk>
* Synchronize with sys/i386/isa/fd.c revision 1.102.kato1997-09-182-2/+114
|
* wrap kernel interface in #ifdef KERNEL/#endifjmg1997-09-182-18/+25
| | | | | | hide more verbosity behind bootverbose make it so that it doesn't emit as many warnings durning compiling...
* reduce the number of warnings this file emits during compilingjmg1997-09-181-6/+6
|
* update Luigi's driver to poll interface (Peter, you might want to checkjmg1997-09-1811-171/+141
| | | | | | | | that I've done this properly, it does work though :) )... a few minor fixes to code part-Submitted-by: Luigi
* Remove line noise from the quirk list (kernel build stopper)msmith1997-09-181-2/+1
|
* Add the C1557A as a known tape changer (thus non-broken multi-LUN tapejoerg1997-09-171-1/+6
| | | | | | device). Submitted by: Andre.Albsmeier@mchp.siemens.de (Andre Albsmeier)
* Enable the FIFO on enhanced floppy controllers. This reduces thetegge1997-09-178-8/+178
| | | | | | | | number of dma overruns/underruns for systems under heavy dma load. As a side effect, broken enhanced floppy controllers that sometimes don't detect dma overruns/underruns will give less errors. Reviewed by: j@uriah.heep.sax.de (J Wunsch)
* Synchronize with sys/i386/conf/options.i386 and sys/i386/isa/fd.ckato1997-09-174-22/+50
| | | | revisions 1.59 and 1.101, respectively.
* Make TCPDEBUG a new-style option.joerg1997-09-1610-10/+29
|
* Drop temporary source-level compatibility for old mount(2) interface.bde1997-09-161-5/+1
|
* Removed a stray backslash-newline.bde1997-09-161-2/+2
|
* Fixed syntax errors in `#if 0' code.bde1997-09-161-3/+3
|
* Cleaned up.bde1997-09-161-18/+7
|
* Removed declaration of nonexistent function fuibyte().bde1997-09-161-38/+45
| | | | | | | | | | | | Sorted some declarations. Fixed missing __P(())'s. Removed `timeout_func_t (pointer to timeout function) typedef. It was mainly used in bogus casts. The more useful `timeout_t' (timeout function) typedef should be used instead. Cleaned up callout declarations and comments.
* Fixed staticization. buckets[] was staticized but was still declaredbde1997-09-162-13/+23
| | | | | | | | | | | extern in <sys/malloc.h> and it should not have been staticized for the !(KMEMSTATS || DIAGNOSTIC) case. Fixed the !(KMEMSTATS || DIAGNOSTIC) case. The MALLOC() and FREE() macros are evil, but code generally doesn't allow for this and some code involving else clauses did not compile. Finished staticization.
* Fixed gratuitous ANSIisms.bde1997-09-1621-63/+105
|
* Reject attempts to set an in-core label which says that the "disk"bde1997-09-161-4/+10
| | | | | | | | | | | | | | | | | | | or a partition is larger than the slice. Now `disklabel -Brw sdX auto' should fail properly on sliced disks without partition of type 165, e.g., on zip disks with the factory default formatting. Previously it set a bogus in-core label for the compatibility slice and used this to corrupt the MBR (the slice has offset 0 and size 0, but setting the label in effect corrupted its size to nonzero). `disklabel -Brw sdX auto' already failed properly on normally (not dangerously dedicated) sliced disks _with_ partition of type 165, because the compatibility slice has a nonzero offset so the MBR remained inaccessible when the size was corrupted. This bug only affected in-core labels. On-disk labels are checked carefully when they read and written.
* devfs changes to allow old (better) and newer (braindamaged) behaviour.julian1997-09-161-10/+24
| | | | I'm going to try migrate back, while keeping the newer code.
* Don't leak memory, from sef.phk1997-09-162-22/+54
| | | | Stylistic nits and a blunder, from bde.
* Make FDC_DEBUG a supported option.joerg1997-09-168-35/+95
| | | | | | | Hide the bogus FDC ``chip type'' display behind a (mostly) undocumented option, since people started to trust the bogus claim. Once we're going to handle 2.88 MB controllers, we have to redo the chip detection, by now just leave it hidden.
* Prevent overflow with fragmented packetsache1997-09-151-26/+67
| | | | Reviewed by: wollman
* Solve race-condition, return path in normal order.phk1997-09-152-52/+58
| | | | | | | | | A couple of stylistic nits from Bruce. If your libc contains version 1.11 or 1.12 of getcwd.c, (ie: if you recompiled libc one of the last couple of days): >>> Recompile LIBC before you boot a new kernel <<< A new libc will deal with both old and new kernels.
OpenPOWER on IntegriCloud