summaryrefslogtreecommitdiffstats
path: root/sys/dev/buslogic
Commit message (Collapse)AuthorAgeFilesLines
* Revert part of 1.9; we don't need to reset the port after release now thatpeter1999-04-241-2/+1
| | | | the isa bus doesn't clear the hints at that point.
* Typo, use SYS_RES_IRQ when releasing the irq resource, not SYS_RES_IOPORT.peter1999-04-241-2/+2
|
* ahc_pci.c:gibbs1999-04-231-3/+3
| | | | | | | | | Convert to new bus and bus dma. Use latest PCI API. bt_pci.c: Fix a few bugs in how resourses are released left over from when this driver was converted to new bus.
* bt.c:gibbs1999-04-232-10/+18
| | | | | | Simplify some inline functions. btreg.h: Correct a comment.
* Make bt driver work on eisa again.dfr1999-04-201-2/+2
| | | | Submitted by: Matthew N. Dodd <winter@jurai.net>
* Make the bt isa driver work..peter1999-04-181-5/+11
| | | | | | | | | | | - fix cut/paste problem. :-) - don't forget to call isa_dmacascade() - reset the port after we release resources. That last one is a trap to watch out for.. The isa bus driver uses the same port/irq/mem/etc variables for the initial probe hints as it does for allocation/deallocation tracking. Releasing a resource clears the variable and then you loose the hint during attach.. (ouch!)
* Check bus_setup_intr() as a seatbelt...peter1999-04-181-2/+7
|
* Implement an EISA new-bus framework. The old driver probe mechanismpeter1999-04-185-419/+504
| | | | | | | | | 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>
* Improve bt_cmd() so that it has a better chance of working when theregibbs1999-04-072-61/+84
| | | | | | | 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.
* failled spell-checkphk1999-04-061-2/+2
|
* Fix a typo.gibbs1999-03-231-2/+2
| | | | | PR: 10722 Submitted by: Chris Costello <chris@holly.dyndns.org>
* Add bt_port_probe() a routine shared by the EISA and ISA probe code togibbs1999-03-082-15/+87
| | | | | | | 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.
* Ask the card where our interrupt is instead of attempting to use the EISAgibbs1999-03-081-85/+31
| | | | | | 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.
* Pull 'ISA style' probe where interrupt information is determined throughgibbs1999-03-081-43/+7
| | | | | commands sent to card, into the base driver module. It is now used for EISA board probes too.
* probe function changed from returning char * to const char *.dillon1998-12-141-3/+3
|
* Remove unsued variable.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..
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()archie1998-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>
* Move a diagnostic behind "if (bootverbose)".gibbs1998-11-131-5/+7
|
* Noop Commit - Change was in last revision.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.
* Convert to change in ISA compatiblity port handling in the base bt driver.gibbs1998-11-101-3/+3
|
* Fix probes when a port address is specified.gibbs1998-11-103-47/+115
|
* Do not disable the ISA compatibility window if it is the same value asgibbs1998-10-303-10/+22
| | | | that set for our PCI IO address space. This can happen on the BT-946.
* -Wunused cleanup.gibbs1998-10-151-4/+2
| | | | Submitted by: Poul-Henning Kamp <phk@freebsd.org>
* Honor CAM_TAG_ACTION_NONE.gibbs1998-10-151-3/+4
|
* Fix breakage introduced by last patch. bde has added CC_QUIET flag toimp1998-10-121-27/+4
| | | | | | | | hasseen_isadev so this will be less noisy when conflicts do exist. Also eliminate redundant warnings about conflicts. Requested by: bde Reviewed by: gibbs
* Fix conficts in probe:imp1998-10-101-1/+28
| | | | | | | | | | o For bt and aha only probe the one I/O range if a specific I/O is specified in the config file. o Don't even try to probe I/O ranges that have been seen already. o If we conflict with an IRQ or DRQ, then fail the probe. Requested by: bde, gibbs Approved by: jkh
* Hook up ahapoll so that dumps, synchronize cache commands or any othergibbs1998-10-091-1/+2
| | | | command that comes in through xpt_polled_action works correctly.
* Removed unused include of "ioconf.h" again. The CAM changes made ioconf.hbde1998-09-241-3/+1
| | | | empty but regressed to including it here.
* On wide cards with firmware revisions < 5.06L, we have to infer thatgibbs1998-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.
* Use %p with (void *) casts to print pointers with printf.gibbs1998-09-171-6/+6
|
* Fix printf format bugs.gibbs1998-09-161-7/+9
|
* Mylex/Buslogic MultiMaster SCSI-Host Adapter Driver for CAM.gibbs1998-09-155-0/+3755
OpenPOWER on IntegriCloud