cvs commit: src/sys/alpha/alpha mem.c promcons.csrc/sys/alpha/tlsbsrc/sys/cam/scsi scsi_ch.c scsi_pass.c scsi_pt.c s

Scott Long scottl at freebsd.org
Sat Feb 21 15:13:24 PST 2004


On Sat, 21 Feb 2004, Poul-Henning Kamp wrote:
> In message <20040221154636.U52892 at pooker.samsco.home>, Scott Long writes:
> >On Sat, 21 Feb 2004, Poul-Henning Kamp wrote:
> >> phk         2004/02/21 13:10:55 PST
> >>
> >>   FreeBSD src repository
> >>
> >>   Modified files:
> >>   Log:
> >>   Device megapatch 4/6:
> >>
> >>   Introduce d_version field in struct cdevsw, this must always be
> >>   initialized to D_VERSION.
> >>
> >>   Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing
> >>   four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
> >>
> >
> >Since this is a fundamental API change for drivers, please send a HEADS-UP
> >to the mailing list to remind everyone to recompile their kernel modules.
> >Also, what is the effect on the drivers that are in the ports tree?  Until
> >these driver get updated for this change, will they still be able to work
> >(assuming a recompile happens) even with this field left uninitialized?
> >If not, can you put in a some temporary code to notify the user of the
> >problem and allow for a 4-5 week grace period?
>
> You did no doubt notice the "4/6" above.
>
> If you see the 6/6 commit message, you will notice that the D_VERSION
> is now enforced.  Drivers which do not initialize d_version correctly
> will result in a console warning and the driver being disabled.
>
> A grace period is not possible, that is why I have been so vocal
> with my heads-up messages to current for the last two weeks.

What are the technical reasons for a grace period not being possible?

Scott


More information about the cvs-src mailing list