summaryrefslogtreecommitdiffstats
path: root/sys/i386/eisa/aha1742.c
Commit message (Collapse)AuthorAgeFilesLines
* Obsolteted by CAM.gibbs1998-09-151-1317/+0
|
* Fixed printf format errors (only 1 left in GENERIC now).bde1998-07-131-2/+2
|
* Fixed pedantic semantics errors (bitfields not of type int, signed intbde1998-06-081-4/+4
| | | | | | | or unsigned int (this doesn't change the struct layout, size or alignment in any of the files changed in this commit, at least for gcc on i386's. Using bitfields of type u_char may affect size and alignment but not packing)).
* Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108.des1998-04-171-3/+3
|
* Add shared EISA interrupt support.gibbs1997-09-211-8/+17
| | | | Clean up the match routines so that they return const char *
* Removed unused definition.bde1997-08-211-3/+1
|
* Removed unused #includes.bde1997-07-201-7/+1
|
* Removed nested #includes of <scsi/scsi_debug.h> and <scsi/scsi_driver.h>bde1997-03-231-1/+2
| | | | from <scsi/scsiconf.h> and fixed everything that depended on them.
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Remove devconf, it never grew up to be of any use.phk1996-09-061-16/+2
|
* Clean up -Wunused warnings.gpalmer1996-06-121-2/+1
| | | | Reviewed by: bde
* "board not responding" -> "board is not responding"dima1996-05-221-4/+4
| | | | Reviewed by: gibbs
* aha1742.c:gibbs1996-03-101-5/+5
| | | | | | | | | 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.
* 3c5x9.c:gibbs1996-02-261-2/+2
| | | | | | | | | | | | | The eisaconf probe for the 3Com 3c579 and the 3c509 when in eisa configuration mode. aha1742.c aic7770.c bt74x.c: Only call eisa_registerdev after the probe is successfully. eisaconf.c: Increase kdc->kdc_datalen during the eisa_reg* functions instead of in the eisa_add* functions since eisa_registerdev has already been called and we have a kdc to manipulate.
* aha1742.c aic7770.c bt74x.cgibbs1996-01-311-2/+2
| | | | | | | | - Call eisa_registerdev as soon as we have a device match. This allows the "eisa_add_*" routines to tweak kdc_datalen as the kdc grows and shrinks. eisaconf.c - externalize the linked lists that hold our ioaddrs and maddrs.
* Another pass through eisaconf. Ioaddrs and Maddrs are link lists now.gibbs1996-01-291-11/+18
| | | | | | The Bt driver is the only one that actually registers multiple addresses. Probe output is formatted to 80 columns.
* Register our softc at attach time. I forgot to do this in my last commit,gibbs1996-01-141-1/+2
| | | | causing a panic.
* Use the new adapter_softc field in the scsi_link structure so thatgibbs1996-01-071-79/+66
| | | | | | | this driver no longer needs to maintain an array of configured units. Pass "softc" pointers instead of unit numbers to many functions that did a conversion for unit->softc anyway.
* Convert DDB to new-style option.wollman1996-01-041-1/+2
|
* Completed function declarations and added prototypes. Sorted prototypes.bde1995-12-141-14/+32
|
* Staticize and cleanup.phk1995-12-101-5/+7
| | | | Make debug variable sysctl aware in 1742.
* Untangled the vm.h include file spaghetti.dg1995-12-071-1/+3
|
* Replaced #includes of <sys/user.h> by less gross headers, usuallybde1995-12-061-2/+5
| | | | | | | <sys/vm.h>. Many device drivers need only the definition of vtophys() from vm. Added nearby #includes of <sys/conf.h> where appropriate.
* Staticize again.phk1995-11-291-2/+2
|
* Convert Adaptec 1742 driver to new eisaconf interface.gibbs1995-11-091-209/+245
|
* Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up thebde1995-11-041-2/+1
| | | | | | | | | | misplaced extern declarations (mostly prototypes of interrupt handlers) that this exposed. The prototypes should be moved back to the driver sources when the functions are staticalized. Added idempotency guards to <machine/conf.h>. "ioconf.h" can't be included when building LKMs so define a wart in bsd.kmod.mk to help guard against including it.
* Remove unused functions and variables, make things static, and other cleanups.phk1995-10-281-36/+36
|
* Fix benign type mismatches in isa interrupt handlers. Many returned intbde1995-09-191-4/+3
| | | | instead of void.
* Remove hard coded assumption that SCSI busses have 7 targets.gibbs1995-08-231-2/+12
| | | | | | | | | | | | | | | | This change forces the controller drivers to allocate a scsibus_data struct via a call to scsi_alloc_bus(), fill in the adapter_link field, and optionally modify any other fields of the struct. Scsi_alloc_bus() initializes all fields to the default, so the changes in most drivers are very minimal. For drivers that support Wide controllers, the maxtarg field will have to be updated to allow probing of all targets (for an example, look at the aic7xxx driver). Scsi_attachdevs() now takes a scsibus_data* as its argument instead of an sc_link*. This allows us to expand the role of the scsibus_data struct for other bus level configuration setings (max number of transactions, current transaction opennings, etc for better tagged queuing support). Reviewed by: Rodney Grimes <rgrimes>, Peter Dufault <dufault>, Julian Elischer <julian>
* First step of fixing the remaining sloppy common-style declarations.bde1995-07-251-2/+2
| | | | | | | | Declare `cheat' as static. It was bogusly shared between the aha1742 and ultrastor drivers. Even static variables should have unique names so that they can be debugged, but fixing them can wait.
* Remove trailing whitespace.rgrimes1995-05-301-14/+14
|
* 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.
* Add a class field to devconf and mst drivers.wollman1995-04-121-4/+9
| | | | | | | | | | | | 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.
* 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.
* Expand the EISA MAX_SLOTS from 8 to 16.ats1994-11-261-2/+2
|
* 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
OpenPOWER on IntegriCloud