diff options
author | emaste <emaste@FreeBSD.org> | 2009-10-29 17:14:18 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2009-10-29 17:14:18 +0000 |
commit | 00987e76f503590260b5de10e1fb1614089a5cff (patch) | |
tree | 0f88ebc75f52b92f9f01d4dec277b22d4eb48c88 /sys/dev/aac | |
parent | 67a7fb76e5df250f6a8cb1a9347a563e61af109a (diff) | |
download | FreeBSD-src-00987e76f503590260b5de10e1fb1614089a5cff.zip FreeBSD-src-00987e76f503590260b5de10e1fb1614089a5cff.tar.gz |
Rename aac_srb32 to aac_srb, to match Adaptec's vendor driver.
Diffstat (limited to 'sys/dev/aac')
-rw-r--r-- | sys/dev/aac/aac_cam.c | 6 | ||||
-rw-r--r-- | sys/dev/aac/aacreg.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/aac/aac_cam.c b/sys/dev/aac/aac_cam.c index ddf19f3..5755f0d 100644 --- a/sys/dev/aac/aac_cam.c +++ b/sys/dev/aac/aac_cam.c @@ -211,7 +211,7 @@ aac_cam_action(struct cam_sim *sim, union ccb *ccb) { struct aac_cam *camsc; struct aac_softc *sc; - struct aac_srb32 *srb; + struct aac_srb *srb; struct aac_fib *fib; struct aac_command *cm; @@ -351,7 +351,7 @@ aac_cam_action(struct cam_sim *sim, union ccb *ccb) } fib = cm->cm_fib; - srb = (struct aac_srb32 *)&fib->data[0]; + srb = (struct aac_srb *)&fib->data[0]; cm->cm_datalen = 0; switch (ccb->ccb_h.flags & CAM_DIR_MASK) { @@ -459,7 +459,7 @@ aac_cam_action(struct cam_sim *sim, union ccb *ccb) AAC_FIBSTATE_REXPECTED | AAC_FIBSTATE_NORM; fib->Header.Size = sizeof(struct aac_fib_header) + - sizeof(struct aac_srb32); + sizeof(struct aac_srb); aac_enqueue_ready(cm); aac_startio(cm->cm_sc); diff --git a/sys/dev/aac/aacreg.h b/sys/dev/aac/aacreg.h index db96ff2..d45634a 100644 --- a/sys/dev/aac/aacreg.h +++ b/sys/dev/aac/aacreg.h @@ -1363,7 +1363,7 @@ struct aac_close_command { /* * SCSI Passthrough structures */ -struct aac_srb32 { +struct aac_srb { u_int32_t function; u_int32_t bus; u_int32_t target; |