[Top] [All Lists]

Re: IP22 doesn't shutdown properly

To: Martin Michlmayr <>
Subject: Re: IP22 doesn't shutdown properly
From: Russell King <>
Date: Fri, 24 Feb 2006 08:31:41 +0000
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <>
User-agent: Mutt/1.4.1i
On Fri, Feb 24, 2006 at 12:39:47AM +0000, Martin Michlmayr wrote:
> * Russell King <> [2006-02-23 22:43]:
> > Looking at the ip22 driver, it seems that if shutdown() is called for
> > the console port, the driver does _nothing_.
> sunzilog.c does the same, and it's based on a comment by you (quoted
> right before shutdown()).  Anyway, I don't quite understand the
> comment but maybe Ralf (or you) can write a patch.

Not quite - I didn't say "do absolutely nothing" - I did explicitly say
that something should happen on the software side, and gave the example
that the IRQ should be freed.  The intention of that comment was to
satisfy the requirement I mentioned in my previous mail in this thread.

At a guess, for the console port, you want to disable the receiver, leave
the transmitter enabled, and disable all interrupts originating from the

How other drivers do it is that they do a normal shutdown in every case,
but the console code explicitly re-enables the transmitter.  I don't
understand why these two drivers can't do it the same way.

Russell King
 Linux kernel    2.6 ARM Linux   -
 maintainer of:  2.6 Serial core

<Prev in Thread] Current Thread [Next in Thread>