summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Removed options MAXCONS & HARDFONT, they are no longer in usesos1996-04-261-2/+1
| | | | (and havn't been for long, sigh)
* Fix logic bug in pci bridge code. For a PCI-PCI bridge, secondaryasami1996-04-251-2/+2
| | | | | | | | should be <= than subordinate, not the other way around. They are both true if the bridge is not cascaded (i.e., twin-channel scsi/e-net adapters won't be affected by this bug), which is probably why it was unnoticed until today.
* Add missing "int" to static var.asami1996-04-241-2/+2
|
* Format the already applied PCCARD additions to use KNF form. Nonate1996-04-233-162/+150
| | | | functional changes.
* Turn on SCB paging for aic7770 chips rev E or greater.gibbs1996-04-202-13/+33
| | | | Update my copyrights.
* Implement SCB paging. This allows up to 255 active commands ongibbs1996-04-202-100/+181
| | | | | | | | | | | | | | | | aic7770 >= Rev E, aic7850, aic7860, aic7870, and ai7880 based controllers. Make findSCB safer for non-tagged commands when tagged commands are active on the controller. The symptoms of this problem were "Overlapped commands attempted" messages during error recovery attempts. Compact scratch ram usage. This leaves 8 bytes free for future use. Clean up some comments. aic7xxx_reg.h: Update my copyright.
* Update PCI bus code from my current sources:se1996-04-141-155/+165
| | | | | | | | | | | | - always use pci_conf_read() and pci_conf_write(). (This is required to simulate non-existant devices in my system for PCI bridge code tests.) - reorder some functions (put the main functions at the end). - correct off by one bug in the code dealing with unitialized PCI to PCI bridge chips. (Bug found by ASAMI Satoshi.) - print function number for multi-function devices.
* Another try: fixed bogus change of the fifo settings for the non-speed of 0.bde1996-04-131-3/+3
| | | | | rev.1.30 incorrectly changed the behaviour from always disabling the fifo to always enabling it.
* Improve the handling of receive errors. Fix a nasty bug in the receivejhay1996-04-122-110/+324
| | | | buffer code.
* Moved AUTO_EOI_[12] and most sio and pcvt options out of the makefile.bde1996-04-111-2/+4
|
* removed RS_IBUFSIZE #ifndef - have been informed it was a bad ideascrappy1996-04-101-3/+1
|
* Placed an #ifndef around RS_IBUFSIZE so that it can be changed in thescrappy1996-04-101-1/+3
| | | | | config file ... PR#528 is reportly fixed by adding 'options RS_IBUFSIZE=1024' to the config file
* Update drivers to use isa_dma_acquire() and isa_dma_release()smpatel1996-04-081-1/+3
| | | | Reviewed by: bde
* Removed sections 3 and 4 from my copyright.dg1996-04-082-12/+2
|
* Killed sections 3 and 4 of my copyright as I think it is unnecessarilydg1996-04-081-6/+1
| | | | restrictive.
* Changed #includes of <i386/include/foo.h> to #includes of <machine/foo.h>.bde1996-04-071-5/+3
|
* Removed now-unused #includes of <machine/cpu.h>. They were for bootverbosebde1996-04-073-7/+3
| | | | being declared in the wrong place.
* Removed unused declaration of bootverbose.bde1996-04-071-2/+1
|
* Fixed devfs device names and numbers.bde1996-04-071-35/+71
| | | | Fixed handling of unknown CMOS types - don't attach unrecognized devices.
* changed from using dev_link() to devfs_link()scrappy1996-04-021-3/+3
|
* Fetch the (dummy) READY CHANGED condition interrupt stati thatjoerg1996-03-311-1/+8
| | | | | | happen after an FDC reset. Submitted by: bde
* Fix a bogus message:joerg1996-03-311-2/+2
| | | | | ed0: Invalid irq configuration (2) must be 2-5 for 3c503 ^ ^
* aic7xxx.seq:gibbs1996-03-315-31/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix support for the aic7850 by looking only at the relavent bits of the QINCNT. The 7850 puts random garbage in the high bits and all my attempts to determine the cause of this failed. This approach does seem to work around the problem. Don't trust SCSIPERR to tell us when there is a parity error. On some revs of the 7870 and the 7880, this bit follows the parity of the current byte. Instead of using a SEQINT to tell the kernel, re-enable the standard parity error interrupt since it seems to pause the sequencer right at the time of the error which is the effect we were looking for anyway. aic7xxx_reg.h: Remove PARITY_ERROR seqeuncer interrupt type, its no longer used. Define QCOUNTMASK as the SRAM location for the mask to use on the QINCNT register. QCOUNTMASK is determined by the number of SCBs supported by the device we're working on. aic7xxx_asm.c Properly check the return value of fopen, and define the arg list in getopt correctly. Submitted by: Pete Bentley <pete@demon.net>
* Fixed group of some more disk devices.bde1996-03-291-9/+9
| | | | Fixed devfs function names.
* Fixed missing quote in a devfs string.bde1996-03-291-2/+2
|
* A bug fix and a couple of new modes for the meteor driver.jkh1996-03-281-1/+5
| | | | Submitted-By: Jim Lowe <james@miller.cs.uwm.edu>
* Removed an unused devfs variable again.bde1996-03-281-2/+2
| | | | Added $Id$.
* Switched from using devfs_add_devsw() to devfs_add_devswf()scrappy1996-03-281-4/+6
| | | | Reviewed by: julian@freebsd.org
* Switched from using devfs_add_sw() to using devfs_add_swf()scrappy1996-03-288-97/+78
| | | | Reviewed by: julian@freebsd.org
* Reviewed by: julian@freebsd.orgscrappy1996-03-281-0/+1
|
* Fixed ownerships of callout devices.bde1996-03-273-37/+39
|
* Moved the initialization of the devfs devices to after the initializationbde1996-03-271-7/+9
| | | | of the devswitch so that it actually works.
* Fixed name of /dev/speaker (it's not spkr).bde1996-03-271-4/+4
|
* Fixed group of disk devices (was wheel or games, now operator).bde1996-03-271-6/+6
| | | | | | | | | | | Added scsi control devices. Converted almost everything that I changed to use devfs_add_devswf() and verbose id macros. st.c: Renamed enrst* to erst* since that's what the current name is (enrst seems to be an old name).
* Change how mirror writes are handled, according to the discussion on theasami1996-03-261-9/+39
| | | | | | | | | | | | | | | | | | mailing list. When initiating a write, ccdbuffer() returns two "struct ccdbuf *"s linked together by the cb_mirror field. "cb_pflags & CCDPF_MIRROR_DONE" is set to 0 on both of them. When a component returns to ccdiodone(), it checks if "cb_pflags & CCDPF_MIRROR_DONE" is set or not. If not, it sets the partner's flag and returns. If it is, it means its partner has already returned, so it will go to the regular cleanup (which is in the fallthrough code). There should be no performance or functionality changes unless the higher-level scsi driver does something with the resid value. The change is purely aesthetical and prepares us for the parity implementation.
* Eliminate reference to ac_ipaddr in FreeBSD case.fenner1996-03-231-2/+2
|
* Ported to 2.2-current. Uses [bc]devsw_add(), and is also now a properasami1996-03-211-69/+66
| | | | | | pseudo-device. Doesn't use devfs correctly yet.
* Fixed unsigned longs that should have been vm_offset_t.bde1996-03-191-2/+2
| | | | | | | | | | vm_offset_t is currently unsigned long but should probably be plain unsigned for i386's to match the choice of minimal types to represent for fixed-width types in Lite2. Anyway, it shouldn't be assumed to be unsigned long. I only fixed the type mismatches that were detected when I changed vm_offset_t to unsigned. Only pointer type mismatches were detected.
* Always dsgone() slices when we leave.phk1996-03-171-3/+2
|
* Fix/cleanup raw partition open/close codeache1996-03-171-23/+20
|
* This is a revised fe, Ethernet driver for MB8696x based adapters.jkh1996-03-172-503/+800
|
* Changes to the Digi/Arnet SYNC driver:peter1996-03-174-328/+559
| | | | | | | | | | | | | | | | | | 1. Create 2 x 8k transmit buffer blocks in place of the 16k block previously. With this change the speed as tested with ttcp on a 2Mbit link went up from 206kbyte/s to 236kbyte/s. 2. Change the rest of the functions to also have the definition of the return value on a sepperate line. 3. Remove some unused variables. 4. Add code to recover from DMA underruns. 5. Reorder ar_get_packets() to handle errors better. 6. Only allocate a mbuf cluster if the data is more than the mbuf. (and in a second diff in addition to the above) 7. Stops the occasional DMA underruns that occurred when 2 channels are running at 2Mbit/s. Submitted by: John Hay <jhay@mikom.csir.co.za>
* Fix the isa_device table (lkm): id_irq and id_maddr must be 0.jmz1996-03-161-1/+1
| | | | Pointed out by: bde
* Add code to make it a loadable kernel modulejmz1996-03-151-0/+46
|
* aha1742.c:gibbs1996-03-101-4/+4
| | | | | | | | | Cleanse the SCSI subsystem of its internally defined types u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead. eisaconf.c: Cosmetic formatting chagnes.
* Reset the DMA control register whenever we reset the sequencer.gibbs1996-03-102-48/+22
| | | | | | Clear LASTPHASE on busfree so the kernel driver can tell that the sequencer is idle. Fix some comments to reflect reality.
* Convert a timeout loop from 100 iterations of 15uS to 50rgrimes1996-03-091-2/+2
| | | | | | | iterations of 30uS so that really fast systems stop getting timeout messages from the Riscom driver. Reviewed by: ache, peter@nmti.com (Peter da Silva)
* Make the handshake lines do the right thing. This is untested by the authorpeter1996-03-032-26/+28
| | | | | | | | but others say it's working. (DTR etc) Closes PR#884 Submitted-by: John Hay <jhay@mikom.csir.co.za>
* Add more options into the conf/options and i386/conf/options.i386 filespeter1996-03-021-1/+2
| | | | | | and the #include hooks so that 'make depend' is more useful. This covers most of the options I regularly use (but not all) and some other easy ones.
* Hopefully, this will fix the problems that some people have been having withjkh1996-03-021-1/+14
| | | | | | | the S-Video input. It also has code in the driver for the meteor RGB support and some other bug fixes. I don't have a meteor RGB but I have been told that it works. Submitted by: Jim Lowe <james@miller.cs.uwm.edu>
OpenPOWER on IntegriCloud