hvc_console & interrupts: reworked patch

Ryan Arnold rsa at us.ibm.com
Fri Apr 16 03:07:42 EST 2004


Ben, there is a bug in your latest patch:

@@ -758,6 +768,14 @@

        return count;
 }
+
+int hvc_interrupt(int index)
+{
+       struct vtty_struct *vtty = &vttys[index];
+
+       /* If not interruptible then it'll return NO_IRQ */
+       return vtty->irq;
+}

That should be

+int hvc_interruptible(int index)

But I'm sure you caught that.

If found out why your patch isn't working on my system.  Once the getty
is displayed and the username and password are entered, for some reason
hp->tty == NULL and the hvc_poll() bails out.  I have no idea why
hp->tty == NULL at this point.

Ryan S. Arnold
IBM Linux Technology Center


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list