summaryrefslogtreecommitdiffstats
path: root/sys/pci/tek390.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix problem in the DC390_DefaultEEprom subroutine, which could leadse1997-08-111-3/+3
| | | | | | | | to spurious wites outside an alloccated array in the case of generic AMD SCSI cards. PR: kern/4217 Submitted by: Erik H. Moe <ehm@cris.com>
* Completely replace the PCI bus driver code to make it better reflectse1997-05-261-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reality. There will be a new call interface, but for now the file pci_compat.c (which is to be deleted, after all drivers are converted) provides an emulation of the old PCI bus driver functions. The only change that might be visible to drivers is, that the type pcici_t (which had been meant to be just a handle, whose exact definition should not be relied on), has been converted into a pcicfgregs* . The Tekram AMD SCSI driver bogusly relied on the definition of pcici_t and has been converted to just call the PCI drivers functions to access configuration space register, instead of inventing its own ... This code is by no means complete, but assumed to be fully operational, and brings the official code base more in line with my development code. A new generic device descriptor data type has to be agreed on. The PCI code will then use that data type to provide new functionality: 1) userconfig support 2) "wired" PCI devices 3) conflicts checking against ISA/EISA 4) maps will depend on the command register enable bits 5) PCI to Anything bridges can be defined as devices, and are probed like any "standard" PCI device. The following features are currently missing, but will be added back, soon: 1) unknown device probe message 2) suppression of "mirrored" devices caused by ancient, broken chip-sets This code relies on generic shared interrupt support just commited to kern_intr.c (plus the modifications of isa.c and isa_device.h).
* Fix bug that would stop probing for SCSI devicesse1996-12-201-5/+6
| | | | | | | | | | | | | after the first found, if multiple LUNs are tried. Change probe message to just the SCSI chip id, similar to what the NCR driver prints. Change the driver name to "amd" in all places. Thanks to Nick Sayer <nsayer@quack.kfu.com> for doing some debugging, for sending a boot message log that shows the driver is functional, and for pointing out there still were places that needed the driver name to be corrected.
* Add include of <vm/pmap.h> to make this driver compile under -current.se1996-12-181-13/+4
| | | | | Cleanup to make it compile cleanly in LINT. Submitted by: bde
* Add code to fill the EEPROM buffer with default values, if no EEPROMse1996-12-181-1/+22
| | | | | | | was found, or if there was a checksum mismatch. This patch should allow the driver to be used with any AMD 53c974 based SCSI card, or with the AMD SCSI+Ethernet Combo Chip found on some motherboards.
* Make compile under FreeBSD-current (3.0-DEVELOPMENT).se1996-12-181-3/+8
|
* Tekram supplied driver for their DC390 and DC390T controllers.se1996-12-151-0/+1679
These controllers are based on the AMD 53c974, and the driver does only support those two cards, since it checks for a Tekram specific configuration EEPROM. This deficiency (TM) will be fixed soon ... :) This code is: (C)Copyright 1995-1996 Tekram Technology Co., Ltd. Obtained from: Tekram
OpenPOWER on IntegriCloud