The NetBSD Project

CVS log for src/sys/dev/cgd.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: pgoyette-localcount-20160726


Revision 1.109 / (download) - annotate - [select for diffs], Mon Jul 25 12:45:13 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: MAIN
CVS Tags: pgoyette-localcount-20160726
Changes since 1.108: +43 -16 lines
Diff to previous 1.108 (colored)

When initializing the rump cgd component, use the correct driver name
(as found in the devsw_conv[] table).  This will get us the "official"
major numbers for the cgd device.

After creating the rump file-space nodes for /dev/cgd* we then need to
detach the [bc]devsw's because normal module initialization will do its
own attachment, and we don't want that to fail.

While here, since we're doing the devsw_attach() twice, share the
results from the first call rather than starting from scratch.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>