summaryrefslogtreecommitdiffstats
path: root/sys/i386/eisa
Commit message (Collapse)AuthorAgeFilesLines
* First pass cleanup of this driver. This pass does not include the sequencergibbs1995-07-041-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | optimizations I have been working on yet, but does bring in some bug fixes and performance improvments that were easy to regression test: Setup the data fifo threshold and bus off timing correctly for 27/284x cards. Users of these adapters with fast periferals (greater than 5MB/s) will notice a big performance difference. (Sometimes as large as going from 3.7->8.3MB/s). Fix handling of the active target flags. Some of the outbs where missing the base offset in the abort code. The abort code still needs lots of work. Support 3940 controllers, but only with 16 SCBs for now. Eventually I'll add support for all 255, but I need to find a tester for the code first since we have to enable the cards external SRAM to do this. Add Dan Eischen's serial eeprom reading facilities. This allows the 2940 adapters to pull additional information left over from SCSI-Select right out out of the configuration seeprom. If the BIOS is disabled on 274x controllers, reset all target parameters to there defaults since you can't rely on what is stored in scratch ram. Report motherboard controllers as such. Stick the first SG address and count into the SCB data and count areas for all transfers in preparation of a later sequencer optimization. Keep track of which targets can are allowed to have the disconnection priveledge since this will be handled by the kernel driver in the future. If a target issues a message reject in response to a tagged message, disable tagged queuing for that target. Some seagates say they can do tagged queuing, but lie, and its a shame to have to disable tagged queuing on all devices just because you have one that can't cope.
* Remove trailing whitespace.rgrimes1995-05-304-30/+30
|
* Fix -Wformat warnings from LINT kernel.rgrimes1995-05-111-4/+5
|
* Fix -Wformat warnings, still need to do something about %b and pointerrgrimes1995-05-091-4/+6
| | | | type args.
* files for the eisa specific autoconfiguration..julian1995-04-233-0/+288
| | | | | | | | | don't expect this to work yet.. but at least they're here.. (hey this cvs stuff is fun!) activate with a line exactly like the isa line in the config file, (but specifying eisa :) patches to come..
* Add a class field to devconf and mst drivers.wollman1995-04-122-8/+17
| | | | | | | | | | | | 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.
* Use EISA_MAX_SLOTS to be consistent with other EISA drivers.gibbs1995-03-311-5/+5
| | | | | | | Fix off by one error in slot probe. Update some comments. Submitted by: rgrimes@FreeBSD.org
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-281-1/+2
| | | | | (except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
* Change MAX_SLOTS -> EISA_MAX_SLOTS and correct comments. Add this torgrimes1995-03-231-3/+3
| | | | | | | | | | | | | | ultra14f.c and eliminate constants. Correct EISA slot scan loops to look at slots 1 to 15 inclusive (off by 1 errors all over the place). Other drivers need this, I will get to it after a little more work. Correct the ultrastore EISA probe so that it starts after the last EISA slot probed instead of starting over from slot 0. We need an eisa.h to move a lot of common constants into. I will write it if someone tells me where it should go (sys/eisa?).
* aha1742.c:gibbs1995-03-231-2/+3
| | | | | | | | | #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.
* Compile cleanly -Wall.gibbs1995-03-071-5/+5
|
* Add $Idgibbs1995-01-161-0/+2
|
* Add in aic7770.c (EISA/VL Adaptors) and aic7870.c (PCI adaptor) dependanciesgibbs1995-01-131-1776/+67
| | | | for the ahc driver.
* Handle both channels of Twin channeled devices. Respect the configurationgibbs1994-12-311-161/+284
| | | | | | | values for syncronous negotiation. The 284x series adaptors can now be supported without the Bios being enabled. If you disable the Bios on the 274x series adaptors, all configuration parameters revert to the default since there is no way to retrieve them.
* Put the sequencer into FASTMODE during initialization. I can nowgibbs1994-11-291-3/+6
| | | | get up to 8m/sec write performance out of a pd2100 with this driver.
* Expand the EISA MAX_SLOTS from 8 to 16.ats1994-11-261-2/+2
|
* Changed the MAX_SLOTS constant from 8 to 16. The EISA bus can have upats1994-11-251-2/+2
| | | | to 16 slots.
* Register with devconfg so we show up in lsdev.gibbs1994-11-181-1/+25
|
* Change the include for the sequencer program to point back to thegibbs1994-11-181-2/+4
| | | | | | right place: include "../../sys/gnu/misc/aic7770/aic7770_seq.h"
* Whoops - this one's my fault. Put back my changes for seqprog[].jkh1994-11-181-4/+2
|
* My port of Julian's 1742 driver to work with the Linux aic7770 sequencergibbs1994-11-171-0/+1707
| | | | code.
* The previous revision forgot to define fatal_if_no_DDB() when there is DDB.bde1994-11-161-2/+6
|
* Remove bogus declaration of Debugger(). Call Debugger() even if DDB isbde1994-11-151-10/+8
| | | | | not defined, but still call panic() after Debugger() returns, although most other SCSI drivers just call Debugger().
* Finished device configuration database work for all ISA devices (except `ze')wollman1994-10-231-4/+8
| | | | | | | | | | | | | 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).
* Add support for devconf to a large number of device drivers, and dowollman1994-10-191-1/+19
| | | | the right thing in dev_goawayall() when kdc_goaway is null.
* Removed inclusion of pio.h and cpufunc.h (cpufunc.h is included fromdg1994-09-161-2/+1
| | | | | systm.h). Merged functionality of pio.h into cpufunc.h. Cleaned up some related code.
* Reviewed by: Stefan Esser <se>se1994-08-311-2/+2
| | | | Debugger() takes an (char*) argument, changed macro definition accordingly.
* 1) Changed ddb into a option rather than a pseudo-device (use options DDBdg1994-08-271-12/+4
| | | | | | | | | | in your kernel config now). 2) Added ps ddb function from 1.1.5. Cleaned it up a bit and moved into its own file. 3) Added \r handing in db_printf. 4) Added missing memory usage stats to statclock(). 5) Added dummy function to pseudo_set so it will be emitted if there are no other pseudo declarations.
* Ran ft.c through ident.paul1994-08-231-7/+7
| | | | | | | | | | | | | Added a missing #ifdef INET wrapper in lpt.c Main change: Removed the timeout_func_t casts from timeout calls and correctly defined the timeout routines to conform to the new format. lpt.c doesn't have this change. Reviewed by: Submitted by:
* 1) cleaned up after Garrett - fixed more redundant declarations, changeddg1994-08-201-10/+6
| | | | | | | | use of timeout_t -> timeout_func_t in aha1542 and aha1742 drivers. 2) fix a bug in the portalfs that was uncovered by better prototyping - specifically, the time must be converted from timeval to timespec before storing in va_atime. 3) fixed/added some miscellaneous prototypes
* Change all #includes to follow the current Berkeley style. Some of thesewollman1994-08-131-3/+3
| | | | | | | | | | | | | | | | | | | | | ``changes'' are actually not changes at all, but CVS sometimes has trouble telling the difference. This also includes support for second-directory compiles. This is not quite complete yet, as `config' doesn't yet do the right thing. You can still make it work trivially, however, by doing the following: rm /sys/compile mkdir /usr/obj/sys/compile ln -s M-. /sys/compile cd /sys/i386/conf config MYKERNEL cd ../../compile/MYKERNEL ln -s /sys @ rm machine ln -s @/i386/include machine make depend make
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-251-5/+5
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* Increase the timout on aha_send_mbox from 1ms to 3ms, needed to reliablyrgrimes1994-02-171-2/+2
| | | | | | run Exabyte 8505 on 1742's. This may not be the final solution, but it makes it work. It may be better to change the DELAY(10) to DELAY(30) inside the loop instead of increasing the loop count from 100 to 300.
* Add comment to MAX_SLOTS that it may need to be 16 and to check againstrgrimes1994-01-111-3/+3
| | | | | EISA spec. Fixed off by one error in ahbprobe so that it can find an aha1742 in slot 8 (now uses slot <= MAX_SLOT, instead of slot < 8).
* Make everything compile with -Wtraditional. Make it easier to distributewollman1993-12-191-9/+4
| | | | | | | | | | | a binary link-kit. Make all non-optional options (pagers, procfs) standard, and update LINT to reflect new symtab requirements. NB: -Wtraditional will henceforth be forgotten. This editing pass was primarily intended to detect any constructions where the old code might have been relying on traditional C semantics or syntax. These were all fixed, and the result of fixing some of them means that -Wall is now a realistic possibility within a few weeks.
* Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, andwollman1993-11-251-9/+10
| | | | add same (sans -Werror) to Makefile for future compilations.
* New version of scsi code from Julianrgrimes1993-11-181-921/+847
|
* Remove erronous definitions of PHYSTOKV, correct one is in param.h now.rgrimes1993-10-121-2/+1
|
* Revised drivers from Julian.rgrimes1993-08-281-3/+3
|
* Some more small nits in the printf's fixed.rgrimes1993-08-221-10/+5
|
* Fixed printf's so that they announce them selfs correctly (ie aha%d: beforergrimes1993-08-211-20/+14
| | | | every error message and every probe message).
* Update scsi code to the latest from Julian. This code is now identicalrgrimes1993-08-201-212/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to the last copy from Julian. After this commit I will be commiting the local fixes and makeing diffs to send back to Julian so he can update his code. ---- >From julian@jules.DIALix.oz.au Thu Aug 5 09:25:23 1993 To: hd@world.std.com, julian@jules.DIALix.oz.au Cc: nate@bsd.coe.montana.edu Subject: Re: new scsi ---- >From julian@jules.DIALix.oz.au Sat Aug 7 04:13:17 1993 To: hd@world.std.com (HD Associates) Cc: nate@bsd.coe.montana.edu Subject: Re: timeout diffs Here are the diffs to take the scsi stuff to my latest tree from what Nate and you received.. the changes remove all the local timeout stuff and use (un)timeout(), ---- >From julian@jules.DIALix.oz.au Sat Aug 7 04:13:45 1993 To: hd@world.std.com (HD Associates) Cc: nate@bsd.coe.montana.edu, briggs@csugrad.cs.vt.edu here is a fix for a silly bug in the scsiconf I just sent out and a similar fix for st.c
* Added printf for cases AHB_ASN (async even notification) and AHB_HW_ERR sorgrimes1993-08-081-0/+9
| | | | | | | that we are notified when these events occur. This may lead us to the cause of certain AHB timeout/lockup problems. From: Roy Neese of Adaptec
* Fixed **probing for scsi devices** message to have a controller and unitrgrimes1993-08-061-2/+7
| | | | | message on the begining of it: aha0: **probing for scsi devices**
* Syncing our sources back with Julian's, and removing PATCHKIT headers.nate1993-07-291-11/+24
| | | | Large Bustek changes, most everything else is minimal.
* Modified attach printf's so that the output is compatible with the "new"dg1993-07-151-6/+1
| | | | | | | way of doing things. There still remain several drivers that need to be updated. Also added a compile-time option to pccons to switch the control and caps-lock keys (REVERSE_CAPS_CTRL) - added for my personal sanity.
* Initial import, 0.1 + pk 0.2.4-B1rgrimes1993-06-121-0/+1420
OpenPOWER on IntegriCloud