summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/seagate.c
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1996-03-10 07:04:48 +0000
committergibbs <gibbs@FreeBSD.org>1996-03-10 07:04:48 +0000
commit6cf66491592649025553f69a3088cfda1ee0a9be (patch)
tree97167880b6a476b1b51edffbd6e9f64eab8b6713 /sys/i386/isa/seagate.c
parent11e0a995aaf4c458dd109d138aa1b9d1941adca1 (diff)
downloadFreeBSD-src-6cf66491592649025553f69a3088cfda1ee0a9be.zip
FreeBSD-src-6cf66491592649025553f69a3088cfda1ee0a9be.tar.gz
Cleanse the SCSI subsystem of its internally defined types
u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead.
Diffstat (limited to 'sys/i386/isa/seagate.c')
-rw-r--r--sys/i386/isa/seagate.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/i386/isa/seagate.c b/sys/i386/isa/seagate.c
index 431e7b7..0b78f10 100644
--- a/sys/i386/isa/seagate.c
+++ b/sys/i386/isa/seagate.c
@@ -60,7 +60,7 @@
* that category, with the possible exception of scanners and
* some of the older MO drives.
*
- * $Id: seagate.c,v 1.15 1995/12/10 13:39:10 phk Exp $
+ * $Id: seagate.c,v 1.16 1996/01/07 19:22:37 gibbs Exp $
*/
/*
@@ -223,7 +223,7 @@ typedef struct scb {
struct scb *next; /* in free list */
struct scsi_xfer *xfer; /* the scsi_xfer for this cmd */
u_char *data; /* position in data buffer so far */
- int32 datalen; /* bytes remaining to transfer */;
+ int32_t datalen; /* bytes remaining to transfer */;
} scb_t;
typedef enum {
@@ -336,8 +336,8 @@ static adapter_t seadata[NSEA];
static int sea_probe (struct isa_device *dev);
static int sea_detect (adapter_t *z, struct isa_device *dev);
static int sea_attach (struct isa_device *dev);
-static int32 sea_scsi_cmd (struct scsi_xfer *xs);
-static u_int32 sea_adapter_info (int unit);
+static int32_t sea_scsi_cmd (struct scsi_xfer *xs);
+static u_int32_t sea_adapter_info (int unit);
static void sea_timeout (void *scb);
static void seaminphys (struct buf *bp);
static void sea_done (adapter_t *z, scb_t *scb);
@@ -582,7 +582,7 @@ int sea_attach (struct isa_device *dev)
* Return some information to the caller about
* the adapter and its capabilities.
*/
-u_int32 sea_adapter_info (int unit)
+u_int32_t sea_adapter_info (int unit)
{
return (1);
}
@@ -625,7 +625,7 @@ void sea_tick (void *arg)
* Also needs the unit, target and lu. Get a free scb and set it up.
* Call send_scb. Either start timer or wait until done.
*/
-int32 sea_scsi_cmd (struct scsi_xfer *xs)
+int32_t sea_scsi_cmd (struct scsi_xfer *xs)
{
int flags = xs->flags, x = 0;
adapter_t *z = (adapter_t *)xs->sc_link->adapter_softc;
OpenPOWER on IntegriCloud