*Actually* make rtc work on post-502104 -CURRENT.

This commit is contained in:
Mike Silbersack
2004-03-10 09:02:02 +00:00
parent 7d04f9f55e
commit 2d5c22cfa8
2 changed files with 0 additions and 4 deletions

View File

@@ -55,9 +55,7 @@ pre-install:
post-install:
${RM} -f ${DEVDIR}/rtc
.if ${OSVERSION} < 502104
mknod ${DEVDIR}/rtc c ${CDEV_MAJOR} 0
.endif
${INSTALL_DATA} ${WRKSRC}/rtc.h ${PREFIX}/include/
${MKDIR} ${PREFIX}/share/examples/rtc
${INSTALL_DATA} ${WRKSRC}/test.c ${PREFIX}/share/examples/rtc/

View File

@@ -103,9 +103,7 @@ static struct cdevsw rtc_cdevsw = {
.d_poll = rtc_poll,
.d_read = rtc_read,
.d_name = DEVICE_NAME,
#if __FreeBSD_version < 502104
.d_maj = CDEV_MAJOR,
#endif
#else
/* open */ rtc_open,
/* close */ rtc_close,