]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r227829, r227844
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Nov 2011 17:08:33 +0000 (17:08 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Nov 2011 17:08:33 +0000 (17:08 +0000)
commit21f36cd22369bf3a0c6c322ea86925a0dcdf2de6
treed93e0ccd5db5eb2409cdfe29a18030c3a7773d17
parentb1834d144f26292db88d7814b8d3d06a32dc8b61
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

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