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
65aa0234f0
commit
9b92242710
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220690
@ -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