aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>1996-12-20 21:52:11 +0000
committerStefan Eßer <se@FreeBSD.org>1996-12-20 21:52:11 +0000
commitedb2a14fa4eb152031c73a367a06cbd3df3c10d9 (patch)
tree6d649a97b3bcc8423a7c1797eb52d5629006f7a1
parent2f401e5f094971ee6a632893781330b0a98c02e3 (diff)
Notes
-rw-r--r--sys/pci/tek390.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/pci/tek390.c b/sys/pci/tek390.c
index 0dac523c08e9f..3d735552372b2 100644
--- a/sys/pci/tek390.c
+++ b/sys/pci/tek390.c
@@ -171,7 +171,7 @@ static u_int32 trmamd_info( int unit );
static u_long trmamd_count;
struct pci_device trmamd_device = {
- "trmamd",
+ "amd",
trmamd_probe,
trmamd_attach,
&trmamd_count,
@@ -194,7 +194,7 @@ struct scsi_adapter trmamd_switch =
#ifdef REL_2_1_5
0,
#endif
- "trmamd",
+ "amd",
};
struct scsi_device trmamd_dev =
@@ -203,7 +203,7 @@ struct scsi_device trmamd_dev =
NULL, /* have a queue, served by this */
NULL, /* have no async handler */
NULL, /* Use default 'done' routine */
- "trmamd",
+ "amd",
};
@@ -502,7 +502,8 @@ trmamd_scsi_cmd ( PSCSICMD cmd )
if( pACB->scan_devices )
{
- if( (plink->target >= CurrentID) && (plink->lun >= CurrentLUN) )
+ if( (plink->target > CurrentID) ||
+ (plink->target == CurrentID) && (plink->lun >= CurrentLUN) )
{
CurrentID = plink->target;
CurrentLUN = plink->lun;
@@ -1689,7 +1690,7 @@ static char*
trmamd_probe (pcici_t tag, pcidi_t type)
{
if( type == PCI_DEVICE_ID_AMD53C974 )
- return ("Tekram DC390(T) Adapter Driver v1.01 Aug-20-1996");
+ return ("amd 53c974 scsi");
else
return (NULL);
}