Two problems prevent gdrom from compiling under kernel 2.4.16 (cvs
module "linux" was recently updated to 2.4.16):
- cdrom_fops global struct was removed in favor or per-driver structs
declaring their block device functions. this patch adds a proper
gdrom_bdops structure and uses it.
- cdrom.c includes asm/segment.h. arch-sh does not have the header.
this patch adds a simple segment.h with no defines. this is standard
practice since segment.h is deprecated (see arch-ia64, for instance).
Without this patch neither cdrom support in general or the gdrom driver
in specific will compile on later kernels. Can someone merge it into
CVS?
Thanks,
Robert Love
|