simon@vision.UUCP (Simon Taylor) (03/16/90)
Hi, Could anybody answer a question of mine (or maybe put me in touch with somebody who can) because the people at IBM Warwick(UK) don't seem to have the necessary information. Recently, I have ported a windowing terminal device driver to the IBM6150 running AIX 2.2.1 (PC-Connect in case you've heard of it). The driver is basically a multiplexing psuedo-terminal that allows PC's using Microsoft Windows to have multiple terminal sessions to the host over serial cables or Ethernet. In the driver open routine, the last thing it normally does is call the line discipine open routine but on the 6150 this repeatedly hung the machine on the second open. In a bid to figure out what was happening, I replaced the call to the routine with what System V usally does to see if I could determine exactly where I was going wrong (If it would work at all!). To my suprise, it appeared to work so all I could deduce from this was a) The AIX line discpline takes extra parameters (compared to SysV - which just needs a pointer to the tty structure). b) I am not filling in the tty structure in correctly before calling the routine. c) What I am doing is totally wrong. Unfortunatley the 6150 device driver writers guide that I have (document no GG24-1556-00 September 1987) does not mention anything about terminal drivers. Any information about which fields should be completed prior to calling the line discipline open routine and the parameters it requires would be greatly appreciated. Thanks. Simon Simon Taylor VisionWare Ltd UUCP : simon@vision.uucp 57 Cardigan Lane BANGNET : ...!uunet!mcsun!ukc!vision!simon Leeds PHONE : +44 532 788858 Ext. 228 LS4 2LE FAX : +44 532 304676 England ------------------------------------------------------------------------------- ---------------- VisionWare: The Home Of DOS-UNIX Integration ----------------- -------------------------------------------------------------------------------