Being the glutton for punishment I am, I decided to attempt to port the
irix-dtrrts driver (by Shawn Pearce, available from his web site at
http://www.spearce.org/projects/irix-dtrrts/ ) to IRIX 6.5. Can I do it?
Heck if I know, but I’m going to try since if nothing else I’m learning a
lot about IRIX driver programming. I’ve got a couple problems though and
I’m wondering if someone can help me out.
(I apologize if my questions sound like they’re written by a village idiot
attempting to learn quantum physics. Writing drivers is extremely new to
me, and I’m sort of learning about it as I go along. But hey, it’s my
machine, and I can break it if I want to.)
1) The original code uses sio_getport(), which doesn’t exist in IRIX 6.5.
It was suggested that device_info_get() is probably what would be used
here, but from what I can tell device_info_get() is for use with things
that have an entry in the hwgraph. Would something like this really
need a hwgraph entry? Because from what I’ve read so far, to make a
hwgraph entry, it sounds like I should be using an attach(), but I
can’t see how I’d get an attach() to work with the onboard serial
ports.
2) Could someone send me a copy of a man page for sio_getport()? I don’t
have one, and I’m not sure I’m headed in the right direction with
device_info_get() as a substitute since I don’t exactly know what
sio_getport() did or how it did it.
3) Do the magical serial port structures used with this driver in IRIX 6.3
even exist in the same form under IRIX 6.5? Because if they’ve
changed, and I can’t find out what they changed to, it seems like
there’s no point in continuing with the project.
Thanks to anyone who can help. I’m trying my best to hack my way through
this, and it’s quite a learning experience. Definitely new to me.
Bryan
posted by admin in Uncategorized and have
Comments (2)