[DragonFlyBSD - Bug #1692] (Closed) fix some comments in ahci_cam.c

Sascha Wildner via Redmine bugtracker-admin at leaf.dragonflybsd.org
Thu Jan 19 18:14:58 PST 2012


Issue #1692 has been updated by Sascha Wildner.

Description updated
Status changed from New to Closed
Assignee deleted (0)

Committed (44a472ba116cfef449c3384381d16e50a9a4bbee).

Thanks!

----------------------------------------
Bug #1692: fix some comments in ahci_cam.c
http://bugs.dragonflybsd.org/issues/1692

Author: Johannes Hofmann
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 


Hi,

fix some comments in ahci_cam.c:

diff --git a/sys/dev/disk/ahci/ahci_cam.c b/sys/dev/disk/ahci/ahci_cam.c
index e7bcc07..bad6b51 100644
--- a/sys/dev/disk/ahci/ahci_cam.c
+++ b/sys/dev/disk/ahci/ahci_cam.c
@@ -136,8 +136,8 @@ ahci_cam_attach(struct ahci_port *ap)
 /*
  * The state of the port has changed.
  *
- * If at is NULL the physical port has changed state.
- * If at is non-NULL a particular target behind a PM has changed state.
+ * If atx is NULL the physical port has changed state.
+ * If atx is non-NULL a particular target behind a PM has changed state.
  *
  * If found is -1 the target state must be queued to a non-interrupt context.
  * (only works with at == NULL).
@@ -788,7 +788,7 @@ ahci_xpt_action(struct cam_sim *sim, union ccb *ccb)
 	 * probed.
 	 *
 	 * Calculate at and atx.  at is always non-NULL.  atx is only
-	 * non-NULL for direct-attached devices.  It will be NULL for
+	 * NULL for direct-attached devices.  It will be non-NULL for
 	 * devices behind a port multiplier.
 	 *
 	 * XXX What do we do with a LUN wildcard?

Cheers,
Johannes


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account





More information about the Bugs mailing list