<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<DIV><FONT size=2><FONT size=3>Hello,<BR><BR>I have some questions about device
number extension.<BR><BR>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. <BR><BR>I find that "gpm-1.19.3"
uses structure dev_t and operates the device number as
16-bit.<BR>------------------------------------------------------------------------------------------<BR>1.
gpm-root.c line 49:<BR><BR><FONT size=2><FONT size=3>#ifdef
HAVE_SYS_SYSMACROS_H<BR>#include <sys/sysmacros.h><BR>#else<BR>#define
major(dev) (((unsigned) (dev))>>8)<BR>#define minor(dev)
((dev)&0xff)<BR>#endif</FONT><BR></FONT><BR><BR>This is a backup for lost of
system defined macro major and minor, but all of these operations <BR>look dev_t
as 16 bits instead of 32 bits, so they will call problem when actually use
them.<BR>------------------------------------------------------------------------------------------<BR><BR>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?<BR><BR>Looking forward to
answering.</FONT></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>--------------------------------------------------<BR>Wei
Yongjun<BR>Dept. of Technology and Development <BR>Nanjing Fujitsu Nanda
Software Tech. Co., Ltd.(FNST)<BR>No. 16-5, Guanzhou Rd., Nanjing,
P.R.China<BR>PHONE: +86+25-6630523-651<BR>FUJITSU INTERNAL: 79955-651<BR>FAX:
+86+25-3317685<BR>Mail: <A
href="mailto:yjwei@nanjing-fnst.com">yjwei@nanjing-fnst.com</A><BR>--------------------------------------------------<BR></FONT></DIV></BODY></HTML>