diff options
author | nsouch <nsouch@FreeBSD.org> | 1998-09-09 18:57:24 +0000 |
---|---|---|
committer | nsouch <nsouch@FreeBSD.org> | 1998-09-09 18:57:24 +0000 |
commit | 978a9d8417644c7f53f6f1d1dd7b61a8653e9942 (patch) | |
tree | 2faaecb9639ce993fbb9ecb50ff725016dc317fa /sys/dev | |
parent | 74c116043860c58b815ea4dae26f93caac80a88d (diff) | |
download | FreeBSD-src-978a9d8417644c7f53f6f1d1dd7b61a8653e9942.zip FreeBSD-src-978a9d8417644c7f53f6f1d1dd7b61a8653e9942.tar.gz |
Major number allocated for generic I2C i/o -> 105
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/iicbus/iic.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/iicbus/iic.c b/sys/dev/iicbus/iic.c index 1c4c856..45d551b 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.1.1 1998/09/03 20:51:50 nsouch Exp $ + * $Id: iic.c,v 1.2 1998/09/04 17:53:35 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 25 +#define CDEV_MAJOR 105 static struct cdevsw iic_cdevsw = - { iicopen, iicclose, iicread, iicwrite, /*25*/ + { iicopen, iicclose, iicread, iicwrite, /*105*/ iicioctl, nullstop, nullreset, nodevtotty, /*iic*/ seltrue, nommap, nostrat, "iic", NULL, -1 }; @@ -253,6 +253,5 @@ 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 |