summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Implement CPU_ADJKERNTZ in different way: call resettodr()ache1994-11-012-4/+12
| | | | on writting this variable. adjkerntz pgm changes will follow.
* Add kernel hooks for /dev/vatio -- a minimalistic BSD audio driver emulatorpst1994-11-013-7/+24
| | | | | | created by Amancio Hasty (specificly, this, in conjunction with his sound driver mods for dual-mode DMA will allow VAT compiled for BSD/386 1.1 to run under FreeBSD 2.x.)
* Latest changes from Uben.jkh1994-10-312-40/+193
| | | | Submitted by: uben
* Changed RAW_PART to RAWPART so it comes from disklabel.h.phk1994-10-311-12/+14
| | | | | Force RAW_PART to have the right size. Set d_secperunit in the disklabel.
* Expunge the stain I left upon this code. My '/' fix was utterlyjkh1994-10-311-9/+1
| | | | bogus. Thanks, Boyd!
* Added hooks for an easy drop-in of the pcvt concole driver.joerg1994-10-316-12/+18
| | | | | Don't panic:-), this is simple stuff just doing exactly the same as for syscons. (files.i386 did already contain the necessary stuff.)
* Detect old-style multicast routers and interoperate properlypst1994-10-311-1/+8
|
* changed '#ifdef i386' to '#ifdef __i386__'phk1994-10-313-6/+6
|
* Documented the FDSEEKWAIT option.joerg1994-10-303-3/+48
|
* Print "(null)" instead of crashing for null strings. Null names arebde1994-10-301-1/+3
| | | | | often generated for stack traces. Now inspection of unmapped addresses no longer panics the system.
* Don't include isa.c! How did it link?bde1994-10-301-12/+18
| | | | | | | | | | | | | | | | | | Otherwise clean up the includes. Don't include anything included by param.h. Do include systm.h and cons.h to avoid satisfy -Wimplicit. Don't include console.h or use NOKEY because these are for syscons and we use generic consoles. Don't follow null pointer for command "ls -lrt" - don't allow extra args but do allow trailing blanks. Check for invalid device numbers. strtol() failures are now checked for in all cases, but not carefully enough. We should check for trailing junk, allow any base in all cases (just like config) and handle signs better . (Use strtoul not strtol and cast by assignment to the correct type - always an integral type, PARM_ADDR is bogus. Hex numbers > 0x7fffffff can't be entered now. 0xffffffff has to be entered as -1.)
* Fix selector arg to match the (missing) prototype for sdtossd().bde1994-10-303-6/+21
| | | | | | | | Cosmetic. Return from trap() if trap_fatal() returns. trap_fatal() isn't fatal if you have ddb. Returning from trap() is usually the right thing to do and much better than falling through.
* Fix selector arg to match the (missing) prototype for ssdtosd().bde1994-10-302-4/+4
| | | | Cosmetic.
* locore.s:bde1994-10-306-12/+36
| | | | | | | | | | | | | | | Build a dummy frame at the top of tmpstk to help debuggers trace the stack when the system is idle. swtch.s: idle(): Initialize the frame pointer so that debuggers don't try to trace a bogus stack. Load the frame pointer, load the stack pointer and switch out the old stack in the unique order that never leaves one of the pointers pointers invalid so that debuggers can trace idle(). Disabling interrupts provides sufficient validity for normal operation, but debuggers use (trace) traps.
* Several minor fixes to the floppy driver:joerg1994-10-303-297/+432
| | | | | | | | | | | | | | | | | | | | | | | | | | | | . avoid resetting the FDC every time the last motor is going off; instead, give it a 60-second period for possible later reactivation. This prevents us from needing to recalibrate the FDC too often, but still allows for an ``automagic error recovery', just in case the controller is absolutely stuck. (Simply wait for 60 seconds, and try it again.) . made the floppy head settle time after a seek a constant that might be overridden by a config option. (Well, actually the divisor of the settle time). Pepople often reported problems with their floppies, so i need a simply mechanism that allows them to play with that value. (I personally cannot find any problem on *my* drives.) . implement the FD_DEBUG ioctl command, in case the driver is compiled with DEBUG turned on. . removed a bogus parameter from a printf; the remaining warnings from gcc -Wall seem to be warnings about the %b format gcc cannot understand . rearrange Garett's code to fit better in the existing structure of #define/type/function ordering. . make everything fit into 79 columns again.
* Don't attempt to free null cblocks. There may be less to free thanbde1994-10-302-2/+6
| | | | | normal due to cblock resource starvation or malloc() failing when the device is opened.
* Included the command definition for FD_DEBUG.joerg1994-10-302-2/+6
| | | | | | | This way, it's possible for a user to activate/deactivate floppy driver debugging, even if (s)he doesn't like the overhead of running DDB. Since some ppl tend to have problems with their drives, this might be valuable for investigations.
* Submitted by: Paul F. Werkowskiats1994-10-302-6/+8
| | | | Add a quirk line for the SONY SDT-5000 like it is done for the WangDAT tapes.
* write ptys use _the_same_ tsleep/wakeup address as read ptys due toache1994-10-291-3/+3
| | | | mistype, fixed.
* Make this documentation more sane in the context of 2.0.jkh1994-10-294-56/+18
|
* Add back a "is" variable which was removed by accident.phk1994-10-291-1/+2
|
* A new Makefile, which is more our kind of makefile.phk1994-10-281-36/+47
| | | | Based on Martins makefile, made by Rod, briefly tested by me
* Add netboot to the world of make.phk1994-10-281-2/+2
|
* Fixed Jordan's editing mistake that caused this to puke.dg1994-10-281-1/+2
|
* IP Firewall code from Daniel Boulet and J.S.Antsilevichjkh1994-10-2810-8/+761
| | | | Submitted by: danny ugen
* Andreas Klemm's tape erase patches from 1.1.5.1jkh1994-10-283-3/+72
| | | | Submitted by: andreas
* From: fredriks@mcs.com (Lars Fredriksen)jkh1994-10-287-7/+14
| | | | | | | ... It turns out that these files do not include <sys/dkbad.h> before <sys/disklabel.h>. Submitted by: fredriks
* Removed extra slash between ${DESTDIR} and ${BINDIR}, noticed while workingrgrimes1994-10-281-3/+3
| | | | on Makefile for netboot.
* Urg! the netboot/Makefile is in a miserable state.phk1994-10-281-2/+2
|
* This concludes the CVS-surgery. This makefile now just points at the subdir's.phk1994-10-281-55/+3
|
* Note that enable and disable don't do anything, at present.jkh1994-10-281-2/+46
| | | | Make ^U/^X actually work.
* Again, this is not a filesystem so don't compile it as if it were.wollman1994-10-271-3/+3
|
* ibcs2 is not a filesystem, don't compile it as if it were.wollman1994-10-271-3/+3
|
* Julian Elischer's disklabel fixes.jkh1994-10-2719-229/+687
|
* Change some compile time defaults, which may be overridden from these1994-10-272-28/+16
| | | | | | kernel config file by options lines. Now the default settings are FAST SCSI, max. 4 TAGS, WIDE transfers, if supported by the hardware ...
* Set the EOF flag properly.pst1994-10-272-12/+12
| | | | Obtained from: netbsd-bugs mailing list
* Added device registration stuff.sos1994-10-272-5/+53
|
* The other half of patch011, read Numlck state from bios.phk1994-10-273-18/+6
|
* Extra intr's have nothing to do with LAPTOP.phk1994-10-271-4/+7
| | | | | Made five-strikes-we-shut-up for timeouts. Inspired by: bde in 1.1.5.1-patch011
* Made an annoying printf #ifdef SEADEBUGphk1994-10-271-1/+3
|
* Fix the panic message if init dies to show the exit status.phk1994-10-271-3/+5
|
* Fix a bug which had crept in (an almost certain panic).phk1994-10-271-70/+23
| | | | | Remove inline assembler. Avoid mbuf spaghetti by using m_devget.
* Fix compiler warnings.bde1994-10-262-16/+14
|
* Move definition and initialization of video_mode_pointer to syscons.c.bde1994-10-263-63/+3
|
* Fix initialization of video_mode_ptr. It only worked if the segmentsbde1994-10-263-27/+96
| | | | | | | in the far pointers are multiples of 4K (as is normal when the video BIOS is at seg 0xc000). Disallow mode switching if the pointer is bad. Use a new pa_to_va() macro for all BIOS and video addresses in syscons.
* Stylistic changes.wollman1994-10-263-6/+12
|
* Gross hack to make kernel names not starting with '/' start with '/'.jkh1994-10-262-4/+24
|
* Adjust boot message to conform to reality.jkh1994-10-262-4/+4
|
* Enable USERCONFIG and document it in LINT.jkh1994-10-265-5/+13
|
* Add userconfig.jkh1994-10-262-2/+4
|
OpenPOWER on IntegriCloud