aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/buslogic/bt.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Improve bt_cmd() so that it has a better chance of working when thereJustin T. Gibbs1999-04-071-59/+82
| | | | | | | | | | are pending I/O transactions. It is not clear that is works 100% of the time under SMP, but since the bt_cmds() that are sent after other CPUs are started are not critical, the driver will function until I can figure out why this is the case. Notes: svn path=/head/; revision=45444
* Add bt_port_probe() a routine shared by the EISA and ISA probe code toJustin T. Gibbs1999-03-081-3/+66
| | | | | | | | | | determine IRQ and DRQ information. Fix a bug that would cause us to attempt to retrieve extended sync rate information on cards/firmware revs that do not support that command. Notes: svn path=/head/; revision=44581
* Remove unsued variable.Justin T. Gibbs1998-12-111-9/+12
| | | | | | | | | | | | If we are not transfering any data, use a non S/G ccb type that doesn't return residual information. It seems that some firmware revisions dislike S/G ccbs with 0 length S/G lists. Correct bt_cmd() so that we always honor command status that was latched by our interrupt routine while polling for completion.. Notes: svn path=/head/; revision=41669
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()Archie Cobbs1998-12-041-5/+5
| | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=41514
* Move a diagnostic behind "if (bootverbose)".Justin T. Gibbs1998-11-131-5/+7
| | | | Notes: svn path=/head/; revision=41133
* Noop Commit - Change was in last revision.Justin T. Gibbs1998-11-101-1/+1
| | | | | | | | | If the next available mailbox is not in the free state, print a warning and handle the condition as a temporary resource shortage. The condition should never happen, but we shouldn't panic since recovery is possible. Notes: svn path=/head/; revision=41050
* Fix probes when a port address is specified.Justin T. Gibbs1998-11-101-23/+98
| | | | Notes: svn path=/head/; revision=41048
* Do not disable the ISA compatibility window if it is the same value asJustin T. Gibbs1998-10-301-1/+7
| | | | | | | that set for our PCI IO address space. This can happen on the BT-946. Notes: svn path=/head/; revision=40749
* -Wunused cleanup.Justin T. Gibbs1998-10-151-4/+2
| | | | | | | Submitted by: Poul-Henning Kamp <phk@freebsd.org> Notes: svn path=/head/; revision=40419
* Honor CAM_TAG_ACTION_NONE.Justin T. Gibbs1998-10-151-3/+4
| | | | Notes: svn path=/head/; revision=40418
* Hook up ahapoll so that dumps, synchronize cache commands or any otherJustin T. Gibbs1998-10-091-1/+2
| | | | | | | command that comes in through xpt_polled_action works correctly. Notes: svn path=/head/; revision=40132
* On wide cards with firmware revisions < 5.06L, we have to infer thatJustin T. Gibbs1998-09-201-1/+17
| | | | | | | | wide targets are in fact running wide since the "setup info" command for these revisions does not fill out the wide negotiation bits. Notes: svn path=/head/; revision=39507
* Use %p with (void *) casts to print pointers with printf.Justin T. Gibbs1998-09-171-6/+6
| | | | Notes: svn path=/head/; revision=39390
* Fix printf format bugs.Justin T. Gibbs1998-09-161-7/+9
| | | | Notes: svn path=/head/; revision=39324
* Mylex/Buslogic MultiMaster SCSI-Host Adapter Driver for CAM.Justin T. Gibbs1998-09-151-0/+2154
Notes: svn path=/head/; revision=39223