summaryrefslogtreecommitdiffstats
path: root/sys/pci/ncr.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-09-26 14:37:49 +0000
committerdfr <dfr@FreeBSD.org>1998-09-26 14:37:49 +0000
commit36a8222236d44faee4387dca3d7f200b6ebfdf03 (patch)
treea3ae180f07686ececae0eeb60d3109625dbb92de /sys/pci/ncr.c
parent86ef5d7966428ec64d209e9b55d1f7ddad4bdc76 (diff)
downloadFreeBSD-src-36a8222236d44faee4387dca3d7f200b6ebfdf03.zip
FreeBSD-src-36a8222236d44faee4387dca3d7f200b6ebfdf03.tar.gz
Add hooks so that the alpha can detect which disk has the root partition.
Diffstat (limited to 'sys/pci/ncr.c')
-rw-r--r--sys/pci/ncr.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 407a75d..a602478 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.133 1998/09/22 21:42:46 ken Exp $
+** $Id: ncr.c,v 1.134 1998/09/26 14:29:59 dfr Exp $
**
** Device driver for the NCR 53C8XX PCI-SCSI-Controller Family.
**
@@ -1357,7 +1357,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.133 1998/09/22 21:42:46 ken Exp $\n";
+ "\n$Id: ncr.c,v 1.134 1998/09/26 14:29:59 dfr Exp $\n";
static const u_long ncr_version = NCR_VERSION * 11
+ (u_long) sizeof (struct ncb) * 7
@@ -3863,6 +3863,10 @@ ncr_attach (pcici_t config_id, int unit)
return;
}
+#ifdef __alpha__
+ alpha_register_pci_scsi(config_id->bus, config_id->slot, np->sim);
+#endif
+
if (xpt_create_path(&np->path, /*periph*/NULL,
cam_sim_path(np->sim), CAM_TARGET_WILDCARD,
CAM_LUN_WILDCARD) != CAM_REQ_CMP) {
OpenPOWER on IntegriCloud