From 693dd58bb3e5843d252e25a15e2cc8d49323cb82 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 7 May 1999 10:11:40 +0000 Subject: Continue where Julian left off in July 1998: Virtualize bdevsw[] from cdevsw. bdevsw() is now an (inline) function. Join CDEV_MODULE and BDEV_MODULE to DEV_MODULE (please pay attention to the order of the cmaj/bmaj arguments!) Join CDEV_DRIVER_MODULE and BDEV_DRIVER_MODULE to DEV_DRIVER_MODULE (ditto!) (Next step will be to convert all bdev dev_t's to cdev dev_t's before they get to do any damage^H^H^H^H^H^Hwork in the kernel.) --- sys/alpha/tlsb/zs_tlsb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/alpha/tlsb') diff --git a/sys/alpha/tlsb/zs_tlsb.c b/sys/alpha/tlsb/zs_tlsb.c index 9e92edb..997658c 100644 --- a/sys/alpha/tlsb/zs_tlsb.c +++ b/sys/alpha/tlsb/zs_tlsb.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: zs_tlsb.c,v 1.7 1999/01/30 12:17:29 phk Exp $ + * $Id: zs_tlsb.c,v 1.8 1999/04/27 11:13:45 phk Exp $ */ /* * This driver is a hopeless hack to get the SimOS console working. A real @@ -375,8 +375,8 @@ zsdevtotty(dev_t dev) return (&sc->tty); } -CDEV_DRIVER_MODULE(zs, zsc, zs_driver, zs_devclass, - CDEV_MAJOR, zs_cdevsw, 0, 0); +DEV_DRIVER_MODULE(zs, zsc, zs_driver, zs_devclass, + CDEV_MAJOR, NODEV, zs_cdevsw, 0, 0); /* * The zsc bus holds two zs devices, one for channel A, one for channel B. -- cgit v1.1