diff --git a/sys/dev/pci/isp_pci.c b/sys/dev/pci/isp_pci.c index e4f43f2f18af..f51e1804e57d 100644 --- a/sys/dev/pci/isp_pci.c +++ b/sys/dev/pci/isp_pci.c @@ -1,4 +1,4 @@ -/* $NetBSD: isp_pci.c,v 1.26 1998/07/31 02:08:16 mjacob Exp $ */ +/* $NetBSD: isp_pci.c,v 1.27 1998/07/31 02:14:40 thorpej Exp $ */ /* * PCI specific probe and attach routines for Qlogic ISP SCSI adapters. * @@ -143,6 +143,9 @@ isp_pci_attach(parent, self, aux) struct device *parent, *self; void *aux; { +#ifdef DEBUG + static char oneshot = 1; +#endif struct pci_attach_args *pa = aux; struct isp_pcisoftc *pcs = (struct isp_pcisoftc *) self; struct ispsoftc *isp = &pcs->pci_isp; @@ -241,6 +244,16 @@ isp_pci_attach(parent, self, aux) return; } +#ifdef DEBUG + if (oneshot) { + oneshot = 0; + printf("***Qlogic ISP Driver, NetBSD (pci) Platform Version " + "%d.%d Core Version %d.%d\n", + ISP_PLATFORM_VERSION_MAJOR, ISP_PLATFORM_VERSION_MINOR, + ISP_CORE_VERSION_MAJOR, ISP_CORE_VERSION_MINOR); + } +#endif + ISP_LOCK(isp); isp_reset(isp); if (isp->isp_state != ISP_RESETSTATE) {