Re: dev_t / udev_t confusion ?

From: John Baldwin (jhb_at_FreeBSD.org)
Date: 06/09/04

  • Next message: Garance A Drosihn: "Re: dev_t / udev_t confusion ?"
    To: freebsd-arch@FreeBSD.org
    Date: Wed, 9 Jun 2004 12:24:04 -0400
    
    

    On Wednesday 09 June 2004 11:55 am, Poul-Henning Kamp wrote:
    > 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 ?

    Sure, maybe dev_foo prefix? cd_ is fine though, just pick one and be
    consistent.

    > 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).

    Ok with me.

    -- 
    John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
    "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
    _______________________________________________
    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: Garance A Drosihn: "Re: dev_t / udev_t confusion ?"

    Relevant Pages

    • Re: dev_t / udev_t confusion ?
      ... On Wednesday 09 June 2004 11:55 am, Poul-Henning Kamp wrote: ... Sure, maybe dev_foo prefix? ... consistent. ... To unsubscribe, ...
      (freebsd-arch)
    • Re: dev_t / udev_t confusion ?
      ... Poul-Henning Kamp wrote: ... >>over all the kernel sources. ... No prefix at all would work too. ... To unsubscribe, ...
      (freebsd-arch)
    • Re: Class field prefix
      ... What prefix do you use for class fields? ... I find the examples consistent: only private members pick up the F prefix in ... I haven't seen any CG or general code that distinquished naming conventions ...
      (borland.public.delphi.non-technical)
    • Re: gbde performance question
      ... On Thu, 22 May 2003, Poul-Henning Kamp wrote: ... ...sounds consistent with my numbers, as far as i can tell. ... loopaes seems to beat gbde's throughput by a factor from what i hear. ... assuming that gbde is not computationally more complex by that factor, ...
      (freebsd-current)
    • English reflexive pronouns somewhat odd?
      ... It was recently called to my attention by a non-native English speaker that the reflexive pronouns are not consistent in their formation. ... In the 3rd person one uses a prefix which is normally considered objective, i.e. himself, themselves. ...
      (sci.lang)