summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* The style in my patch011 is inconsistent and out of date. It shouldbde1994-11-061-2/+2
| | | | have been changed _before_ committing the patch.
* Work around microtime() enabling interrupts.bde1994-11-061-1/+10
|
* Fix for 'pstat -t' works on vtysache1994-11-031-1/+2
| | | | Submitted by: jhay@mikom.csir.co.za
* Submitted by:se1994-11-022-7/+136
| | | | | Added hooks for "lsdev" ... PCI devices should need no individual code for lsdev.
* Back out Joerg's latest commit. Sorry, Joerg, but this breaks the installjkh1994-11-021-143/+98
| | | | | | floppies now. I'm not sure why, but things hang when it gets to the `changing root to fd0c' part. Without your latest commit, everything works fine. Maybe you can figure out what you broke after ALPHA! :)
* Only log errors every second (instead of every 5-10 msec) and check forbde1994-11-011-59/+81
| | | | | | | | | | | | | | errors at a lower ipl. clist starvation problems can cause hundreds of tty buffer overflows per second and logging them all amplified the problems. This problem was less serious in 1.1.5. Avoid a race in the check for starting a new block of output. com_events was sometimes messed up and siopoll() looped endlessly. This bug was introduced in 2.0. Clean up previous 2 commits. Rename sio_registerdev() to sioregisterdev() to match the (bad) surrounding naming conventions. There should be a generic_registerdev().
* DMA automode patch, fix SB16 clicksache1994-11-011-1/+2
| | | | Submitted by: tim@cs.city.ac.uk
* Several minor fixes to the floppy driver:joerg1994-10-301-99/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | . 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.
* Julian Elischer's disklabel fixes.jkh1994-10-272-6/+5
|
* The other half of patch011, read Numlck state from bios.phk1994-10-271-6/+2
|
* Fix initialization of video_mode_ptr. It only worked if the segmentsbde1994-10-261-9/+32
| | | | | | | 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.
* Fixed a couple of wrong printfs (too few arguments supplied). Also zappedphk1994-10-261-5/+3
| | | | | a couple of unused vars at the same time. Added a #include <sys/proc.h> to isa.c while here anyway.
* Modified fifth parameter (imask) to register_intr() according tose1994-10-251-5/+2
| | | | new definition of that function.
* Fixed cut&paste error.wollman1994-10-241-2/+2
| | | | Submitted by: davidg
* Finished device configuration database work for all ISA devices (except `ze')wollman1994-10-239-47/+192
| | | | | | | | | | | | | and all SCSI devices (except that it's not done quite the way I want). New information added includes: - A text description of the device - A ``state''---unknown, unconfigured, idle, or busy - A generic parent device (with support in the m.i. code) - An interrupt mask type field (which will hopefully go away) so that . ``doconfig'' can be written This requires a new version of the `lsdev' program as well (next commit).
* While I debugged this, I quenched the compile warnings from if_ed. no otherphk1994-10-221-14/+19
| | | | changes.
* Checking for timeout at several critical calls to ``out_fdc()'' now,joerg1994-10-211-14/+56
| | | | | | | so i hope i've finally removed all the occasions where the driver got stuck when there's no floppy in the drive. Also attemmpting to omit the error mesage for ``recalib failed'' for the first time, since people tend to be confused about this.
* Make my ALLDEVS kernel compile (basically, LINT minus a lot of options).wollman1994-10-211-2/+2
| | | | This involves fixing a few things I broke last time.
* A missing bit from Peter Dufaults patches, as best I could guess...phk1994-10-201-1/+22
|
* Peter Dufaults comconsole changes.phk1994-10-201-8/+8
| | | | Submitted by: Peter Dufault
* Clean up previous commit.bde1994-10-191-3/+3
|
* Add support for devconf to a large number of device drivers, and dowollman1994-10-194-23/+79
| | | | the right thing in dev_goawayall() when kdc_goaway is null.
* isa.c isa_device.h: declare & define {e,}isa_{in,ex}ternalize().wollman1994-10-191-1/+91
| | | | | fd.c: register devices and implement disk stats. wd.c: fix disk stats and call isa_externalize() as appropriate.
* Remove color_display, GIO_COLOR now existsache1994-10-181-6/+3
|
* Added more SCO compat ioctl's.sos1994-10-171-27/+52
|
* isa_device.h: Added flag for sensitive HW. ed# seems to break if anythingphk1994-10-172-4/+5
| | | | | | | | | | | | | | | | | | | | else has been probed. This feature could go away again, if we can curb the problem another way. if_ed.c, syscons.c: Set the above flag. ed# because it needs it, syscons because it looks stupid to "detect" the display you have already filled up with text :-) bt742a.c: Check bt_cmd() return-val during probe, thus failing on adaptec's. Also silenced various printf's during the probe. isa.c: Probe devices with the above flag set before the rest. Reduce the number of "conflict" messages per device to one. *** Please test the GENERIC-kernel now, if nobody can make it fail, GENERICAH and GENERICBT has a finite and short life-expectancy... ***
* Initialize color_display as undefined, cosmetiqueache1994-10-171-2/+2
|
* Add color_display variable for CPU_COLORDISP sysctl.ache1994-10-151-1/+4
|
* Prevent modem hanging forever on close with CTS off:ache1994-10-151-1/+3
| | | | use 1min timeout to wakeup ttywait
* Fix range checking bug, pointed by peter@haywire.dialix.comache1994-10-141-3/+3
|
* The code I wrote to write mbufs out using PIO had a bug in the handlingdg1994-10-141-52/+55
| | | | | | | | of mb_offset given the right sequence of 1 and 0 byte mbufs. This bug was discovered by John Hood who also provided this fix - which is a rewrite of the routine (and is easier to understand than the code I wrote). Submitted by: John Hood <cgull@smoke.marlboro.vt.us>
* Work around FIFO bug in SMC UARTS.bde1994-10-121-49/+86
| | | | | | | | | | | | | Fix endless loop in siopoll() for an event on a tty with no tty struct. Don't generate unwanted interrupts in the serial console driver. These bugs probably don't matter unless the tty struct is dynamically allocated. Support polled mode. To use it, leave out the irq and the vector in the config file. It only causes extra overhead for open polled ports. The maximum usable speed is approximately 1000 bps for a 16450 and 15000 bps for a 16550. Other cosmetic changes.
* Submitted by: Matt Thomas <thomas@lkg.dec.com>se1994-10-121-16/+34
| | | | Preliminary FAST Ethernet support added (DEC21140).
* Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>se1994-10-122-284/+345
| | | | | | | | | Bug fixed, that caused system hang on first interrupt on some motherboards. New version of PCI bus configuration code, now supports dynamic interrupt configuration (using BIOS supplied values). NCR SCSI and DEC Ethernet driver patched to use this feature. *** Remove PCI IRQ specifications from your kernel config file ! ***
* Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>se1994-10-121-0/+402
| | | | Files merged and name change: pci_device.h + pcibios.h -> pcireg.h
* Cosmetics. Silence gcc -Wall. Much more to do here :-(phk1994-10-101-4/+4
|
* Completely removed trailer support. The only reason I wrote that code indg1994-10-081-151/+52
| | | | | | | the first place was so that BPF could grok trailer packets. I've since decided that this is a job for tcpdump to decipher (if at all). Also fixed up checks for received packet length to better cope with ancient starlan boards.
* Fix 'cursor-disappearce-after-switching-screen-from-X' bugache1994-10-031-2/+2
|
* (There's two of these now (Am7990.h and am7990.h) and they need topaul1994-10-021-0/+167
| | | | | | | | | | | | be merged at some point) New AMD family ethernet driver. Should support BICC,NE2100, TNIC, AT1500 and anything else that uses a Lance/PCnet type chip. Only been tested with the BICC so far though. Still work to do on performance and MULTICAST support needs to be added but it's basically working and I want the revision history from this point on
* New AMD family ethernet driver. Should support BICC,NE2100, TNIC,paul1994-10-022-0/+1837
| | | | | | | | | AT1500 and anything else that uses a Lance/PCnet type chip. Only been tested with the BICC so far though. Still work to do on performance and MULTICAST support needs to be added but it's basically working and I want the revision history from this point on
* Ripped out APM-hooks. Not ready for prime time yet.phk1994-10-021-22/+1
|
* Make fat cursor as early as possible, per Bruce suggestionache1994-10-021-6/+2
|
* Add Matt Thomas's DC21040 PCI Ethernet driver. (This is turning outwollman1994-10-011-0/+1180
| | | | | to be quite a popular chip, so expect to see a number of products based on it.)
* Laptop Advanced Power Management support by HOSOKAWA Tatsumi.dg1994-10-012-3/+29
| | | | Submitted by: HOSOKAWA Tatsumi
* Correct DEC -> Digital Equipment Corporation.wollman1994-10-011-2/+2
|
* Fix broken FAT_CURSOR support, don't set cursor shape on VGAache1994-09-291-1/+6
|
* Changed header slightly.sos1994-09-292-16/+28
|
* Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>se1994-09-281-5/+1
| | | | | | New version with improved support for WIDE SCSI using the NCR 53c825. Test for buggy secondary cache implementations. PCI Int to IRQ mapping now specified per slot.
* Bug fixed: cursor shaping in mode swithching produce wrong results forache1994-09-271-2/+5
| | | | non-fat cursors, cursor_start goes beyond font size.
* Refuse text mode switching when proper font not loadedache1994-09-271-2/+20
|
OpenPOWER on IntegriCloud