summaryrefslogtreecommitdiffstats
path: root/sys/dev/mpt
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2006-05-26 05:43:14 +0000
committermjacob <mjacob@FreeBSD.org>2006-05-26 05:43:14 +0000
commit9589a4b852731dbeaa03dd86242c4080d2d99a86 (patch)
tree79d35f36050080e6a898d0cdaa8fc315b37c38a3 /sys/dev/mpt
parent963bfb309e299d8f5a45ff8a59e84847a8fdde42 (diff)
downloadFreeBSD-src-9589a4b852731dbeaa03dd86242c4080d2d99a86.zip
FreeBSD-src-9589a4b852731dbeaa03dd86242c4080d2d99a86.tar.gz
gratuitous formatting changes
Diffstat (limited to 'sys/dev/mpt')
-rw-r--r--sys/dev/mpt/mpt_raid.h38
1 files changed, 17 insertions, 21 deletions
diff --git a/sys/dev/mpt/mpt_raid.h b/sys/dev/mpt/mpt_raid.h
index 310ac6d..bc14bdd 100644
--- a/sys/dev/mpt/mpt_raid.h
+++ b/sys/dev/mpt/mpt_raid.h
@@ -45,30 +45,26 @@ typedef enum {
MPT_RAID_MWCE_NC
} mpt_raid_mwce_t;
-const char *
- mpt_vol_type(struct mpt_raid_volume *);
-const char *
- mpt_vol_state(struct mpt_raid_volume *);
-const char *
- mpt_disk_state(struct mpt_raid_disk *);
-void mpt_vol_prt(struct mpt_softc *, struct mpt_raid_volume *,
- const char *fmt, ...);
-void mpt_disk_prt(struct mpt_softc *mpt, struct mpt_raid_disk *disk,
- const char *fmt, ...);
+const char *mpt_vol_type(struct mpt_raid_volume *);
+const char *mpt_vol_state(struct mpt_raid_volume *);
+const char *mpt_disk_state(struct mpt_raid_disk *);
+void
+mpt_vol_prt(struct mpt_softc *, struct mpt_raid_volume *, const char *fmt, ...);
+void
+mpt_disk_prt(struct mpt_softc *, struct mpt_raid_disk *, const char *, ...);
+
+int
+mpt_issue_raid_req(struct mpt_softc *, struct mpt_raid_volume *,
+ struct mpt_raid_disk *, request_t *, u_int, uint32_t, bus_addr_t,
+ bus_size_t, int, int);
-int mpt_issue_raid_req(struct mpt_softc *mpt, struct mpt_raid_volume *vol,
- struct mpt_raid_disk *disk, request_t *req,
- u_int Action, uint32_t ActionDataWord,
- bus_addr_t addr, bus_size_t len, int write,
- int wait);
cam_status
- mpt_map_physdisk(struct mpt_softc *mpt, union ccb *, u_int *tgt);
+mpt_map_physdisk(struct mpt_softc *, union ccb *, u_int *);
cam_status
- mpt_raid_quiesce_disk(struct mpt_softc *mpt,
- struct mpt_raid_disk *mpt_disk,
- request_t *req);
-void mpt_refresh_raid_data(struct mpt_softc *);
-void mpt_schedule_raid_refresh(struct mpt_softc *mpt);
+mpt_raid_quiesce_disk(struct mpt_softc *, struct mpt_raid_disk *, request_t *);
+
+int mpt_refresh_raid_data(struct mpt_softc *);
+void mpt_schedule_raid_refresh(struct mpt_softc *);
static __inline void
mpt_raid_wakeup(struct mpt_softc *mpt)
OpenPOWER on IntegriCloud