From 5bd2e54fe3acbf5b86b6b2d7d14ab5f0da4466b5 Mon Sep 17 00:00:00 2001 From: jh Date: Sat, 16 Apr 2011 08:38:11 +0000 Subject: [PATCH] Move a comment to the right place. The rearrange done in r208928 left the comment to a wrong place. --- sys/cam/scsi/scsi_da.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index 33311c5acc8d..97298786fa12 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -1230,10 +1230,6 @@ daregister(struct cam_periph *periph, void *arg) TASK_INIT(&softc->sysctl_task, 0, dasysctlinit, periph); - /* - * Register this media as a disk - */ - /* * Add async callbacks for bus reset and * bus device reset calls. I don't bother @@ -1291,6 +1287,9 @@ daregister(struct cam_periph *periph, void *arg) else if (softc->minimum_cmd_size > 12) softc->minimum_cmd_size = 16; + /* + * Register this media as a disk. + */ softc->disk = disk_alloc(); softc->disk->d_devstat = devstat_new_entry(periph->periph_name, periph->unit_number, 0,