summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
...
* John Aycock's BSD copyrighted sequencer assembler and sequencer code. Thisgibbs1995-04-155-402/+542
| | | | | | | | | | | | | | | | | | 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.
* Fix initializations of kdc_state for serial consoles.bde1995-04-151-33/+38
| | | | | | | Change order of RTS flow control tests so that less tests are required in the usual case. Clean up parts of previous commits. Cosmetic.
* Forgot two things in yesterday's massive devconf update:wollman1995-04-131-6/+4
| | | | | initialized class for sio don't bogusly re-initialize it in sio_registerdev()
* Move setcompat code to another place, initial/locked devicesache1995-04-131-14/+12
| | | | not supposed to work with old style ioctls
* Comment out ttcompat via COMPAT_SUNOS tooache1995-04-131-11/+15
| | | | Fix error handling initial/callout devices
* Various changes from Matt Thomas to improve media selection and fixdg1995-04-131-98/+228
| | | | support for the DC21140.
* ttsetcompat is a '#ifdef COMPAT_43' feature.phk1995-04-121-1/+5
| | | | | | Dropping into the debugger when a break comes down the serial line is a >MISFEATURE (1st class)< and has been put under it's own #ifdef. This should be a magic sequence of chars instead.
* Add a class field to devconf and mst drivers.wollman1995-04-1210-85/+146
| | | | | | | | | | | | For those where it was easy, drivers were also fixed to call dev_attach() during probe rather than attach (in keeping with the new design articulated in a mail message five months ago). For a few that were really easy, correct state tracking was added as well. The `fd' driver was fixed to correctly fill in the description. The CPU identify code was fixed to attach a `cpu' device. The code was also massively reordered to fill in cpu_model with somethingremotely resembling what identifycpu() prints out. A few bytes saved by using %b to format the features list rather than lots of ifs.
* Call new ttsetcompat() function for proper workingache1995-04-111-1/+9
| | | | old v7 ioctls with locking bits.
* Performance enhancements and a redesign of the transmitter code.jkh1995-04-102-2/+25
| | | | Submitted by: "Serge A. Babkin" <babkin@hq.icb.chel.su>
* More code optimizations. Use a slightly different approach to decidegibbs1995-04-091-76/+28
| | | | whether a reconnecting target is a tagged device or not.
* From Matt Thomas: Added support for 100Mb cards (such as the DEC DE-500-XAdg1995-04-091-134/+321
| | | | and SMC 9332).
* Correct recalibrate/seek code at attach time so that we do not getrgrimes1995-04-061-4/+11
| | | | | | | all the ``fdc0: ready for output in input'' messages when probing for ft devices. Submitted by: Steve Gerakines <steve2@genesis.tiac.net>
* Correct the watchdog routine.jkh1995-04-051-1/+26
| | | | Submitted by: "Serge A. Babkin" <babkin@hq.icb.chel.su>
* Fixes to the hardware cursor emulation.sos1995-04-042-56/+80
| | | | Submitted by: ache
* Move unit structure member down to optimize com->state per Bruceache1995-04-041-19/+19
| | | | | suggestion. Move hotchar setting to set_bypass routine and rename it to disc_optim
* Allow serial console BREAK to DDBache1995-04-031-3/+13
| | | | Use com->unit in several places
* Back out changes related to locked bits until more elegantache1995-04-021-85/+7
| | | | solution will be found. Remove some unused variables sneaked in.
* Fix error:ache1995-04-021-7/+83
| | | | | | old type (stty) ioctls can easily bypass locking bits. It involves manual conversion from old ioctls to new ones, large piece of code duplicated from tty_compat.c
* Move SET_BYPASS macro to function per Bruce suggestion.ache1995-04-021-20/+29
| | | | | Add set_bypass() call after l_close. Move ttioctl()/set_bypass() pair under spltty() protection
* Move setting BYPASS state to macro, use it in several times,ache1995-04-011-16/+18
| | | | | | after ttioctl too, because it can change t_line. Remove (TS_CNTTB | TS_LNCH) test, it is always inherits from old tty mode and can't be reach in currently setted mode.
* Adjust TS_CAN_BYPASS_L_RINT state after l_open(), t_lineache1995-04-011-1/+3
| | | | can be changed there.
* Fix count in mark_for_update() for insert-char(s) and delete-char(s).bde1995-04-011-4/+4
| | | | | | Everything from the cursor to the end of the line must be updated. Fix comment about erase-char(s).
* 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.
* Use new TS_CAN_BYPASS_L_RINT state to avoid complex testache1995-04-011-23/+23
| | | | | | each time. Remove unefficient loop of zeroing error chars in siopoll(), now done at interrupt level.
* Check for never opened or closed device before testingache1995-04-011-3/+6
| | | | terminal flags at interrupt level
* Major overhaul of the aic7xxx driver:gibbs1995-03-314-90/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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).
* * Promiscuous mode added and interrupt logic slightly changedjkh1995-03-312-50/+189
| | | | | | | * to reduce the number of adapter failures. Transceiver select * logic changed to use value from EEPROM. Autoconfiguration * features added. Submitted by: "Serge A. Babkin" <babkin@hq.icb.chel.su>
* Update to new screen update method.sos1995-03-302-4/+6
|
* Emulate hw cursor closely, and get start&end scanlines from BIOS.sos1995-03-302-19/+27
|
* Optimized the way physical screen updates are done. Now onlysos1995-03-292-51/+133
| | | | | | | update what has actually been touched. This should speed up screen access on slow hardware. Introduced setting of "destructive" cursor size, much like the old hardware cursor.
* Fix serial error recording using new TTY_BI & TTY_OEache1995-03-291-11/+7
|
* Remove TTY_OE & TTY_BI definitions to allow translation,ache1995-03-291-3/+1
| | | | more work required and will follow
* Change fkey 63 from ^[[K to ^[[~.sos1995-03-281-2/+2
| | | | Submitted by: ache
* Move discard check up and do it only for error statusache1995-03-281-23/+21
| | | | | (per Bruce suggestion). It speedup things for a little. Remove l_start optimization, call l_start always (per Bruce suggestion)
* CVS:bde1995-03-282-8/+8
| | | | The previous patch was botched.
* Don't useache1995-03-281-3/+2
| | | | | | | | | | | | if (tp->t_line != 0) test when CS_ODONE, it fails for NTTYDISC, use if (linesw[tp->t_line].l_start != ttstart) instead. Reviewed by: Submitted by: Obtained from: CVS:
* Forget to add LSR_FE to discard (see prev commit)ache1995-03-281-2/+2
| | | | | | | Reviewed by: Submitted by: Obtained from: CVS:
* Several fixes to help "raw" tty mode work correctly withache1995-03-281-5/+32
| | | | | | | | | | | | | | | | | BREAK/parity/framing errors. Term "correctly" assumes POSIX spec. and 4.4 ttyinput() behaviour. 1) Discard BREAK/parity at interrupt level when apropriate IGN* is set in iflag. It helps "raw" mode works even IGN* is set. 2) Zero parity (if INPCK) and framing directly in buffer before passing it to b_to_q() in "raw" mode. Efficency: interrupt level: if no error occurse, only two "test" commands added "raw" mode: buf scan incc times for parity/framing added Reviewed by: Submitted by: Obtained from: CVS:
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-288-9/+31
| | | | | (except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
* Raw ttyinput test was incomplete,ache1995-03-281-2/+2
| | | | add !(IGNBRK | BRKINT | PARMRK) now.
* Fix break recording for ttyinputache1995-03-281-2/+4
|
* Give backspace to the people (again)sos1995-03-271-6/+6
| | | | | | | | Now the keymaps are as follows: "backspace / <-" ^H "grey del" ^? (0x7f) "numpad , del" ^? (, if numlocked)
* Terminate all probe/diagnostic/error messages correctly with a \n.rgrimes1995-03-261-27/+26
| | | | | | | | | | Report floppy/tape units on seperate lines as fdX:/ftX: to correct lots of ways the current scheme failed to end the output with \n. Add controller and/or drive designator to the fron of several messages that come from this drive. [It's not fun to track down driver messages using grep over the source tree.] Reviewed by: joerg
* Forward-declare kern_devconf for use in a prototype. Some driversbde1995-03-251-1/+3
| | | | | | | | | | | | include <pci/pcivar.h> without including <sys/devconf.h> and other drivers include <pci/pcivar.h> before including <sys/devconf.h> if certain identifiers are defined. The devconf headers have convoluted interdependencies. <sys/devconf.h> includes <machine/devconf.h> which includes <pci/pcivar.h>. Most drivers include <sys/devconf.h> so even isa drivers depend on <pci/pcivar.h>. For similar reasons, most drivers depend on another pci header, on an isa header and on two scsi headers.
* Fix the path to scdreg.h.bde1995-03-251-2/+5
| | | | Fix implicit declarations.
* Bring in the new non-GPL'd driver from Mikael Hybsch. This version isjkh1995-03-242-0/+1688
| | | | | | | | NOT derived from the Linux code and is thus not GPL'd. It is the author's express wish that the GPL copyrighted version be removed and this BSD copyright version take its place. Considering our own stance on this, I'm certainly not going to argue! [Note to NetBSD folks: You're free to grab it now :-)] Submitted by: Mikael Hybsch <micke@dynas.se>
* aha1742.c:gibbs1995-03-231-2/+1
| | | | | | | | | #include <i386/isa/isa.h> return IO_EISASIZE instead of hard coded 0x1000. if_ep.c: Remove commented out disabling of interrupts that gave a "comment withing a comment" warning.
* Patches from Serge Babkin to fix interrupt handling bugs.dg1995-03-232-8/+28
| | | | Submitted by: Serge Babkin
* Restore my changes to initialize the kdc_shutdown routine pointer. Stefandg1995-03-231-4/+5
| | | | | clobbered it in his previous commit and not having it causes the machine to panic during reboot (as well as not doing the important shutdown callout).
OpenPOWER on IntegriCloud