Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [pgoyette-localcount] src/sys/rump/dev/lib/libcgd
Module Name: src
Committed By: pgoyette
Date: Sun Jul 24 10:37:10 UTC 2016
Modified Files:
src/sys/rump/dev/lib/libcgd [pgoyette-localcount]: cgd_component.c
Log Message:
since we're now attached the [bc]devsw's, grabbing the assigned majors,
and then detaching (in anticipation of the driver module doing its own
attach), we need to make sure that the driver name matches what is
expected in devsw_attach(). In particular, the driver name is "cgd"
and not "/dev/cgd0" :)
While here, we might as well record the major numbers from the first
call, and just reuse them later. So make the module's variables global,
and reference them in the rump initialization code.
Yay - cgd now works in the localcount world, both as a kernel module
and as a rump component.
To generate a diff of this commit:
cvs rdiff -u -r1.2.2.2 -r1.2.2.3 src/sys/rump/dev/lib/libcgd/cgd_component.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index