Move a comment to the right place. The rearrange done in r208928 left

the comment to a wrong place.
This commit is contained in:
jh 2011-04-16 08:38:11 +00:00
parent fb5d86e081
commit 5bd2e54fe3

View File

@ -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,