Date: Thu, 29 Oct 2009 17:14:18 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r198617 - head/sys/dev/aac Message-ID: <200910291714.n9THEIS9004427@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Thu Oct 29 17:14:18 2009 New Revision: 198617 URL: http://svn.freebsd.org/changeset/base/198617 Log: Rename aac_srb32 to aac_srb, to match Adaptec's vendor driver. Modified: head/sys/dev/aac/aac_cam.c head/sys/dev/aac/aacreg.h Modified: head/sys/dev/aac/aac_cam.c ============================================================================== --- head/sys/dev/aac/aac_cam.c Thu Oct 29 16:39:27 2009 (r198616) +++ head/sys/dev/aac/aac_cam.c Thu Oct 29 17:14:18 2009 (r198617) @@ -211,7 +211,7 @@ aac_cam_action(struct cam_sim *sim, unio { 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, unio } 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, unio 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); Modified: head/sys/dev/aac/aacreg.h ============================================================================== --- head/sys/dev/aac/aacreg.h Thu Oct 29 16:39:27 2009 (r198616) +++ head/sys/dev/aac/aacreg.h Thu Oct 29 17:14:18 2009 (r198617) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910291714.n9THEIS9004427>