Re: Linux device number bug report
<[email protected]> Mon, 22 Dec 2003 13:02:58 -0800 (PST)
| Newsgroups | gmane.linux.pcmcia.devel |
|---|---|
| Message-ID | <[email protected]> |
> I have some questions about device number extension. > > In Linux kernel 2.6, device number will be extended from 16-bit to > 32-bit. All utilities and libraries should make corresponding extension > for this new feature in kernel 2.6. > I find that =A1=B0kernel-pcmcia-cs-3.1.31-13=A1=B1 uses structure dev_t= and > operates the device number as 16-bit. > In file pcmcia-cs-3.1.31/cardmgr/cardinfo.c: 462 > > st[ns].fd =3D open_dev((major<<8)+ns) > > The device number should be 32-bit. But this operation consider major > has only 16-bit and it seems not to correspond to device number > extension. > Since I didn=A1=AFt find any information about this aspect in homepage = of > this package, I wonder whether the latest version has completed the > device number extension? If not, will it be completed in the future? An= d > when? I have not looked into this issue. You are welcome to propose a patch if you are concerned about it and understand the changes required. People (including me) seem to be using PCMCIA on 2.6 kernels successfully. So I think I do not fully understand the issue. -- Dave ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click