]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/commit
MFC: r227829, r227844
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Nov 2011 17:07:27 +0000 (17:07 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Nov 2011 17:07:27 +0000 (17:07 +0000)
commit4742483206b4fcebc64ca1e4e2b5835c0dda410b
treebb06fb595ad68319c959cec153d653cf9eea6999
parent956b2101c9432f9ffd9bea75e543a168c48f3d3e
MFC: r227829, r227844

- Add a DEVMETHOD_END alias for KOBJMETHOD_END so that along with 'driver_t'
  and DEVMETHOD() we can fully hide the explicit mention of kobj(9) from
  device drivers.
- Update the device driver examples to use DEVMETHOD_END.

Submitted by: jhb
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227977 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/examples/drivers/make_device_driver.sh
share/man/man9/driver.9
sys/sys/bus.h