summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/trm_pci.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move remaining scsi bus initialization info from "prototype scsi link"krw2020-07-201-5/+5
| | | | | | | fields to struct scsibus_attach_args. Nuke the struct scsi_link * (saa_sc_link) in scaibus_attach_args. Explicitly initialize each field in scsibus_attach_args variables.
* Move the adapter related items (luns, adapter, adapter_target,krw2020-07-191-6/+7
| | | | | | | adapter_buswidth, adapter_softc) from struct scsi_link to struct scsibus_attach_args. Additional compile tests by jmatthew@ (sparc64) and aoyam@ (luna88k).
* Expunge some Captain Obvious comments, tweak whitespace a bit, move a debugkrw2020-07-111-2/+1
| | | | statement. All to make upcoming diff(s) smaller and easier to read.
* Shuffle things around so that sc->sc_link initialization iskrw2020-07-021-1/+16
| | | | done just before config_found(), as all other drivers do.
* Nuke trailing whitespace.krw2020-06-271-13/+13
|
* No need to bzero()/memset() 'struct scsibus_attach_args' variableskrw2020-06-271-2/+1
| | | | immediately before initializing the only field in the struct.
* give scsi controllers a real attach args to fill in when attaching scsibus.dlg2006-11-281-2/+6
| | | | ok miod@ marco@ deraadt@
* Remove zeroref here too; spotted by naddy@miod2006-01-211-2/+1
|
* do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in pcisubmatch(); kettenis@ testing; brad@ okmickey2005-08-091-11/+1
|
* Add trm - driver for Tekram TRM-S1040 cards (DC395U/UW/F,DC315/U).krw2002-02-181-0/+169
Thanks to Tekram for donating a couple of cards and a NetBSD driver by Erich Chen of Tekram. Thanks to Martin Akesson for a first port of the NetBSD driver to OpenBSD and thanks to Ashley Martens for the major cleanup to make it presentable and style(9)ish. Only tested on i386 at this time.