gibbs
7d27f1bce1
Fix a typo.
...
PR: 10722
Submitted by: Chris Costello <chris@holly.dyndns.org>
1999-03-23 07:27:38 +00:00
gibbs
69aac6dea7
Ask the card where our interrupt is instead of attempting to use the EISA
...
config info. On early revision cards (742a), the EISA register space,
other than the location used to determine the address of the card's main
command ports, is write only.
1999-03-08 21:35:03 +00:00
gibbs
c7f60ce141
Poll for bus reset completion instead of assuming that our interrupt
...
is enabled.
1999-03-05 23:37:07 +00:00
gibbs
090e44812f
Modify to deal with changes in the storage of user negotiation settings.
1999-03-05 23:28:42 +00:00
gibbs
75a344a2d5
Correct test in poll loop for determining that the mailbox is free to
...
accept a new command.
1999-01-28 03:30:02 +00:00
dillon
bada4b37ff
Fix parenthesization, but the code still looks wrong.
1999-01-28 01:33:02 +00:00
jdp
b5fcc979e2
Replace includes of <sys/kernel.h> with includes of
...
<sys/linker_set.h> in those files that use only the linker set
definitions.
1999-01-14 06:22:10 +00:00
eivind
cdcdfed3b9
Switch type of vxintr instead of using the previous casts.
...
Requested by: bde
1999-01-12 02:09:33 +00:00
eivind
4e34ff4e34
Silence warnings.
1999-01-12 00:36:36 +00:00
bde
1e49b19cb0
The previous commit was bogus. malloc(..., M_WAITOK) should not be
...
used in device attach routines. At least for attaches at boot time,
actually waiting, or actually failing for malloc(..., M_NOWAIT), are
almost equally unlikely and harmless, but using M_WAITOK interferes
with automatic detection of bogus M_WAITOK's.
1999-01-01 12:35:47 +00:00
gibbs
b6ee7c1b3f
Staticize the overrun buffer so that they are not shared between
...
cards of different bus types as each bus type may have a different
bus mapping.
Submitted by: Eivind Eklund <eivind@yes.no>
1998-12-22 18:14:15 +00:00
gibbs
147f35e007
Pull in new ccb_hdr list types.
1998-12-15 08:24:45 +00:00
eivind
b4ee85eb7d
malloc(xxx, yyy, M_WAITOK) does not fail. This probably explains why
...
the bug in the check had never been discovered.
1998-12-09 02:18:53 +00:00
archie
982e80577d
Examine all occurrences of sprintf(), strcat(), and str[n]cpy()
...
for possible buffer overflow problems. Replaced most sprintf()'s
with snprintf(); for others cases, added terminating NUL bytes where
appropriate, replaced constants like "16" with sizeof(), etc.
These changes include several bug fixes, but most changes are for
maintainability's sake. Any instance where it wasn't "immediately
obvious" that a buffer overflow could not occur was made safer.
Reviewed by: Bruce Evans <bde@zeta.org.au>
Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
Reviewed by: Mike Spengler <mks@networkcs.com>
1998-12-04 22:54:57 +00:00
gibbs
9ede5f09d8
Bring back support for honoring the primary channel setting for twin channel
...
EISA adapters. This could have caused the system to find the wrong root
disk.
Reviewed by: J Wunsch <j@ida.interface-business.de>
1998-10-15 18:21:50 +00:00
gibbs
ed4de15d44
Hook up ahapoll so that dumps, synchronize cache commands or any other
...
command that comes in through xpt_polled_action works correctly.
1998-10-09 21:38:36 +00:00
gibbs
b9c44f5513
Pass termination information via softc flags to the core driver. The
...
EISA probe missed out on this change in attach->core API.
1998-10-09 17:42:28 +00:00
gibbs
e0db131ba0
Use %p with (void *) casts to print pointers with printf.
1998-09-17 00:08:29 +00:00
gibbs
fefb01e7e7
Fix printf format bugs.
1998-09-16 03:27:12 +00:00
gibbs
4035fc4bcc
Obsolteted by CAM.
1998-09-15 10:39:50 +00:00
gibbs
589d4a338b
Conver the DPT driver to CAM. The dpt_control interface is not yet
...
functional, but will be in another day or so.
1998-09-15 08:33:38 +00:00
gibbs
5818d24834
Mylex/Buslogic MultiMaster SCSI-Host Adapter Driver for CAM.
1998-09-15 07:32:57 +00:00
gibbs
8fe34552ed
Move to new name and convert to CAM.
1998-09-15 07:24:58 +00:00
gibbs
fd4d41dcf7
Adaptec 174x EISA SCSI Host Adapter driver for CAM.
1998-09-15 07:10:00 +00:00
gibbs
75567d6048
EISA bus attachment for the AdvanSys driver.
1998-09-15 07:05:39 +00:00
bde
f45ec22006
Fixed printf format errors. Only one left in LINT on i386's.
1998-08-24 02:28:16 +00:00
jkh
5328be2c72
MF22: Shut this thing up by default.
1998-08-09 02:22:34 +00:00
bde
925110cd23
Fixed printf format errors (only 1 left in GENERIC now).
1998-07-13 09:53:11 +00:00
gibbs
f4029dc308
Add support for the Storage Dimensions SDC3222F.
...
PR: 6261
Submitted by: "Matthew N. Dodd" <winter@jurai.net>
1998-06-14 16:41:57 +00:00
bde
566ee5c323
Fixed pedantic semantics errors (bitfields not of type int, signed int
...
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)).
1998-06-08 09:47:47 +00:00
gibbs
572f2b164f
Include "eisa.h" and only provide code if NEISA > 0.
1998-05-17 20:31:50 +00:00
gibbs
7c2692687f
Fix list corruption and memory leak that could occur when
...
releasing EISA irqs.
1998-05-14 19:47:38 +00:00
des
396b114475
Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108.
1998-04-17 22:37:19 +00:00
julian
81765fc2bb
Add EISA support for DPT drivers
...
Submitted by: Matthew Dodd
Reviewd by: shimon@simon-shapiro.org (DPT author)
1998-03-11 00:30:16 +00:00
bde
9fca072392
Removed unused #includes.
1998-02-20 13:11:54 +00:00
eivind
d7a6ab2803
Staticize.
1998-02-09 06:11:36 +00:00
eivind
bcae2312af
Make INET a proper option.
...
This will not make any of object files that LINT create change; there
might be differences with INET disabled, but hardly anything compiled
before without INET anyway. Now the 'obvious' things will give a
proper error if compiled without inet - ipx_ip, ipfw, tcp_debug. The
only thing that _should_ work (but can't be made to compile reasonably
easily) is sppp :-(
This commit move struct arpcom from <netinet/if_ether.h> to
<net/if_arp.h>.
1998-01-08 23:42:31 +00:00
phk
4d26888936
Remove a bunch of variables which were unused both in GENERIC and LINT.
...
Found by: -Wunused
1997-11-07 08:53:44 +00:00
bde
fb826377ff
Removed unused #includes.
1997-10-28 15:59:26 +00:00
gibbs
51fbeeacb4
Add shared EISA interrupt support.
...
Clean up the match routines so that they return const char *
1997-09-21 21:35:24 +00:00
peter
1425e326d1
Bruce wants the warning.
1997-09-14 11:28:30 +00:00
peter
0de5b6fcc3
Fix a warning.
1997-09-13 15:28:30 +00:00
bde
6be005551f
#include <machine/limits.h> explicitly in the few places that it is required.
1997-08-21 20:33:42 +00:00
bde
9b3b0bd641
Staticized.
1997-08-21 19:56:40 +00:00
bde
9ab18fdc9b
Police 4.4Lite #include style.
1997-08-21 19:55:49 +00:00
bde
35caaa5c56
Removed unused definition.
1997-08-21 19:46:13 +00:00
fsmp
e657c8ade4
Add several casts and include several header files to eliminate compiler
...
warnings.
1997-08-21 07:36:44 +00:00
bde
231784c7f6
Removed unused #includes.
1997-07-20 06:31:09 +00:00
bde
8dcf4da642
Don't cast function pointers to (void *). This will cause warnings.
...
They should be fixed when similar warnings for the general interrupt
attach routines are fixed.
Removed unused #include.
1997-07-01 00:45:45 +00:00
bde
117209856b
Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include
...
it when it is not used. In most cases, the reasons for including it
went away when the special ioctl headers became self-sufficient.
1997-03-24 11:25:10 +00:00