Peter Wemm
896de22812
GC some now unused (and #if 0) code.
1999-04-19 13:34:25 +00:00
Peter Wemm
e51d99dc81
EISA can (or will) be a child of the i386 nexus on non-PCI systems.
1999-04-19 07:58:34 +00:00
Peter Wemm
bed56f7f4d
Set the bus description for EISA, like it is for ISA.
1999-04-19 06:57:33 +00:00
Peter Wemm
a49a3d4433
Implement an EISA new-bus framework. The old driver probe mechanism
...
had a quirk that made a shim rather hard to implement properly and it was
just easier to convert the drivers in one go. The changes to the
buslogic driver go beyond just this - the whole driver was new-bus'ed
including pci and isa. I have only tested the EISA part of this so far.
Submitted by: Doug Rabson <dfr@nlsystems.com>
1999-04-18 15:50:35 +00:00
Eivind Eklund
c6d0e3f0c1
Staticize.
1999-04-11 03:06:07 +00:00
Justin T. Gibbs
1652f91eb5
Fix a typo.
...
PR: 10722
Submitted by: Chris Costello <chris@holly.dyndns.org>
1999-03-23 07:27:38 +00:00
Justin T. Gibbs
e01902feb4
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
Justin T. Gibbs
da925f6c0f
Poll for bus reset completion instead of assuming that our interrupt
...
is enabled.
1999-03-05 23:37:07 +00:00
Justin T. Gibbs
f15aa8d8d9
Modify to deal with changes in the storage of user negotiation settings.
1999-03-05 23:28:42 +00:00
Justin T. Gibbs
dd3afbd452
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
Matthew Dillon
485111b55b
Fix parenthesization, but the code still looks wrong.
1999-01-28 01:33:02 +00:00
John Polstra
0ec81012da
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 Eklund
685df2085d
Switch type of vxintr instead of using the previous casts.
...
Requested by: bde
1999-01-12 02:09:33 +00:00
Eivind Eklund
d20a303759
Silence warnings.
1999-01-12 00:36:36 +00:00
Bruce Evans
b55dcca107
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
Justin T. Gibbs
b2608b2c73
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
Justin T. Gibbs
41faa7d374
Pull in new ccb_hdr list types.
1998-12-15 08:24:45 +00:00
Eivind Eklund
98b5612b47
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 Cobbs
2127f26023
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
Justin T. Gibbs
bc1b1dad36
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
Justin T. Gibbs
9574f7968d
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
Justin T. Gibbs
e95de2a602
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
Justin T. Gibbs
c2921d36a9
Use %p with (void *) casts to print pointers with printf.
1998-09-17 00:08:29 +00:00
Justin T. Gibbs
6954e80f7b
Fix printf format bugs.
1998-09-16 03:27:12 +00:00
Justin T. Gibbs
d13e6580b9
Obsolteted by CAM.
1998-09-15 10:39:50 +00:00
Justin T. Gibbs
83cf1450a1
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
Justin T. Gibbs
532abf3b7a
Mylex/Buslogic MultiMaster SCSI-Host Adapter Driver for CAM.
1998-09-15 07:32:57 +00:00
Justin T. Gibbs
ccb21a77fb
Move to new name and convert to CAM.
1998-09-15 07:24:58 +00:00
Justin T. Gibbs
44de612bd0
Adaptec 174x EISA SCSI Host Adapter driver for CAM.
1998-09-15 07:10:00 +00:00
Justin T. Gibbs
07c20e11f7
EISA bus attachment for the AdvanSys driver.
1998-09-15 07:05:39 +00:00
Bruce Evans
00671271c3
Fixed printf format errors. Only one left in LINT on i386's.
1998-08-24 02:28:16 +00:00
Jordan K. Hubbard
0eaf7cf01b
MF22: Shut this thing up by default.
1998-08-09 02:22:34 +00:00
Bruce Evans
9bffbcd4f5
Fixed printf format errors (only 1 left in GENERIC now).
1998-07-13 09:53:11 +00:00
Justin T. Gibbs
994fe7649c
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
Bruce Evans
a09bee1aa8
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
Justin T. Gibbs
6772bb1537
Include "eisa.h" and only provide code if NEISA > 0.
1998-05-17 20:31:50 +00:00
Justin T. Gibbs
c3f80129dc
Fix list corruption and memory leak that could occur when
...
releasing EISA irqs.
1998-05-14 19:47:38 +00:00
Dag-Erling Smørgrav
dc73342347
Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108.
1998-04-17 22:37:19 +00:00
Julian Elischer
fdc021ba7f
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
Bruce Evans
39e4376ba7
Removed unused #includes.
1998-02-20 13:11:54 +00:00
Eivind Eklund
303b270b0a
Staticize.
1998-02-09 06:11:36 +00:00
Eivind Eklund
1d5e9e2255
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
Poul-Henning Kamp
4a11ca4e29
Remove a bunch of variables which were unused both in GENERIC and LINT.
...
Found by: -Wunused
1997-11-07 08:53:44 +00:00
Bruce Evans
55b211e3af
Removed unused #includes.
1997-10-28 15:59:26 +00:00
Justin T. Gibbs
953ba64df7
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 Wemm
cf41704c63
Bruce wants the warning.
1997-09-14 11:28:30 +00:00
Peter Wemm
b87d6b8f3f
Fix a warning.
1997-09-13 15:28:30 +00:00
Bruce Evans
b1037dcd53
#include <machine/limits.h> explicitly in the few places that it is required.
1997-08-21 20:33:42 +00:00
Bruce Evans
d7fde192a6
Staticized.
1997-08-21 19:56:40 +00:00
Bruce Evans
e0b2119fcf
Police 4.4Lite #include style.
1997-08-21 19:55:49 +00:00