diff options
| author | Justin T. Gibbs <gibbs@FreeBSD.org> | 1998-09-15 22:05:44 +0000 |
|---|---|---|
| committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 1998-09-15 22:05:44 +0000 |
| commit | 5ee58402df247bccb4b1f45ee4523e8c494a363d (patch) | |
| tree | 70d5d609b9a8f1032041f138781ce30318f6503d /sys/pci/ncr.c | |
| parent | 8162da636bd3e9c5f11341009762a9c86dd90293 (diff) | |
Notes
Diffstat (limited to 'sys/pci/ncr.c')
| -rw-r--r-- | sys/pci/ncr.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c index 1a8aa5be6479..3cb9842554b7 100644 --- a/sys/pci/ncr.c +++ b/sys/pci/ncr.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: ncr.c,v 1.123 1998/08/10 14:27:34 bde Exp $ +** $Id: ncr.c,v 1.124 1998/09/15 10:06:22 gibbs Exp $ ** ** Device driver for the NCR 53C8XX PCI-SCSI-Controller Family. ** @@ -1288,7 +1288,7 @@ static void ncr_attach (pcici_t tag, int unit); static char ident[] = - "\n$Id: ncr.c,v 1.123 1998/08/10 14:27:34 bde Exp $\n"; + "\n$Id: ncr.c,v 1.124 1998/09/15 10:06:22 gibbs Exp $\n"; static const u_long ncr_version = NCR_VERSION * 11 + (u_long) sizeof (struct ncb) * 7 @@ -5605,8 +5605,10 @@ static void ncr_int_ma (ncb_p np, u_char dstat) return; } if (cp != np->header.cp) { - printf ("%s: SCSI phase error fixup: CCB address mismatch (0x%08lx != 0x%08lx) np->nccb = 0x%08lx\n", - ncr_name (np), (u_long) cp, (u_long) np->header.cp, np->link_nccb); + printf ("%s: SCSI phase error fixup: CCB address mismatch " + "(0x%08x != 0x%08x) np->nccb = 0x%08x\n", + ncr_name (np), (intptr_t)cp, (intptr_t)np->header.cp, + (intptr_t)np->link_nccb); /* return;*/ } @@ -6899,7 +6901,7 @@ ncrgetfreq (ncb_p np, int gen) OUTB (nc_scntl3, 0); if (bootverbose >= 2) - printf ("\tDelay (GEN=%d): %lu msec\n", gen, ms); + printf ("\tDelay (GEN=%d): %u msec\n", gen, ms); /* * adjust for prescaler, and convert into KHz */ @@ -6927,7 +6929,7 @@ static void ncr_getclock (ncb_p np, u_char multiplier) f2 = ncrgetfreq (np, 11); if (bootverbose >= 2) - printf ("\tNCR clock is %luKHz, %luKHz\n", f1, f2); + printf ("\tNCR clock is %uKHz, %uKHz\n", f1, f2); if (f1 > f2) f1 = f2; /* trust lower result */ if (f1 > 45000) { scntl3 = 5; /* >45Mhz: assume 80MHz */ |
