summaryrefslogtreecommitdiffstats
path: root/sys/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace.rgrimes1995-05-3013-36/+47
|
* Fix -Wformat warnings from LINT kernel.rgrimes1995-05-112-6/+17
|
* Changes to get rid of ufslk2 hangs when doing read/write to/fromdyson1995-04-243-11/+25
| | | | mmap regions that are in the same file as the read/write.
* John Aycock's BSD copyrighted sequencer assembler and sequencer code. Thisgibbs1995-04-153-170/+240
| | | | | | | | | | | | | | | | | | is identical to the older version, just the copyright has changed. Many thanks go to Dean Gehnert of the Linux camp who went the extra mile to make this happen. Other changes: Update assembler man page to include the -v and -D options Merge in Dean's latest changes to the assembler Have the sequencer do a MSG_REJECT when the negotiated syncronous rate is lower than the adapter supports. This forces asyncronous mode which is faster at these rates anyway. This code will be moved shortly to the non-gpld portion of the tree.
* More code optimizations. Use a slightly different approach to decidegibbs1995-04-091-76/+28
| | | | whether a reconnecting target is a tagged device or not.
* Off by one error in -MSG-START+0 was just Justin being tired -- revert togibbs1995-04-011-6/+5
| | | | | | | | | | old value. Remove unnecessary check for active messages in setup SCB. This same test would also jump to p_mesgin_done which would "ACK" an extra time possibly confusing the target. Tell the kernel driver whenever we send an ABORT_TAG message.
* Major overhaul of the aic7xxx driver:gibbs1995-03-312-86/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Report valid residual byte counts. We actually pause the sequencer when the residual is non-zero. I thought about using DMA to do this, bus sequencer program space is tight. - Fix embarassing off by one error in the computation of a 2's compliment variable. This was most likely the cause of the many problems reported with the tagged queuing code. - Handle "MAX_SYNC" as a special case (ie we are the ones starting the sync negotiation sequence). This was done so that the target scratch area can be initialed to 0 offset (asyncronous transfers) safely. The initialization to 0 (was 15) is necessary since in some cases a Wide negotiation could run into problems if SCSIRATE was set wrong and we went into data(in/out). - Trim the DMA routines a little by using some procedures. Net effect is more functionality with 3 less instructions after this update. - Toggle the WIDEODD bit of the DFCNTRL whenever this is not the last SG block. It has no effect in the 8bit bus configuration, but in the Wide configuration ensures that the overlap byte is held in the SCSI block if the transfer is odd so it will end up in the next SG (the correct behavior).
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-289-29/+97
| | | | | (except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
* Removed redundant newlines that were in some panic strings.dg1995-03-191-3/+6
|
* Make the aic7xxx assembler take quoted strings as a single token.gibbs1995-03-172-9/+26
| | | | Make $Id the version variable which required the quoted string "feature".
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-162-2/+5
| | | | | | (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
* Be careful to maintain the bits in SBLKCTL that are reserved.gibbs1995-03-071-6/+5
|
* Removed obsolete vtrace() remnants.dg1995-03-042-18/+8
|
* Incorporate bde's code-review comments.pst1995-02-281-12/+11
| | | | | | | | | | | (a) bring back ttselect, now that we have xxxdevtotty() it isn't dangerous. (b) remove all of the wrappers that have been replaced by ttselect (c) fix formatting in syscons.c and definition in syscons.h (d) add cxdevtotty NOT DONE: (e) make pcvt work... it was already broken...when someone fixes pcvt to link properly, just rename get_pccons to xxxdevtotty and we're done
* (a) remove the pointer to each driver's tty structure array from cdevswpst1995-02-251-3/+20
| | | | | | | | | (b) add a function callback vector to tty drivers that will return a pointer to a valid tty structure based upon a dev_t (c) make syscons structures the same size whether or not APM is enabled so utilities don't crash if NAPM changes (and make the damn kernel compile!) (d) rewrite /dev/snp ioctl interface so that it is device driver and i386 independant
* Add tagged queueing support to the aic7xxx sequencer code.gibbs1995-02-221-66/+96
|
* Fix a few bogons introduced when config lost the 3 char limitation.jkh1995-02-161-3/+6
|
* Fix a few more nits. Should compile better now! :_)jkh1995-02-152-17/+30
|
* Fix up include paths, nuke some warnings.jkh1995-02-156-19/+87
|
* Julian E. says the code is out of date, but I can at least make thejkh1995-02-141-4/+13
| | | | includes look right until we get a chance to fix the rest of this.
* An ISDN driver that supports the EDSS1 and the 1TR6 ISDN interfaces.jkh1995-02-1413-0/+5940
| | | | | | | | | EDSS1 is the "Euro-ISDN", 1TR6 is the soon obsolete german ISDN Interface. Obtained from: Dietmar Friede <dfriede@drnhh.neuhaus.de> and Juergen Krause <jkr@saarlink.de> This is only one part - the rest to follow in a couple of hours. This part is a benign import, since it doesn't affect anything else.
* Get scdreg.h from new location.jkh1995-02-141-2/+2
|
* Remove duplicate functions.jkh1995-02-092-128/+2
| | | | Submitted by: gj
* Commit Gary's diffs for adding xcdplayer support to the Sony CDROM driver.jkh1995-02-064-6/+286
| | | | Submitted by: gj
* Have version number track CSV version number. No other change.gibbs1995-02-031-2/+2
|
* Fix the include path to scdreg.h.phk1995-01-302-4/+4
|
* Second version of this driver.jkh1995-01-294-1780/+1528
| | | | Submitted by: Mikael Hybsch <micke@dynas.se>
* Nuke out a printf that otherwise spews crap at probe() time. A no-no.jkh1995-01-282-2/+2
|
* Look for scdreg.h in the right place. Whoops.jkh1995-01-282-2/+2
|
* Add the soundblaster CDROM driver back in, but this time under the GPLjkh1995-01-284-0/+3448
| | | | | since the Linux driver was used as the principle reference. Submitted by: Mikael Hybsch <micke@dynas.se>
* aic7xxx.c:gibbs1995-01-222-97/+60
| | | | | | | | | | | | | | | | Print out the length of the compiled sequencer program. aic7xxx.seq: More optimizations. Replace generic bcopy routine with bcopy_3 and bcopy_4 (ie unroll the loops) since these are the only two cases used. Initialize SIMODE1 and SXFRCTL1 from the kernel in ahc_init instead of at each selection/reselection since this is expensive and only needs to be done once. Condense function returns into previous instruction if possible. Reorder some sections to kill superflous jumps. These optimizations kill the ~150k/s penalty adding support for Twin/Wide cards was costing since the last place in the commaon path of execution where we had to do ugly, convoluted testing for the type of card in the sequencer has gone away. Next stop tagged queuing and target mode.
* At $Ids to all files. Have the sequencer use DMA to tranfer its SCBgibbs1995-01-162-109/+128
| | | | | | | | (SCSI control block) instead of having the host PIO it down. Also reimplement WDTR and SDTR optimization to remove code in the sequencer and place the responsibility of knowing when to initiate SDTR or WDTR on the kernel driver. This vastly shortens the sequencer program yet yeilds the same performance.
* Full support for 294x and Wide devices. Fixed month old bug in the SCSIgibbs1995-01-131-81/+173
| | | | | | sense retrieval code that messed up CDROM devices. This code will also responde correctly to SDTR and WDTR messages from devices that start a negotiation sequence.
* These changes embody the support of the fully coherent merged VM buffer cache,dg1995-01-092-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | much higher filesystem I/O performance, and much better paging performance. It represents the culmination of over 6 months of R&D. The majority of the merged VM/cache work is by John Dyson. The following highlights the most significant changes. Additionally, there are (mostly minor) changes to the various filesystem modules (nfs, msdosfs, etc) to support the new VM/buffer scheme. vfs_bio.c: Significant rewrite of most of vfs_bio to support the merged VM buffer cache scheme. The scheme is almost fully compatible with the old filesystem interface. Significant improvement in the number of opportunities for write clustering. vfs_cluster.c, vfs_subr.c Upgrade and performance enhancements in vfs layer code to support merged VM/buffer cache. Fixup of vfs_cluster to eliminate the bogus pagemove stuff. vm_object.c: Yet more improvements in the collapse code. Elimination of some windows that can cause list corruption. vm_pageout.c: Fixed it, it really works better now. Somehow in 2.0, some "enhancements" broke the code. This code has been reworked from the ground-up. vm_fault.c, vm_page.c, pmap.c, vm_object.c Support for small-block filesystems with merged VM/buffer cache scheme. pmap.c vm_map.c Dynamic kernel VM size, now we dont have to pre-allocate excessive numbers of kernel PTs. vm_glue.c Much simpler and more effective swapping code. No more gratuitous swapping. proc.h Fixed the problem that the p_lock flag was not being cleared on a fork. swap_pager.c, vnode_pager.c Removal of old vfs_bio cruft to support the past pseudo-coherency. Now the code doesn't need it anymore. machdep.c Changes to better support the parameter values for the merged VM/buffer cache scheme. machdep.c, kern_exec.c, vm_glue.c Implemented a seperate submap for temporary exec string space and another one to contain process upages. This eliminates all map fragmentation problems that previously existed. ffs_inode.c, ufs_inode.c, ufs_readwrite.c Changes for merged VM/buffer cache. Add "bypass" support for sneaking in on busy buffers. Submitted by: John Dyson and David Greenman
* Update the sequencer code to handle both channels of Twin channel devices.gibbs1994-12-312-108/+288
| | | | | | | | | | You can now sling 14 devices off of a 274xT. In the process of adding twin channel support, I removed all evident restrictions on supporting Wide channeled devices, but I do not have a Wide controller to test them on. aic7770_seq.h, the pre-compiled header, is no longer needed since config handles this dependancy.
* Use the same current time throughout ITIMES(). I want all currentbde1994-12-272-14/+30
| | | | | | | | timestamps for an atomic operation such as rename() on a local file system to be identical. Uniformize yet another idempotency ifdef. The comment nesting was bogus.
* Merge in latest Linux sequencer code release with my changes. This shouldgibbs1994-11-294-152/+154
| | | | | | | | | | | | make the sequencer code fully compatible with the aic7870 (ie 294x adaptors). I've also added to my local mods putting the sequencer into "FASTMODE" clock. This gives upwards of 2M/sec write preformance improvement in some scenarios. There haven't been any reports of this causing problems, and I have been reaping the benifits of it for more than a week now. This also includes a new version of the pre-generated file <ugh> Obtained from: John Aycock (aycock@cpsc.ucalgary.ca) and myself
* Previous changes to the sequencer compiler backed out. We go back togibbs1994-11-184-4/+706
| | | | generating the .h file, and a pregenerated file is included.
* Make the compiler spit out a .c file instead of a .h file.jkh1994-11-182-0/+4
|
* Make this a precompiled script - don't bother autogenerating it.jkh1994-11-181-0/+355
| | | | It makes me crazy.
* Another file Justin missed. Hope this is the right one! :-(jkh1994-11-181-0/+1064
| | | | I found it by hunting around in his home directory..
* John Aycock's aic7770 sequencer code and assembler. There is currentlygibbs1994-11-1714-0/+4340
| | | | | | | | | | | | | | | | | a discussion going on about removing this code from the burden of the GPL, but it won't happen before Beta, and this code should be tested before release. Supports 27/2842 class adaptec cards and is almost capable of supporting aic7870 based adapters (294X series cards). It does not support Wide controllers or the second channel on Twin boards although I have work in progress on getting both channels and running. I have also added a few performance improvements to this version that give us approximately a 25% boost over the original driver. These patches have been submitted to the author. Obtained from: Linux aic7770 driver (John Aycock - aycock@cpsc.ucalgary.ca)
* POSSIBLE BOGUS CODE found, (related to dos-partitions) in ufs_disksubr.c,phk1994-10-083-11/+21
| | | | | look for CC_WALL. Cosmetics, a couple of unused vars.
* Use tsleep() rather than sleep so that 'ps' is more informative aboutdg1994-10-061-2/+2
| | | | the wait.
* Fix the consistent mistranslation of Linux's get_fs_word() andbde1994-09-212-17/+17
| | | | | | | | put_fs_word() to fuword() and suword(). Linux words are 16 bits but BSD words are 32-bits, at least on vax's. Writing a too-large word trashed the neighbouring short word. Bruce
* Quiet down compiler warnings.dg1994-08-313-9/+9
|
* Changed STRC -> P_TRACED.dg1994-08-301-2/+2
|
* Made idempotentpaul1994-08-214-6/+22
| | | | | Reviewed by: Submitted by:
* Added $Id$dg1994-08-027-0/+7
|
* Commit a whole cluster of last minute critical (and one cosmetic) fixesjkh1994-06-221-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from David Greenman, Bruce Evans and Julian Elischer. They are: [vnode pager - David/Bruce]: The following patch fixes a problem where some data could be lost in a delayed-write buffer if the cached buffer was larger than a page. This fix was provided by Bruce Evans and modified slightly by me. [st.c - Julian]: My fix for "bad request, must be between 0 and 0" RTFS if you're interested). [gnu/fpemul - David/Bruce]: These changes fix single stepping of emulated FPU instructions. Previously, the instruction after an emulated instruction was executed without causing a SIGTRAP ... The also fix the initial control word being different for the GPL emulator (it is still wrong for the old emulator) and remove an unnecessary panic when emulation is not configured (I hope at least init, sh and reboot will run without floating point. I remember only df and mkfs being broken by the lack of FP in 0.0). [Various fixes described below - Bruce/David]: sys/i386/boot/boot2.S: Yet another attempt to propagate the correct fix for 16 vs 32-bit mode bugs. [verified] sys/i386/i386/db_interface.c: Protect against reentering Debugger(). sys/kern/kern_time.c: Don't allow 'time.tv_usec == 0' except at clock interrupts. sys/pcfs/pcfs_fat.c: Make it compile without -O. sys/scsi/sd.c: Fix as posted to some freebsd mailing list. (changes the order of the assignment of "sectors" because it earlier value is needed first -DG) sys/vm/vm_glue.c: Fix stale comments and verbose code. sys/vm/vm_mmap.c Fix off by 1 errors and verbose code. [From Nate - cosmetic but non-intrusive and useful enough to go in] sys/i386/isa/isa.c: Appended you'll find a patch to the NMI error log routine in isa/isa.c. The below patch just adds some additional information when an NMI occurs which can help debug the hardware problem.
OpenPOWER on IntegriCloud