Hello,
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. As following, "major" should be 12-bit, and "minor" should be 20-bit. mmmm mmmm mmmm MMMM MMMM MMMM mmmm mmmm But I find that “kudzu-1.1.36-1” uses structure dev_t and the operation in file pcmcia.c: 385 dev = (pcmcia_major<<8) + sock If sock is greater than 256, it may has problem. So I suggest useing macro makedev (in <include/sys/sysmacros.h>) to create device number. Since I didn’t 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? And when? Looking forward to answering. Liang
Jianhua
regards -------------------------------------------------- Liang Jianhua Dept. of Technology and Development Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 16-5, Guanzhou Rd., Nanjing, P.R.China PHONE: +86+25-6630523-636 FUJITSU INTERNAL: 79955-636 FAX: +86+25-3317685 Mail: nuljh@xxxxxxxxxxxxxxxx -------------------------------------------------- |