Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/macppc Enabled the clockctl device for macpp...



details:   https://anonhg.NetBSD.org/src/rev/62121f229ab3
branches:  trunk
changeset: 515063:62121f229ab3
user:      manu <manu%NetBSD.org@localhost>
date:      Sun Sep 16 07:21:32 2001 +0000

description:
Enabled the clockctl device for macppc, major 61

diffstat:

 sys/arch/macppc/macppc/conf.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r a56bf6b6801d -r 62121f229ab3 sys/arch/macppc/macppc/conf.c
--- a/sys/arch/macppc/macppc/conf.c     Sun Sep 16 07:20:29 2001 +0000
+++ b/sys/arch/macppc/macppc/conf.c     Sun Sep 16 07:21:32 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.34 2001/09/14 21:14:08 nathanw Exp $        */
+/*     $NetBSD: conf.c,v 1.35 2001/09/16 07:21:32 manu Exp $   */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -170,6 +170,8 @@
 cdev_decl(i4btrc);
 cdev_decl(i4brbch);
 cdev_decl(i4btel);
+#include "clockctl.h"
+cdev_decl(clockctl);
 
 #include "pci.h"
 cdev_decl(pci);
@@ -236,6 +238,7 @@
        cdev_i4btel_init(NI4BTEL, i4btel), /* 58: i4b phone device */
        cdev_disk_init(NLD,ld),         /* 59: logical disk driver */
        cdev_pci_init(NPCI,pci),        /* 60: PCI bus access device */
+       cdev_clockctl_init(NCLOCKCTL, clockctl),/* 61: settimeofday driver */
 };
 int nchrdev = sizeof cdevsw / sizeof cdevsw[0];
 



Home | Main Index | Thread Index | Old Index