Move a comment to the right place. The rearrange done in r208928 left
the comment to a wrong place.
This commit is contained in:
parent
fb5d86e081
commit
5bd2e54fe3
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user