summaryrefslogtreecommitdiffstats
path: root/sys/pci/ncr.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-03-19 15:03:00 +0000
committerbde <bde@FreeBSD.org>1996-03-19 15:03:00 +0000
commit450b4c5cf434f35a45a1ff9dd6fc634fd777d712 (patch)
tree832a264c27be21f32c4604bbdcf83739414789f3 /sys/pci/ncr.c
parent16bb0803c0e2d0d807e6eebb114f9e6c95637034 (diff)
downloadFreeBSD-src-450b4c5cf434f35a45a1ff9dd6fc634fd777d712.zip
FreeBSD-src-450b4c5cf434f35a45a1ff9dd6fc634fd777d712.tar.gz
Fixed unsigned longs that should have been vm_offset_t.
vm_offset_t is currently unsigned long but should probably be plain unsigned for i386's to match the choice of minimal types to represent for fixed-width types in Lite2. Anyway, it shouldn't be assumed to be unsigned long. I only fixed the type mismatches that were detected when I changed vm_offset_t to unsigned. Only pointer type mismatches were detected.
Diffstat (limited to 'sys/pci/ncr.c')
-rw-r--r--sys/pci/ncr.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index cf1f878..9147bd4 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.66 1996/03/11 19:25:58 se Exp $
+** $Id: ncr.c,v 1.67 1996/03/11 19:36:07 se Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -1220,7 +1220,8 @@ static void ncb_profile (ncb_p np, ccb_p cp);
static void ncr_script_copy_and_bind
(struct script * script, ncb_p np);
static void ncr_script_fill (struct script * scr);
-static int ncr_scatter (struct dsb* phys,u_long vaddr,u_long datalen);
+static int ncr_scatter (struct dsb* phys, vm_offset_t vaddr,
+ vm_size_t datalen);
static void ncr_setmaxtags (tcb_p tp, u_long usrtags);
static void ncr_setsync (ncb_p np, ccb_p cp, u_char sxfer);
static void ncr_settags (tcb_p tp, lcb_p lp);
@@ -1253,7 +1254,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.66 1996/03/11 19:25:58 se Exp $\n";
+ "\n$Id: ncr.c,v 1.67 1996/03/11 19:36:07 se Exp $\n";
static u_long ncr_version = NCR_VERSION * 11
+ (u_long) sizeof (struct ncb) * 7
OpenPOWER on IntegriCloud