Re: broken devfs-support in SGI Zilog8530 serial driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You need some code similar to the following in the serial driver:

#ifdef CONFIG_DEVFS_FS
        serial_driver.name = "tts/%d";
#else
        serial_driver.name = "ttyS";
#endif

Of course if the original device nodes were named /dev/ttyZ0 etc then you 
want "tts/Z%d".

Look at the Cyclades and Stallion drivers for examples of it being done 
correctly.  Or tell me exactly the details of what you want and I'll send you 
a patch.

-- 
If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux