Re: dev_t / udev_t confusion ?

From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 06/09/04

  • Next message: John Baldwin: "Re: dev_t / udev_t confusion ?"
    Date: Wed, 09 Jun 2004 17:55:59 +0200
    
    

    In message <53993.1086779790@critter.freebsd.dk>, Poul-Henning Kamp writes:

    >The change proposed is more or less to do:
    > s/dev_t/struct cdev */
    > s/udev_t/dev_t/
    >over all the kernel sources (366 files or so).

    Looks like a "yea" so far, so I have a couple of follow-up questions:

            struct cdev currently has members named si_* because it
            used to be called "specinfo", do we want to change that
            inconsistency at the same time ? (either by reverting to
            the specinfo name or by changing to a cd_ prefix ?

            cdevsw->ioctl() takes a caddr_t pointer argument which
            really should be a void *, do we want to change that
            as well (since it is all the same files we'll have to
            change).

    -- 
    Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
    phk@FreeBSD.ORG         | TCP/IP since RFC 956
    FreeBSD committer       | BSD since 4.3-tahoe    
    Never attribute to malice what can adequately be explained by incompetence.
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
    

  • Next message: John Baldwin: "Re: dev_t / udev_t confusion ?"

    Relevant Pages