Re: Linux driver for c-media cm8x38 ver 4.12 released

From: Peter Samuelson (peter@cadcamlab.org)
Date: Thu Nov 23 2000 - 09:27:29 EST


[ChenLi Tien]
> > I don't think the (2,3,0) ifdef is necessary. Just use the labeled
> > initializers for all kernels. See also cm_audio_fops, cm_dsp_fops,
> > cm_midi_fops, cm_dmfm_fops.
>
> Yes, as 2.3.x series is not for end-user, I can remove them. I keep it for
> easy to tell what's different for kernel 2.3 and 2.4.

What I meant was, the code which you have '#if version >= 2.3.0' is
also valid for 2.2. You should not have any conditional code there
except the 'owner:' member, which is '#if version >= 2.4.0'.

> > No need for '#ifdef MODULE'.
>
> I will remove it if kernel 2.2 can work.

It can. I checked 2.2.0.

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:26 EST