diff options
-rw-r--r-- | sys/dev/iicbus/iic.c | 9 | ||||
-rw-r--r-- | sys/dev/smbus/smb.c | 4 |
2 files changed, 8 insertions, 5 deletions
diff --git a/sys/dev/iicbus/iic.c b/sys/dev/iicbus/iic.c index c22515d..1c4c856 100644 --- a/sys/dev/iicbus/iic.c +++ b/sys/dev/iicbus/iic.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: iic.c,v 1.1.2.9 1998/08/13 17:10:42 son Exp $ + * $Id: iic.c,v 1.1.1.1 1998/09/03 20:51:50 nsouch Exp $ * */ #include <sys/param.h> @@ -90,9 +90,9 @@ static d_write_t iicwrite; static d_read_t iicread; static d_ioctl_t iicioctl; -#define CDEV_MAJOR 15 +#define CDEV_MAJOR 25 static struct cdevsw iic_cdevsw = - { iicopen, iicclose, iicread, iicwrite, /*15*/ + { iicopen, iicclose, iicread, iicwrite, /*25*/ iicioctl, nullstop, nullreset, nodevtotty, /*iic*/ seltrue, nommap, nostrat, "iic", NULL, -1 }; @@ -253,5 +253,6 @@ iic_drvinit(void *unused) CDEV_DRIVER_MODULE(iic, iicbus, iic_driver, iic_devclass, CDEV_MAJOR, iic_cdevsw, 0, 0); - +#if 0 SYSINIT(iicdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,iic_drvinit,NULL) +#endif diff --git a/sys/dev/smbus/smb.c b/sys/dev/smbus/smb.c index 5a19dcb..de6e0fd 100644 --- a/sys/dev/smbus/smb.c +++ b/sys/dev/smbus/smb.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: smb.c,v 1.1.2.1 1998/08/13 15:15:19 son Exp $ + * $Id: smb.c,v 1.1.1.1 1998/09/03 20:52:53 nsouch Exp $ * */ #include <sys/param.h> @@ -284,4 +284,6 @@ smb_drvinit(void *unused) CDEV_DRIVER_MODULE(smb, smbus, smb_driver, smb_devclass, CDEV_MAJOR, smb_cdevsw, 0, 0); +#if 0 SYSINIT(smbdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,smb_drvinit,NULL) +#endif |