diff options
author | phk <phk@FreeBSD.org> | 1999-08-23 20:59:21 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-08-23 20:59:21 +0000 |
commit | 663cbe4fc26065f7af7d10faaee492a626156145 (patch) | |
tree | 32e619fadb473bfb85ff8e06044176f2ff323cce /sys/dev/rp/rp.c | |
parent | 2a5ff1f726f814a9e4717afe3f14250f8030cace (diff) | |
download | FreeBSD-src-663cbe4fc26065f7af7d10faaee492a626156145.zip FreeBSD-src-663cbe4fc26065f7af7d10faaee492a626156145.tar.gz |
Convert DEVFS hooks in (most) drivers to make_dev().
Diskslice/label code not yet handled.
Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers)
Add the correct hook for devfs to kern_conf.c
The net result of this excercise is that a lot less files depends on DEVFS,
and devtoname() gets more sensible output in many cases.
A few drivers had minor additional cleanups performed relating to cdevsw
registration.
A few drivers don't register a cdevsw{} anymore, but only use make_dev().
Diffstat (limited to 'sys/dev/rp/rp.c')
-rw-r--r-- | sys/dev/rp/rp.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c index c1913a0..b16f6e4 100644 --- a/sys/dev/rp/rp.c +++ b/sys/dev/rp/rp.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: rp.c,v 1.27 1999/05/30 16:52:22 phk Exp $ + * $Id: rp.c,v 1.28 1999/05/31 11:26:24 phk Exp $ */ /* @@ -1178,13 +1178,6 @@ rp_pciattach(pcici_t tag, int unit) rp->rp_cts = (ChanStatus & CTS_ACT) != 0; line = (unit << 5) | (aiop << 3) | chan; rp_table(line) = rp; -/* devfs_add_devswf(&rp_cdevsw, - port, DV_CHR, UID_ROOT, GID_WHEEL, 0600, - "ttyR%r", port); - devfs_add_devswf(&rp_cdevsw, - port | CONTROL_INIT_STATE, DV_CHR, UID_ROOT, - GID_WHEEL, 0600, "ttyRi%r", port); -*/ } } } |